]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog.old/ChangeLog.6
Regenerate libc.pot
[thirdparty/glibc.git] / ChangeLog.old / ChangeLog.6
CommitLineData
edf66db1 1Sun Jan 26 23:24:50 1997 Ulrich Drepper <drepper@cygnus.com>
831372e7 2
edf66db1 3 * Version 2.0 net release.
831372e7 4
edf66db1 5 * Make-dist: Don't take care for two malloc directories.
831372e7 6
edf66db1 7Sun Jan 26 22:44:38 1997 Andreas Jaeger <aj@arthur.pfalz.de>
831372e7 8
edf66db1 9 * mcheck.h: Adopted to new-malloc/malloc change.
831372e7 10
edf66db1 11Sun Jan 26 13:39:31 1997 Ulrich Drepper <drepper@cygnus.com>
831372e7 12
edf66db1
SP
13 * sysdeps/unix/sysv/linux/alpha/Dist: Correct distribution of
14 kernel_*.h files.
831372e7 15
edf66db1
SP
16 * Make-dist: Don't mention new-malloc for dirs with have to be
17 processed.
831372e7 18
edf66db1
SP
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>.
831372e7 23
edf66db1 24Sun Jan 26 18:35:29 1997 Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>
831372e7 25
edf66db1
SP
26 * malloc/Makefile: Remove -DMALLOC_DEBUG. Not wanted in a
27 released version.
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
31 variables.
32 * malloc/malloc.h: Change malloc_check_init() to
33 __malloc_check_init().
34
35Sun Jan 26 05:41:42 1997 Ulrich Drepper <drepper@cygnus.com>
36
37 * version.h (VERSION): Bump to 2.0.
38 (RELEASE): Now it's "experimental".
39
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.
51
52 * Makefile: Add special goal to generate only-MD5 based crypt
53 library.
54 * md5-crypt/Makefile: Likewise.
55
56 * stdio-common/tstscanf.c: De-ANSI-declfy. Update copyright.
57 (rounds): Change type to size_t to prevent warning.
58
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.
831372e7 96
edf66db1 97Sat Jan 25 03:34:14 1997 Ulrich Drepper <drepper@cygnus.com>
831372e7 98
edf66db1
SP
99 * sysdeps/unix/sysv/linux/termbits.h: Protect against multiple
100 inclusion. Reported by a sun <asun@zoology.washington.edu>.
831372e7 101
edf66db1 102Sat Jan 25 02:05:19 1997 Eirik Fuller <eirik@netcom.com>
831372e7 103
edf66db1
SP
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.
831372e7 106
edf66db1 107Thu Jan 23 11:13:46 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
831372e7 108
edf66db1
SP
109 * sysdeps/unix/sysv/linux/usleep.c: Normalize the time
110 specification.
831372e7 111
edf66db1 112Fri Jan 24 14:33:45 1997 Ulrich Drepper <drepper@cygnus.com>
831372e7 113
edf66db1
SP
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.
831372e7 117
edf66db1 1181997-01-23 Paul Eggert <eggert@twinsun.com>
831372e7 119
edf66db1
SP
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.
831372e7 124
edf66db1 1251997-01-23 Paul Eggert <eggert@twinsun.com>
831372e7 126
edf66db1
SP
127 * mktime.c (mktime): Invoke __tzset, not __tzset_internal, to set tz,
128 so that tzname is set as POSIX requires.
831372e7 129
edf66db1 130Fri Jan 24 02:49:18 1997 Ulrich Drepper <drepper@cygnus.com>
831372e7 131
edf66db1
SP
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.
831372e7 138
edf66db1 139 * stdio-common/bug7.c: Use tmpnam to generate names for test files.
831372e7 140
edf66db1
SP
141 * stdio-common/tmpnam.c: Update copyright.
142 * stdio-common/tmpnam_r.c: Likewise.
831372e7 143
edf66db1
SP
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.
831372e7 147
edf66db1
SP
148 * sysdeps/unix/sysv/linux/net/if.h: Update according to recent
149 kernel headers. Patch by Philip Blundell <pjb27@cam.ac.uk>.
831372e7 150
edf66db1 151Thu Jan 23 17:42:00 1997 Ulrich Drepper <drepper@cygnus.com>
831372e7 152
edf66db1 153 * sysdeps/unix/sysv/linux/sparc/clone.S: Correct author attribution.
831372e7 154
edf66db1 155 * sysdeps/unix/sysv/linux/net/if_arp (MAX_ADDR_LEN): Add definition.
831372e7 156
edf66db1 157Thu Jan 23 14:20:34 1997 Ulrich Drepper <drepper@cygnus.com>
831372e7 158
edf66db1
SP
159 * time/tzfile.c (__tzfile_read): Don't allow arbitrary files to be
160 read when running a setuid program.
831372e7 161
edf66db1 162Thu Jan 23 04:06:42 1997 Ulrich Drepper <drepper@cygnus.com>
831372e7 163
edf66db1
SP
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.
831372e7 167
edf66db1
SP
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.
185
186 * config.make.in: Revert patch from Sat Jan 18 22:15:26 1997,
187 leave install_root in place.
188
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.
192
193 * elf/Makefile [yes==$(has-ldconfig)]: Correct dependencies of
194 ldconfig.
195 (CFLAGS-dl-load.c): New variable, avoid gcc warning.
196
197 * sysdeps/mach/hurd/configure.in: Add _LIBC_REENTRANT to DEFINES.
198
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.
203
204 * sysdeps/unix/readdir.c: Update copyright.
205
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.
831372e7 212
edf66db1
SP
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.
831372e7 222
edf66db1 223 * sysdeps/unix/sysv/linux/alpha/ioctls.h: New file.
831372e7 224
edf66db1
SP
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>.
831372e7 228
edf66db1
SP
229 * time/Banner: Removed. Wrong and unnecessary information. It's now
230 in...
231 * time/README: New file.
232 * time/Makefile (distribute): Remove Banner, add README.
831372e7 233
edf66db1 234Wed Jan 22 13:19:56 1997 Richard Henderson <rth@tamu.edu>
831372e7 235
edf66db1
SP
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.
831372e7 240
edf66db1 2411997-01-22 Paul Eggert <eggert@twinsun.com>
831372e7 242
edf66db1
SP
243 * strftime.c (_strftime_copytm):
244 New function, to work around Solaris 2.5 tzset bug.
831372e7 245
edf66db1 246Wed Jan 22 23:05:14 1997 Ulrich Drepper <drepper@cygnus.com>
831372e7 247
edf66db1
SP
248 * sysdeps/mach/hurd/vdprintf.c: Complete de-ANSI-declfication.
249 Reported by Marcus G. Daniels <marcus@shannon.sysc.pdx.edu>.
831372e7 250
edf66db1 251Wed Jan 22 13:58:56 1997 Andreas Jaeger <aj@arthur.pfalz.de>
831372e7 252
edf66db1
SP
253 * elf/Makefile (CFLAGS-dl-load.c): New Variable to keep gcc silent
254 since name_copy is initialized.
831372e7 255
edf66db1 256Wed Jan 22 16:58:12 1997 Ulrich Drepper <drepper@cygnus.com>
831372e7 257
edf66db1
SP
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.
831372e7 269
edf66db1
SP
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
275 result.
276 Reported by Martin Trapp <trapp@ipd.info.uni-karlsruhe.de>.
831372e7 277
edf66db1 278Tue Jan 21 18:35:55 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
831372e7 279
edf66db1 280 * misc/regexp.h (compile): Fix typos.
831372e7 281
edf66db1 282Tue Jan 21 01:01:59 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
831372e7 283
edf66db1
SP
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.
831372e7 288
edf66db1 2891997-01-21 Paul Eggert <eggert@twinsun.com>
831372e7 290
edf66db1
SP
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.
831372e7 297
edf66db1 298Tue Jan 21 23:10:40 1997 Ulrich Drepper <drepper@cygnus.com>
831372e7 299
edf66db1 300 * version.h (VERSION): Bump to 1.102.
831372e7 301
edf66db1 302 * sysdeps/unix/sysv/linux/alpha/Dist: Add kernel_sigaction.h.
831372e7 303
edf66db1
SP
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.
831372e7 307
edf66db1
SP
308 * time/Banner: New file.
309 * time/Makefile (distribute): Add Banner.
831372e7 310
edf66db1
SP
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.
831372e7 317
edf66db1 318Mon Jan 20 08:38:32 1997 H.J. Lu <hjl@gnu.ai.mit.edu>
831372e7 319
edf66db1 320 * config.make.in (has-ldconfig): New variable.
831372e7 321
edf66db1 322 * configure, configure.in (has_ldconfig): New substitute.
831372e7 323
edf66db1
SP
324 * sysdeps/unix/sysv/linux/configure.in (has_ldconfig): New,
325 check if $srcdir/elf/ldconfig.c exists.
831372e7 326
edf66db1
SP
327 * Makeconfig (rootsbindir): New, default as
328 $(exec_prefix)/sbin.
329 (rtld-version-installed-name): New, default as
330 ld-$(version).so.
831372e7 331
edf66db1
SP
332 * Makefile (install): Call `$(common-objpfx)elf/ldconfig -d'
333 only if $(cross-compiling) is no and $(build-shared) is yes.
831372e7 334
edf66db1
SP
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.
831372e7 341
edf66db1 342 * Rules (others): Add $(install-rootsbin).
831372e7 343
edf66db1 344 * config.make.in (rootsbindir): New.
831372e7 345
edf66db1
SP
346 * configure, configure.in (libc_cv_rootsbindir): New
347 substitute.
831372e7 348
edf66db1
SP
349 * elf/Makefile (others, install-rootsbin): New, set to
350 ldconfig.
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.
356
357 * sunrpc/xdr.c (xdr_string): Return FALSE if sp == NULL
358 while XDR_ENCODE.
359
360 * sysdeps/unix/sysv/linux/a.out.h: Use #include_next for
361 glibc internals.
831372e7 362
edf66db1
SP
363 * sysdeps/unix/sysv/linux/configure.in (libc_cv_rootsbindir):
364 New, set to "/sbin" if "$prefix" == "/usr".
831372e7 365
edf66db1 366Tue Jan 21 13:38:39 1997 Ulrich Drepper <drepper@cygnus.com>
831372e7 367
edf66db1
SP
368 * Makefile (distribute): Add glibcbug.in.
369 Reported by Philip Blundell <pjb27@cam.ac.uk>.
831372e7 370
edf66db1
SP
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).
831372e7 374
edf66db1 375Tue Jan 21 04:05:20 1997 Ulrich Drepper <drepper@cygnus.com>
831372e7 376
edf66db1 377 * version.h (VERSION): Bump to 1.101.
831372e7 378
edf66db1
SP
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
397 arguments.
398 Don't determine `lazy' mode from LD_BIND_NOW environment variable
399 when in trace mode.
400 If in trace mode and either --data-relocs or --function-relocs is
401 given perform relocation. Report errors using print_unresolved
402 function.
403 (print_unresolved): New function. Print information about missing
404 symbol on stderr.
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.
831372e7 408
edf66db1
SP
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.
413
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.
425
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.
831372e7 434
edf66db1
SP
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.
831372e7 440
edf66db1
SP
441 * time/tzset.c (__tzset_internal): When TZ envvar does not name a
442 DST timezone don't default to offset -1.
831372e7 443
edf66db1
SP
444 * sysdeps/unix/sysv/linux/net/route.h: Don't use kernel header.
445 Reported by a sun <asun@zoology.washington.edu>.
831372e7 446
edf66db1 447 * resolv/Makefile: Correct spelling: subdirs-dirs -> subdir-dirs.
831372e7 448
edf66db1 449 * sysdeps/stub/sysv_signal.c: New file. Stub implementation.
831372e7 450
edf66db1 451 * Makefile (distribute): Add mcheck.h.
831372e7 452
edf66db1 453 * nis/Makefile (distribute): Add nss-nis.h.
831372e7 454
edf66db1
SP
455 * libio/Makefile (routines): Change vdprintf to iovdprintf to prevent
456 dist problem.
831372e7 457
edf66db1 458 * nss/Makefile (distribute): Add digits_dots.c.
831372e7 459
edf66db1
SP
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.
831372e7 464
edf66db1 465Mon Jan 20 17:54:28 1997 Sven Verdoolaege <skimo@breughel.ufsia.ac.be>
831372e7 466
edf66db1 467 * manual/filesys.texi: Fix little problem (reentrant->readdir).
831372e7 468
edf66db1 469Fri Jan 17 19:07:07 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
831372e7 470
edf66db1
SP
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.
831372e7 478
edf66db1 479Sat Jan 18 22:15:26 1997 Richard Henderson <rth@tamu.edu>
831372e7 480
edf66db1
SP
481 * Makeconfig (CFLAGS-.so): Add -fno-common to prevent odd sorts of
482 errors that can occur when linking libc.so.
831372e7 483
edf66db1 484Mon Jan 20 05:20:49 1997 Ulrich Drepper <drepper@cygnus.com>
831372e7 485
edf66db1
SP
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.
831372e7 488
edf66db1
SP
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
495 file.
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.
831372e7 499
edf66db1
SP
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 '/'.
831372e7 502
edf66db1 503 * Makeconfig: Correct comment about +(default_cflags).
831372e7 504
edf66db1 505Mon Jan 20 05:11:14 1997 Hrvoje Niksic <hniksic@srce.hr>
831372e7 506
edf66db1
SP
507 * time/strptime.c (recursive): Use && not || to test for valid
508 argument.
831372e7 509
edf66db1 510Mon Jan 20 05:06:50 1997 Ulrich Drepper <drepper@cygnus.com>
831372e7 511
edf66db1
SP
512 * elf/ldd.sh.in: Exit with value 1 if an error occured.
513 * elf/ldd.bash.in: Likewise.
831372e7 514
edf66db1
SP
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.
831372e7 518
edf66db1 519Mon Jan 20 03:02:50 1997 Ulrich Drepper <drepper@cygnus.com>
831372e7 520
edf66db1
SP
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.
562
563 * elf/rtld.c (dl_main): Objects in LD_PRELOAD environment variable
564 are separated according to Sun docs by white space not colon.
565
566 * locale/C-time.c (_nl_C_LC_TIME): Use empty string to initialize
567 fields which are not defined for the C locale.
568
569 * sysdeps/m68k/fpu/switch/Makefile: Don't use ansidecl.h in constructed
570 files.
571 * sysdeps/m68k/fpu/switch/68881-sw.h: Likewise.
572 * sysdeps/m68k/fpu/switch/switch.c: Likewise.
831372e7 573
edf66db1 574Sun Jan 19 19:43:31 1997 Andreas Jaeger <aj@arthur.pfalz.de>
831372e7 575
edf66db1 576 * time/strptime.c: Provide prototype for strptime_internal.
831372e7 577
edf66db1 578Sun Jan 19 23:46:27 1997 Ulrich Drepper <drepper@cygnus.com>
831372e7 579
edf66db1
SP
580 * glibcbug.in: We don't guarantee confidential handling. Set
581 field to always contain `no'.
831372e7 582
edf66db1 583Sun Jan 19 21:28:01 1997 Philippe De Muyter <phdm@info.ucl.ac.be>
831372e7 584
edf66db1
SP
585 * intl/explodename.c: Include sys/types.h.
586 * intl/l10nflist.c: Likewise.
831372e7 587
edf66db1 588Sat Jan 18 22:15:26 1997 Richard Henderson <rth@tamu.edu>
831372e7 589
edf66db1
SP
590 * config.make.in (install_root): New variable to make it easy to
591 install glibc somewhere other than /.
831372e7 592
edf66db1 593 * shlib-versions: alpha-*-linux-* libc=6.1.
831372e7 594
edf66db1
SP
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.
831372e7 598
edf66db1
SP
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.
831372e7 604
edf66db1
SP
605 * sysdeps/unix/sysv/linux/alpha/ioctl-types.h: Remove.
606 Default Linux version should be sufficient.
831372e7 607
edf66db1
SP
608 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c: The osf_sigprocmask
609 system call wants the sigset dereferenced.
831372e7 610
edf66db1
SP
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.
831372e7 614
edf66db1 615 * sysdeps/unix/sysv/linux/sigset.h: Use longs instead of ints.
831372e7 616
edf66db1 617 * sysdeps/unix/sysv/linux/tcsetattr.c: Fix pointer dereferences.
831372e7 618
edf66db1
SP
619 * sysdeps/unix/sysv/linux/alpha/sigsuspend.c: Add comment about
620 dependency to kernel type.
831372e7 621
edf66db1 622 * sysdeps/unix/sysv/linux/alpha/termbits.h: Correct comment.
831372e7 623
edf66db1 624Sun Jan 19 04:38:20 1997 Ulrich Drepper <drepper@cygnus.com>
831372e7 625
edf66db1
SP
626 * config.make.in (have-ksh, KSH): New variables. Will be filled
627 in by configure.
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
637 build directory.
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
644 installing.
645 * time/tzset.c (__tzset_internal): Avoid freeing string twice.
646 Set DST zone name to normal zone name if no information is provided.
831372e7 647
edf66db1
SP
648 * time/mktime.c (mktime): Call __tzset_internal to use current
649 value of TZ.
831372e7 650
edf66db1 651 * Makerules (common-clean): Remove $(generated-dirs) inclusing content.
831372e7 652
edf66db1 653 * glibcbug.in: Fix several bugs. Reported by several people.
831372e7 654
edf66db1 655 * elf/Makefile: Correct dependecies for $(objpfx)ldd.
831372e7 656
edf66db1 657 * inet/netinet/ip.h: Define IPTOS_LOWCOST and IPTOS_MINCOST.
831372e7 658
edf66db1
SP
659 * locale/C-time.c: Update copyright.
660 * locale/localeinfo.h: Likewise.
661 * sysdeps/unix/bsd/bsd4.4/direntry.h: Likewise.
831372e7 662
edf66db1
SP
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.
831372e7 666
edf66db1
SP
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.
831372e7 670
edf66db1 671Sun Jan 19 03:22:30 1997 Ulrich Drepper <drepper@cygnus.com>
831372e7 672
edf66db1
SP
673 * sysdeps/unix/sysv/linux/sys/mtio.h: Don't use <linux/mtio.h>.
674 We must not use <linux/posix_types.h>.
831372e7 675
edf66db1
SP
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
681 types.
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
684 types.
831372e7 685
edf66db1 686Sun Jan 19 01:48:20 1997 H.J. Lu <hjl@gnu.ai.mit.edu>
831372e7 687
edf66db1
SP
688 * sysdeps/libm-i387/e_exp.S: Correct computation of fractional
689 part.
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.
831372e7 696
edf66db1 697Fri Jan 17 17:45:32 1997 Ulrich Drepper <drepper@cygnus.com>
831372e7 698
edf66db1 699 * posix/getopt.c: Change all direct usages of `gettext' to `_'.
831372e7 700
edf66db1
SP
701 * sysdeps/generic/sysd-stdio.c (__stdio_reopen): Add missing
702 parameter.
703 Reported by Harmanjit Singh <harman@netearth.iitd.ernet.in>.
831372e7 704
edf66db1 705Thu Jan 16 23:39:25 1997 Ulrich Drepper <drepper@cygnus.com>
831372e7 706
edf66db1
SP
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.
831372e7 717
edf66db1
SP
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.
831372e7 721
edf66db1 722Sat Jan 11 18:53:47 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
831372e7 723
edf66db1
SP
724 * sysdeps/unix/sysv/linux/sys/sysmacros.h (major, minor, makedev):
725 Fix definitions so that they work with __kernel_dev_t.
726
727Sat Jan 11 14:24:10 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
728
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.
831372e7 733
edf66db1 734Sun Jan 12 15:22:33 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
831372e7 735
edf66db1
SP
736 * libc-symbols.h (link_warning): Make sure that the .gnu.warning
737 section is not allocated.
738 Update and reformat copyright.
831372e7 739
edf66db1 740Sun Jan 12 12:19:28 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
831372e7 741
edf66db1 742 * elf/Makefile ($(objpfx)ldd): Fix depedency list.
831372e7 743
edf66db1 744Sat Jan 11 15:11:26 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
831372e7 745
edf66db1
SP
746 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls): Fix
747 command so that it works in subdirectories.
831372e7 748
edf66db1 749Wed Jan 8 22:07:58 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
831372e7 750
edf66db1
SP
751 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add s_getgroups and
752 s_setgroups.
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.
831372e7 758
edf66db1 759Wed Jan 8 19:42:59 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
831372e7 760
edf66db1
SP
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
764 directory.
765 * Makeconfig ($(common-objpfx)config.status): Depend on version.h.
831372e7 766
edf66db1 767Thu Jan 9 08:47:54 1997 Andreas Jaeger <aj@arthur.pfalz.de>
831372e7 768
edf66db1
SP
769 * glibcbug.in (while): We test for four and not five conditions,
770 set MAIL_AGENT instead of RMAIL, filter spaces and tabs.
831372e7 771
edf66db1 772Thu Jan 16 22:00:27 1997 Ulrich Drepper <drepper@cygnus.com>
831372e7 773
edf66db1
SP
774 * misc/syslog.c: Don't define cancel_handler if _LIBC_REENTRANT
775 is not defined. Reported by Andreas Jaeger.
831372e7 776
edf66db1 777Thu Jan 9 08:47:54 1997 Andreas Jaeger <aj@arthur.pfalz.de>
831372e7 778
edf66db1
SP
779 * new-malloc/malloc.c (__MALLOC_P): define call to pthread
780 initializer only if NO_THREADS is not defined.
831372e7 781
edf66db1 782Wed Jan 8 21:28:58 1997 Andreas Jaeger <aj@arthur.pfalz.de>
831372e7 783
edf66db1
SP
784 * resolv/nss_dns/dns-host.c: Clean-up: delete unnecessary includes
785 and variables.
831372e7 786
edf66db1 787Thu Jan 16 21:50:27 1997 Ulrich Drepper <drepper@cygnus.com>
831372e7 788
edf66db1
SP
789 * inet/arpa/inet.h: Include <netinet/in.h> to get struct in_addr
790 defined.
831372e7 791
edf66db1 792Tue Jan 7 17:29:59 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
831372e7 793
edf66db1 794 * Makerules (LDLIBS-c.so): New variable.
831372e7 795
edf66db1 796Tue Jan 7 19:22:00 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
831372e7 797
edf66db1
SP
798 * Makefile ($(includedir)/gnu/lib-names.h): Define the library
799 names as strings, not as sequence of tokens that may fall apart.
831372e7 800
edf66db1 801Fri Jan 10 14:08:41 1997 Roland McGrath <roland@fmh.frob.com>
831372e7 802
edf66db1
SP
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.
831372e7 805
edf66db1 806Thu Jan 16 20:29:15 1997 Ulrich Drepper <drepper@cygnus.com>
831372e7 807
edf66db1 808 * values.h [__USE_MISC]: Define BITSPERBYTE.
831372e7 809
edf66db1 810Fri Jan 17 14:16:28 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
831372e7 811
edf66db1
SP
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.
831372e7 816
edf66db1 817Thu Jan 9 15:59:35 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
831372e7 818
edf66db1 819 * sysdeps/mach/hurd/posix_opt.h: New file.
831372e7 820
edf66db1 821 * sysdeps/mach/hurd/sigwait.c (sigwait): Don't affect signal mask.
831372e7 822
edf66db1
SP
823 * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Finish
824 deansideclification.
831372e7 825
edf66db1
SP
826 * sysdeps/mach/libc-lock.h: Add kludges to pretend to implement
827 recursive locks.
831372e7 828
edf66db1 829Tue Jan 7 09:48:15 1997 Andreas Jaeger <aj@arthur.pfalz.de>
831372e7 830
edf66db1
SP
831 * signal/sigempty.c (sigemptyset): Correct typo: Empty set should
832 have all bits zero.
831372e7 833
edf66db1 834Tue Jan 7 23:44:39 1997 Ulrich Drepper <drepper@cygnus.com>
831372e7 835
edf66db1
SP
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.
846 Patches by HJ Lu.
831372e7 847
edf66db1 848 * resolv/nss_dns/dns-host.c: Don't handle dotted pair notation.
831372e7 849
edf66db1 850 * io/getwd.c: Optimized a bit.
831372e7 851
edf66db1 852 * signal/signal.h: Always declare __sysv_signal.
831372e7 853
edf66db1 854 * sysdeps/generic/setenv.c: Add some portability code.
831372e7 855
edf66db1 856 * sysdeps/unix/sysv/fcntlbits.h: Update copyright.
831372e7 857
edf66db1
SP
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
861 specific version.
831372e7 862
edf66db1
SP
863 * sysdeps/unix/sysv/linux/syscalls.list: Add sys_mknod. Don't
864 mark sigreturn as EXTRA.
831372e7 865
edf66db1
SP
866 * sysdeps/unix/sysv/linux/ustat.c: Declare __syscall_ustat.
867 * sysdeps/unix/sysv/linux/alpha/ustat.c: New file. Alpha version.
831372e7 868
edf66db1 869Tue Jan 7 09:48:15 1997 Andreas Jaeger <aj@arthur.pfalz.de>
831372e7 870
edf66db1 871 * io/fts.c (fts_alloc): Add const to second parameter of function.
831372e7 872
edf66db1
SP
873 * io/Makefile: Change CFLAGS-fts.c and define CFLAGS-ftw.c to
874 prevent warnings.
831372e7 875
edf66db1 876 * signal/sigfillset.c: Include <string.h> for memset declaration.
831372e7 877
edf66db1 878Tue Jan 7 11:14:32 1997 Miles Bader <miles@gnu.ai.mit.edu>
831372e7 879
edf66db1 880 * sysdeps/generic/setenv.c: Fix portability problems.
831372e7 881
edf66db1 882Tue Jan 7 02:10:17 1997 Ulrich Drepper <drepper@cygnus.com>
831372e7 883
edf66db1
SP
884 * posix/getopt.c (_getopt_internal): Don't reset __getopt_initialized
885 after the last option was seen.
831372e7 886
edf66db1 887Mon Jan 6 15:30:21 1997 Ulrich Drepper <drepper@cygnus.com>
831372e7 888
edf66db1 889 * elf/elf.h (DT_EXTRANUM): Set to 3 since 0x7ffffffd is used.
831372e7 890
edf66db1 891Mon Jan 6 13:57:05 1997 Ulrich Drepper <drepper@cygnus.com>
831372e7 892
edf66db1
SP
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>.
831372e7 897
edf66db1 898Thu Jan 2 23:44:39 1997 Philip Blundell <pjb27@cam.ac.uk>
831372e7 899
edf66db1
SP
900 * inet/Makefile (headers): Add netinet/ip.h.
901 * inet/netinet/ip.h: New file, contains BSD definitions for struct
902 ip and friends.
831372e7 903
edf66db1 904Fri Jan 3 23:17:11 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
831372e7 905
edf66db1 906 * string/string.h (strnlen): Add cast for C++.
831372e7 907
edf66db1 908Mon Jan 6 03:31:46 1997 Ulrich Drepper <drepper@cygnus.com>
831372e7 909
edf66db1
SP
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.
831372e7 922
edf66db1 923 * mcheck.h: New file. Necessary since mcheck.h is used in time/ap.c.
831372e7 924
edf66db1
SP
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.
831372e7 949
edf66db1 950 * version.h: Bump VERSION to 1.100.
831372e7 951
edf66db1 952 * intl/finddomain.c: Defining stpcpy function isn't necessary.
831372e7 953
edf66db1
SP
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
957 of _IO_lock_init.
831372e7 958
edf66db1
SP
959 * locale/programs/charmap.c (obstack_chunk_alloc): Use malloc instead
960 of xmalloc.
961 * locale/programs/ld-collate.c: Likewise.
962 * locale/programs/simple-hash.c: Likewise.
831372e7 963
edf66db1
SP
964 * misc/Makefile (headers): Add selectbits.h.
965 * misc/sys/select.h: Include <selectbits.h> to get necessary
966 definitions.
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.
831372e7 972
edf66db1
SP
973 * misc/mntent_r.c: Fix handling of multiple, comma-separated
974 options. Patch by Sai-Lai Lo <sll@orl.co.uk>.
831372e7 975
edf66db1
SP
976 * po/de.po: Update.
977 * po/ko.po: Update.
978 * po/sv.po: Update.
831372e7 979
edf66db1
SP
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
983 program.
831372e7 984
edf66db1 985 * posix/unistd.h [__USE_GNU]: Declare environ.
831372e7 986
edf66db1 987 * posix/sys/types.h (key_t): Also define when __USE_XOPEN.
831372e7 988
edf66db1
SP
989 * resolv/res_debug.c: Add casts to prevent warnings.
990 * resolv/res_query.c: Likewise.
831372e7 991
edf66db1
SP
992 * resolv/nss_dns/dns-host.c: Change type for buffer size arguments
993 to `size_t'.
994 * resolv/nss_dns/dns-network.c: Likewise.
995
996 * signal/sigempty.c: Use memset to initialize variable.
997 * signal/sigfillset.c: Likewise.
998
999 * signal/signal.h: Change back handling of signal. The BSD
1000 version is preferred and the new sysv_signal is used when
1001 __USE_XOPEN.
1002 * sysdeps/posix/sysv_signal.c: Renamed from signal.c. Use SVID
1003 semantic.
1004 * sysdeps/posix/signal.c: Renamed from bsd_signal.c. Use BSD
1005 semantic.
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.
1009
1010 * sysdeps/generic/abort.c: Allow repeated calls to abort if
1011 a user defined handler for SIGABRT is installed.
1012
1013 * sysdeps/stub/libc-lock.h: Define separate set of macros for
1014 handling recursive mutexes.
1015
1016 * sysdeps/unix/Makefile: Change rule to generate syscall.h file
1017 so that it is generate in the sys/ subdir.
1018
1019 * sysdeps/unix/sysv/linux/Dist: Add kernel_termios.h.
1020 * sysdeps/unix/sysv/linux/alpha/Dist: Add kernel_termios.h and
1021 sys/acct.h.
1022
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.
1027
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.
1032
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
1041 to syscall.
1042
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.
831372e7 1051
edf66db1
SP
1052 * sysdeps/unix/sysv/linux/sys/sysmacros.h (minor, major, mkdev):
1053 Change definitions to fit new dev_t definition.
831372e7 1054
edf66db1
SP
1055 * sysdeps/unix/sysv/linux/syscalls.list: Add getdents and sigreturn.
1056 Rename ustat to s_ustat since wrapper is needed.
831372e7 1057
edf66db1
SP
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.
831372e7 1068
edf66db1
SP
1069 * sysdeps/unix/sysv/linux/alpha/sys/acct.h: New file. Alpha specific
1070 definition of accounting structure.
831372e7 1071
edf66db1
SP
1072 * sysdeps/unix/sysv/linux/sys/ptrace.h: Include <asm/ptrace.h>.
1073 Patch by Andreas Schwab.
831372e7 1074
edf66db1 1075 * time/ap.c: Include <mcheck.h>.
831372e7 1076
edf66db1
SP
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.
831372e7 1082
edf66db1
SP
1083 * time/sys/time.h: Include <sys/select.h> to get select related
1084 declarations.
831372e7 1085
edf66db1 1086Mon Jan 6 01:58:21 1997 Richard Henderson <richard@atheist.tamu.edu>
831372e7 1087
edf66db1
SP
1088 * sysdeps/alpha/dl-machine.h (elf_machine_dynamic): Work around
1089 bug in GNU ld.
831372e7 1090
edf66db1 1091Mon Jan 6 01:35:29 1997 H.J. Lu <hjl@gnu.ai.mit.edu>
831372e7 1092
edf66db1
SP
1093 * misc/getpass.c: Make sure the content of the input buffer is not
1094 printed if the getpass function is interrupted.
831372e7 1095
edf66db1 1096Sat Jan 4 17:07:08 1997 Roland McGrath <roland@fmh.frob.com>
831372e7 1097
edf66db1 1098 * md5-crypt/Makefile (rpath-link): Add md5-crypt objdir, not crypt.
831372e7 1099
edf66db1 1100Thu Jan 2 17:58:23 1997 Roland McGrath <roland@fmh.frob.com>
831372e7 1101
edf66db1 1102 * sysdeps/generic/abort.c: Include <string.h> for memset decl.
831372e7 1103
edf66db1
SP
1104 * new-malloc/mcheck.c [_LIBC || STDC_HEADERS || USG]: Include
1105 <string.h> so memset is declared.
831372e7 1106
edf66db1 1107Tue Dec 31 21:16:05 1996 Roland McGrath <roland@fmh.frob.com>
831372e7 1108
edf66db1 1109 * elf/dl-deps.c (_dl_map_object_deps): Support DT_AUXILIARY.
831372e7 1110
edf66db1
SP
1111 * elf/dl-error.c (_dl_catch_error): Save and restore old catch site so
1112 calls can be nested.
831372e7 1113
edf66db1
SP
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
1116 extension range.
831372e7 1117
edf66db1
SP
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.
831372e7 1122
edf66db1 1123 * elf/dl-deps.c (_dl_map_object_deps): Check for malloc failure.
831372e7 1124
edf66db1 1125Sat Jan 4 22:25:01 1997 Andreas Jaeger <aj@arthur.pfalz.de>
831372e7 1126
edf66db1
SP
1127 * libio/fcloseall.c: Include stdio.h for prototype declaration for
1128 __fcloseall.
831372e7 1129
edf66db1 1130Thu Jan 2 17:35:20 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
831372e7 1131
edf66db1
SP
1132 * sysdeps/posix/signal.c: Provide ignorable definitions of
1133 SA_ONESHOT, SA_NOMASK, and SA_INTERRUPT for non-threads Posix
1134 systems.
831372e7 1135
edf66db1 1136Thu Jan 2 23:20:51 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
831372e7 1137
edf66db1
SP
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.
831372e7 1143
edf66db1 1144Wed Jan 1 22:21:18 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
831372e7 1145
edf66db1
SP
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
1154 dependency.
1155 * sysdeps/unix/sysdep.h: Include <sys/syscall.h> instead of
1156 <syscall.h>.
831372e7 1157
edf66db1 1158Tue Dec 31 00:03:18 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
831372e7 1159
edf66db1 1160 * features.h: Fix typo.
831372e7 1161
edf66db1 1162Thu Jan 2 00:46:09 1997 Ulrich Drepper <drepper@cygnus.com>
831372e7 1163
edf66db1 1164 * libio/_G_config.h: Add _G_HAVE_LONG_DOUBLE_IO for libg++.
831372e7 1165
edf66db1 1166Wed Jan 1 15:15:00 1997 Ulrich Drepper <drepper@cygnus.com>
831372e7 1167
edf66db1
SP
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.
831372e7 1172
edf66db1
SP
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.
831372e7 1177
edf66db1 1178 * manual/stdio.texi: Document fcloseall.
831372e7 1179
edf66db1
SP
1180 * sysdeps/generic/abort.c: Call __fcloseall instead of fclose with
1181 NULL argument.
831372e7 1182
edf66db1 1183 * socket/sys/un.h (SUN_LEN): Add cast.
831372e7 1184
edf66db1
SP
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.
831372e7 1194
edf66db1
SP
1195 * sysdeps/ieee754/Makefile: New file. Make sure ieee754.h gets
1196 installed.
1197 * sysdeps/ieee754/ieee754.h: Protect against multiple inclusion and
1198 use in C++ programs.
1199
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.
1204
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.
1209
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.
1214
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.
1225
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.
1233
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.
1238
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.
1242
1243 * sysdeps/libm-ieee754/e_hypotl.c: New file. Long double
1244 implementation.
1245 * sysdeps/libm-ieee754/e_sinhl.c: New file. Long double
1246 implementation.
1247 * sysdeps/stub/e_hypotl.c: Removed. We have a real version now.
1248 * sysdeps/stub/e_sinhl.c: Removed.
831372e7 1249
edf66db1
SP
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.
831372e7 1256
edf66db1 1257Wed Jan 1 12:34:54 1997 Ulrich Drepper <drepper@cygnus.com>
831372e7 1258
edf66db1
SP
1259 * po/es.po: Update for glibc-1.98.
1260 * po/fr.po: Likewise.
1261 * po/sv.po: New file. Swedish translation.
831372e7 1262
edf66db1 1263Wed Jan 1 12:18:07 1997 MacGyver <macgyver@tos.net>
831372e7 1264
edf66db1
SP
1265 * values.h: Fix typos: use SHRT_MAX but SHORT_MAX and SHRT_MIN but
1266 SHORT_MIN.
831372e7 1267
edf66db1 1268Tue Dec 24 23:10:21 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
831372e7 1269
edf66db1
SP
1270 * Makefile: Replace `stubs.h' by `gnu/stubs.h'.
1271 * features.h: Include <gnu/stubs.h> instead of <stubs.h>.
831372e7 1272
edf66db1 1273Tue Dec 24 22:16:55 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
92c3af3c 1274
edf66db1
SP
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
1277 libc.
831372e7 1278
edf66db1 1279Mon Dec 23 21:23:16 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
831372e7 1280
edf66db1 1281 * sysdeps/m68k/abort-instr.h: New File.
831372e7 1282
edf66db1 1283Mon Dec 23 21:16:38 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
831372e7 1284
edf66db1
SP
1285 * sysdeps/m68k/Makefile ($(subdir)=elf): Define CFLAGS-rtld.c
1286 to prevent warning.
831372e7 1287
edf66db1 1288Mon Dec 23 21:14:22 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
831372e7 1289
edf66db1 1290 * resolv/Makefile (subdirs-dirs): Define.
831372e7 1291
edf66db1 1292Mon Dec 23 20:56:49 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
831372e7 1293
edf66db1 1294 * sysdeps/gnu/utmpbits.h (struct utmp): Fix padding.
831372e7 1295
edf66db1 1296Mon Dec 30 11:05:11 1996 Ulrich Drepper <drepper@cygnus.com>
831372e7 1297
edf66db1
SP
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.
831372e7 1302
edf66db1
SP
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.
831372e7 1309
edf66db1 1310Mon Dec 30 01:32:59 1996 Ulrich Drepper <drepper@cygnus.com>
831372e7 1311
edf66db1
SP
1312 * tme/localtime.c: Rewrite so that localtime_r does not call tzset,
1313 but localtime does.
831372e7 1314
edf66db1
SP
1315 * features.h: Rename ANSI C to ISO C.
1316 Mention __GLIBC__ and __GLIBC_MINOR__ macros.
831372e7 1317
edf66db1
SP
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.
831372e7 1323
edf66db1
SP
1324 * elf/dl-error.c (_dl_catch_error): Clear `catch' also when error
1325 occurred.
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
1330 function for NULL.
1331 * sysdeps/generic/dl-cache.c: Update copyright.
831372e7 1332
edf66db1
SP
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
1342 if __FAVOR_BSD.
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.
1346
1347 * sysdeps/unix/sysv/linux/signal.c: Add explanation.
1348
1349 * socket/sys/un.h: Define SUN_LEN according to POSIX.1g.
1350
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
1354 reading string.
1355
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.
1418
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.
1424
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.
1431
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.
1439
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.
1449
1450 * sysdeps/libm-ieee754/s_asinhf.c: Tweak a bit. Use lower levels
1451 for simplified handling.
1452
1453 * sysdeps/unix/sysv/linux/syscalls.list: Add query_module.
1454
1455Sun Dec 22 01:39:29 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1456
1457 * inet/rcmd.c (rcmd): Set h_errno before calling herror.
1458 * inet/rexec.c (rexec): Likewise.
1459
1460Sat Dec 21 21:47:08 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1461
1462 * sysdeps/unix/sysv/linux/m68k/setjmp.c (__setjmp): Make it really
1463 compatible.
1464
1465Sun Dec 22 03:23:33 1996 Ulrich Drepper <drepper@cygnus.com>
1466
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.
1471
1472Sun Dec 22 00:01:27 1996 Ulrich Drepper <drepper@cygnus.com>
1473
1474 * inet/getnetgrent.c: Reformat copyright.
1475
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>.
1480
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.
1486
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.
1490
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.
1497
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
1503 to prevent warning.
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.
1509
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.
1513
1514Sat Dec 21 16:23:54 1996 Ulrich Drepper <drepper@cygnus.com>
1515
1516 * time/strftime.c: Fix another bug in handling flags made it
1517 impossible to use the `-', `_', or `0' flag.
1518
1519Sat Dec 21 04:14:16 1996 Ulrich Drepper <drepper@cygnus.com>
1520
1521 * sysdeps/unix/common/pause.c: Add missing second argument in
1522 call to __sigpause.
1523 Reported by a sun <asun@zoology.washington.edu>.
1524
1525 * locale/weight.h: Correct handling of collation elements.
1526 Reported by Keld Simonsen <keld@dkuug.dk>.
1527
1528 * manual/time.texi: Document ^ flag and %P format.
1529
1530 * new-malloc/malloc.c: Update from Wolfram Gloger.
1531
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.
1541
1542 * stdio-common/Makefile (routines): Remove fcloseall.
1543 * stdio-common/fcloseall.c: Removed.
1544
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
1549 any form of loop.
1550
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.
1555
1556 * time/strftime.c: Don't use `isdigit' when computing field width
1557 from string since the locale might have more than one digit
1558 block.
1559
1560Fri Dec 20 12:38:14 1996 Darrel Hankerson <hankedr@mail.auburn.edu>
1561
1562 * posix/getopt.c (in -W option handling): Return when optind == argc.
1563
1564Thu Dec 19 14:24:50 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1565
1566 * nis/nss_nis/nis-alias.c (_nss_nis_parse_aliasent): Add const to
1567 type of KEY.
1568
1569 * nis/nss_compat/compat-grp.c: Include the declaration of the file
1570 parser.
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.
1580
1581 * nis/nss_compat/compat-grp.c (getgrent_next_nis,
1582 getgrent_next_file): Pass the correct type for the buffer to the
1583 parser function.
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.
1602
1603Thu Dec 19 13:37:16 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1604
1605 * sysdeps/unix/sysv/linux/m68k/setjmp.c: New file.
1606
1607Thu Dec 19 23:28:33 1996 Ulrich Drepper <drepper@cygnus.com>
1608
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.
1613
1614Thu Dec 19 20:58:53 1996 Ulrich Drepper <drepper@cygnus.com>
1615
1616 * elf/dlfcn.h: Add extern "C" wrapper.
1617
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.
e6855a3b 1639 Patches by Rüdiger Helsch <rh@unifix.de>.
edf66db1
SP
1640
1641 * locale/locale.h: Add declaration of newlocale and freelocale.
1642
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.
1651
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
1655 nanosleep.
1656
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.
1664
1665 * sysdeps/libm-i387/e_exp.S: Make sure stack is empty when the
1666 function is left.
1667 * sysdeps/libm-i387/e_expl.S: Likewise.
1668 Patch by HJ Lu.
1669
16701996-12-17 Paul Eggert <eggert@twinsun.com>
1671
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.
1679
1680Wed Dec 18 15:48:02 1996 Ulrich Drepper <drepper@cygnus.com>
1681
1682 * time/strftime.c: Implement ^ flag to cause output be converted
1683 to use upper case characters.
1684
1685 * time/zic.c: Update from ADO tzcode1996n.
1686
1687Wed Dec 18 14:29:24 1996 Erik Naggum <erik@naggum.no>
1688
1689 * time/strftime.c (add): Don't change global `i' until all is over.
1690 Define NULL is not already defined.
1691
1692Tue Dec 17 09:49:03 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1693
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.
1697
1698Wed Dec 18 03:31:58 1996 Ulrich Drepper <drepper@cygnus.com>
1699
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
1702 reentrancy.
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.
831372e7 1709
edf66db1
SP
1710 * libio/iovsprintf.c: Add cast to prevent warning.
1711 * libio/iovsscanf.c: Likewise.
831372e7 1712
edf66db1
SP
1713 * libio/libioP.h: Define mmap to __mmap and munmap to __munmap
1714 to keep namespace clean.
831372e7 1715
edf66db1
SP
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.
831372e7 1719
edf66db1
SP
1720 * nis/ypclnt.c: Remove prototype for xdr_free.
1721 * sunrpc/rpc/xdr.h: Add prototype for xdr_free.
831372e7 1722
edf66db1
SP
1723 * manual/nss.texi: Correct description of default values and don't
1724 meantion NSS as an add-on.
831372e7 1725
edf66db1
SP
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,
1734 passwd, and shadow.
831372e7 1735
edf66db1
SP
1736 * stdlib/on_exit.c (on_exit): Rename to __on_exit and make old name
1737 a weak alias.
1738 * stdlib/stdlib.h: Add prototype for __on_exit.
831372e7 1739
edf66db1 1740 * sysdeps/unix/sysv/linux/schedbits.h: Add prototype for __clone.
831372e7 1741
edf66db1
SP
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.
831372e7 1745
edf66db1
SP
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.
831372e7 1751
edf66db1
SP
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.
831372e7 1758
edf66db1 17591996-12-16 Paul Eggert <eggert@twinsun.com>
831372e7 1760
edf66db1
SP
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'.
1767 All uses changed.
831372e7 1768
edf66db1 17691996-12-15 Paul Eggert <eggert@twinsun.com>
831372e7 1770
edf66db1
SP
1771 * ctime.c (ctime): Return asctime (localtime (t)), as the C
1772 standard requires.
831372e7 1773
edf66db1 1774Tue Dec 17 02:05:48 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
831372e7 1775
edf66db1
SP
1776 * sysdeps/mach/libc-lock.h (__libc_lock_trylock): Invert return
1777 value because Mach/cthreads uses the opposite convention from
1778 Posix/glibc.
831372e7 1779
edf66db1 1780Mon Dec 16 22:41:01 1996 Ulrich Drepper <drepper@cygnus.com>
831372e7 1781
edf66db1
SP
1782 * stdio-common/fcloseall.c: Correct test of already_called.
1783 Reported by Thomas Bushnell, n/BSG.
831372e7 1784
edf66db1 1785Mon Dec 16 14:52:07 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
92c3af3c 1786
edf66db1 1787 * mach/lock-intern.h (__mutex_try_lock): New function.
831372e7 1788
edf66db1 1789Sun Dec 15 16:33:44 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
831372e7 1790
edf66db1
SP
1791 * termios/sys/ttydefaults.h (TTYDEF_OFLAG): Only use OXTABS if
1792 defined, else XTABS.
1793 (CEOL, CSTATUS): Use _POSIX_VDISABLE if defined.
831372e7 1794
edf66db1 1795Sun Dec 15 11:56:19 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
92c3af3c 1796
edf66db1
SP
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.
92c3af3c 1800
edf66db1 1801Mon Dec 16 02:15:42 1996 Ulrich Drepper <drepper@cygnus.com>
92c3af3c 1802
edf66db1
SP
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
1808 self.
1809 * time/tzset.c (tzset): Set tzname[] directly only if !__use_tzfile.
92c3af3c 1810
edf66db1 1811Sun Dec 15 16:52:34 1996 Ulrich Drepper <drepper@cygnus.com>
92c3af3c 1812
edf66db1
SP
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.
92c3af3c 1816
edf66db1 1817Sun Dec 15 14:20:51 1996 Ulrich Drepper <drepper@cygnus.com>
92c3af3c 1818
edf66db1 1819 * manual/time.texi: Update documentation of strftime function.
92c3af3c 1820
edf66db1 1821Sun Dec 15 01:53:20 1996 Ulrich Drepper <drepper@cygnus.com>
92c3af3c 1822
edf66db1
SP
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
1826 md5-crypt.
1827 * sysdeps/unix/sysv/linux/configure.in: Refer to linuxthreads and
1828 crypt instead of LinuxThreads and des-crypt.
92c3af3c 1829
edf66db1
SP
1830 * Makefile (subdirs): Add nss back.
1831 * sysdeps/unix/inet/Subdirs: Move nis to end of file to fulfill
1832 dependencies.
92c3af3c 1833
edf66db1
SP
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.
92c3af3c 1838
edf66db1
SP
1839 * sysdeps/mach/libc-lock.h: Add definition of __libc_lock_trylock.
1840 * sysdeps/stub/libc-lock.h: Define __libc_lock_trylock to always
1841 return 0.
92c3af3c 1842
edf66db1 1843 * stdio-common/printf.h: Define MIN and MAX only if not already
92c3af3c
SP
1844 defined.
1845
edf66db1
SP
1846 * stdio-common/vfprintf.c: Set errno to EBADF if stream does not
1847 allow writing. Required by POSIX.1.
92c3af3c 1848
edf66db1
SP
1849 * libio/libioP.h (CHECK_FILE): Use MAYBE_SET_EINVAL instead of
1850 assignment.
831372e7 1851
edf66db1
SP
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.
1858
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.
1884
1885 * libio/iovspintf.c: Use cleanup handler to make sure no dangling
1886 locks can stay over.
1887 * libio/iovsscanf.c: Likewise.
1888
1889 * libio/genops.c: Use _IO_lock_init_recursive and _IO_lock_fini
1890 instead of __libc_lock_init_recursive and __libc_lock_fini.
1891
1892 * libio/filedoalloc.c: Only use __isatty when compiling GNU libc.
1893 Otherwise use isatty.
1894 * libio/fileops.c: Likewise for __open and open.
1895
1896 * login/utmp_file.c (getutent_r_file): Use fcntl instead of
1897 flock.
1898
1899 * nis/ypclnt.h: Add more casts to prevent warnings.
1900
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
1908 nss/Makefile.
1909
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.
1918
1919 * string/tst-strlen.c: Change all counting variables to type size_t
1920 to prevent warnings.
1921
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.
1925
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.
1939
1940Fri Dec 13 01:06:52 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1941
1942 * sysdeps/unix/sysv/linux/paths.h: Add _PATH_KLOG.
1943
1944Thu Dec 12 09:16:35 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1945
1946 * rellns-sh: Correctly handle a relative source file name.
1947
1948Wed Dec 11 19:18:40 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1949
1950 * login/utmp_file.c (setutent_file): Seek back to beginning of the
1951 file if resetting.
1952
1953Thu Dec 12 16:39:12 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
1954
1955 * hurd/hurdinit.c (map0): Delete function. Don't do this on
1956 _hurd_preinit_hook.
1957 * hurd/hurdstartup.c (_hurd_startup): Map page zero redzone here.
1958
1959Thu Dec 12 03:32:21 1996 Ulrich Drepper <drepper@cygnus.com>
1960
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
1963 _G_ARGS.
1964
1965 Change libio buffer handling to allocate internal buffers using
1966 mmap if possible.
1967 * libio/filedoalloc.c (_IO_file_doallocate): Change call to
1968 ALLOC_BUF.
1969 * libio/genops.c (_IO_setb, _IO_default_finish): Change call
1970 to FREE_BUF.
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.
1976 Patch by HJ Lu.
1977
1978 * libio/libio.h: Define NULL as __null only for gcc-2.8 and up.
1979 * libio/libioP.h: Likewise.
1980
1981 * libio/fileops.c (_IO_file_read, _IO_file_write): Don't
1982 restart syscall when EINTR was returned. Necessary for POSIX.1.
1983
1984 * libio/strops.c (_IO_str_overflow): Add cast to prevent warning.
1985
1986 * new-malloc/malloc.c (heap_trim): Correctly place parentheses to
1987 prevent warnings.
1988
1989 * nis/Makefile: Remove rules for bsd-tools which are not part
1990 of glibc.
1991 Patch by Thorsten Kukuk.
1992
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.
2007
2008 * nis/rpcsvc/yp_prot.h (ypreq_key): Change type of members to
2009 `const char *'.
2010 (ypmaplist): Change member names to `map' and `next' and provide
2011 #defines for old names.
2012 Patch by Thorsten Kukuk.
2013
2014 * nss/nss_files/files-parse.c (parse_line, parse_list): Change
2015 type for `datalen' parameter to size_t.
2016
2017 * shsdow/lckpwdf.c: Use fcntl forlocking, not flock.
2018
2019 * stdio-common/printf.c [USE_IN_LIBIO]: Provide alias _IO_printf
2020 for printf.
2021 * stdio-common/sscanf.c [USE_IN_LIBIO]: Provide alias _IO_sscanf
2022 for sscanf.
2023 Patch by HJ Lu.
2024
2025 * stdio-common/tmpfile.c: Update copyright.
2026
2027 * stdio-common/vfscanf.c: Correctly handle EINTR error from fgetc
92c3af3c 2028 function.
edf66db1
SP
2029 Don't eat white space for `C' format.
2030
2031 * stdlib/tst-strtol.c [~0UL != 0xffffffff]: Fix typo in test data.
2032
2033 * sysdeps/generic/abort.c: Update copyright. De-ANSI-declfy.
2034 * sysdeps/i386/abort.c: Removed. This version does not use
2035 signal SIGABRT.
831372e7 2036
edf66db1
SP
2037 * sysdeps/i386/fpu/__math.h: Define __NO_MATH_INLINES if not using
2038 gcc-2.8 or up.
2039 Patch by HJ Lu.
831372e7 2040
edf66db1
SP
2041 * sysdeps/posix/tempname.c: Test for error but EEXIST after open
2042 call. If EMFILE, ENFILE, or EINTR return with error.
831372e7 2043
edf66db1 2044Wed Dec 11 14:43:52 1996 Ulrich Drepper <drepper@cygnus.com>
831372e7 2045
edf66db1
SP
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.
831372e7 2053
edf66db1
SP
2054 * time/strftime.c: Extend for Emacs' needs. Recognize field width,
2055 %P format and `0' modifier.
831372e7 2056
edf66db1 2057Tue Dec 10 21:20:44 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
831372e7 2058
edf66db1
SP
2059 * Makerules (make-link): Don't discard exit codes of intermediate
2060 commands. Always use rellns-sh if symbolic links are available.
831372e7 2061
edf66db1 2062Tue Dec 10 20:09:51 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
831372e7 2063
edf66db1
SP
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>.
831372e7 2067
edf66db1 2068Wed Dec 11 01:04:30 1996 Ulrich Drepper <drepper@cygnus.com>
831372e7 2069
edf66db1
SP
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.
831372e7 2099
edf66db1 2100 * libio/_G_config.h: Define _G_HAVE_SYS_WAIT and _G_HAVE_PRINTF_FP.
831372e7 2101
edf66db1 2102 * locale/C-numeric.c: Update copyright.
831372e7 2103
edf66db1
SP
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.
831372e7 2108
edf66db1
SP
2109 * new-malloc/malloc.c: Correct copyright.
2110 * new-malloc/thread-m.h: Correct key handling.
831372e7 2111
edf66db1
SP
2112 * shadow/lckpwdf.c: Update copyright.
2113 (PWD_LOCKFILE): Change to /etc/.pwd.lock.
831372e7 2114
edf66db1
SP
2115 * stdlib/strtod.c: Add another assertion.
2116 * stdlib/tst-strtod.c: Add another test case.
831372e7 2117
edf66db1
SP
2118 * sysdeps/generic/paths.h: Add _PATH_PRESERVE. Needed by nvi.
2119 * sysdeps/unix/sysv/linux/paths.h: Likewise.
831372e7 2120
edf66db1
SP
2121 * sysdeps/gnu/utmpbits.h: Rename ut_addr field to ut_addr_v6.
2122 ut_addr names a single element in ut_addr_v6.
831372e7 2123
edf66db1
SP
2124 * sysdeps/mach/hurd/xmknod.c: Remove alias from __mknod to mknod.
2125 Patch by Thomas Bushnell, n/BSG.
831372e7 2126
edf66db1 2127Tue Dec 10 11:35:28 1996 Richard Henderson <rth@tamu.edu>
831372e7 2128
edf66db1
SP
2129 * sysdeps/alpha/strncmp.S: Fix aligned short truncated compare
2130 corner condition.
831372e7 2131
edf66db1
SP
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).
2134
2135Mon Dec 9 23:53:43 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
831372e7 2136
edf66db1
SP
2137 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Renamed from
2138 `ttyname_r'.
2139 (ttyname_r): New alias.
831372e7 2140
edf66db1
SP
2141Tue Dec 10 02:17:31 1996 Ulrich Drepper <drepper@cygnus.com>
2142
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>.
2146
2147Tue Dec 10 01:50:07 1996 Ulrich Drepper <drepper@cygnus.com>
2148
2149 * version.h: Set version to 1.99.
2150
2151 * Make-dist (routines): Add malloc and new-malloc.
831372e7 2152
edf66db1
SP
2153 * Makeconfig: Allow Makefiles to set $(CPPFLAGS-$(<F)) and
2154 $(CPPFLAGS-$(@F)) to be added to CPPFLAGS.
2155 Same for $(CFLAGS-$(@F)) and CFLAGS.
831372e7 2156
edf66db1
SP
2157 * gmon/sys/gmon_out.h: Add __BEGIN_DECLS/__END_DECLS. Unify
2158 layout.
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.
2184
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.
2190
2191 * time/strftime.c: Declare tzname if if HAVE_TZNAME is defined.
2192
2193 * time/strptime.c: Update copyright.
2194
2195Mon Dec 9 14:51:10 1996 Ulrich Drepper <drepper@cygnus.com>
2196
2197 * Make-dist: Make sure both malloc directories get distributed.
2198
2199Sun Dec 8 23:14:10 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2200
2201 * libio/iogets.c (_IO_gets): Fix early returns to not leave the
2202 stream locked.
2203
2204Sat Dec 7 22:08:09 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2205
2206 * sysdeps/unix/sysv/linux/sys/module.h: Enclose declarations in
2207 __BEGIN_DECLS/__END_DECLS.
2208
2209Sat Dec 7 14:23:12 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2210
2211 * login/utmp_file.c: Consistently set file_offset to the position
2212 after the entry just read.
2213
2214Mon Dec 9 03:39:30 1996 Ulrich Drepper <drepper@cygnus.com>
2215
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.
2219
2220 * malloc.h: Use either <malloc/malloc.h> or <new-malloc/malloc.h>
2221 depending on USE_NEW_MALLOC.
2222
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
2227 stream.
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.
2231
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
2235 correctly.
2236 * stdlib/grouping.h: Likewise.
2237
2238 * misc/syslog.c: Case first argument of __libc_cleanup_region_start.
2239
2240 * signal/sigsetops.h: Update copyright. Don't include ansidecl.h.
2241
2242 * stdio-common/printf_fp.c: Update copyright.
2243
2244Sun Dec 8 16:39:28 1996 Andreas Jaeger <aj@arthur.pfalz.de>
2245
2246 * time/Makefile: Compile ap.c with NO_MCHECK flag if new-malloc
2247 used (not otherwise).
2248
2249Sun Dec 8 06:56:49 1996 Ulrich Drepper <drepper@cygnus.com>
2250
2251 * io/getwd.c: Use PATH_MAX not LOCAL_PATH_MAX. Fix typo in
2252 comment.
2253 * stdlib/canonicalize.c: Correct bugs in last change.
2254 Patch by HJ Lu.
2255
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.
2274
2275 * libio/stdio.h: Define P_tmpdir only is __USE_SVID.
2276
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.
2300
2301 * manual/locale.texi: Remove description of LC_RESPONSE and add
2302 LC_MESSAGES.
2303
2304 * Makefile (subdirs): Change malloc in $(malloc).
2305 * config.make.in: Add variable malloc which is initialized from
2306 @malloc@.
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
2310 by default.
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.
831372e7 2320
edf66db1
SP
2321 * resolv/Makefile: Add rule to rebuiild libresolv.so when libc.so
2322 changed.
831372e7 2323
edf66db1
SP
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.
831372e7 2327
edf66db1
SP
2328 * stdio-common/bug7.c: Correct test. Stream must not be closed
2329 twice.
831372e7 2330
edf66db1
SP
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.
831372e7 2337
edf66db1 2338 * sysdeps/mach/libc-lock.h: Define__libc_mutex_lock to __mutex_lock.
831372e7 2339
edf66db1
SP
2340 * sysdeps/posix/fdopen.c: Update copyright. Don't use EXFUN.
2341
2342 * time/test-tz.c: Comment fifth test out. PROBLEM.
2343
2344 * time/tzset.c: De-ANSI-declfy.
2345 (__tzset): Don't increment pointer tz when no DST information is
2346 given.
2347
2348 * misc/syslog.c (vsyslog): Cast argument to __libc_cleanup_region
2349 to get Hurd macros right.
2350
2351Sat Dec 7 23:47:54 1996 Ulrich Drepper <drepper@cygnus.com>
2352
2353 * sysdeps/mach/libc-lock.h [_LIBC]: Add definition of
2354 __libc_mutex_lock.
2355 Patch by Thomas Bushnell.
2356
2357 * sysdeps/unix/sysv/linux/timebits.h: Load <asm/param.h> only
2358 if __USE_MISC.
2359
2360 * sysdeps/unix/sysv/linux/Dist: Add llseek.c.
2361
2362Sat Dec 7 12:18:56 1996 Ulrich Drepper <drepper@cygnus.com>
2363
2364 * time/strftime (%c format): Remove %Z from default string.
2365 Reported by Paul Eggert
2366
2367Sat Dec 7 03:24:36 1996 Ulrich Drepper <drepper@cygnus.com>
831372e7 2368
edf66db1
SP
2369 * configure.in: Discard error message from test in test for
2370 bash-2.0.
831372e7 2371
edf66db1
SP
2372 * io/getwd.c: Don't apply getcwd on user supplied buffer.
2373 Instead always use temporary buffer and only copy the result.
2374 Patch by HJ Lu.
2375 * stdlib/canonicalize.c: Likewise.
831372e7 2376
edf66db1
SP
2377 * libio/fileops.c: Change comments according to libg++2.8b5.
2378 * libio/iosetvbuf.c: Follow change in libg++-2.8b5 to clear
2379 unbuffered flag.
2380 Reported by HJ Lu.
831372e7 2381
edf66db1 2382 * manual/nss.texi: Correct prototypes.
831372e7 2383
edf66db1
SP
2384 * misc/syslog.c: Make reentrant. Catch SIGPIPE signal to prevent
2385 crash if syslog daemon is restarted.
831372e7 2386
edf66db1
SP
2387 * stdlib/rand_r.c: New file. Implementation of POSIX.2 function
2388 rand_r.
2389 * stdlib/Makefile (routines): Add rand_r.
831372e7 2390
edf66db1
SP
2391 * sysdeps/stub/libc-lock.h: Define __libc_lock_trylock and
2392 __libc_mutex_lock.
831372e7 2393
edf66db1
SP
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.
831372e7 2398
edf66db1 2399Thu Dec 5 19:19:53 1996 Richard Henderson <rth@tamu.edu>
831372e7 2400
edf66db1
SP
2401 * posix/glob.c: Tests against STDC_HEADERS should also test
2402 __GNU_LIBRARY__.
831372e7 2403
edf66db1 2404Thu Dec 5 16:20:55 1996 Ulrich Drepper <drepper@cygnus.com>
831372e7 2405
edf66db1 2406 * misc/err.c (vwarn): Set errno again before using %m format.
831372e7 2407
edf66db1 2408Thu Dec 5 10:14:05 1996 Andreas Jaeger <aj@arthur.pfalz.de>
831372e7 2409
edf66db1 2410 * grp/grp.h: Add declaration of __getgrent_r.
831372e7 2411
edf66db1
SP
2412 * io/fts.c (fts_build): Remove "register" from variables dirbuf
2413 and dp since their address is needed.
831372e7 2414
edf66db1
SP
2415 * sysdeps/posix/getcwd.c (__getcwd): Remove "register" from
2416 variable d since d's address is needed.
831372e7 2417
edf66db1
SP
2418 * misc/tst-dirname.c (main): Provide prototype.
2419 * misc/ioctltst.c (main): Dito.
831372e7 2420
edf66db1
SP
2421 * Makefile: Add gnu/lib-names.h to install-others before including
2422 Makerules.
831372e7 2423
edf66db1 2424Wed Dec 4 16:00:09 1996 Ulrich Drepper <drepper@cygnus.com>
831372e7 2425
edf66db1
SP
2426 * sysdeps/unix/sysv/linux/sys/socketvar.h: New file. Simply use
2427 <sys/socket.h>.
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.
831372e7 2431
edf66db1 2432Tue Dec 3 08:38:15 1996 Richard Henderson <rth@tamu.edu>
831372e7 2433
edf66db1
SP
2434 * sysdeps/unix/alpha/sysdep.S: Remove definition of __errno_location.
2435 Reformat copyright.
831372e7 2436
edf66db1
SP
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.
831372e7 2447
edf66db1 2448Tue Oct 15 23:46:00 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
831372e7 2449
edf66db1 2450 * MakeTAGS (sysdep_dirs): Include add-on sysdep directories.
831372e7 2451
edf66db1 2452Tue Dec 3 02:06:18 1996 Ulrich Drepper <drepper@cygnus.com>
831372e7 2453
edf66db1
SP
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.
831372e7 2459
edf66db1 2460 * stdlib/getsubopt.c: Update copyright. Correct typo in comment.
831372e7 2461
edf66db1 2462Mon Dec 2 15:32:15 1996 Ulrich Drepper <drepper@cygnus.com>
831372e7 2463
edf66db1
SP
2464 * elf/dl-lookup.c (_dl_lookup_symbol_skip): Remove unused variable
2465 `found_entry'.
831372e7 2466
edf66db1 2467 * misc/ttyslot.c: Use ttyname_r instead of ttyname.
831372e7 2468
edf66db1
SP
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
2477 calling strerror.
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.
831372e7 2481
edf66db1
SP
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.
831372e7 2485
edf66db1 2486 * string/strfry.c: Update copyright. Use reentrant random functions.
831372e7 2487
edf66db1
SP
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.
831372e7 2497
edf66db1
SP
2498 * time/ctime.c: Use __localtime_r and __asctime_r instead of
2499 non reentrant versions.
2500 * time/ctime_r.c: Update copyright.
831372e7 2501
edf66db1 2502 * intl/l10nflist.c (_nl_make_l10nflist): Pretty print.
831372e7 2503
edf66db1 2504 * locale/Makefile (localepath): Correct value.
831372e7 2505
edf66db1
SP
2506 * nss/nss_files/files-XXX.c: Include <netdb.h> to define
2507 NETDB_INTERNAL.
2508 Fix typo in using H_ERRNO_SET macro.
831372e7 2509
edf66db1 2510Fri Nov 29 23:22:14 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
831372e7 2511
edf66db1
SP
2512 * Makerules (elfobjdir): Definition removed.
2513 * Makeconfig (elfobjdir): Define it here instead, so that
2514 expanding $(rpath-link) gets the right value.
831372e7 2515
edf66db1
SP
2516 * a.out.h: Removed.
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
2520 kernel header.
831372e7 2521
edf66db1 2522Mon Dec 2 03:59:38 1996 Ulrich Drepper <drepper@cygnus.com>
831372e7 2523
edf66db1
SP
2524 * grp/initgroups.c: Update and reformat copyright.
2525 Use __getgrent_r instead of getgrent.
831372e7 2526
edf66db1
SP
2527 * inet/rcmd.c: Update and reformat copyright.
2528 Use __gethostbyname_r instead of gethostbyname.
2529 * inet/rexec.c: Likewise.
831372e7 2530
edf66db1
SP
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
2536 LOCALE_PATH.
2537 * locale/programs/localedef.c: Use LOCALEDIR not LOCALE_PATH to
2538 find output directory.
831372e7 2539
edf66db1
SP
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.
831372e7 2544
edf66db1
SP
2545 * nss/nss_files/files-XXX.c: Set h_errno variable to NETDB_INTERNAL
2546 before returning ERANGE error.
831372e7 2547
edf66db1
SP
2548 * posix/glob.c: Use getlogin_r and getpwnam_r function when available
2549 or in GNU libc.
831372e7 2550
edf66db1 2551 * pwd/getpw.c: Use getpwuid_r instead of getpwuid.
831372e7 2552
edf66db1
SP
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.
831372e7 2557
edf66db1
SP
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.
831372e7 2561
edf66db1
SP
2562 * stdlib/l64a.c: Return correct pointer.
2563 Patch by NIIBE Yutaka <gniibe@mri.co.jp>.
831372e7 2564
edf66db1
SP
2565 * string/Makefile (routines): Add argz-addsep.
2566 * string/argz-addsep.c: New file.
2567 * string/argz.h: Add prototypes for argz_add_sep.
831372e7 2568
edf66db1 2569 * string/argz-ctsep.c: Prevent memory leak.
831372e7 2570
edf66db1 2571 * string/strcoll.c: Correct typo in comment.
831372e7 2572
edf66db1 2573Sat Nov 30 02:53:59 1996 Ulrich Drepper <drepper@cygnus.com>
831372e7 2574
edf66db1
SP
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.
831372e7 2579
edf66db1 2580Thu Nov 28 20:04:41 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
831372e7 2581
edf66db1 2582 * login/Makefile: Fix typo.
831372e7 2583
edf66db1 2584 * nss/Makefile (generated): Filter out db-alias.c.
831372e7 2585
edf66db1 2586Thu Nov 28 14:44:01 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
831372e7 2587
edf66db1
SP
2588 * time/Makefile (echo-zonenames): Don't depend on non-existing
2589 target `zonenames'.
831372e7 2590
edf66db1 2591Thu Nov 28 12:34:05 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
831372e7 2592
edf66db1
SP
2593 * link.h: New file.
2594 * nss/nsswitch.c: Use it.
831372e7 2595
edf66db1
SP
2596 * printf.h: Fix file name.
2597 * stdlib/strfmon.c: Use it.
831372e7 2598
edf66db1 2599Thu Nov 28 23:03:32 1996 Ulrich Drepper <drepper@cygnus.com>
831372e7 2600
edf66db1
SP
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>.
831372e7 2606
edf66db1 2607Thu Nov 28 03:11:11 1996 Ulrich Drepper <drepper@cygnus.com>
831372e7 2608
edf66db1 2609 * libio/fileops.c: Update from latest libg++.
831372e7 2610
edf66db1 2611 * sysdeps/unix/sysv/linux/init-first.c: Reformat copyright.
831372e7 2612
edf66db1
SP
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>.
831372e7 2617
edf66db1 2618 * sysdeps/unix/sysv/linux/i386/brk.c: Reformat copyright.
831372e7 2619
edf66db1
SP
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
2623 __errno_location.
2624 * sysdeps/unix/sysv/linux/m68k/sysdep.S: Likewise.
2625 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=csu]: Add errno-loc
2626 to sysdep-routines.
831372e7 2627
edf66db1
SP
2628 * sysdeps/unix/sysv/linux/configure: Add test for linuxthreads
2629 and crypt add-on and warn if not available.
831372e7 2630
edf66db1 2631Wed Nov 27 23:09:37 1996 Ulrich Drepper <drepper@cygnus.com>
831372e7 2632
edf66db1 2633 * po/ko.po: Update from Bang Jun-Young <bangjy@nownuri.nowcom.co.kr>.
831372e7 2634
edf66db1
SP
2635 * sysdeps/unix/sysv/linux/syscalls.list: Remove _llseek.
2636 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=misc] (routines): Add
2637 llseek.
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
2644 is enough.
2645 Patch by Richard Henderson <rth@tamu.edu>.
831372e7 2646
edf66db1
SP
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.
831372e7 2651
edf66db1 2652 * login/getutent_r.c: Fix several bugs in last change.
831372e7 2653
edf66db1 2654Wed Nov 27 06:10:10 1996 Ulrich Drepper <drepper@cygnus.com>
831372e7 2655
edf66db1 2656 * Makefile: Fix typo.
831372e7 2657
edf66db1 2658 * configure: Require autoconf-2.11.
831372e7 2659
edf66db1 2660 * elf/dl-deps.c: Terminate duplicate list.
831372e7 2661
edf66db1
SP
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.
831372e7 2665
edf66db1
SP
2666 * login/Makefile (routines): Update after correction of reentrant
2667 interface.
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.
831372e7 2692
edf66db1
SP
2693 * sysdeps/generic/paths.h: Add _PATH_UTMP_DB.
2694 * sysdeps/unix/sysv/linux/paths.h: Likewise.
831372e7 2695
edf66db1 2696 * sysdeps/generic/pty.c: Use getgrnam_r instead of getgrnam.
831372e7 2697
edf66db1
SP
2698 * sysdeps/stub/getlogin.c: Update copyright.
2699 * sysdeps/stub/getlogin_r.c: Likewise.
831372e7 2700
edf66db1
SP
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.
831372e7 2704
edf66db1
SP
2705 * posix/Makefile (headers): Add wait.h.
2706 * posix/wait.h: New file.
831372e7 2707
edf66db1 2708 * posix/sys/types.h: Always define intN_t types.
831372e7 2709
edf66db1
SP
2710 * stdio-common/Makefile: Update copyright.
2711 Use -Wno-format flag for scanf4.c and scanf7.c.
831372e7 2712
edf66db1 2713 * stdlib/stdlib.h: Reformat.
831372e7 2714
edf66db1 2715Fri Nov 22 19:34:12 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
831372e7 2716
edf66db1
SP
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.
831372e7 2720
edf66db1 2721Sun Nov 24 04:56:19 1996 Ulrich Drepper <drepper@cygnus.com>
831372e7 2722
edf66db1
SP
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.
831372e7 2732
edf66db1
SP
2733 * sysdeps/unix/sysv/linux/sys/serial.h: New file.
2734 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=misc] (sysdep_headers):
2735 Add sys/serial.h.
2736 * sysdeps/unix/sysv/linux/Dist: Add sys/serial.h.
831372e7 2737
edf66db1
SP
2738 * posix/wait.h: New file.
2739 * posix/Makefile (headers): Add wait.h.
831372e7 2740
edf66db1 2741Sat Nov 23 17:27:52 1996 Roland McGrath <roland@gnu.ai.mit.edu>
831372e7 2742
edf66db1
SP
2743 * Makeconfig ($(common-objpfx)soversions.mk): Use regular
2744 expression instead of shell pattern matching.
2745 * shlib-versions: Change to regular expressions.
831372e7 2746
edf66db1 2747Sat Nov 23 13:24:55 1996 Ulrich Drepper <drepper@cygnus.com>
831372e7 2748
edf66db1
SP
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.
831372e7 2754
edf66db1 2755Fri Nov 22 15:14:23 1996 Ulrich Drepper <drepper@cygnus.com>
831372e7 2756
edf66db1
SP
2757 * csu/initfini.c: Add section from libgcc to copyright comment
2758 to allow this file to be statically linked in applications.
831372e7 2759
edf66db1
SP
2760 * malloc/obstack.h [!_LIBC && !HAVE_STRING_H]: Define memcpy if
2761 not already defined.
2762 (obstack_grow, obstack_grow0): Correct placement of braces.
831372e7 2763
edf66db1
SP
2764 * gnu-versions.h (_GNU_OBSTACK_INTERFACE_VERSION): Define to 2.
2765 * malloc/obstack.c (OBSTACK_INTERFACE_VERSION): Define to 2.
831372e7 2766
edf66db1 2767Thu Nov 21 19:54:51 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
831372e7 2768
edf66db1
SP
2769 * Makerules (make-link): Simplify by changing directory only if
2770 not using rellns-sh; check whether we really have symbolic links.
831372e7 2771
edf66db1
SP
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.
831372e7 2775
edf66db1 2776Thu Nov 21 13:05:21 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
831372e7 2777
edf66db1
SP
2778 * configure.in (after AC_CANONICAL_HOST): mutate *-*-gnu* names
2779 into *-*-gnu-gnu*.
2780 * shlib-versions (gnu versions): Recognize *-*-gnu-gnu* instead of
2781 the three-part name, to distinguish correctly from *-*-linux-gnu*.
831372e7 2782
edf66db1
SP
2783 * sysdeps/mach/hurd/Makefile ($(libdir)/libc.so): Depend on
2784 $(rpcuserlibs).
831372e7 2785
edf66db1
SP
2786 * sysdeps/mach/hurd/Makefile (install-others): Add
2787 $(libdir)/libc_p.a.
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.
831372e7 2791
edf66db1 2792Wed Nov 20 20:28:21 1996 Richard Henderson <rth@tamu.edu>
831372e7 2793
edf66db1
SP
2794 * Makerules (make-link): Use $(shell) to find rellns-sh before we cd.
2795 * time/Makefile: Likewise.
831372e7 2796
edf66db1
SP
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.
831372e7 2804
edf66db1 2805Wed Nov 20 00:42:45 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
831372e7 2806
edf66db1 2807 * stdlib/strtod.c: Fix previous change.
831372e7 2808
edf66db1 2809Wed Nov 20 22:07:58 1996 Andreas Jaeger <aj@arthur.pfalz.de>
831372e7 2810
edf66db1
SP
2811 * time/Makefile ($(installed-localtime-file)): Use $(..) to find
2812 rellns-sh script.
831372e7 2813
edf66db1 2814Wed Nov 20 12:50:54 1996 Ulrich Drepper <drepper@cygnus.com>
831372e7 2815
edf66db1
SP
2816 * stdio-common/Makefile: Add CFLAGS-scanf7.c to prevent warning.
2817 Likewise for scanf4.c
831372e7 2818
edf66db1 2819Wed Nov 20 02:04:11 1996 Ulrich Drepper <drepper@cygnus.com>
831372e7 2820
edf66db1
SP
2821 * sysdeps/unix/sysv/linux/sigsuspend.c: Make sigsuspend a weak
2822 alias of __sigsuspend.
831372e7 2823
edf66db1
SP
2824 * grp/grp.h: Correct comment about POSIX compliance.
2825 * pwd/pwd.h: Likewise.
831372e7 2826
edf66db1
SP
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.
831372e7 2833
edf66db1
SP
2834 * misc/sys/uio.h: Place __BEGIN_DECLS correctly.
2835 Pretty-print prototypes.
831372e7 2836
edf66db1
SP
2837 * sysdeps/unix/sysv/linux/sparc/clone.S: New file. Taken from
2838 LinuxThreads-0.5.
831372e7 2839
edf66db1 2840Tue Nov 19 13:43:07 1996 Richard Henderson <rth@tamu.edu>
831372e7 2841
edf66db1
SP
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).
831372e7 2846
edf66db1
SP
2847 * misc/sys/cdefs.h: Change __long_double_t definition from typedef
2848 to define. Jim Nance reports problems building XEmacs otherwise.
831372e7 2849
edf66db1
SP
2850 * resolv/gethnamaddr.c: Protect h_errno redefinition.
2851 * resolv/getnetnamadr.c: Likewise.
2852 * resolv/herror.c: Likewise.
831372e7 2853
edf66db1
SP
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.
2870
2871 * stdlib/drand48-iter.c (__drand48_iterate): Cast state fragments
2872 to the wider type before shifting.
2873
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.
2893
2894 * sysdeps/alpha/w_sqrt.S: Define _ERRNO_H so <errnos.h> defines EDOM.
2895
2896 * sysdeps/unix/execve.S: Match PSEUDO_END symbol with the symbol
2897 SYSCALL__ actually generated.
2898
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.
2902
2903 * sysdeps/unix/sysv/linux/getsysstats.c: Include <alloca.h>.
2904
2905 * sysdeps/alpha/memcpy.S: Temporarily remove until I can find a bug
2906 that manifests in GCC.
2907
2908Tue Nov 19 11:10:05 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
2909
2910 * sysdeps/posix/writev.c (writev): COUNT parm is now int.
2911 * sysdeps/posix/readv.c (readv): Likewise.
2912
2913Tue Nov 19 15:28:29 1996 Ulrich Drepper <drepper@cygnus.com>
2914
2915 * nss/nss_dns/dns-network.c: Change return type of all functions
2916 to enum nss_status.
2917 Reported by NIIBE Yutaka.
2918 * nss/nss_dns/dns-host.c: Update copyright.
2919
2920Fri Nov 15 20:16:38 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2921
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.
2925
2926Sat Nov 16 15:52:29 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2927
2928 * manual/nss.texi (Name Service Switch): Fix reference to
2929 `frobnicate'.
2930
2931Fri Nov 15 22:08:33 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2932
2933 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2934 sys/mtio.h.
2935
2936Mon Nov 18 05:51:13 1996 Ulrich Drepper <drepper@cygnus.com>
2937
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.
2943
2944Mon Nov 18 02:05:38 1996 Ulrich Drepper <drepper@cygnus.com>
2945
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.
2951 Update copyright.
2952
2953Sun Nov 17 21:50:24 1996 Andreas Jaeger <aj@arthur.pfalz.de>
2954
2955 * stdlib/tst-strtod.c (main): Add arguments for main.
2956 * stdlib/tst-strtol.c (main): Likewise.
2957
2958Sun Nov 17 21:15:05 1996 Ulrich Drepper <drepper@cygnus.com>
2959
2960 * configure.in: Substitute libc_cv_slibdir and libc_cv_sysconfdir
2961 in output files.
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.
2965
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.
2970
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
2980 l_ndupsearchlist.
2981 Add prototype for _dl_lookup_symbol_skip.
2982
2983 * sunrpc/Makefile (rpcsvc): Add rusers.
2984 * sunrpc/rpcsvc/rnusers.x: Remove. Obsolteted by rusers.x.
2985 * sunrpc/rpcsvc/rusers.x: New file.
2986
2987Sun Nov 17 04:24:35 1996 Ulrich Drepper <drepper@cygnus.com>
831372e7 2988
edf66db1
SP
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.
831372e7 2993
edf66db1 2994Sun Nov 17 03:13:57 1996 Ulrich Drepper <drepper@cygnus.com>
831372e7 2995
edf66db1
SP
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.
831372e7 3026
edf66db1
SP
3027 * inet/Makefile (+gccwarn): Remove definition.
3028 Instead set CFLAGS-rcmd.c, CFLAGS-rexec.c, and CFLAGS-ruserpass.c
3029 to `-w'.
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.
831372e7 3043
edf66db1
SP
3044 * nss/nss_files/files-alias.c: Debug function. I didn't worked at
3045 all before.
3046
3047Sat Nov 16 15:25:34 1996 Ulrich Drepper <drepper@cygnus.com>
3048
3049 * sysdeps/posix/readv.c: Don't use PTR anymore.
3050 * sysdeps/posix/writev.c: Likewise.
3051
3052 * version.h (VERSION): Bump to 1.98.
3053
3054 * nss/db-Makefile: Generate lines for getXXXent iteration.
3055
3056 * sysdeps/alpha/Dist: Don't distribute removed files divlu.S,
3057 divqu.S, remlu.S, and remqu.S.
3058
3059Fri Nov 15 08:55:54 1996 Andreas Jaeger <aj@arthur.pfalz.de>
3060
3061 * posix/unistd.h: Correct typo in documentation.
3062
3063Thu Nov 14 18:08:14 1996 a sun <asun@zoology.washington.edu>
3064
3065 * inet/netinet/tcp.h: Use __ protected versions instead of
3066 BYTE_ORDER, LITTLE_ENDIAN, and BIG_ENDIAN directly.
3067
3068Sat Nov 16 13:44:55 1996 Ulrich Drepper <drepper@cygnus.com>
3069
3070 * intl/loadmsgcat.c (_nl_msg_cat_cntr): Initialize so that
3071 references in libc.so are not anymore undefined.
3072
3073Sat Nov 16 18:17:36 1996 NIIBE Yutaka <gniibe@mri.co.jp>
3074
3075 * io/utime.h: Rename second parameter for utime to prevent warning
3076 for -Wshadow.
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.
3080
3081Sat Nov 16 03:49:27 1996 Ulrich Drepper <drepper@cygnus.com>
3082
3083 * stdlib/tst-strtod.c: Add test for error case below.
3084
3085Sat Nov 16 03:48:39 1996 Wolfram Gloger <Wolfram.Gloger@dent.med.uni-muenchen.de>
3086
3087 * stdlib/strtod.c: Recognize numbers like 0e-19.
3088
3089Fri Nov 15 08:38:43 1996 Andreas Jaeger <aj@arthur.pfalz.de>
3090
3091 * time/Makefile ($(installed-localtime-file)): Fix path to
3092 rellns-sh.
3093
3094 * Makefile: Don't generate and install gnu/lib-names.h if
3095 $(build-shared) is not `yes'.
3096
3097Thu Nov 14 09:23:58 1996 H.J. Lu (hjl@gnu.ai.mit.edu)
3098
3099 * sysdeps/posix/Makefile ($(common-objpfx)mk-stdiolim): Depend
3100 on $(..)posix/posix1_lim.h, not ../posix/posix1_lim.h.
3101
3102 * Makerules (REAL_MAKE_VERSION): New, use it instead of
3103 MAKE_VERSION.
3104
3105Thu Nov 14 22:10:43 1996 Ulrich Drepper <drepper@cygnus.com>
3106
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.
3110
3111Thu Nov 14 17:48:13 1996 Ulrich Drepper <drepper@cygnus.com>
3112
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.
3120
3121Thu Nov 14 14:11:44 1996 Ulrich Drepper <drepper@cygnus.com>
3122
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.
3230
3231Thu Nov 14 04:22:41 1996 Ulrich Drepper <drepper@cygnus.com>
3232
3233 * malloc/obstack.h: Use memcpy instead of bcopy and define a macro
3234 `memcpy' using bcopy if memcpy is not available.
3235
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.
3240
3241 * stdio-common/printf.h (struct printf_info): Change type for field
3242 `pad' to wchar_t.
3243 Correct comment for `register_printf_function'.
3244
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.
3249
3250Fri Nov 15 12:27:25 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
3251
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.
3255
3256 * sysdeps/mach/hurd/select.c (__select): Construct arg to
3257 mach_msg_destroy more nicely.
831372e7 3258
edf66db1 3259 * sysdeps/mach/hurd/ioctl.c: Include <mach/mig-support.h>.
831372e7 3260
edf66db1
SP
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.
831372e7 3265
edf66db1
SP
3266 * stdio-common/vfscanf.c (encode_error) [! USE_IN_LIBIO]: Call
3267 funlockfile, not _IO_funlockfile.
831372e7 3268
edf66db1
SP
3269 * sysdeps/posix/readv.c (readv): Change return type to ssize_t.
3270 Deansideclized.
3271 * sysdeps/posix/writev.c (writev): Likewise.
831372e7 3272
edf66db1 3273 * sysdeps/mach/hurd/lchown.c: Include <fcntl.h> and fix typo.
831372e7 3274
edf66db1 3275Thu Nov 14 12:53:16 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
831372e7 3276
edf66db1
SP
3277 * sysdeps/mach/hurd/i386/init-first.c (_dl_start): Make this a
3278 prototyped definition.
831372e7 3279
edf66db1
SP
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.
831372e7 3282
edf66db1 3283Thu Nov 14 02:00:33 1996 Ulrich Drepper <drepper@cygnus.com>
831372e7 3284
edf66db1
SP
3285 * inet/Makefile (headers): Add aliases.h.
3286 (routines): Add getaliasent_r, getaliasent, getaliasname, and
3287 getaliasname_r.
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.
831372e7 3299
edf66db1
SP
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.
831372e7 3306
edf66db1
SP
3307 * nss/getXXbyYY.c: Don't provide static buffer. Resize if call
3308 failed because buffer was too small.
3309 * nss/getXXent.c: Likewise.
831372e7 3310
edf66db1
SP
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
3313 position.
831372e7 3314
edf66db1 3315 * nss/nss_files/files-parse.c: Indent lines for better readability.
831372e7 3316
edf66db1
SP
3317 * malloc/obstack.c: Add new variable obstack_alloc_failed_handler
3318 and new function print_and_abort. Remove all references to
3319 alloc_failed field.
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.
831372e7 3324
edf66db1 3325 * posix/unistd.h: Correct typo.
831372e7 3326
edf66db1 3327Wed Nov 13 03:09:16 1996 Ulrich Drepper <drepper@cygnus.com>
831372e7 3328
edf66db1 3329 * configure.in: Require at least autoconf-2.10.2.
831372e7 3330
edf66db1 3331Tue Nov 12 16:58:41 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
831372e7 3332
edf66db1
SP
3333 * mach/mach.h (__mach_msg_destroy, mach_msg_destroy, __mach_msg):
3334 Provide prototypes.
831372e7 3335
edf66db1
SP
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.
831372e7 3340
edf66db1 3341 * stdio/stdio.h: Repair broken cpp syntax.
831372e7 3342
edf66db1
SP
3343 * sysdeps/mach/hurd/lchown.c: New file. Guts from chown.c, except
3344 we pass O_NOLINK on the open.
831372e7 3345
edf66db1
SP
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.
831372e7 3350
edf66db1 3351Tue Nov 12 03:35:01 1996 Christian von Roques <roques@pond.sub.org>
831372e7 3352
edf66db1
SP
3353 * malloc/obstack.h: Add new macro `obstack_make_room'.
3354 * malloc/obstack.c: Add function implementation for
3355 `obstack_make_room'.
831372e7 3356
edf66db1 3357Mon Nov 11 13:54:04 1996 Ulrich Drepper <drepper@cygnus.com>
831372e7 3358
edf66db1
SP
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.
3363 (fix from BIND 8.1)
831372e7 3364
edf66db1
SP
3365 * config.make.in: Add definition for top_absdir.
3366 * Makerules (make-link): Fix path to rellns-sh script.
831372e7 3367
edf66db1 3368Sat Nov 9 02:15:24 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
831372e7 3369
edf66db1 3370 * posix/unistd.h: Fix comment.
92c3af3c 3371
edf66db1
SP
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
3376 description header.
92c3af3c 3377
edf66db1 3378Sat Nov 9 19:25:11 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
92c3af3c 3379
edf66db1
SP
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
3382 only in posix.
92c3af3c 3383
edf66db1 3384Sat Nov 9 02:08:34 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
92c3af3c 3385
edf66db1 3386 * Makefile ($(includedir)/gnu/lib-names.h): Quote arguments of tr.
92c3af3c 3387
edf66db1 3388Sat Nov 9 02:06:17 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
92c3af3c 3389
edf66db1
SP
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
3392 point.
92c3af3c 3393
edf66db1 3394Sat Nov 9 02:02:48 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
92c3af3c 3395
edf66db1
SP
3396 * sysdeps/generic/sigset.h: Don't use implicit int which will
3397 probably require a diagnostic in the next revision of the C
3398 standard.
3399 * sysdeps/stub/lockfile.c: Likewise.
92c3af3c 3400
edf66db1 3401Sat Nov 9 01:57:17 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
92c3af3c 3402
edf66db1
SP
3403 * sysdeps/unix/sysv/linux/m68k/syscall.S: Correct last change.
3404 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
92c3af3c 3405
edf66db1 3406Mon Nov 11 02:53:14 1996 Ulrich Drepper <drepper@cygnus.com>
92c3af3c 3407
edf66db1 3408 * time/strftime.c: Update copyright. Small cosmetic changes.
92c3af3c 3409
edf66db1 3410Sun Nov 10 23:28:16 1996 Ulrich Drepper <drepper@cygnus.com>
92c3af3c 3411
edf66db1 3412 * inet/getprtname_r.c: Reformat copyright.
92c3af3c 3413
edf66db1
SP
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.
92c3af3c 3418
edf66db1
SP
3419 * nss/getXXent_r.c (last_nip): Remember last service used since
3420 last setXXent call.
3421 (SETFUNC): Don't force to work through whole list of services in
3422 call to __nss_next.
3423 Update last_nip if necessary.
3424 (ENDFUNC): Only process endXXent function up to currently used
3425 last service.
3426 (GETFUNC): Update last_nip if necessary.
92c3af3c 3427
edf66db1
SP
3428 * nss/nss_files/files-netgrp.c (_nss_netgroup_parseline): Don't
3429 make static.
92c3af3c 3430
edf66db1
SP
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>.
831372e7 3437
edf66db1 3438Sun Nov 10 02:37:15 1996 Ulrich Drepper <drepper@cygnus.com>
92c3af3c 3439
edf66db1
SP
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.
831372e7 3447
edf66db1
SP
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.
831372e7 3451
edf66db1
SP
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.
831372e7 3455
edf66db1 3456 * stdlib/test-canon.c (cwd): Change size to PATH_MAX.
831372e7 3457
edf66db1 3458Sat Nov 9 15:34:48 1996 Ulrich Drepper <drepper@cygnus.com>
831372e7 3459
edf66db1
SP
3460 * sysdeps/unix/sysv/linux/Dist: Add sys/mtio.h.
3461 * sysdeps/unix/sysv/linux/sys/mtio.h: New file.
831372e7 3462
edf66db1 3463 * signal/signal.h [__USE_BSD]: Add prototype for siggetmask.
831372e7 3464
edf66db1 3465Fri Nov 8 13:29:30 1996 Ulrich Drepper <drepper@cygnus.com>
831372e7 3466
edf66db1
SP
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.
831372e7 3472
edf66db1
SP
3473 * sysdeps/posix/fpathconf.c: Use fstatfs to compute NAME_MAX, not
3474 PATH_MAX.
92c3af3c 3475
edf66db1 3476Thu Nov 7 03:04:29 1996 Ulrich Drepper <drepper@cygnus.com>
831372e7 3477
edf66db1
SP
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.
831372e7 3481
edf66db1
SP
3482 Rewrite Netgroups implementation to avoid global data.
3483 * inet/netgroup.h: Add definition of name_list and struct
3484 __netgrent.
3485 Add prototypes for internal netgroup functions.
3486 * nss/nss_files/files-netgroup.c (_nss_files_setnetgrent): Take
3487 extra argument and use the included data instead of global vars.
3488 (_nss_files_endnetgrent): Likewise.
3489 (_nss_netgroup_parseline): Change to be static and use data
3490 included in the RESULT structure.
3491 * inet/getnetgrent_r.c (startp): Move into setup function.
3492 (known_groups, needed_groups): new part of the __netgrent sruct.
3493 (freememory): Take extra argument and use included data.
3494 (__internal_endnetgrent): Likewise.
3495 (internal_setnetgrent): Renamed to __internal_setnetgrent_reuse
3496 and take extra argument.
3497 (__internal_setnetgrent): New function. Call
3498 __internal_setnetgrent_reuse after calling free_memory.
3499 (setnetgrent): Only call __internal_setnetgrent.
3500 (__getnetgrent_r): Split into two functions. __getnetgrent_r
3501 calls __internal_getnetgrent after locking.
3502 (innetgr): Use dynamic data only. I.e., innetgr now is fully
3503 reentrant.
831372e7 3504
edf66db1
SP
3505Thu Nov 7 00:15:14 1996 Ulrich Drepper <drepper@cygnus.com>
3506
3507 * sysdeps/stub/setenv.c: Correct typo: unseenv -> unsetenv.
3508 Reported by Joshua Cowan <jcowan@jcowan.reslife.okstate.edu>.
3509
3510Wed Nov 6 13:13:37 1996 Ulrich Drepper <drepper@cygnus.com>
3511
3512 * manual/creature.texi: Document that _GNU_SOURCE is no longer the
3513 default when no *_SOURCE macro is given.
3514 Reported by Karsten Weiss <karsten@addx.au.s.shuttle.de>.
3515 * NOTES: remade from manual/creature.texi.
3516 * manual/libc.texinfo: Add back line about GPL translation which
3517 somehow got lost.
3518
3519 * Make-dist (dist.tar): Depend on README being updated.
3520
3521 * rellns-sh: Correct thinko in removing leading /.
3522 Reported by Andreas Jaeger <aj@arthur.pfalz.de>.
3523
3524 * pwd/fgetpwent_r.c: Recognize lines containing only names starting
3525 with `+' or `-' in parser.
3526 * grp/fgetgrent_r.c: Likewise.
3527 * shadow/sgetspent_r.c: Likewise.
3528 * nss/nss_files/files-spwd.c: Don't accept entries starting with
3529 `+' or `-'.
3530
3531Wed Nov 6 04:30:26 1996 Ulrich Drepper <drepper@cygnus.com>
3532
3533 * sysdeps/unix/sysv/linux/syscalls.list: Add weak alias llseek for
3534 _llseek syscall. Reported by Andy Sewell <puck@pookhill.demon.co.uk>.
831372e7 3535
edf66db1 3536 * string/argz.h: Don't protect by __USE_GNU.
831372e7 3537
edf66db1 3538Tue Nov 5 23:38:28 1996 Ulrich Drepper <drepper@cygnus.com>
831372e7 3539
edf66db1
SP
3540 * Lots of files: Update and reformat copyright.
3541
3542 * Makefile (headers): Add xopen_lim.h.
831372e7 3543
edf66db1 3544 * catgets/nl_types.h: Move __BEGIN_DECLS before definition of nl_catd.
831372e7 3545
edf66db1
SP
3546 * grp/grp.h: Define setgrent, getgrent, endgrent, and getgrent_r
3547 if __USE_XOPEN_EXTENDED is defined.
3548 * pwd/pwd.h: Define setpwent, getpwent, endpwent, and getpwent_r
3549 if __USE_XOPEN_EXTENDED is defined.
831372e7 3550
edf66db1
SP
3551 * io/Makefile (routines): Add lchown.
3552 * sysdeps/stub/lchown.c: New file.
831372e7 3553
edf66db1 3554 * io/sys/poll.h: Add definition of POLLWRNORM.
831372e7 3555
edf66db1
SP
3556 * io/sys/stat.h: Declare lstat, fchmod, mknod when
3557 __USE_XOPEN_EXTENDED is defined.
3558
3559 * libio/Makefile (routines): Add obprintf.
3560 * libio/obprintf.c: New file.
3561 * libio/iolibio.h: Add prototypes for _IO_obstack_vprintf and
3562 _IO_obstack_printf.
3563 * libio/libio.h: Fix typo.
3564 * libio/stdio.h: Declare tempnam if __USE_XOPEN_EXTENDED is defined.
3565 Add prototypes for obstack_vprintf and obstack_printf.
3566
3567 * manual/creature.texi: Describe _XOPEN_SOURCE macro.
3568 * manual/intro.texi: Add reference to NSS chapter.
3569 * manual/libc.texinfo: Update UPDATED.
3570 Comment out `@printindex cp'. It works again.
3571 * manual/memory.texi: Add description for obstack_ptr_grow,
3572 obstack_int_grow, obstack_ptr_grow_fast, and obstack_int_grow_fast.
3573 * manual/nss.texi: Add a few @cindex entries and change NSS_STATUS_*
3574 index entries to @vindex.
3575 * manual/users.texi: Correct @cindex entry for Netgroup.
3576
3577 * math/mathcalls.h: Use __USE_XOPEN and __USE_XOPEN_EXTENDED to
3578 make declarations visible for X/Open sources.
3579
3580 * misc/search.h: Declare insque/remque only is __USE_SVID or
3581 __USE_XOPEN_EXTENDED is defined.
3582
3583 * misc/sys/uio.h (readv, writev): Change return value from int to
3584 ssize_t.
3585
3586 * posix/Makefile (headers): Add re_comp.h.
3587 * posix/re_comp.h: New file. XPG interface to regex functions.
3588
3589 * posix/getconf.c: Add all names from XPG4.2.
3590 * posix/posix1_lim.h: Increase minimum values for _POSIX_CHILD_MAX
3591 and _POSIX_OPEN_MAX to minimums from XPG4.2.
3592 * sysdeps/generic/confname.h: Add all _SC_* names from XPG4.2.
3593 * sysdeps/posix/sysconf.c: Handle new _SC_* values.
3594 * sysdeps/stub/sysconf.c: Likewise.
831372e7 3595
edf66db1
SP
3596 * posix/unistd.h: Add declaration of ualarm and lchown. Declare
3597 usleep, fchown, fchdir, nice, getpgid, setsid, getsid, setreuid,
3598 setregid, vfork, ttyslot, symlink, readlink, gethostid, truncate,
3599 ftruncate, getdtablesize, brk, sbrk, lockf when
3600 __USE_XOPEN_EXTENDED is defined.
831372e7 3601
edf66db1 3602 * posix/sys/wait.h: Declare wait3 if __USE_XOPEN_EXTENDED is defined.
831372e7 3603
edf66db1
SP
3604 * shadow/shadow.h: Define SHADOW using _PATH_SHADOW.
3605 * sysdeps/generic/paths.h: Define _PATH_SHADOW.
3606 * sysdeps/unix/sysv/linux/paths.h: Likewise.
831372e7 3607
edf66db1
SP
3608 * signal/signal.h: Declare killpg, sigstack and sigaltstack when
3609 __USE_XOPEN_EXTENDED is defined.
831372e7 3610
edf66db1 3611 * stdio/stdio.h: Declare tempnam when __USE_XOPEN is defined.
831372e7 3612
edf66db1
SP
3613 * stdlib/stdlib.h: Make rand48 functions available when __USE_XOPEN
3614 is defined.
3615 Likewise for valloc, putenv, realpath, [efg]cvt*, and getsubopt
3616 functions.
831372e7 3617
edf66db1
SP
3618 * string/string.h: Make memccpy, strdup, bcmp, bcopy, bzero, index,
3619 and rindex available when __USE_XOPEN_EXTENDED is defined.
3620
3621 * sysdeps/mach/getpagesize.c: De-ANSI-fy. Change return type to int.
3622 * sysdeps/posix/getpagesize.c: Likewise.
3623 * sysdeps/stub/getpagesize.c: Likewise.
3624 * sysdeps/unix/getpagesize.c: Likewise.
3625
3626 * time/africa: Update from tzdata1996l.
3627 * time/asia: Likewise.
3628 * time/australia: Likewise.
3629 * time/europe: Likewise.
3630 * time/northamerica: Likewise.
3631 * time/pacificnew: Likewise.
3632 * time/southamerica: Likewise.
3633 * time/tzfile.h: Update from tzcode1996m.
3634
3635 * time/time.h: Declare strptime if __USE_XOPEN.
3636 Declare daylight and timezone also if __USE_XOPEN.
3637
3638 * time/sys/time.h: Remove declaration of ualarm.
3639
3640 * wctype/wctype.h: Just reference ISO C standard.
3641
3642Tue Nov 5 01:26:32 1996 Richard Henderson <rth@tamu.edu>
3643
3644 * crypt/Makefile: Add crypt routines to libc as well iff
3645 $(crypt-in-libc) is set. Do this for temporary binary compatibility
3646 on existing Linux/Alpha installations.
3647
3648 * stdlib/div.c, sysdeps/generic/div.c: Move file to .../generic/.
3649 * stdlib/ldiv.c, sysdeps/generic/ldiv.c: Likewise.
3650 * stdlib/lldiv.c, sysdeps/generic/lldiv.c: Likewise.
3651 * sysdeps/alpha/Makefile (divrem): Add divlu, dviqu, remlu, and
3652 remqu.
3653 * sysdeps/alpha/div.S: New file.
3654 * sysdeps/alpha/ldiv.S: New file.
3655 * sysdeps/alpha/lldiv.S: New file.
3656 * sysdeps/alpha/divrem.h: Merge signed and unsigned division.
3657 Take pointers from Linus and tighten the inner loops a bit.
3658 * sysdeps/alpha/divl.S: Change defines for merged routines.
3659 * sysdeps/alpha/divq.S: Likewise.
3660 * sysdeps/alpha/reml.S: Likewise.
3661 * sysdeps/alpha/remq.S: Likewise.
3662 * sysdeps/alpha/divlu.S: Remove file.
3663 * sysdeps/alpha/divqu.S: Likewise.
3664 * sysdeps/alpha/remlu.S: Likewise.
3665 * sysdeps/alpha/remqu.S: Likewise.
3666
3667 * sysdeps/alpha/bsd-_setjmp.S: If PROF, call _mcount.
3668 * sysdeps/alpha/bsd-setjmp.S: Likewise.
3669 * sysdeps/alpha/bzero.S: Likewise.
3670 * sysdeps/alpha/ffs.S: Likewise.
3671 * sysdeps/alpha/htonl.S: Likewise.
3672 * sysdeps/alpha/htons.S: Likewise.
3673 * sysdeps/alpha/memchr.S: Likewise.
3674 * sysdeps/alpha/memset.S: Likewise.
3675 * sysdeps/alpha/s_copysign.S: Likewise.
3676 * sysdeps/alpha/s_fabs.S: Likewise.
3677 * sysdeps/alpha/setjmp.S: Likewise.
3678 * sysdeps/alpha/stpcpy.S: Likewise.
3679 * sysdeps/alpha/stpncpy.S: Likewise.
3680 * sysdeps/alpha/strcat.S: Likewise.
3681 * sysdeps/alpha/strchr.S: Likewise.
3682 * sysdeps/alpha/strcpy.S: Likewise.
3683 * sysdeps/alpha/strlen.S: Likewise.
3684 * sysdeps/alpha/strncat.S: Likewise.
3685 * sysdeps/alpha/strncpy.S: Likewise.
3686 * sysdeps/alpha/strrchr.S: Likewise.
3687 * sysdeps/alpha/udiv_qrnnd.S: Likewise. Fix private labels.
3688 Convert two small jumps to use conditional moves.
3689 * sysdeps/unix/alpha/sysdep.h: Compress all __STDC__ nastiness.
3690 (PSEUDO): If PROF, call _mcount.
3691 * sysdeps/unix/sysv/linux/alpha/brk.S: If PROF, call _mcount.
3692 * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
3693 * sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S: Likewise.
3694 * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Likewise.
3695 * sysdeps/unix/sysv/linux/alpha/llseek.S: Likewise.
3696 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S: Likewise.
3697 * sysdeps/unix/sysv/linux/alpha/syscall.S: Likewise.
3698
3699 * sysdeps/alpha/memcpy.S: New file. Odd layout because it should
3700 eventually contain memmove as well.
3701 * sysdeps/alpha/strcmp.S: New file.
3702 * sysdeps/alpha/strncmp.S: New file.
3703 * sysdeps/alpha/w_sqrt.S: New file.
3704
3705Tue Nov 5 18:06:06 1996 Ulrich Drepper <drepper@cygnus.com>
3706
3707 * sysdeps/mach/hurd/ttyname_r.c: Use `size_t' for len variable.
3708
3709Tue Nov 5 12:09:29 1996 Ulrich Drepper <drepper@cygnus.com>
3710
3711 * sysdeps/generic/sysdep.h: Define END only if not yet defined.
3712 * sysdeps/unix/sysdep.h: Define PSEUDO_END only if not yet defined.
3713 Reported by Thomas Bushnell, n/BSG.
3714
3715Mon Nov 4 22:46:53 1996 Ulrich Drepper <drepper@cygnus.com>
3716
3717 * manual/users.texi (Netgroup Data): Remove { } around @cindex.
3718
3719Mon Nov 4 19:07:05 1996 Ulrich Drepper <drepper@cygnus.com>
3720
3721 * malloc/calloc.c: Check for overflow before trying to allocate
3722 memory. Proposed by Neil Matthews <nm@adv.sbc.sony.co.jp>.
3723
3724Fri Nov 1 18:18:32 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3725
3726 * manual/llio.texi (Operating Modes): Add missing arguments to
3727 @deftypevr in O_NONBLOCK description.
3728
3729 * manual/time.texi (Time Zone Functions): Enclose type name in
3730 braces in description of tzname. FIXME: this does not yet work
3731 correctly in info.
3732
3733Sun Nov 3 17:29:06 1996 Ulrich Drepper <drepper@cygnus.com>
3734
3735 * features.h: Add X/Open macros.
3736 * posix/unistd.h: Define X/Open macros.
3737 * sysdeps/generic/confname.h: Add _SC_XOPEN_XCU_VERSION,
3738 _SC_XOPEN_UNIX, _SC_XOPEN_CRYPT, _SC_XOPEN_ENH_I18N,
3739 _SC_XOPEN_SHM, _SC_2_CHAR_TERM, _SC_2_C_VERSION, and _SC_2_UPE.
3740 * sysdeps/posix/sysconf.c: Handle new constants.
3741 * sysdeps/stub/sysconf.c: Likewise.
3742 * sysdeps/unix/sysv/linux/posix_opt.h: Add definition of _XOPEN_SHM.
3743
3744 * catgets/catgets.c (catopen): Set errno to ENOMEM when
3745 we run out of memory.
3746 (catgets): Set errno to EBADF when catalog handle is invalid.
3747 Set errno to ENOMSG when translation is not available.
3748 (catclose): Set errno to EBADF when catalog handle is invalid.
3749
3750 * ctype/ctype.h: Declare isascii and toascii when __USE_XOPEN.
3751 Likewise for _toupper and _tolower.
3752
3753 * manual/arith.texi: Document strtoq, strtoll, strtouq, strtoull,
3754 strtof, and strtold.
3755 * manual/math.texi: Document HUGE_VALf and HUGE_VALl.
3756 * manual/stdio.h: Document ' flag for numeric formats of scanf.
3757 * manual/users.texi: Document that cuserid shouldn't be used.
3758
3759 * misc/Makefile (routines): Add dirname.
3760 (headers): Add libgen.h.
3761 (tests): Add tst-dirname.
3762 * misc/dirname.c: New file.
3763 * misc/libgen.h: New file.
3764 * misc/tst-dirname.c: New file.
3765
3766 * misc/search.h: Parameter of hcreate must be of type size_t.
3767 * misc/hsearch.c: Likewise.
3768 * misc/hsearch_r.c: Likewise for hcreate_r.
3769 * misc/search.h: Parameters of insque and remque must be `void *'.
3770 * misc/insremque.c: Likewise.
3771
3772 * posix/unistd.h: Move declarations of mktemp and mkstemp to...
3773 * stdlib/stdlib.h: ...here.
3774 * posix/unistd.h [__USE_XOPEN]: Add prototypes for crypt, setkey,
3775 encrypt, and swab.
3776
3777 * stdio-common/printf-parse.h (struct printf_spec): Add pa_wchar
3778 and pa_wstring.
3779 (parse_one_spec): Remove Linux compatibility code.
3780 Recognize %C and %S formats.
3781 * stdio-common/printf.h: Add PA_WCHAR and PA_WSTRING.
3782 * stdio-common/vfprintf.c: Add implementation of %C and %S format.
3783 * stdio-common/vfscanf.c: Likewise for scanf.
3784
3785 * stdlib/l64a.c: Return value for 0 must be the empty string.
3786 * stdlib/stdlib.h: Declare reentrant function from rand48 family
3787 only if __USE_REENTRANT.
3788 Declare rand48 functions also if __USE_XOPEN.
3789
3790 * stdlib/strtol.c: Return 0 and set errno to EINVAL when BASE is
3791 not a legal value.
3792 Return 0 and set errno to EINVAL when strou* sees negativ number.
3793 * stdlib/tst-strtol.c: De-ANSI-fy.
3794 Change expected results for test of unsigned function and negative
3795 input.
3796
3797 * string/stratcliff.c: Prevent warnings.
3798 * string.h: Move declaration of swab to <unistd.h>.
3799 * string/swab.c: De-ANSI-fy.
3800
3801 * sysdeps/posix/cuserid.c: Implement using getpwuid_r.
3802 * sysdeps/posix/mkstemp.c: Include <stdlib.h> for prototype.
3803 * sysdeps/posix/mktemp.c: Likewise.
3804 * sysdeps/stub/mkstemp.c: Likewise.
3805 * sysdeps/stub/mktemp.c: Likewise.
831372e7 3806
edf66db1
SP
3807 * sysvipc/sys/ipc.h: Prototypes of ftok have to be of types `const
3808 char *' and `int'.
3809 * sysvipc/ftok.c: Likewise. Make sure only lower 8 bits of
3810 PROJ_ID are used.
831372e7 3811
edf66db1 3812Sun Nov 3 03:21:28 1996 Heiko Schroeder <Heiko.Schroeder@post.rwth-aachen.de>
831372e7 3813
edf66db1
SP
3814 * locale/programs/ld-numeric.c (numeric_output): Compute idx[0]
3815 correctly.
831372e7 3816
edf66db1 3817Sat Nov 2 17:44:32 1996 Ulrich Drepper <drepper@cygnus.com>
831372e7 3818
edf66db1
SP
3819 * sysdeps/posix/cuserid.c: Use reentrant functions.
3820 * manual/users.texi: Tell that cuserid is marked to be withdrawn in
3821 XPG4.2.
831372e7 3822
edf66db1 3823Sat Nov 2 14:26:37 1996 Ulrich Drepper <drepper@cygnus.com>
831372e7 3824
edf66db1
SP
3825 Linus said he will make sure no system call will return a value
3826 in -1 ... -4095 as a valid result.
3827 * sysdeps/unix/sysv/linux/i386/sysdep.h: Correct test for error.
3828 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
3829 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
3830 * sysdeps/unix/sysv/linux/m68k/syscall.S: Likewise.
831372e7 3831
edf66db1 3832Sat Nov 2 16:54:49 1996 NIIBE Yutaka <gniibe@mri.co.jp>
831372e7 3833
edf66db1
SP
3834 * sysdeps/stub/lockfile.c [!USE_IN_LIBIO]: Define weak alias for
3835 __funlockfile, not a circular alias.
3836 Define __IO_ftrylockfile if USE_IN_LIBIO and __ftrylockfile if not,
3837 not vice versa.
831372e7 3838
edf66db1
SP
3839 * sysdeps/unix/sysv/linux/i386/sysdep.S (__errno_location): Make
3840 it a weak symbol.
3841 * sysdeps/unix/sysv/linux/m68k/sysdep.S (__errno_location): Likewise.
831372e7 3842
edf66db1 3843Tue Nov 5 00:04:48 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
831372e7 3844
edf66db1 3845 * stdio-common/vfprintf.c: Include <libc-lock.h>.
831372e7 3846
edf66db1 3847Mon Nov 4 16:57:42 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
831372e7 3848
edf66db1
SP
3849 * sysdeps/mach/hurd/ttyname_r.c (ttyname_r): Change prototype to
3850 match POSIX.1c.
831372e7 3851
edf66db1
SP
3852 * sysdeps/stub/lockfile.c [! USE_IN_LIBIO]: Second definition of
3853 __internal_funlockfile (in terms of itself) should actually be a
3854 definition of __funlockfile.
831372e7 3855
edf66db1
SP
3856 * pwd/pwd.h: Get `size_t' from <stddef.h>.
3857 * grp/grp.h: Likewise.
3858 * shadow/shadow.h: Likewise.
831372e7 3859
edf66db1
SP
3860 * stdlib/atexit.c (__new_exitfn): Add missing semicolons after
3861 calls to __libc_lock_lock and __libc_lock_unlock.
3862 * stdlib/random.c (__srandom, __initstate, __setstate, __random):
92c3af3c 3863 Likewise.
831372e7 3864
edf66db1 3865 * hurd/hurdsig.c (write_corefile): Fix typo.
831372e7 3866
edf66db1 3867 * sysdeps/mach/hurd/sigwait.c: New file.
831372e7 3868
edf66db1 3869Sat Nov 2 01:48:47 1996 Ulrich Drepper <drepper@cygnus.com>
831372e7 3870
edf66db1
SP
3871 * sysdeps/unix/sysv/linux/errnos.h: Move declaration of errno
3872 and __errno_location to correct position.
831372e7 3873
edf66db1 3874Thu Oct 31 22:51:25 1996 Ulrich Drepper <drepper@cygnus.com>
831372e7 3875
edf66db1
SP
3876 * Makefile (distribute): Add rellns-sh.
3877 * rellns-sh: New file.
3878 * Makerules (make-link): Use rellns-sh.
3879 * time/Makefile ($(installed-localtime-file)): Likewise.
831372e7 3880
edf66db1 3881Thu Oct 31 11:33:01 1996 Ulrich Drepper <drepper@cygnus.com>
831372e7 3882
edf66db1
SP
3883 * elf/Makefile ($objpfx)ldd) Substitute $(version) for @VERSION@.
3884 (distribute): Add ldd.bash.in.
3885 * elf/ldd.sh.in: Process --help and --version parameter.
3886 Correct comments.
3887 * elf/ldd.bash.in: New file.
831372e7 3888
edf66db1
SP
3889 * stdlib/stdlib.h: Add prototype for clearenv.
3890 * sysdeps/generic/setenv.c: Add implementation of clearenv.
3891 (setenv): Handle __environ == NULL correctly.
3892 * sysdeps/stub/setenv.c: Add stub definition for unsetenv and
3893 clearenv.
831372e7 3894
edf66db1
SP
3895 * sysdeps/generic/putenv.c: Correct layout to fit in libit.
3896 * sysdeps/generic/setenv.c: Likewise.
3897 * stdlib/strtol.h: Likewise.
831372e7 3898
edf66db1
SP
3899 * time/sys/time.h: Define __need_timeval and include <timebits.h>.
3900 Remove definition of struct timeval.
3901 * sysdeps/stub/timebits.h [__need_timeval]: Define struct timeval
3902 using `time_t' for members.
3903 * sysdeps/unix/sysv/linux/timebits.h [__need_timeval]: Likewise.
3904 * sysdeps/unix/sysv/linux/alpha/timebits.h: New file. Same
3905 as old Linux specific version.
831372e7 3906
edf66db1 3907Thu Oct 31 00:01:39 1996 Ulrich Drepper <drepper@cygnus.com>
831372e7 3908
edf66db1
SP
3909 * signal/Makefile (routines): Add sigwait.
3910 * signal/signal.h: Add prototype for sigwait.
3911 * sysdeps/posix/sigwait.c: New file. Implementation of sigwait
3912 function from POSIX.1c.
3913 * sysdeps/stub/sigwait.c: New file. Stub version of sigwait.
831372e7 3914
edf66db1 3915Wed Oct 30 02:01:17 1996 Richard Henderson <rth@tamu.edu>
831372e7 3916
edf66db1
SP
3917 * sunrpc/xdr_float.c (xdr_float): Handle sizeof(float)!=sizeof(long),
3918 but don't bother going farther than sizeof(float)==sizeof(int).
3919 (xdr_double): Handle little-endian machines! Handle sizeof(double)
3920 != 2*sizeof(long), though again don't bother with more than int.
831372e7 3921
edf66db1 3922Thu Oct 29 16:09:42 1996 Craig Metz <cmetz@inner.net>
831372e7 3923
edf66db1
SP
3924 * sysdeps/posix/getaddrinfo.c: Use buffer limits for inet_ntop
3925 function.
831372e7 3926
edf66db1 3927Tue Oct 29 12:37:22 1996 Ulrich Drepper <drepper@cygnus.com>
831372e7 3928
edf66db1
SP
3929 * Makerules: Create symbolic links for linking in $(libdir).
3930 (make-link): Use absolute path for destination if this is not in
3931 the same directory.
831372e7 3932
edf66db1
SP
3933 * elf/rtld.c (dl_main): When verifying don't check the name of
3934 the dynamic linker.
831372e7 3935
edf66db1
SP
3936 * shlib-versions: Change entries for Hurd specific libs from
3937 *-*-gnu* to *-*-gnu?* so that i586-pc-linux-gnu does not match
3938 these entries.
831372e7 3939
edf66db1
SP
3940 * assert/assert.h: Reformat copyright.
3941 Change reference to ANSI into reference to ISO C.
3942 * ctype/ctype.h: Likewise.
3943 * errno.h: Likewise.
3944 * limits.h: Likewise.
3945 * math/math.h: Likewise.
3946 * setjmp/setjmp.h: Likewise.
3947 * stdio/stdio.h: Likewise.
3948 * libio/stdio.h: Likewise.
3949 * stdlib/stdlib.h: Likewise.
3950 * string/string.h: Likewise.
3951 * time/time.h: Likewise.
831372e7 3952
edf66db1
SP
3953 * string/argz.h: Use __const in definitions.
3954
3955 * elf/dlfcn.h: Use __const and __P. Reformat copyright.
3956 * misc/err.h: Likewise.
3957
3958 * wctype/wctype.h (wctrans_t): Use __const instead of const.
3959
3960 * Makeconfig ($(common-objpfx)soversions.mk): Generate list of
3961 sonames for versioned libraries.
3962 * Makefile: Remove code to generate libc-version.h.
3963 Generate gnu/lib-names.h with info from soversions.mk.
3964 * features.h: Define __GLIBC__ and __GLIBC_MINOR__.
3965
3966 * dirent/tst-seekdir.c: Initialize save3.
3967 * grp/testgrp.c: Initialize my_group.
3968
3969 * grp/fgetgrent_r.c: Change interface to follow POSIX.1c.
3970 * grp/grp.h: Likewise.
3971 * nss/getXXbyYY.c: Likewise.
3972 * nss/getXXbyYY_r.c: Likewise.
3973 * nss/getXXent.c: Likewise.
3974 * nss/getXXent_r.c: Likewise.
3975 * pwd/fgetpwent_r.c: Likewise.
3976 * pwd/pwd.h: Likewise.
3977 * shadow/fgetspent_r.c: Likewise.
3978 * shadow/sgetspent.c: Likewise.
3979 * shadow/sgetspent_r.c: Likewise.
3980 * grp/fgetgrent.c: Adapt for change in interface of fgetgrent_r.
3981 * pwd/fgetpwent.c: Likewise, for fgetpwent_r.c.
3982 * shadow/fgetspent.c: Likewise, for fgetpwent_r.c.
3983 * resolv/netdb.h: Adapt prototypes for reentrant functions to
3984 follow POSIX.1c.
3985 * sunrpc/rpc/netdb.h: Likewise,
3986 * shadow/shadow.h: Likewise.
3987
3988 * inet/getnetgrent_r.c: Follow change in pwd/grp function interface.
3989
3990 * sysdeps/unix/getlogin_r.c: Return ERANGE when buffer is too small.
3991
3992 * inet/herrno.c: Don't define __h_errno, only h_errno otherwise the
3993 ELF aliasing creates strange situations.
3994 * sysdeps/unix/sysv/linux/errnos.H: Define __set_errno as inline
3995 function.
3996 * sysdeps/unix/sysv/linux/i386/sysdep.S: Don't define __errno.
3997 * sysdeps/unix/sysv/linux/m68k/sysdep.S: Likewise.
831372e7 3998
edf66db1
SP
3999 * libio/libio.h: Don't declare _IO_flockfile and _IO_funlockfile
4000 weak.
831372e7 4001
edf66db1
SP
4002 * locale/programs/charmap.c: Add casts to prevent warnings.
4003 * locale/programs/linereader.h: Likewise.
4004 * locale/programs/ld-collate.c: Likewise.
4005 * locale/programs/stringtrans.c: Likewise.
4006 Change types for various variables to prevent warnings.
4007 * locale/programs/ld-ctype.c: Likewise.
4008 * locale/programs/linereader.h (lr_ungetc): Likewise.
4009 * locale/programs/charset.h (struct charset): Use `unsigned int'
4010 as type for width_default.
4011 * posix/regex.c: Change type of `this_reg' variables.
4012 * stdio-common/Makefile: Use -Wno-format for tstdiomisc.c.
4013 * stdio-common/bug5.c: De-ANSI-fy. Use correct types for
4014 variables.
4015 * stdio-common/printf_fp.c: Initialize to_shift.
4016 * stdio-common/test_rdwr.c: Add cast.
4017 * stdio-common/vfprintf.c: Add casts and use correct types to
4018 prevent warnings.
4019 * stdio-common/vfscanf.c: Initialize str and strptr.
4020 * sysdeps/libm-ieee754/e_jnf.c: Use correct types to prevent warnings.
4021 * sysdeps/libm-ieee754/e_pow.c: Likewise.
4022 * sysdeps/libm-ieee754/e_powf.c: Likewise.
4023 * sysdeps/libm-ieee754/e_rem_pio2f.c: Likewise.
4024 * time/test-tz.c: Likewise.
4025
4026 * manual/creature.texi: Document _REENTRANT and _THREAD_SAFE.
4027 * manual/libc.texinfo: Prevent makeinfo failure by avoiding
4028 libc.cp index. This must be fixed.
4029 * manual/nss.texi: Adapt for correct POSIX.1c interface of
4030 reentrant functions.
4031 * manual/users.texi: Document netgroup functions.
4032
4033 * po/es.po: Updated.
4034 * po/fr.po: Updated.
4035
4036 * posix/fnmatch.c: Change to match libit version.
4037
4038 * posix/unistd.h: Change prototype for ttyname_r to match POSIX.1c.
4039 * sysdep/posix/ttyname_r.c: Likewise.
4040
4041 * stdlib/atexit.h (__new_exitfn): Add internal locking.
4042 * stdlib/exit.c: De-ANSI-fy. Handle new ef_us value for flavor.
4043 * stdlib/exit.h: De-ANSI-fy. Define new ef_us value for flavor.
4044 * stdlib/random.c (__srandom): Add internal locking.
4045 (__initstate): Likewise.
4046 (__setstate): Likewise.
4047 (__random): Likewise.
4048
4049Mon Oct 28 22:28:37 1996 NIIBE Yutaka <gniibe@mri.co.jp>
4050
4051 * sysdeps/generic/crypt-entry.c (crypt_r): Use __set_errno.
4052 (crypt): Likewise.
4053 * resolv/gethnamaddr.c (gethostbyname2): Likewise.
4054 * sysdeps/generic/uname.c: Likewise.
4055 * sysdeps/posix/rename.c: Likewise.
4056 * sysdeps/stub/setrlimit.c: Likewise.
831372e7 4057
edf66db1 4058 * nss/nss_db/db-netgrp.c (_nss_db_setnetgrent): Fix typo.
831372e7 4059
edf66db1 4060Sun Oct 27 11:12:50 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
831372e7 4061
edf66db1
SP
4062 * locale/programs/ld-collate.c (collate_order_elem): Fix format
4063 string.
4064 (collate_element_to): Cast field width argument to `int' for
4065 format string.
4066 (collate_symbol): Likewise.
4067 (collate_order_elem): Likewise.
4068 (collate_weight_bsymbol): Likewise.
4069 (collate_simple_weight): Likewise.
831372e7 4070
edf66db1 4071 * locale/programs/ld-time.c (STRARR_ELEM): Fix format string.
831372e7 4072
edf66db1
SP
4073 * locale/programs/ld-ctype.c (ctype_class_newP): Add missing
4074 argument for format string.
4075 (ctype_map_newP): Likewise.
4076 (set_class_defaults): Fix format string.
831372e7 4077
edf66db1
SP
4078 * locale/programs/localedef.c (construct_output_path): Putting an
4079 explicit \0 into the format string does not work, use %c.
831372e7 4080
edf66db1 4081Sat Oct 26 20:38:36 1996 Richard Henderson <rth@tamu.edu>
831372e7 4082
edf66db1 4083 * Makerules: Install all shared libraries in $(slibdir).
831372e7 4084
edf66db1
SP
4085 * login/Makefile: Build libutil.so in others pass after
4086 libc.so is created.
831372e7 4087
edf66db1 4088 * misc/mntent.h: Include <paths.h> for _PATH_MNTTAB & _PATH_MOUNTED.
831372e7 4089
edf66db1
SP
4090 * string/stratcliff.c: Allocate 3 pages instead of one, then use
4091 mprotect so that we know that the adjacent pages are inaccessible.
831372e7 4092
edf66db1
SP
4093 * resource/sys/resource.h: Move all structures and enums to ...
4094 * sysdeps/generic/resourcebits.h: ... here ...
4095 * sysdeps/unix/bsd/sun/sunos4/resourcebits.h: ... and here.
4096 * sysdeps/unix/sysv/linux/alpha/resourcebits.h: Remove.
4097 * sysdeps/unix/sysv/linux/i386/resourcebits.h: Remove.
4098 * sysdeps/unix/sysv/linux/m68k/resourcebits.h: Remove.
4099 * sysdeps/unix/sysv/linux/mips/resourcebits.h: Remove.
4100 * sysdeps/unix/sysv/linux/resourcebits.h: New file. Use kernel
4101 header for RLIMIT_* definitions. The members of struct rlimit
4102 are longs.
831372e7 4103
831372e7 4104
edf66db1 4105Thu Oct 24 17:43:34 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
831372e7 4106
edf66db1 4107 * MakeTAGS (sysdep-dirs): Fix typo.
831372e7 4108
edf66db1 4109Thu Oct 24 17:32:57 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
831372e7 4110
edf66db1
SP
4111 * hurd/hurdsig.c (write_corefile): If we can't create the core
4112 file, still call crash_dump_task with a null FILE arg. Maybe it
4113 won't actually need the file.
831372e7 4114
edf66db1 4115Wed Oct 23 03:45:22 1996 Ulrich Drepper <drepper@cygnus.com>
831372e7 4116
edf66db1
SP
4117 * Makefile (headers): Don't mention libc-version.h.
4118 (install-others): ...but here.
831372e7 4119
edf66db1 4120Tue Oct 22 21:38:21 1996 Ulrich Drepper <drepper@cygnus.com>
831372e7 4121
edf66db1 4122 * version.h: Bump version number to 1.97.
831372e7 4123
edf66db1
SP
4124 * features.h: Undo change of Sun Oct 20 22:19:58 1996.
4125 Include libc-version.h.
4126 * features.h.in: Removed.
4127 * Makefile: Change rules to generate libc-version.h instead of
4128 features.h.
831372e7 4129
edf66db1
SP
4130 * malloc/free.c: Add cast to prevent warning.
4131 * malloc/malloc-walk.c: Likewise.
4132 * malloc/ralloc.c: Likewise.
4133 * malloc/realloc.c: Likewise.
831372e7 4134
edf66db1
SP
4135 * grp/fgetgrent_r.c: Accept empty numeric field if name start with +
4136 or -.
4137 * pwd/fgetpwent_r.c: Likewise.
4138 * nss/nss_files/files-grp.c: Don't accept entries with names starting
4139 with + or - in lookup functions.
4140 * nss/nss_files/files-pwd.c: Likewise.
4141
4142 * Makerules: Call autolock.sh using $(SHELL).
4143
4144Mon Oct 21 22:52:16 1996 NIIBE Yutaka <gniibe@mri.co.jp>
4145
4146 * elf/dl-minimal.c: Don't define `dgettext' replacement but
4147 `dcgettext'. When optimizing the macros in <libintl.h> define
4148 `dgettext' as a macro and so this function will never be called.
4149
4150Mon Oct 21 15:41:59 1996 Ulrich Drepper <drepper@cygnus.com>
4151
4152 * sysdeps/i386/sysdep.h: Define END to use .size when available.
4153 (PSEUDO_END): Use END.
4154 * sysdeps/unix/sysv/linux/i386/sysdep.h: Define PSEUDO_END to
4155 define SYSCALL_ERROR_HANDLER before using END.
4156 (SYSCALL_ERROR_HANDLER): Don't use .size directive.
4157 * sysdeps/unix/sysv/linux/clone.S: Don't use SYSCALL_ERROR_HANDLER
4158 and .size directive but PSEUDO_END.
4159 * sysdeps/unix/sysv/linux/mmap.S: Likewise.
4160 * sysdeps/unix/sysv/linux/socket.S: Likewise.
4161 * sysdeps/unix/sysv/linux/syscall.S: Likewise.
4162 * sysdeps/unix/sysv/linux/sysdep.S (__errno_location): Use END.
4163 * sysdeps/unix/i386/sysdep.S (__syscall_error): Likewise.
4164 * sysdeps/i386/__longjmp.S: Use END instead of PSEUDO_END.
4165 * sysdeps/i386/bsd-_setjmp.S: Likewise.
4166 * sysdeps/i386/bsd-setjmp.S: Likewise.
4167 * sysdeps/i386/memchr.S: Likewise.
4168 * sysdeps/i386/memcmp.S: Likewise.
4169 * sysdeps/i386/setjmp.S: Likewise.
4170 * sysdeps/i386/stpcpy.S: Likewise.
4171 * sysdeps/i386/stpncpy.S: Likewise.
4172 * sysdeps/i386/strchr.S: Likewise.
4173 * sysdeps/i386/strcspn.S: Likewise.
4174 * sysdeps/i386/strpbrk.S: Likewise.
4175 * sysdeps/i386/strrchr.S: Likewise.
4176 * sysdeps/i386/strspn.S: Likewise.
4177 * sysdeps/i386/strtok.S: Likewise.
4178 * sysdeps/i386/i486/strcat.S: Likewise.
4179 * sysdeps/i386/i486/strlen.S: Likewise.
4180 * sysdeps/i386/i586/memset.S: Likewise.
4181 * sysdeps/i386/i586/strchr.S: Likewise.
4182 * sysdeps/i386/i586/strlen.S: Likewise.
4183
4184 * sysdeps/i386/strlen.c: De-ANSI-fy.
4185
4186 * sysdeps/generic/_strerror.c: Undo change of Mon Oct 21 01:32:36 1996.
4187 Define dgettext if not defined to use dcgettext.
4188 * sysdeps/mach/_strerror.c: Likewise.
831372e7 4189
edf66db1
SP
4190 * sysdeps/unix/sysv/i386/time.S: Add PSEUDO_END to get
4191 __syscall_error defined..
831372e7 4192
edf66db1 4193Sat Oct 19 12:27:50 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
831372e7 4194
edf66db1
SP
4195 * sysdeps/unix/sysv/linux/m68k/mmap.S: Fix braino: CALL_MCOUNT is
4196 already included in the ENTRY macro. Remove SYSCALL_ERROR_HANDLER
4197 now provided by PSEUDO_END.
4198 * sysdeps/unix/sysv/linux/m68k/sigreturn.S: Likewise.
4199 * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
4200 * sysdeps/unix/sysv/linux/m68k/syscall.S: Likewise.
4201 * sysdeps/unix/sysv/linux/m68k/sysdep.S: Likewise.
4202 * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise. Use JUMPTARGET.
831372e7 4203
edf66db1
SP
4204 * sysdeps/generic/sysdep.h (END): Provide default empty
4205 definition.
4206 * sysdeps/unix/sysv/linux/m68k/sysdep.h (END): Redefine to use
4207 size directive.
4208 (PSEUDO): Don't include SYSCALL_ERROR_HANDLER.
4209 (PSEUDO_END): Include it here instead.
4210 (SYSCALL_ERROR_HANDLER): Remove type directive.
4211 * sysdeps/m68k/bsd-_setjmp.S: Use END, not PSEUDO_END.
4212 * sysdeps/m68k/bsd-setjmp.S: Likewise.
4213 * sysdeps/unix/sysv/linux/m68k/sigreturn.S: Likewise.
4214 * sysdeps/unix/sysv/linux/m68k/sysdep.S: Likewise.
4215 (__syscall_error): Can't use ENTRY macro.
4216
4217Sat Oct 19 12:13:24 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4218
4219 * sysdeps/unix/sysv/linux/syscalls.list (getresuid, setresuid):
4220 Set caller to EXTRA.
4221
4222Mon Oct 21 01:32:36 1996 Ulrich Drepper <drepper@cygnus.com>
4223
4224 * elf/rtld.c (dl_main): Move initialization of `_dl_starting_up'
4225 to beginning of function. So libc functions can use this flag.
4226 * sysdeps/generic/_strerror.c: Don't use dgettext for message
4227 translation while `_dl_starting_up' is nonzero.
4228
4229 * elf/dl-deps.c (_dl_map_object_deps): Add new parameter
4230 TRACE_MODE.
4231 Pass parameter value to _dl_map_object.
4232 * elf/dl-load (_dl_map_object): Add new parameter TRACE_MODE.
4233 If TRACE_MODE is nonzero don#t signal error when shared lib
4234 is not found. Instead create fake entry for link map.
4235 * dl-open.c (dl-open): Pass 0 for new argument to _dl_map_object.
4236 * dl-runtime.c (_dl_object_relocation_scope): Pass 0 for new
4237 argument to _dl_map_object_deps.
4238 * elf/link.h: Add new parameter TRACE_MODE for prototypes of
4239 _dl_map_object and _dl_map_object_deps.
4240 * elf/rtld.c (dl_main): Pass 0 for new argument to _dl_map_object
4241 and _dl_map_object_deps.
4242 When mode == trace test for l_opencount == 0 before printing
4243 link information since this means the lib is not found.
4244
4245Sun Oct 20 22:19:58 1996 Ulrich Drepper <drepper@cygnus.com>
4246
4247 * rpm/template: Add INSTALL to %doc line to follow copyright
4248 restrictions which demand the distribution of the copyright
4249 messages in INSTALL even for binary distributions.
4250
4251 * features.h: Rename to...
4252 * features.h.in: ...this. Change value of __GNU_LIBRARY__ to 2
4253 (for major version numberof package) and add __GNU_LIBRARY_MINOR__
4254 and __GNU_LIBRARY_INTERFACE__.
4255 * Makefile ($(objpfx)features.h): New rule to generate features.h
4256 from template features.h.in.
4257
4258 * sysdeps/unix/sysv/linux/getsysstats.c: Include <paths.h>.
4259
4260Sun Oct 20 00:00:13 1996 Richard Henderson <rth@tamu.edu>
4261
4262 * locale/programs/linereader.c (lr_open): Cast away const before free.
4263 (lr_close): Likewise.
4264
4265 * misc/mntent.h: Move _PATH_MNTTAB & _PATH_MOUNTED to paths.h.
4266 * misc/paths.h: Move to ...
4267 * sysdeps/generic/paths.h: ... here.
4268 * paths.h: Remove.
4269 * sysdeps/unix/sysv/linux/paths.h: New file. Correct _PATH_STDPATH,
4270 _PATH_MAILDIR, _PATH_MOUNTED, _PATH_UNIX to comply with the fsstd.
4271
4272 * nss/nss_db/db-netgrp.h: Include <string.h>.
4273
4274 * stdio-common/psignal.c: De-ansidecl-ify. Allow NULL entries in
4275 _sys_siglist, which result in the "Unknown signal" message.
4276 * string/strsignal.c: Likewise.
4277 * sysdeps/generic/Makefile [stdio-common]: If $(inhibit-siglist),
4278 don't auto-generate siglist.c.
4279 * sysdeps/unix/sysv/linux/Makefile [stdio-common]: Set inhibit-siglist.
4280 * sysdeps/unix/sysv/linux/siglist.c: New file. Not needing to
4281 autogenerate makes bootstrapping and cross-compiling much easier.
4282 * sysdeps/unix/sysv/linux/siglist.h: New file.
831372e7 4283
edf66db1 4284 * stdlib/longlong.h: Prototype __udiv_qrnnd.
831372e7 4285
edf66db1
SP
4286 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_headers): Remove
4287 sys/io.h. It is already added in .../linux/Makefile.
831372e7 4288
edf66db1
SP
4289 * sysdeps/unix/sysv/linux/alpha/sigaction.h: New file.
4290 * sysdeps/unix/sysv/linux/alpha/signum.h: New file.
4291 * sysdeps/unix/sysv/linux/alpha/statbuf.h: New file.
831372e7 4292
edf66db1 4293Sun Oct 20 17:17:12 1996 Ulrich Drepper <drepper@cygnus.com>
831372e7 4294
edf66db1
SP
4295 Add implementation of POSIX.1g function getaddrinfo.
4296 * posix/Makefile (routines): Add getaddrinfo.
4297 * sysdeps/posix/getaddrinfo.c.: New file. Add implementation by
4298 Craig Metz.
4299 * sysdeps/stub/getaddrinfo.c: New file. Stub implementation.
4300 * resolv/netdb.h [__USE_POSIX]: Add getaddrinfo prototypes and
4301 related constants and structures.
831372e7 4302
edf66db1 4303Sun Oct 20 13:02:34 1996 Ulrich Drepper <drepper@cygnus.com>
831372e7 4304
edf66db1
SP
4305 * sysdeps/stub/lockfile.c: Rename functions to __internal_*.
4306 Make all old names weak alises so that they can be replaced
4307 by libpthread.
831372e7 4308
edf66db1
SP
4309 * stdio-common/vfprintf.c: Only declare __flockfile and __funlockfile
4310 for !USE_IN_LIBIO.
4311 [USE_IN_LIBIO]: Call _IO_flockfile and _IO_funlockfile instead of
4312 __flockfile and __funlockfile.
4313 Reported by NIIBE Yutaka.
831372e7 4314
edf66db1
SP
4315 * crypt/md5.c: Change form of copyright message according to GNITS
4316 rules.
4317 Add warning for requirement on RESBUF parameter for `md5_finish_ctx'
4318 and `md5_read_ctx' function.
4319 * crypt/md5.h: Likewise.
831372e7 4320
edf66db1
SP
4321 * grp/testgrp.c: Don't use perror for error cases since getgr* and
4322 getpw* functions do not return usable error codes.
831372e7 4323
edf66db1 4324Sun Oct 19 23:05:32 1996 Jim Meyering <meyering@asic.sc.ti.com>
831372e7 4325
edf66db1
SP
4326 * crypt/md5.c (md5_process_bytes): Used casting for pointer
4327 arithmetic.
831372e7 4328
edf66db1 4329Sun Oct 20 03:53:23 1996 Ulrich Drepper <drepper@cygnus.com>
831372e7 4330
edf66db1 4331 * sunrpc/Makefile (others): Remove portmap here, too.
831372e7 4332
edf66db1 4333Sat Oct 19 17:42:24 1996 Ulrich Drepper <drepper@cygnus.com>
831372e7 4334
edf66db1 4335 * intl/locale.alias: Language for entry `czech' is `cs'.
831372e7 4336
edf66db1 4337Fri Oct 17 13:20:35 1996 Thorsten Kukuk <kukuk@weber.uni-paderborn.de>
831372e7 4338
edf66db1 4339 * sunrpc/etc.rpc: Update from ti-rpcsvc 2.3.
831372e7 4340
edf66db1 4341Fri Oct 18 22:56:45 1996 Ulrich Drepper <drepper@cygnus.com>
831372e7 4342
edf66db1
SP
4343 * sunrpc/Makefile (install-sbin): Remove portmap. This version is
4344 buggy and more competent people work on a usable version which is
4345 distributed separately.
4346 * sunrpc/portmap.c: Removed.
4347 Suggested by Thorsten Kukuk.
831372e7 4348
edf66db1 4349Fri Oct 18 12:17:09 1996 Enrique Melero <justine@iprolink.ch>
831372e7 4350
edf66db1
SP
4351 * sysdeps/libm-ieee754/s_finitel.c: Change function name to
4352 `finitel'.
831372e7 4353
edf66db1 4354Fri Oct 18 00:01:10 1996 Ulrich Drepper <drepper@cygnus.com>
831372e7 4355
edf66db1
SP
4356 * string/Makefile (tests): Add stratcliff.
4357 * string/stratcliff.c: New file. Test for string function at
4358 the edge of the usable memory.
831372e7 4359
edf66db1 4360Thu Oct 17 22:10:19 1996 Ulrich Drepper <drepper@cygnus.com>
831372e7 4361
edf66db1 4362 * Makerules ($(libdir)/libc.so): Fix typo.
831372e7 4363
edf66db1
SP
4364 * elf/ldd.sh.in: Test whether given file really exist and give
4365 better message if it is not available.
831372e7 4366
edf66db1 4367Thu Oct 17 04:25:38 1996 Ulrich Drepper <drepper@cygnus.com>
831372e7 4368
edf66db1
SP
4369 * sysdeps/unix/sysv/linux/sys/shm_buf.h: Add definition for
4370 SHM_R and SHM_W.
831372e7 4371
edf66db1 4372Thu Oct 17 01:55:34 1996 Ulrich Drepper <drepper@cygnus.com>
831372e7 4373
edf66db1
SP
4374 * sunrpc/Makefile ($(objpfx)rpcsvc/%.h, $(objpfx)x%.c): Write
4375 output to $@T and move to $@ later since the new rpcgen will not
4376 overwrite existing files.
831372e7 4377
edf66db1 4378 * po/Makefile (libc.pot): Fix typo.
831372e7 4379
edf66db1 4380Sun Oct 13 20:52:07 1996 Thorsten Kukuk <kukuk@weber.uni-paderborn.de>
831372e7 4381
edf66db1
SP
4382 Update rpcgen program to TI-rpc code.
4383 * sunrpc/Makefile (rpcgen-objs): Add rpc_tblout.o and rpc_sample.o.
4384 (distribute): Add proto.h.
4385 * sunrpc/proto.h: New file. Prototypes for all the RPC functions.
4386 * sunrpc/rpc_clntout.c: Change to allow generation of ISO C code.
4387 * sunrpc/rpc_cout.c: Likewise.
4388 * sunrpc/rpc_hout.c: Likewise.
4389 * sunrpc/rpc_main.c: Likewise.
4390 * sunrpc/rpc_parse.c: Likewise.
4391 * sunrpc/rpc_parse.h: Likewise.
4392 * sunrpc/rpc_scan.c: Likewise.
4393 * sunrpc/rpc_scan.h: Likewise.
4394 * sunrpc/rpc_svcout.c: Likewise.
4395 * sunrpc/rpc_util.c: Likewise.
4396 * sunrpc/rpc_util.h: Likewise.
831372e7 4397
edf66db1
SP
4398 * sunrpc/rpc_tblout.c: New file.
4399 * sunrpc/rpc_sample.c: Likewise.
831372e7 4400
edf66db1 4401Thu Oct 17 00:26:20 1996 NIIBE Yutaka <gniibe@mri.co.jp>
831372e7 4402
edf66db1 4403 * sysdeps/unix/opendir.c: Add semicolon for consistency.
831372e7 4404
edf66db1 4405Wed Oct 16 12:26:53 1996 Sven Verdoolaege <skimo@breughel.ufsia.ac.be>
831372e7 4406
edf66db1
SP
4407 * locale/programs/localedef.c (main): Test with -1 to find out
4408 whether read failed.
831372e7 4409
edf66db1 4410Wed Oct 16 14:54:59 1996 Ulrich Drepper <drepper@cygnus.com>
831372e7 4411
edf66db1
SP
4412 * sysdeps/unix/sysv/linux/i386/clone.S: Use JUMPTARGET and
4413 PSEUDO_END macro.
831372e7 4414
edf66db1 4415Tue Oct 15 21:27:42 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
831372e7 4416
edf66db1 4417 * sysdeps/unix/sysv/linux/m68k/sigcontext.h: Removed.
831372e7 4418
edf66db1 4419Tue Oct 15 15:52:29 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
831372e7 4420
edf66db1
SP
4421 * sysdeps/unix/sysv/linux/m68k/clone.S: Add CALL_MCOUNT.
4422 * sysdeps/unix/sysv/linux/m68k/mmap.S: Likewise.
4423 * sysdeps/unix/sysv/linux/m68k/sigreturn.S: Likewise.
4424 * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
4425 * sysdeps/unix/sysv/linux/m68k/sysdep.S (__errno_location):
4426 Likewise.
4427 * sysdeps/unix/sysv/linux/m68k/syscall.S: Likewise.
4428 Correct generation of system call.
831372e7 4429
edf66db1 4430Tue Oct 15 15:13:16 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
831372e7 4431
edf66db1
SP
4432 * Makerules (sysd-Makefile): Fix command so that it works in the
4433 subdirectories.
4434 (BUILD_CFLAGS): Change back using $(..) instead of
4435 $(common-objpfx), the latter fails in the toplevel directory when
4436 $(objdir) is relative.
4437 (common-objdir-compile): Run compiler in $(objdir).
4438 * sysdeps/posix/Makefile (mk-stdiolim): Likewise.
831372e7 4439
edf66db1 4440Tue Oct 15 23:39:48 1996 Ulrich Drepper <drepper@cygnus.com>
831372e7 4441
edf66db1
SP
4442 * string/string.h [__USE_SVID]: Add prototype for swab.
4443 * time/sys/time.h [__USE_BSD]: Add prototype for ualarm.
4444 Reported by Andreas Jaeger.
831372e7 4445
edf66db1
SP
4446 The available nlist implementation is not generally usable.
4447 Especially on the currently supported ELF systems the nlist
4448 function comes with the libelf.
4449 * misc/Makefile (headers): Remove nlist.h.
4450 (routines): Remove nlist.
831372e7 4451
edf66db1
SP
4452 * Makefile ($(objpfx)version-info.h): Include information about
4453 system the libc is built on in version-info.h file.
831372e7 4454
edf66db1 4455 * po/Makefile (distribute): Add header.pot.
831372e7 4456
edf66db1
SP
4457Tue Oct 15 16:34:15 1996 Andreas Jaeger <aj@arthur.pfalz.de>
4458
4459 * sysdeps/unix/sysv/linux/sleep.c: Include file with prototype.
4460 * sysdeps/unix/sysv/linux/reboot.c: Likewise.
4461 * misc/error.c: Likewise.
4462
4463Tue Oct 15 22:41:27 1996 Ulrich Drepper <drepper@cygnus.com>
4464
4465 * sysdeps/unix/sysv/linux/syscalls.list: Add {get,set}resuid.
4466
4467Tue Oct 15 08:06:02 1996 Andreas Jaeger <aj@arthur.pfalz.de>
4468
4469 * crypt/Makefile (rpath-link): Extend search path to current directory.
4470
4471Fri Oct 11 09:18:06 1996 Sven Verdoolaege <skimo@breughel.ufsia.ac.be>
4472
4473 * sysdeps/i386/i586/strlen.S: Correct handling of prolog for
4474 aligning pointer.
4475
4476Tue Oct 15 02:13:21 1996 Ulrich Drepper <drepper@cygnus.com>
4477
4478 * stdio-common/vfprintf.c: Don't declare __flockfile as weak.
4479
4480 * crypt/md5-crypt.c (md5_crypt_r): Add cast to prevent warning.
4481
4482Tue Oct 15 14:37:40 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
4483
4484 * sysdeps/mach/hurd/fcntlbits.h (O_HURD): Add O_EXLOCK and
4485 O_SHLOCK.
4486
4487Sun Oct 13 19:16:10 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4488
4489 * sysdeps/unix/sysv/linux/m68k/sysdep.h (POUND): Macro removed,
4490 replaced by `&'.
4491 (PSEUDO_END): Provide definition to use .size directive.
4492 (PSEUDO): Don't interpret negative return values less than -128 as
4493 syscall error.
4494 * sysdeps/unix/sysv/linux/m68k/syscall.S (syscall): Likewise.
4495
4496 * sysdeps/m68k/bsd-_setjmp.S: Use PSEUDO_END macro to provide
4497 .size directive.
4498 * sysdeps/m68k/bsd-setjmp.S: Likewise.
4499 * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
4500 * sysdeps/unix/sysv/linux/m68k/mmap.S: Likewise.
4501 * sysdeps/unix/sysv/linux/m68k/sigreturn.S: Likewise.
4502 * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
4503 * sysdeps/unix/sysv/linux/m68k/syscall.S: Likewise.
4504 * sysdeps/unix/sysv/linux/m68k/sysdep.S: Use PSEUDO_END instead of
4505 explicit .size directive.
4506
4507Sun Oct 13 22:52:56 1996 Ulrich Drepper <drepper@cygnus.com>
4508
4509 * shlib-versions: Add version number/name for ld.so.
4510 * Makeconfig: Move definition of rtld-installed-name after
4511 inclusion of soversions.mk.
4512 Don't add . before version number from shlib-versions file when
4513 when name does not start with digit. This is needed for ld.so.
4514
4515Sat Oct 12 20:31:58 1996 Richard Henderson <rth@tamu.edu>
4516
4517 * libio/iogets.c: Warn when gets is used.
4518 * stdio/gets.c: Strengthen the warning.
4519
4520Sat Oct 12 23:10:43 1996 Ulrich Drepper <drepper@cygnus.com>
4521
4522 * libio/Makefile [_LIBC_REENTRANT] (routines): Add peekc.
4523 * libio/libio.h: Add prototypes for _IO_getc, _IO_putc, _IO_feof,
4524 _IO_ferror, _IO_peekc_locked, and _IO_ftrylockfile.
4525 Remove prototypes for _IO_getc_locked and _IO_putc_locked.
4526 [_IO_MTSAFE_IO]: Add weak aliases for _IO_flockfile and
4527 _IO_funlockfile.
4528 [! _IO_MTSAFE_IO]: Define _IO_ftrylockfile as empty.
4529 Define _IO_getc, _IO_peekc, _IO_putc, _IO_feof, _IO_ferror to
4530 appropriate values according to __USE_REENTRANT.
4531 * libio/stdio.h: Add prototype for ftrylockfile.
4532 [!_LIBC]: Define getc_locked, getchar_locked, putchar_locked,
4533 getc, getchar, putc, and putchar using _IO_* names.
4534 * libio/feof.c: Rename to _IO_feof and make feof weak alias.
4535 * libio/ferror.c: Rename to _IO_ferror and make ferror weak alias.
4536 * libio/getc.c: Rename to _IO_getc and make getc weak alias.
4537 * libio/putc.c: Rename to _IO_putc and make putc weak alias.
4538 * libio/putc_u.c: Don't define alias _IO_putc_unlocked.
4539 * libio/peekc.c: New file.
4540
4541 * stdio-common/vfprintf.c (vfprintf): Unconditionally call
4542 __flockfile.
4543
4544 * sysdeps/stub/locfile.c [USE_IN_LIBIO]: Also define _IO_* names.
4545
4546 * crypt/Makefile (tests): Add md5test and md5c-test.
4547 * crypt/md5-crypt.c: Correct various error. Now md5_process_bytes
4548 is called, the buffer limit is honoured and a loop in a inner
4549 loop is corrected.
4550 * crypt/md5.h (struct md5_ctx): Add new fields.
4551 Add prototypes for new functions.
4552 * crypt/md5.c (md5_init_ctx): Initialize new fields.
4553 (md5_finish_ctx): New function. Like md5_read_ctx but before
4554 perform correct finalization.
4555 (md5_process_bytes): New function. Similar to md5_proces_block,
4556 but does not require input size to be multiple of 64.
4557 (md5_stream): Rewrite using md5_process_bytes and md5_finish_ctx.
4558 (md5_buffer): Likewise.
4559 (md5_process_block): Count number of bytes.
4560 * crypt/md5test.c: New file. Test program for MD5 functions.
4561 * crypt/md5c-test.c: New file: Test program for MD5 crypt
4562 function.
831372e7 4563
edf66db1 4564 * po/fr.po: Update.
831372e7 4565
edf66db1 4566 * time/strptime.c: Recognize %s, %u, %g, and %G format.
831372e7 4567
edf66db1
SP
4568 * posix/getopt.c: Add some more casts and initializations to
4569 prevent warnings.
831372e7 4570
edf66db1 4571Sat Oct 12 16:15:29 1996 Ulrich Drepper <drepper@cygnus.com>
831372e7 4572
edf66db1
SP
4573 * sysdeps/unix/sysv/linux/speed.c (speeds): Removed. We provide
4574 an extra function to provide this functionality.
4575 (cfgetospeed): Simply return masked value.
4576 (cfsetospeed): Don't use speeds array and so we can simply test
4577 the value of SPEED for illegal values.
4578 * termios/cfsetspeed.c: Rewrite. We convert here between the
4579 real values and the B* constants.
4580 Changes suggested by Uwe Ohse <uwe@tirka.gun.de>.
831372e7 4581
edf66db1 4582Fri Oct 11 21:45:34 1996 Andreas Jaeger <aj@arthur.pfalz.de>
831372e7 4583
edf66db1
SP
4584 * locale/programs/xstrdup.c: Define prototypes.
4585 * locale/programs/xmalloc.c: Likewise.
831372e7 4586
edf66db1 4587 * stdio-common/xbug.c (main): Change definition to avoid warning.
831372e7 4588
edf66db1 4589Fri Oct 11 23:36:31 1996 Miles Bader <miles@gnu.ai.mit.edu>
831372e7 4590
edf66db1 4591 * db/hash/hash.c (__hash_open): Correctly test for a read-write db.
831372e7 4592
edf66db1 4593Fri Oct 11 19:13:34 1996 Ulrich Drepper <drepper@cygnus.com>
831372e7 4594
edf66db1
SP
4595 * locale/Makefile (CPPFLAGS): Set CHARMAP_PATH to
4596 "$(i18ndir)/charmaps".
831372e7 4597
edf66db1 4598Fri Oct 11 22:12:41 1996 NIIBE Yutaka <gniibe@mri.co.jp>
831372e7 4599
edf66db1
SP
4600 * sysdeps/unix/sysv/linux/sys/procfs.h: Include <asm/user.h>
4601 to get definition of FPU description struct.
831372e7 4602
edf66db1
SP
4603 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=socket] (subdir_headers):
4604 Add net/if.h, net/if_ppp.h, net/ppp-comp.h, net/ppp_defs.h,
4605 net/if_arp.h, and net/route.h.
4606 * sysdeps/unix/sysv/linux/net/if_arp.h: New file.
4607 * sysdeps/unix/sysv/linux/net/route.h: New file.
831372e7 4608
edf66db1 4609Fri Oct 11 14:49:13 1996 Ulrich Drepper <drepper@cygnus.com>
831372e7 4610
edf66db1
SP
4611 * sysdeps/stub/readdir_r.c: New file. We need a stub version.
4612 * sysdeps/stub/e_acosl.c: Likewise.
4613 * sysdeps/stub/e_asinl.c: Likewise.
4614 * sysdeps/stub/e_atan2l.c: Likewise.
4615 * sysdeps/stub/e_expl.c: Likewise.
4616 * sysdeps/stub/e_fmodl.c: Likewise.
4617 * sysdeps/stub/e_log10l.c: Likewise.
4618 * sysdeps/stub/e_logl.c: Likewise.
4619 * sysdeps/stub/e_sqrtl.c: Likewise.
4620 * sysdeps/stub/s_atanl.c: Likewise.
4621 * sysdeps/stub/s_log1pl.c: Likewise.
831372e7 4622
edf66db1 4623 * Makefile (distribute): Add nsswitch.h and netgroup.h.
831372e7 4624
edf66db1 4625 * nss/Makefile (generated): db-netgrp.c is not generated.
831372e7 4626
edf66db1 4627 * sysdeps/alpha/Dist: Add stxcpy.S and stxncpy.S.
831372e7 4628
edf66db1 4629 * Make-dist (+out): Add $(dont_distribute).
831372e7 4630
edf66db1 4631Fri Oct 11 00:27:18 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
831372e7 4632
edf66db1 4633 * stdio-common/Makefile (routines): Add tmpnam_r.
831372e7 4634
edf66db1 4635Fri Oct 11 05:32:51 1996 Ulrich Drepper <drepper@cygnus.com>
831372e7 4636
edf66db1 4637 * version.h: Bump version to 1.96.
831372e7 4638
edf66db1 4639Fri Oct 11 18:13:47 1996 Andreas Jaeger <aj@arthur.pfalz.de>
831372e7 4640
edf66db1 4641 * stdio-common/tst-printf.c: Some more cleanups.
831372e7 4642
edf66db1 4643Fri Oct 11 02:48:02 1996 Ulrich Drepper <drepper@cygnus.com>
831372e7 4644
edf66db1
SP
4645 * resolv/arpa/nameser.h: Update from bind-4.9.5-T6B.
4646 * resolv/resolv.h: Likewise.
4647 * resolv/gethnamaddr.c: Likewise.
4648 * resolv/res_comp.c: Likewise.
4649 * resolv/res_debug.c: Likewise.
4650 * resolv/res_init.c: Likewise.
4651 * resolv/res_send.c: Likewise.
4652 * resolv/Banner: Update version number.
831372e7 4653
edf66db1
SP
4654 * nss/nss_dns/dns-host.c: Update according to change in
4655 resolv/gethnamaddr.c.
831372e7 4656
edf66db1 4657Fri Oct 10 20:52:28 1996 Ralph Loader <loader@maths.ox.ac.uk>
831372e7 4658
edf66db1
SP
4659 * crypt/md5.c (md5_stream): When reading the block in several
4660 pieces append to instead of replace previously read data.
831372e7 4661
edf66db1 4662Thu Oct 10 15:53:17 1996 Richard Henderson <rth@tamu.edu>
831372e7 4663
edf66db1
SP
4664 * sysdeps/alpha/stxcpy.S ($unaligned): In single word copy, correct
4665 last-byte-written bit for source word misalignment.
4666 * sysdeps/alpha/strchr.c: Removed. There is now an assembler
4667 version.
831372e7 4668
edf66db1 4669Thu Oct 10 17:17:23 1996 Ulrich Drepper <drepper@cygnus.com>
831372e7 4670
edf66db1
SP
4671 * sunrpc/Makefile (rpcsvc): Remove yp.x. The corrected version
4672 comes with glibc-nis.
4673 * sunrpc/rpcsvc/yp.x: Removed.
831372e7 4674
edf66db1
SP
4675 * nss/nss_files/files-netgr.c (_nss_netgroup_parseline): Test
4676 for *CURSOR to be NULL and dump a core if yes.
831372e7 4677
edf66db1 4678Thu Oct 9 20:09:53 1996 Matthew Jacob <mjacob@feral.com>
831372e7 4679
edf66db1
SP
4680 * sysdeps/unix/sysv/linux/alpha/brk.S: Define _ERRNO_H before
4681 including <errnos.h> to get error numbers.
831372e7 4682
edf66db1 4683Thu Oct 10 14:00:01 1996 Ulrich Drepper <drepper@cygnus.com>
831372e7 4684
edf66db1
SP
4685 * sysdeps/unix/sysv/linux/i386/sigcontext.h: Moved file...
4686 * sysdeps/unix/sysv/linux/sigcontext.h: ...to here. So the
4687 Alpha people find a correct file.
4688 * sysdeps/libm-ieee754/w_cabs.c: We cannot make __cabsl simply
4689 an alias of __cabs since the structures have different names.
4690 * sysdeps/libm-ieee754/w_log10.c: Fix typo in weak_alias.
4691 Reported by Matthew Jacob <mjacob@feral.com>.
831372e7 4692
edf66db1 4693Wed Oct 9 00:24:52 1996 Jim Meyering <meyering@asic.sc.ti.com>
831372e7 4694
edf66db1 4695 * time/strftime.c: Allow old K&R compilers compile this file.
831372e7 4696
edf66db1 4697Wed Oct 9 12:03:56 1996 Ulrich Drepper <drepper@cygnus.com>
831372e7 4698
edf66db1
SP
4699 * posix/execlp.c: Add first argument parameter to be compliant
4700 with POSIX. Rearrange body to start vararg counter after
4701 this new argument.
831372e7 4702
edf66db1 4703Wed Oct 9 04:34:50 1996 Ulrich Drepper <drepper@cygnus.com>
831372e7 4704
edf66db1
SP
4705 * sysdeps/unix/sysv/linux/sys/procfs.h: Rewrite. We cannot use
4706 simply a wrapper around the <linux/elfcore.h> file since the
4707 kernel header is not clean enough. We provide the definitions
4708 in this file instead.
831372e7 4709
edf66db1 4710Wed Oct 9 01:43:18 1996 Ulrich Drepper <drepper@cygnus.com>
831372e7 4711
edf66db1
SP
4712 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Avoid
4713 get?id calls by using __libc_enable_secure.
831372e7 4714
edf66db1 4715Wed Oct 9 00:30:33 1996 Ulrich Drepper <drepper@cygnus.com>
831372e7 4716
edf66db1
SP
4717 * inet/getnetgrent_r.c: Correct netgroup implementation. A
4718 specification of a netgroup can also name another netgroup.
4719 * nss/nss_files/files-netgrp.c: Likewise.
4720 * inet/netgroup.h: Add fields to hold additional information.
831372e7 4721
edf66db1 4722Tue Oct 8 21:51:14 1996 Arnold D. Robbins <arnold@skeeve.atl.ga.us>
831372e7 4723
edf66db1
SP
4724 * posix/getopt.c: Implement POSIX -W option handling. When the
4725 option string contains "W;" -W foo is handled like --foo.
831372e7 4726
edf66db1 4727Tue Oct 8 12:27:26 1996 Ulrich Drepper <drepper@cygnus.com>
831372e7 4728
edf66db1
SP
4729 * sysdeps/unix/sysv/linux/i386/clone.S: Define _ERRNO_H before
4730 inclusing <errnos.h> so we really get error symbols defined.
4731 * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
4732 * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
831372e7 4733
edf66db1
SP
4734 * sunrpc/auth_unix.c (authunix_create_default): Don't use fixed
4735 size array for getgroups call. Instead get maximal number via
4736 sysconf. But discard list to NGRPS elements before calling XDR
4737 function since Sun's code cannot handle longer lists.
4738 Based on a patch by Thorsten Kukuk <kukuk@weber.uni-paderborn.de>.
831372e7 4739
edf66db1
SP
4740 * sysdeps/stub/e_j0l.c: Define y0l as well.
4741 * sysdeps/stub/e_j1l.c: Define y1l as well.
4742 * sysdeps/stub/e_jnl.c: Define ynl as well.
831372e7 4743
edf66db1 4744 * posix/unistd.h: Correct prototype for execlp.
831372e7 4745
edf66db1 4746 * sysdeps/unix/sysv/linux/posix_opt.h: Define _POSIX_NO_TRUNC.
831372e7 4747
edf66db1 4748Mon Oct 7 22:18:03 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
831372e7 4749
edf66db1
SP
4750 * Makeconfig (sysdep-library-path): New variable.
4751 (built-program-cmd): Use it here to properly build a colon
4752 separated library path.
831372e7 4753
edf66db1 4754Mon Oct 7 22:11:55 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
831372e7 4755
edf66db1
SP
4756 * crypt/md5-crypt.c (md5_crypt_r): Add missing parens around &
4757 within comparison. Fix comments.
4758 (md5_crypt): Fix comment.
831372e7 4759
edf66db1 4760Tue Oct 8 05:10:49 1996 Ulrich Drepper <drepper@cygnus.com>
831372e7 4761
edf66db1
SP
4762 * sysdeps/unix/sysv/linux/errnos.h: Only include <linux/errnos.h>
4763 when _ERRNO_H is defined.
4764 [!_ERRNO_H && __need_Emath]: Define value for EDOM and ERANGE.
4765 Should there ever be a Linux port where the numeric values are
4766 not 33 and 34 this file must change.
831372e7 4767
edf66db1 4768Mon Oct 7 13:54:04 1996 Ulrich Drepper <drepper@cygnus.com>
831372e7 4769
edf66db1
SP
4770 * libio/iofgets.c (_IO_fgets): Use _IO_flockfile instead of
4771 __flockfile.
831372e7 4772
edf66db1 4773Mon Oct 7 11:01:45 1996 Andreas Jaeger <aj@arthur.pfalz.de>
831372e7 4774
edf66db1
SP
4775 * string/tst-strlen.c (main): Provide prototype.
4776 * malloc/mallocbug.c: Likewise.
4777 * io/test-utime.c: Likewise.
831372e7 4778
edf66db1 4779 * sysdeps/generic/crypt-entry.c: Correct typo.
831372e7 4780
edf66db1 4781Mon Oct 7 13:42:20 1996 Ulrich Drepper <drepper@cygnus.com>
831372e7 4782
edf66db1
SP
4783 * elf/dl-open.c (_dl_open): Check against _dl_sysdep_start to
4784 test for libc.a. Checking _DYNAMIC is of no worth here.
4785 Suggested by Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>.
831372e7 4786
edf66db1
SP
4787 * nss/nss_files/files-parse.c: Define LOOKUP_NAME even if
4788 EXTERN_PARSER is defined.
831372e7 4789
edf66db1 4790Sat Oct 5 17:05:36 1996 Andreas Jaeger <aj@arthur.pfalz.de>
831372e7 4791
edf66db1 4792 * Rules (dep-dummy-lib): Correct prototype for __dummy__.
831372e7 4793
edf66db1 4794 * crypt/md5-crypt.c: Fix typos in comments.
831372e7 4795
edf66db1
SP
4796 * gmon/gmon.c: Provide prototypes.
4797 * db/makedb.c: Likewise.
4798 * locale/programs/xmalloc.c: Likewise.
4799 * stdio-common/bug11.c (main): Likewise.
4800 * stdio-common/bug7.c (main): Likewise.
4801 * stdio-common/bug8.c (main): Likewise.
4802 * stdio-common/bug9.c (main): Likewise.
4803 * stdio-common/scanf1.c (main): Likewise.
4804 * stdio-common/scanf2.c (main): Likewise.
4805 * stdio-common/scanf5.c (main): Likewise.
4806 * stdio-common/scanf6.c (main): Likewise.
4807 * stdio-common/scanf7.c (main): Likewise.
4808 * stdio-common/scanf8.c (main): Likewise.
4809 * stdio-common/temptest.c (main): Likewise.
4810 * stdio-common/test-fwrite.c (main): Likewise.
4811 * stdio-common/tst-printf.c: Likewise.
4812 * stdio-common/tstdiomisc.c: Likewise.
4813 * stdio-common/tstgetln.c (main): Likewise.
4814 * stdlib/testmb.c (main): Likewise.
831372e7 4815
edf66db1
SP
4816 * stdio-common/scanf4.c (main): Correct prototype, remove unused
4817 variable n.
831372e7 4818
edf66db1
SP
4819 * stdio-common/scanf3.c (main): Correct prototype, change
4820 declaration of s to reduce warnings.
4821 * stdio-common/bug10.c (main): Likewise.
831372e7 4822
edf66db1
SP
4823 * stdio-common/tfformat.c: Provide prototype, remove unused
4824 reference to dump_stats, add braces in sprint_doubles.
4825 * stdio-common/tiformat.c: Likewise.
831372e7 4826
edf66db1
SP
4827 * stdio-common/test_rdwr.c (main): Parameter `where' is long in
4828 printf call.
831372e7 4829
edf66db1 4830Mon Oct 7 14:04:26 1996 NIIBE Yutaka <gniibe@mri.co.jp>
831372e7 4831
edf66db1 4832 * sysdeps/unix/sysv/linux/sys/soundcard.h: Fix typo.
831372e7 4833
edf66db1 4834 * shadow/putspent.c: Don't write colon after flag field.
831372e7 4835
edf66db1
SP
4836 * sysdeps/unix/sysv/linux/net/if_ppp.h: New file. Wrapper around
4837 kernel header.
4838 * sysdeps/unix/sysv/linux/net/ppp-comp.h: Likewise.
4839 * sysdeps/unix/sysv/linux/net/ppp_defs.h: Likewise.
4840 * sysdeps/unix/sysv/linux/Dist: Mention new files.
831372e7 4841
edf66db1 4842Mon Oct 7 00:58:19 1996 Ulrich Drepper <drepper@cygnus.com>
831372e7 4843
edf66db1
SP
4844 * sysdeps/i386/i586/strchr.S: Correct handling of first bytes to
4845 get pointer aligned. Reported by Matthias Urlichs <smurf@noris.de>.
831372e7 4846
edf66db1
SP
4847 * sysdeps/posix/euidaccess.c [_LIBC]: Avoid calling get?id functions
4848 by using __libc_enable_secure variable.
831372e7 4849
edf66db1 4850Tue Oct 8 13:58:31 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
831372e7 4851
edf66db1
SP
4852 * hurd/ports-get.c (_hurd_ports_get): If the requested port is
4853 null, don't attempt mach_port_mod_refs.
831372e7 4854
edf66db1 4855Mon Oct 7 14:51:52 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
831372e7 4856
edf66db1
SP
4857 * sysdeps/mach/hurd/pipestream.c: New file to avoid use of
4858 sysdeps/unix/pipestream.c.
831372e7 4859
edf66db1
SP
4860 * sysdeps/mach/hurd/readdir_r.c: New file, guts copied entirely
4861 from sysdeps/mach/hurd/readdir.c.
831372e7 4862
edf66db1
SP
4863 * stdio/freopen.c: Complete de-ansideclification.
4864 * stdio/fgets.c (fgets): Likewise.
4865 * stdio/getdelim.c (__getdelim): Likewise.
4866 * sysdeps/posix/pipestream.c (readdecl, writedecl, seekdecl,
4867 popen):
4868 Likewise.
4869 * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
4870 * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
4871
4872 * sysdeps/mach/hurd/wait4.c (__wait4): Allow a null value for
4873 STAT_LOC without error.
4874
4875Sun Oct 6 02:05:52 1996 Ulrich Drepper <drepper@cygnus.com>
4876
4877 * posix/getopt.c: Add casts to prevent warnings.
4878 * posix/regex.c: Likewise.
4879
4880 * math/Makefile (long-m-routines, long-m-yes): Define to correct
4881 values to make `long double' functions available.
4882 (distribute): Add $(long-m-yes:=.c).
4883
4884 * sysdeps/libm-i387/s_copysignl.S: Correct loading of return value.
4885 Use long double instruction.
4886
4887 * sysdeps/libm-ieee754/e_atanhl.c (huge): Correct constant.
4888 * sysdeps/libm-ieee754/e_asinhl.c: Likewise.
4889 * sysdeps/libm-ieee754/s_tanhl.c: Likewise.
4890
4891 * sysdeps/libm-ieee754/e_coshl.c: New file.
4892
4893 * sysdeps/libm-ieee754/s_asinh.c [!NO_LONG_DOUBLE]: Define names
4894 for `long double' version as alias.
4895 * sysdeps/libm-ieee754/s_atan.c: Likewise.
4896 * sysdeps/libm-ieee754/s_cbrt.c: Likewise.
4897 * sysdeps/libm-ieee754/s_ceil.c: Likewise.
4898 * sysdeps/libm-ieee754/s_copysign.c: Likewise.
4899 * sysdeps/libm-ieee754/s_cos.c: Likewise.
4900 * sysdeps/libm-ieee754/s_erf.c: Likewise.
4901 * sysdeps/libm-ieee754/s_expm1.c: Likewise.
4902 * sysdeps/libm-ieee754/s_fabs.c: Likewise.
4903 * sysdeps/libm-ieee754/s_finite.c: Likewise.
4904 * sysdeps/libm-ieee754/s_floor.c: Likewise.
4905 * sysdeps/libm-ieee754/s_frexp.c: Likewise.
4906 * sysdeps/libm-ieee754/s_ilogb.c: Likewise.
4907 * sysdeps/libm-ieee754/s_ldexp.c: Likewise.
4908 * sysdeps/libm-ieee754/s_log1p.c: Likewise.
4909 * sysdeps/libm-ieee754/s_logb.c: Likewise.
4910 * sysdeps/libm-ieee754/s_modf.c: Likewise.
4911 * sysdeps/libm-ieee754/s_nextafter.c: Likewise.
4912 * sysdeps/libm-ieee754/s_rint.c: Likewise.
4913 * sysdeps/libm-ieee754/s_scalbn.c: Likewise.
4914 * sysdeps/libm-ieee754/s_significand.c: Likewise.
4915 * sysdeps/libm-ieee754/s_sin.c: Likewise.
4916 * sysdeps/libm-ieee754/s_tan.c: Likewise.
4917 * sysdeps/libm-ieee754/s_tanh.c: Likewise.
4918 * sysdeps/libm-ieee754/w_acos.c: Likewise.
4919 * sysdeps/libm-ieee754/w_acosh.c: Likewise.
4920 * sysdeps/libm-ieee754/w_sin.c: Likewise.
4921 * sysdeps/libm-ieee754/w_atan2.c: Likewise.
4922 * sysdeps/libm-ieee754/w_atanh.c: Likewise.
4923 * sysdeps/libm-ieee754/w_cabs.c: Likewise.
4924 * sysdeps/libm-ieee754/w_cosh.c: Likewise.
4925 * sysdeps/libm-ieee754/w_drem.c: Likewise.
4926 * sysdeps/libm-ieee754/w_exp.c: Likewise.
4927 * sysdeps/libm-ieee754/w_fmod.c: Likewise.
4928 * sysdeps/libm-ieee754/w_gamma.c: Likewise.
4929 * sysdeps/libm-ieee754/w_gamma_r.c: Likewise.
4930 * sysdeps/libm-ieee754/w_hypot.c: Likewise.
4931 * sysdeps/libm-ieee754/w_j0.c: Likewise.
4932 * sysdeps/libm-ieee754/w_j1.c: Likewise.
4933 * sysdeps/libm-ieee754/w_jn.c: Likewise.
4934 * sysdeps/libm-ieee754/w_lgamma.c: Likewise.
4935 * sysdeps/libm-ieee754/w_lgamma_r.c: Likewise.
4936 * sysdeps/libm-ieee754/w_log.c: Likewise.
4937 * sysdeps/libm-ieee754/w_log10.c: Likewise.
4938 * sysdeps/libm-ieee754/w_pow.c: Likewise.
4939 * sysdeps/libm-ieee754/w_remainder.c: Likewise.
4940 * sysdeps/libm-ieee754/w_scalb.c: Likewise.
4941 * sysdeps/libm-ieee754/w_sinh.c: Likewise.
4942 * sysdeps/libm-ieee754/w_sqrt.c: Likewise.
4943
4944 Stub files for missing long double math functions.
4945 * sysdeps/stub/e_acoshl.c: New file.
4946 * sysdeps/stub/e_hypotl.c: New file.
4947 * sysdeps/stub/e_j0l.c: New file.
4948 * sysdeps/stub/e_j1l.c: New file.
4949 * sysdeps/stub/e_jnl.c: New file.
4950 * sysdeps/stub/e_lgammal_r.c: New file.
4951 * sysdeps/stub/e_powl.c: New file.
4952 * sysdeps/stub/e_rem_pio2l.c: New file.
4953 * sysdeps/stub/e_sinhl.c: New file.
4954 * sysdeps/stub/k_cosl.c: New file.
4955 * sysdeps/stub/k_rem_pio2l.c: New file.
4956 * sysdeps/stub/k_sinl.c: New file.
4957 * sysdeps/stub/k_tanl.c: New file.
4958 * sysdeps/stub/s_erfl.c: New file.
4959 * sysdeps/stub/s_expm1l.c: New file.
4960
4961 * sysdeps/i386/__longjmp.S: Use PSEUDO_END macro to provide
4962 .size directive.
4963 * sysdeps/i386/bsd-_setjmp.S: Likewise.
4964 * sysdeps/i386/bsd-setjmp.S: Likewise.
4965 * sysdeps/i386/memchr.S: Likewise.
4966 * sysdeps/i386/memcmp.S: Likewise.
4967 * sysdeps/i386/setjmp.S: Likewise.
4968 * sysdeps/i386/stpcpy.S: Likewise.
4969 * sysdeps/i386/stpncpy.S: Likewise.
4970 * sysdeps/i386/strchr.S: Likewise.
4971 * sysdeps/i386/strcspn.S: Likewise.
4972 * sysdeps/i386/strpbrk.S: Likewise.
4973 * sysdeps/i386/strrchr.S: Likewise.
4974 * sysdeps/i386/strspn.S: Likewise.
4975 * sysdeps/i386/strtok.S: Likewise.
4976 * sysdeps/i386/i486/strcat.S: Likewise.
4977 * sysdeps/i386/i486/strlen.S: Likewise.
4978 * sysdeps/i386/i586/memset.S: Likewise.
4979 * sysdeps/i386/i586/strchr.S: Likewise.
4980 * sysdeps/i386/i586/strlen.S: Likewise.
4981 * sysdeps/libm-i387/e_acos.S: Likewise.
4982 * sysdeps/libm-i387/e_acosl.S: Likewise.
4983 * sysdeps/libm-i387/e_asin.S: Likewise.
4984 * sysdeps/libm-i387/e_asinl.S: Likewise.
4985 * sysdeps/libm-i387/e_atan2.S: Likewise.
4986 * sysdeps/libm-i387/e_atan2l.S: Likewise.
4987 * sysdeps/libm-i387/e_exp.S: Likewise.
4988 * sysdeps/libm-i387/e_expl.S: Likewise.
4989 * sysdeps/libm-i387/e_fmod.S: Likewise.
4990 * sysdeps/libm-i387/e_fmodl.S: Likewise.
4991 * sysdeps/libm-i387/e_log.S: Likewise.
4992 * sysdeps/libm-i387/e_log10.S: Likewise.
4993 * sysdeps/libm-i387/e_log10l.S: Likewise.
4994 * sysdeps/libm-i387/e_logl.S: Likewise.
4995 * sysdeps/libm-i387/e_remainder.S: Likewise.
4996 * sysdeps/libm-i387/e_remainderf.S: Likewise.
4997 * sysdeps/libm-i387/e_remainderl.S: Likewise.
4998 * sysdeps/libm-i387/e_scalb.S: Likewise.
4999 * sysdeps/libm-i387/e_scalbl.S: Likewise.
5000 * sysdeps/libm-i387/e_sqrt.S: Likewise.
5001 * sysdeps/libm-i387/e_sqrtf.S: Likewise.
5002 * sysdeps/libm-i387/e_sqrtl.S: Likewise.
5003 * sysdeps/libm-i387/s_atan.S: Likewise.
5004 * sysdeps/libm-i387/s_atanf.S: Likewise.
5005 * sysdeps/libm-i387/s_atanl.S: Likewise.
5006 * sysdeps/libm-i387/s_ceil.S: Likewise.
5007 * sysdeps/libm-i387/s_ceilf.S: Likewise.
5008 * sysdeps/libm-i387/s_ceill.S: Likewise.
5009 * sysdeps/libm-i387/s_copysign.S: Likewise.
5010 * sysdeps/libm-i387/s_copysignf.S: Likewise.
5011 * sysdeps/libm-i387/s_copysignl.S: Likewise.
5012 * sysdeps/libm-i387/s_cos.S: Likewise.
5013 * sysdeps/libm-i387/s_cosf.S: Likewise.
5014 * sysdeps/libm-i387/s_cosl.S: Likewise.
5015 * sysdeps/libm-i387/s_finite.S: Likewise.
5016 * sysdeps/libm-i387/s_finitef.S: Likewise.
5017 * sysdeps/libm-i387/s_finitel.S: Likewise.
5018 * sysdeps/libm-i387/s_floor.S: Likewise.
5019 * sysdeps/libm-i387/s_floorf.S: Likewise.
5020 * sysdeps/libm-i387/s_floorl.S: Likewise.
5021 * sysdeps/libm-i387/s_ilogb.S: Likewise.
5022 * sysdeps/libm-i387/s_ilogbf.S: Likewise.
5023 * sysdeps/libm-i387/s_ilogbl.S: Likewise.
5024 * sysdeps/libm-i387/s_log1p.S: Likewise.
5025 * sysdeps/libm-i387/s_log1pf.S: Likewise.
5026 * sysdeps/libm-i387/s_log1pl.S: Likewise.
5027 * sysdeps/libm-i387/s_logb.S: Likewise.
5028 * sysdeps/libm-i387/s_logbf.S: Likewise.
5029 * sysdeps/libm-i387/s_logbl.S: Likewise.
5030 * sysdeps/libm-i387/s_rint.S: Likewise.
5031 * sysdeps/libm-i387/s_rintf.S: Likewise.
5032 * sysdeps/libm-i387/s_rintl.S: Likewise.
5033 * sysdeps/libm-i387/s_scalbn.S: Likewise.
5034 * sysdeps/libm-i387/s_scalbnf.S: Likewise.
5035 * sysdeps/libm-i387/s_scalbnl.S: Likewise.
5036 * sysdeps/libm-i387/s_significand.S: Likewise.
5037 * sysdeps/libm-i387/s_significandf.S: Likewise.
5038 * sysdeps/libm-i387/s_significandl.S: Likewise.
5039 * sysdeps/libm-i387/s_sin.S: Likewise.
5040 * sysdeps/libm-i387/s_sinf.S: Likewise.
5041 * sysdeps/libm-i387/s_sinl.S: Likewise.
5042 * sysdeps/libm-i387/s_tan.S: Likewise.
5043 * sysdeps/libm-i387/s_tanf.S: Likewise.
5044 * sysdeps/libm-i387/s_tanl.S: Likewise.
5045
5046 * sysdeps/unix/sysv/linux/i386/clone.S: Add .size directive.
5047 * sysdeps/unix/sysv/linux/i386/mmap.S. Likewise.
5048 * sysdeps/unix/sysv/linux/i386/socket.S. Likewise.
5049 * sysdeps/unix/sysv/linux/i386/sysdep.S. More compact .size line.
5050
5051 * sysdeps/i386/sysdep.h (ASM_SIZE_DIRECTIVE): New macro. Used
5052 to provide .size directive on ELF systems.
5053
5054 * sysdeps/unix/sysv/linux/i386/profil-counter.h: Include
5055 <sigcontext.h> and rename parameter type to sigcontext.
5056 * sysdeps/unix/sysv/linux/i386/sigcontext.h New file.
5057
5058 * sysdeps/unix/sysv/linux/i386/syscall.S: From Linux 2.1 on
5059 negative values might occur as positive results. Test against
5060 -125 to decide for error or not.
5061 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise for system calls.
5062
5063Thu Oct 3 21:07:58 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5064
5065 * elf/dl-open.c: Use _DYNAMIC instead of _dl_start to decide
5066 whether this is a statically linked program. The latter is now
5067 always defined.
5068
5069Fri Oct 4 17:30:22 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
5070
5071 * hurd/hurdsig.c (signal_allowed): Add SIGWINCH to the list that
5072 controlling terminals are allowed to send.
5073
5074 * hurd/alloc-fd.c (_hurd_alloc_fd): If SIZE is so big that the
5075 table is larger than the allowable address size, then return
5076 failure.
5077
5078Fri Oct 4 02:08:10 1996 Bang Jun-Young <bangjy@nownuri.nowcom.co.kr>
5079
5080 * po/ko.po: Update.
5081
5082Fri Oct 4 02:07:46 1996 Michel Robitaille <robitail@IRO.UMontreal.CA>
5083
5084 * po/fr.po: New file.
5085
5086Fri Oct 4 05:04:52 1996 Ulrich Drepper <drepper@cygnus.com>
5087
5088 * sysdeps/unix/sysv/linux/i386/sigcontext.h: New file.
5089
5090 Add support for MD5 crypt replacement.
5091 * Makefile (subdirs): Add crypt.
5092 * shlib-versions: Add entry for libcrypt.
5093 * crypt/md5-crypt.c: New file.
5094 * crypt/md5.c: New file.
5095 * crypt/md5.h: New file.
5096 * sysdeps/generic/crypt-entry.c: New file.
5097 * sysdeps/generic/crypt.h: New file.
5098
5099Thu Oct 3 20:53:23 1996 Andreas Jaeger <aj@arthur.pfalz.de>
5100
5101 * dirent/tst-seekdir.c: Provide correct prototypes.
5102 * io/test-utime.c: Likewise.
5103 * malloc/mallocbug.c: Likewise.
5104 * posix/testfnm.c: Likewise.
5105 * stdio-common/xbug.c: Likewise.
5106 * sysdeps/posix/cuserid.c: Likewise.
5107
5108Wed Oct 2 13:33:48 1996 Richard Henderson <rth@tamu.edu>
5109
5110 Provide optimized string functions for Alpha processors.
5111 * sysdeps/alpha/bzero.S: New file.
5112 * sysdeps/alpha/memset.S: New file.
5113 * sysdeps/alpha/stpcpy.S: New file.
5114 * sysdeps/alpha/stpncpy.S: New file.
5115 * sysdeps/alpha/strcat.S: New file.
5116 * sysdeps/alpha/strchr.S: New file.
5117 * sysdeps/alpha/strcpy.S: New file.
5118 * sysdeps/alpha/strncat.S: New file.
5119 * sysdeps/alpha/strncpy.S: New file.
5120 * sysdeps/alpha/strrchr.S: New file.
5121 * sysdeps/alpha/stxcpy.S: New file.
5122 * sysdeps/alpha/stxncpy.S: New file.
5123
5124 * sysdeps/alpha/Makefile [$(sudir)==string]: Add stxcpy and
5125 stxncpy to sysdep_routines.
5126 Minor correction.
831372e7 5127
edf66db1 5128Thu Oct 3 13:33:31 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
831372e7 5129
edf66db1
SP
5130 * sysdeps/generic/gnu/types.h: Added __loff_t.
5131 Don't declare key_t here.
831372e7 5132
edf66db1
SP
5133 * hurd/alloc-fd.c (_hurd_alloc_fd): If realloc fails, bother to
5134 set errno (to ENOMEM).
831372e7 5135
edf66db1 5136Wed Oct 2 13:41:48 1996 Ulrich Drepper <drepper@cygnus.com>
831372e7 5137
edf66db1
SP
5138 * sysdeps/generic/strtok.c: Don't set stored pointer to NULL when
5139 nothing is found. This guarantees all subsequent calls behave
5140 the same.
5141 * sysdeps/generic/strtok_r.c: Likewise.
831372e7 5142
edf66db1 5143Mon Sep 30 22:27:36 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
831372e7 5144
edf66db1
SP
5145 * sysdeps/posix/tempname.c (__stdio_gen_tempname): Don't declare
5146 `i' as const.
831372e7 5147
edf66db1 5148Mon Sep 30 22:38:29 1996 Richard Henderson <rth@tamu.edu>
831372e7 5149
edf66db1
SP
5150 * sysdeps/generic/strtok.c: When we hit EOS, don't set olds to
5151 NULL immediately; we're going to get called one more time.
5152 * sysdeps/generic/strtok_r.c: Likewise.
831372e7 5153
edf66db1 5154Tue Oct 1 09:12:21 1996 Ulrich Drepper <drepper@cygnus.com>
831372e7 5155
edf66db1
SP
5156 * locale/programs/ld-time.c: Always write some bytes at the end of
5157 the file even if no `era's are specified.
831372e7 5158
edf66db1
SP
5159 * stdio-common/tmpname.c (tmpbuf): Don't define as array of
5160 pointers.
831372e7 5161
edf66db1 5162Tue Oct 1 01:43:11 1996 Ulrich Drepper <drepper@cygnus.com>
831372e7 5163
edf66db1 5164 * libio/iofclose.c: Move unlocking to right position.
831372e7 5165
edf66db1 5166Mon Sep 30 03:08:34 1996 Richard Henderson <rth@tamu.edu>
831372e7 5167
edf66db1
SP
5168 * misc/Makefile: Kill force-wrapper.
5169 * misc/force-wrapper.c: Delete.
831372e7 5170
edf66db1 5171 * elf/eval.c: Add <string.h>.
831372e7 5172
edf66db1
SP
5173 * gmon/sys/gmon_out.h: Nonsense like `char foo[sizeof(char*)]'
5174 followed by `bcopy(&ptr, &foo, sizeof(foo))' helps portability
5175 and binary compatibility not at all. Better to do `char *foo'
5176 followed by `foo = ptr' as it is much cleaner.
5177 (struct gmon_hdr): Fix version.
5178 (struct gmon_hist_hdr): Fix low_pc, high_pc, hist_size, prof_rate.
5179 (struct gmon_cg_arc_record): Fix from_pc, self_pc, count.
5180 * gmon/gmon.c: De-ansidecl-ify.
5181 (write_hist): De-bcopy-fy.
5182 (write_call_graph): Likewise.
831372e7 5183
edf66db1
SP
5184 * gmon/mcount.c: Assume _MCOUNT_DECL does the entire declaration.
5185 * sysdeps/alpha/machine-gmon.h: Update _MCOUNT_DECL.
5186 * sysdeps/generic/machine-gmon.h: Likewise.
831372e7 5187
edf66db1
SP
5188 * resolv/netdb.h: Add __set_h_errno to mimic __set_errno.
5189 * nss/getXXent_r.c: Use __set_h_errno to set h_errno in all funcs.
5190 * nss/nss_dns/dns-network.c: Likewise.
5191 * resolv/getunamaddr.c: Likewise. Also use __set_errno where needed.
5192 * resolv/getnetnamadr.c: Likewise.
5193 * resolv/res_debug.c: Likewise.
5194 * resolv/res_mkquery.c: Likewise.
5195 * resolv/res_query.c: Likewise.
831372e7 5196
edf66db1
SP
5197 * libio/clearerr_u.c: It's not necessary to define __ protected
5198 function so don't do it.
5199 * libio/feof_u.c, libio/ferror_u.c, libio/fputc_u.c,
5200 libio/getc_u.c, libio/getchar_u.c, libio/iofflush_u.c: Likewise.
5201
5202 * libio/fgetc.c: Avoid a warning by casting _IO_funlockfile for
5203 the cleanup registrar.
5204 * libio/fputc.c, libio/freopen.c, libio/fseek.c, libio/getc.c,
5205 libio/getchar.c, libio/iofclose.c, libio/iofflush.c,
5206 libio/iofgetpos.c, libio/iofgets.c, libio/iofputs.c,
5207 libio/iofread.c, libio/iofsetpos.c, libio/ioftell.c,
5208 libio/iofwrite.c, libio/iogetdelim.c, libio/iogets.c,
5209 libio/ioputs.c, libio/iosetbuffer.c, libio/iosetvbuf.c,
5210 libio/ioungetc.c, libio/putc.c, libio/putchar.c, libio/rewind.c:
5211 Likewise.
831372e7 5212
edf66db1 5213 * locale/programs/ld-ctype.c: Include <alloca.h>.
831372e7 5214
edf66db1 5215 * login/login_tty.c: Get login_tty prototype from <utmp.h>.
831372e7 5216
edf66db1
SP
5217 * posix/sys/types.h: Change #defines to typedefs. This is looking
5218 forward to more comprehensive namespace cleanups for C++.
5219 * posix/unistd.h: Likewise for ssize_t.
831372e7 5220
edf66db1
SP
5221 * pwd/getpw.c: Prototype and rename getpw -> __getpw and add a
5222 weak alias.
831372e7 5223
edf66db1
SP
5224 * resolv/base64.c: Don't do `for (NULL; ...)' as it causes
5225 `statement with no effect' warnings.
5226 * resolv/inet_neta.c: Include <string.h> for strlen.
831372e7 5227
edf66db1
SP
5228 * stdio-common/getline.c: Undef ssize_t before libio redefinition.
5229 * stdio-common/tstgetln.c: Same. De-ansidecl-ify.
5230 * stdio-common/vfprintf.c: Same for va_list.
5231 * stdio-common/vfscanf.c: Same.
5232 * stdio-common/reg-printf.c: Prototype the __ function.
5233 * stdio-common/scanf.c [USE_IN_LIBIO]: Include <libioP.h> for
5234 _IO_vscanf declaration.
831372e7 5235
edf66db1
SP
5236 * string/tester.c: Tsk, tsk. Don't cast pointers to int,
5237 but to unsigned long for the health of 64-bit systems.
831372e7 5238
edf66db1
SP
5239 * sunrpc/svc_udp.c: Define MAX only if we don't have it yet.
5240 Many system's <sys/param.h> pulls this in.
831372e7 5241
edf66db1
SP
5242 * sysdeps/generic/dl-cache.c: Kill the bottom half of the
5243 patch doubled file.
831372e7 5244
edf66db1
SP
5245 * sysdeps/generic/pty.c (forkpty): Get login_tty decl from <utmp.h>
5246 instead of defining it locally.
831372e7 5247
edf66db1
SP
5248 * sysdeps/posix/sigvec.c: Prototype wrapper_handler and convert_mask.
5249 * sysdeps/stub/chflags.c: Prototype chflags.
5250 * sysdeps/stub/fchflags.c: Prototype fchflags.
5251 * sysdeps/stub/sstk.c: Prototype sstk.
831372e7 5252
edf66db1
SP
5253 * sysdeps/unix/alpha/sysdep.S: Add strong alias from errno
5254 variable to __errno. Update __syscall_error to store to both
5255 the global and per-thread variables.
831372e7 5256
edf66db1
SP
5257 * sysdeps/unix/sysv/linux/init-first.c: Change include of
5258 init-first.h from "" to <> as "" does not search the include path.
5259 Prototype _dl_start.
831372e7 5260
edf66db1 5261Sun Sep 29 14:41:17 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
831372e7 5262
edf66db1
SP
5263 * sysdeps/unix/Makefile ($(common-objpfx)s-proto.d): Make it a
5264 pattern rule to get the right stem.
831372e7 5265
edf66db1 5266Sat Sep 28 01:30:06 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
831372e7 5267
edf66db1 5268 * Makefile ($(objpfx)version-info.h): Fix typo in previous change.
831372e7 5269
edf66db1 5270Sat Sep 28 00:44:38 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
831372e7 5271
edf66db1 5272 * sysdeps/posix/euidaccess.c (__set_errno): Fix typo.
831372e7 5273
edf66db1 5274Sat Sep 28 00:40:38 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
831372e7 5275
edf66db1
SP
5276 * malloc/free.c (_free_internal): Don't call free recursively, use
5277 the internal functions instead.
831372e7 5278
edf66db1 5279Sat Sep 28 00:23:20 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
831372e7 5280
edf66db1
SP
5281 * sysdeps/posix/tempname.c (__stdio_gen_tempname) [USE_IN_LIBIO &&
5282 _IO_MTSAFE_IO]: Allocate and initialize the file lock.
831372e7 5283
edf66db1 5284Fri Sep 27 23:58:17 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
831372e7 5285
edf66db1
SP
5286 * catgets/gencat.c (main): Print version information on stdout,
5287 not stderr.
5288 * db/makedb.c: Likewise.
5289 * locale/programs/locale.c: Likewise.
5290 * locale/programs/localedef.c: Likewise.
831372e7 5291
edf66db1 5292Mon Sep 30 00:14:26 1996 Ulrich Drepper <drepper@cygnus.com>
831372e7 5293
edf66db1
SP
5294 Add implementation of netgroup.
5295 * inet/Makefile (distributes): Add netgroup.h.
5296 (routines): Add getnetgrent.c and getnetgrent_r.c.
5297 * inet/getnetgrent.c: New file.
5298 * inet/getnetgrent_r.c: New file.
5299 * inet/netgroup.h: New file.
5300 * netgroup.h: New file.
5301 * nsswitch.h: New file.
5302 * nss/Makefile (databases): Add getgrp.
5303 * nss/databases.def: Add netgroup.
5304 * nss/db-Makefile: Add rules for netgroup.
5305 * nss/netgrp-lookup.c: New file.
5306 * nss/nss.h: Add new status value NSS_STATUS_RETURN which will
5307 always return without a check of the transition table.
5308 * nss/nsswitch.h (struct service_user): Extend actions array to
5309 five elements.
5310 * nss/nsswitch.c (__nss_next): Allow NSS_STATUS_RETURN as legal
5311 status value.
5312 (nss_parse_service_list): Initialize action for NSS_STATUS_RETURN
5313 to NSS_ACTION_RETURN.
5314 * nss/nss_db/db-netgrp.c: New file.
5315 * nss/nss_files/files-netgrp.c: New file.
5316 * nss/nsswitch.conf: Add entry for netgroup.
5317 * resolv/netdb.h: Add prototypes for netgroup functions.
831372e7 5318
edf66db1
SP
5319 * nss/nss_db/db-XXX.c: Use `enum nss_status' type when status
5320 value is used.
831372e7 5321
edf66db1 5322Sun Sep 29 12:55:58 1996 Ulrich Drepper <drepper@cygnus.com>
831372e7 5323
edf66db1
SP
5324 * sysdeps/unix/sysv/linux/syscalls.list: Change function name for
5325 _llseek to _llseek (not llseek).
5326 Reported by Matthias Urlichs <smurf@smurf.noris.de>.
831372e7 5327
edf66db1 5328Sun Sep 29 05:34:32 1996 Ulrich Drepper <drepper@cygnus.com>
831372e7 5329
edf66db1 5330 * inet/rcmd.c: Remove definition of MIN.
831372e7 5331
edf66db1 5332Sat Sep 28 14:22:51 1996 Ulrich Drepper <drepper@cygnus.com>
831372e7 5333
edf66db1
SP
5334 * dirent/readdir_r.c: Removed. We indeed need a real implementation.
5335 * sysdeps/unix/readdir_r.c: New file.
5336 * sysdeps/unix/readdir.c: Remove check for correct parameter
5337 values. Let them simply die.
5338 * manual/filesys.texi: Document readdir_r.
831372e7 5339
edf66db1
SP
5340 * sysdeps/gnu/errlist.awk: Define _sys_errlist as `const char* const'.
5341 Proposed by Per Abrahamsen <abraham@dina.kvl.dk>.
831372e7 5342
edf66db1 5343Sat Sep 28 03:02:49 1996 Ulrich Drepper <drepper@cygnus.com>
831372e7 5344
edf66db1
SP
5345 * dirent/Makefile (routines): Add readdir_r.
5346 * dirent/readdir_r.c: New file. Wrapper around readdir.c.
5347 * dirent/dirent.h: Add prototype for readdir_r.
831372e7 5348
edf66db1
SP
5349 * misc/hsearch_r.c (ENTRY): Make field `used' of type `unsigned int'
5350 to prevent warnings.
831372e7 5351
edf66db1
SP
5352 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path):
5353 Initialize `result'.
831372e7 5354
edf66db1 5355Sat Sep 28 01:16:42 1996 Ulrich Drepper <drepper@cygnus.com>
831372e7 5356
edf66db1
SP
5357 * sysdeps/generic/strsep.c: Rename to __strsep and make strsep
5358 weak alias.
5359 * string/string.h: Add prototype for __strsep.
5360 * misc/mntent_r.c: Use __strsep instead of strsep to keep
5361 namespace clean.
831372e7 5362
edf66db1
SP
5363 * sysdeps/stub/nanosleep.c: Rename to __libc_nanosleep and make
5364 __nanosleep and nanosleep weak aliases.
5365 * sysdeps/unix/sysv/linux/syscalls.list: Add __nanosleep as weak
5366 alias.
5367 * sysdeps/unix/sysv/linux/sleep.c: Call __nanosleep instead of
5368 nanosleep to keep namespace clean.
831372e7 5369
edf66db1
SP
5370 * sysdeps/posix/ttyname.c (ttyname): Add cast to prevent warning.
5371 * sysdeps/posix/ttyname_r.c (ttyname_r): Likewise.
5372 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
831372e7 5373
edf66db1
SP
5374 * sysdeps/unix/nlist.c: Use ISO C definition since we don't always
5375 have prototype.
831372e7 5376
edf66db1
SP
5377 * login/Makefile (headers): Add pty.h.
5378 * login/pty.h: New file.
5379 * sysdeps/generic/pty.h: Include <pty.h>.
5380 * login/pututline_r.c: Add cast to prevent warning.
831372e7 5381
edf66db1
SP
5382 * gmon/gmon.c: Add prototype for __profile_frequency.
5383 (monstartup): Add cast to prevent warning.
5384 * sysdeps/generic/prof-freq.c: Change to use ISO C style definition.
831372e7 5385
edf66db1
SP
5386 * locale/programs/ld-time.c (time_output): Write `era' information
5387 in correct order.
831372e7 5388
edf66db1 5389Sat Sep 28 00:11:08 1996 Ulrich Drepper <drepper@cygnus.com>
831372e7 5390
edf66db1
SP
5391 * sysdeps/unix/sysv/linux/syscalls.list: Add weak alias
5392 `adjtimex'.
5393 Set caller for mlock, mlockall, mremap, munlock, and munlockall
5394 to EXTRA.
5395 Reported by Matthias Urlichs <smurf@smurf.noris.de>.
831372e7 5396
edf66db1 53971996-09-27 Paul Eggert <eggert@twinsun.com>
831372e7 5398
edf66db1
SP
5399 * strftime.c (strftime): Output incomplete formats like %E
5400 at end of string.
831372e7 5401
edf66db1 54021996-09-27 Paul Eggert <eggert@twinsun.com>
831372e7 5403
edf66db1
SP
5404 * strftime.c (strftime): Add support for %EC and %Ey.
5405 Fix support for %EY. This uses the new _nl_get_era_entry function.
831372e7 5406
edf66db1 5407Fri Sep 27 14:12:27 1996 Ulrich Drepper <drepper@cygnus.com>
831372e7 5408
edf66db1
SP
5409 Security related patch by Elliot Lee <sopwith@redhat.com> and
5410 David Holland <dholland@eecs.harvard.edu>.
831372e7 5411
edf66db1
SP
5412 * inet/rexec.c (rexec): Increase size of `num' array from 8 to 32.
5413 * inet/ruserpass.c (ruserpass): Don't allow $HOME envvar to not exist.
831372e7 5414
edf66db1
SP
5415 * sysdeps/generic/getenv.c (__secure_getenv): New function. Return
5416 NULL when programs runs with SUID or SGID enabled.
5417 * sysdeps/stub/getenv.c: Make __secure_getenv an alias of getenv.
5418 * stdlib/stdlib.h: Add prototype for __secure_getenv.
831372e7 5419
edf66db1
SP
5420 * locale/setlocale.c: Use __secure_getenv.
5421 * resolv/res_init.c: Likewise.
5422 * resolv/res_query.c: Likewise.
5423 * inet/ruserpass.c: Likewise.
5424 * sysdeps/posix/tempname.c: Likewise.
5425 * malloc/mtrace.c: Likewise.
5426 * catgets/catgets.c: Likewise.
5427
5428 Make temporary file handling functions reentrant.
5429
5430 * stdio-common/tmpnam.c: Rewrite to have own buffer to write
5431 result to. The called __stdio_gen_tempname function must be
5432 thread safe.
5433 * stdio-common/tmpnam_r.c: New file.
5434 * stdio/stdio.h: Add prototype for `tmpnam_r'.
5435 Change prototype for __stdio_gen_tempname.
5436 * stdio/libio.h: Likewise.
5437 * sysdeps/posix/tempname.c: Add new parameters and use them instead
5438 of static buffer.
5439 Don't reset `indeces' when PID changed between calls.
5440 Don't fail for long running programs when index counter once
5441 reached the limit.
5442 * sysdeps/stub/tempname.c: Likewise.
5443 * stdio-common/tempnam.c: Provide local buffer as extra argument
5444 to __stdio_gen_tempname. This makes this function reentrant.
5445 * stdio-common/tmpfile.c: Likewise.
5446 * stdio-common/temptest.c: Provide extra argument to
5447 __stdio_gen_tempname.
5448 * manual/filesys.texi: Describe tmpnam_r and add comments about
5449 reentrancy of the functions.
831372e7 5450
edf66db1 5451 * inet/rcmd.c: Fixed address length handling.
831372e7 5452
edf66db1 5453 * sysdeps/posix/mk-stdiolim.c: Count final \0 byte in L_tmpnam value.
831372e7 5454
edf66db1
SP
5455 * time/strftime.c: Remove unused variables alt_digits and
5456 end_alt_digits.
831372e7 5457
edf66db1
SP
5458 * sysdeps/unix/sysv/linux/sys/sysinfo.h: Correct prototype names
5459 for get_nprocs and get_nprocs_conf.
5460 * sysdeps/generic/sys/sysinfo.h: Likewise.
831372e7 5461
edf66db1 5462 * stdlib/test-canon.c: Finally do the right fix.
831372e7 5463
edf66db1
SP
5464 * misc/Makefile: Only compile force-wrapper when compiling
5465 reentrant libc.
831372e7 5466
edf66db1 5467Fri Sep 27 03:49:56 1996 Ulrich Drepper <drepper@cygnus.com>
831372e7 5468
edf66db1 5469 Add support for cancelable system calls.
831372e7 5470
edf66db1
SP
5471 * csu/initfini.c: Make in crti.o reference to symbol
5472 __libc_force_cancel_wrapper when compiling reentrant version.
5473 * misc/Makefile (routines): Add force-wrapper.
5474 * misc/force-wrapper.c: New file.
831372e7 5475
edf66db1
SP
5476 * posix/system.c: Rename function to __libc_system and make system
5477 a weak alias.
5478 * sysdeps/stub/system.c: Likewise.
5479 * posix/wait.c: Rename function to __libc_wait and make __wait a
5480 weak alias. De-ANSI-fy.
5481 * sysdeps/standalone/read.c: Rename function to __libc_read and
5482 make __read a weak alias.
5483 * sysdeps/stub/read.c: Likewise.
5484 * sysdeps/standalone/write.c: Rename function to __libc_write and
5485 make __write a weak alias.
5486 * sysdeps/stub/write.c: Likewise.
5487 * sysdeps/stub/tcdrain.c: Rename function to __libc_tcdrain and
5488 make tcdrain a weak alias.
5489 * sysdeps/unix/bsd/tcdrain.c: Likewise.
5490 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Likewise.
5491 * sysdeps/unix/sysv/tcdrain.c: Likewise.
5492 * sysdeps/unix/sysv/linux/tcdrain.c: Likewise.
5493 * sysdeps/unix/bsd/bsd4.4/wait.c: Rename function to __libc_wait
5494 and make __wait a weak alias.
5495 * sysdeps/stub/waitpid.c: Rename function to __libc_waitpid and
5496 make __waitpid a weak alias.
5497 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Likewise.
5498 * sysdeps/unix/sysv/linux/waitpid.c: Likewise.
5499 * sysdeps/unix/sysv/sysv4/waitpid.c: Likewise.
5500 * sysdeps/unix/common/pause.c: Rename function to __libc_pause
5501 and make pause a weak alias. De-ANSI-fy.
5502
5503 * sysdeps/unix/syscalls.list: Change name for close, fcntl, fsync,
5504 lseek, open, read, and write to have __libc_ prefix and make old
5505 names a weak alias.
5506 * sysdeps/unix/mman/syscalls.list: Likewise for msync.
5507 * sysdeps/unix/sysv/linux/syscalls.list: Likewise for nanosleep.
5508
5509 * io/creat.c: De-ANSI-fy.
5510
5511 * sysdeps/unix/sysv/linux/syscalls.list: Add pause.
5512
5513Thu Sep 26 19:15:55 1996 Ulrich Drepper <drepper@cygnus.com>
5514
5515 * misc/mntent.h: Add MNTTYPE_* and MNTOPT_* macros.
5516 Reported by Hans Grobler <grobh@nolian.ee.sun.ac.za>.
5517
5518Thu Sep 26 14:40:10 1996 Ulrich Drepper <drepper@cygnus.com>
5519
5520 * sysdeps/posix/pathconf.c: Pass descriptor for just opened file
5521 to fpathconf.
e6855a3b 5522 Reported by Martin von Löwis <martin@mira.isdn.cs.tu-berlin.de>.
edf66db1
SP
5523
5524Thu Sep 26 04:02:43 1996 Ulrich Drepper <drepper@cygnus.com>
5525
5526 * locale/programs/locfile.c (write_locale_data): Allocate room
5527 even for file name for LC_MESSAGES locale.
5528 (locafile_read): `tok_era' must be handled as a string list.
5529 * locale/programs/ld-time.c: Finish correction of handling `era'.
5530 * locale/C-time.c (_nl_C_LC_TIME): Add initializer for new fields.
5531 * locale/categories.def: Add postload function for LC_TIME.
5532 * locale/setlocale.c: Make lock global and rename to
5533 __libc_setlocale_lock.
5534 * locale/localeinfo.h (struct era_entry): New type. Used in strftime.
5535 Add prototypes for _nl_get_era_entry and _nl_get_alt_digit.
5536 * locale/lc-time.c (_nl_postload_time): New function. Initialize
5537 lazy intialization.
5538 (_nl_get_era_entry): New function. Return era entry which corresponds
5539 to given year.
5540 (_nl_get_alt_digit): New function. Return string with alternate
5541 digit representation for given number.
5542
5543 * time/strftime.c (strftime): Use _nl_get_alt_digit to get
5544 string representing alternate digit notation.
5545
5546Wed Sep 25 17:31:55 1996 Ulrich Drepper <drepper@cygnus.com>
5547
5548 * sysdeps/generic/waitstatus.h (union wait): Add w_status field.
5549 Reported by Hans Grobler <grobh@nolian.ee.sun.ac.za>.
5550
5551 * elf/rtld.c (dl_main): Process LD_PRELOAD before loading
5552 ld.so.preload. Suggested by David Engel <david@elo.ods.com>.
5553
5554Wed Sep 25 13:10:57 1996 Ulrich Drepper <drepper@cygnus.com>
5555
5556 * catgets/gencat.c (main): Change --version again because RMS wants
5557 the package name in parentheses.
5558 * db/makedb.c: Likewise.
5559 * locale/programs/locale.c: Likewise.
5560 * locale/programs/localedef.c: Likewise.
5561
5562Tue Sep 24 01:28:05 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5563
5564 * Makefile ($(objpfx)sysd-dirs): Depend on Subdirs files, command
5565 rewritten.
5566 ($(objpfx)version-info.h): Depend on Banner files, command
5567 rewritten.
5568
5569Wed Sep 25 02:44:41 1996 Ulrich Drepper <drepper@cygnus.com>
5570
5571 * sysdeps/unix/sysv/linux/sleep.c: New file. Based on nanosleep.
5572
5573Tue Sep 24 21:46:02 1996 Ulrich Drepper <drepper@cygnus.com>
5574
5575 * shadow/lckpwdf.c (PWD_LOCKFILE): Change to /etc/lock.pwd to be
5576 on the same device as the password file.
5577 * shadow/shadow.h (struct spwd): Change type of numeric fields
5578 to `long int' since there value are days, not seconds.
5579 * shadow/putspent.c: Change casts from time_t to `long int'.
5580 * shadow/sgetspent_r.c (LINE_READER): Likewise.
5581
5582Mon Sep 23 23:05:24 1996 Ulrich Drepper <drepper@cygnus.com>
5583
5584 * sysdeps/unix/sysv/linux/errnos.h: Define __set_errno to make
5585 sure the thread specific variable is set as well as the global
5586 variable.
5587 * sysdeps/mach/hurd/errnos.awk: Define macro for source code
5588 compatibility.
5589 * sysdeps/stub/errnos.h: Likewise.
5590 * sysdeps/unix/bsd/bsd4.4/errnos.h: Likewise.
5591
5592 * shadow/putspent.c: Don't include <errno.h>.
5593
5594 * dirent/scandir.c (scandir): Use __set_errno to set errno
5595 variable.
5596 * elf/dl-load.c (open_path): Likewise.
5597 * inet/rcmd.c (rcmd): Likewise.
5598 (rresvport): Likewise.
5599 * intl/dcgettext.c [!__set_errno]: Define __set_errno.
5600 (DCGETTEXT): Use __set_errno to set errno variable.
5601 * io/fts.c (fts_open): Likewise.
5602 (fts_close): Likewise.
5603 (fts_read): Likewise.
5604 (fts_set): Likewise.
5605 (fts_children): Likewise.
5606 (fts_build): Likewise.
5607 (fts_stat): Likewise.
92c3af3c 5608 * io/ftw.c (ftw_dir): Likewise.
edf66db1
SP
5609 (ftw): Likewise.
5610 * io/getwd.c (getwd): Likewise.
5611 * io/lockf.c (lockf): Likewise.
5612 * libio/libioP.h [EINVAL]: Use __set_errno to define MAYBE_SET_EINVAL.
5613 * libio/iofdopen.c (_IO_fdopen): Use MAYBE_SET_EINVAL to errno.
5614 * libio/iogetdelim.c (_IO_getdelim): Likewise.
5615 * libio/fileops.c (_IO_file_open): Use __set_errno to set errno
5616 variable.
5617 * libio/iofgetpos.c (_IO_fgetpos): Likewise.
5618 * libio/iofsetpos.c (_IO_fsetpos): Likewise.
5619 * libio/ioftell.c (_IO_ftell): Likewise.
5620 * locale/loadlocale.c (_nl_load_locale): Likewise.
5621 * locale/nl_langinfo.c (nl_langinfo): Likewise.
5622 * locale/setlocale.c (ERROR_RETURN): Likewise.
5623 * login/getutid_r (__getutid_r): Likewise.
5624 * login/getutline_r (__getutline_r): Likewise.
5625 * login/login.c (tty_name): Likewise.
5626 * login/oututline_r.c (__pututline_r): Likewise.
5627 * malloc/malloc.c (morecore): Likewise.
5628 * misc/efgcvt_r.c (fcvt_r): Likewise.
5629 * misc/hsearch_r.c (hcreate_r): Likewise.
5630 (hdestroy_r): Likewise.
5631 (hsearch_r): Likewise.
5632 * nss/nsswitch.c (__nss_configure_lookup): Likewise.
5633 * nss/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): Likewise.
5634 (_nss_dns_gethostbyaddr_r): Likewise.
5635 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
5636 * nss/nss_files/files-parse.c (parse_list): Likewise.
5637 * posix/confstr.c (confstr): Likewise. De-ANSI-fy.
5638 * posix/execvp.c (execvp): Likewise.
5639 * posix/glob.c: Define __set_errno.
5640 (glob): Use __set_errno to set errno variable.
5641 (glob_in_dir): Likewise.
5642 * pwd/getpw.c: Likewise. De-ANSI-fy.
5643 * pwd/putpwent.c: Likewise.
5644 * resolv/inet_net_ntop.c: Likewise.
5645 * resolv/inet_net_pton.c: Likewise.
5646 * resolv/inet_neta.c: Likewise.
5647 * resolv/inet_ntop.c: Likewise.
5648 * resolv/inet_pton.c: Likewise.
5649 * resolv/res_query.c (res_search): Likewise.
5650 * resolv/res_send.c (Aerror): Likewise.
5651 (Perror): Likewise.
5652 (res_send): Likewise.
5653 * signal/sigaddset.c: Likewise. De-ANSI-fy.
5654 * signal/sigdelset.c: Likewise.
5655 * signal/sigempty.c: Likewise.
5656 * signal/sigfillset.c: Likewise.
5657 * signal/sigismem.c: Likewise.
5658 * stdio/fclose.c: Likewise.
5659 * stdio/feof.c: Likewise.
5660 * stdio/ferror.c: Likewise.
5661 * stdio/fflush.c: Likewise.
5662 * stdio/fgetc.c: Likewise.
5663 * stdio/fgetpos.c: Likewise.
5664 * stdio/fgets.c: Likewise.
5665 * stdio/fileno.c: Likewise.
5666 * stdio/fmemopen.c: Likewise.
5667 * stdio/fopen.c: Likewise.
5668 * stdio/fputc.c: Likewise.
5669 * stdio/fread.c: Likewise.
5670 * stdio/freopen.c: Likewise.
5671 * stdio/fseek.c: Likewise.
5672 * stdio/fsetpos.c: Likewise.
5673 * stdio/ftell.c: Likewise.
5674 * stdio/fwrite.c: Likewise.
5675 * stdio/getdelim.c: Likewise.
5676 * stdio/gets.c: Likewise.
5677 * stdio/glue.c: Likewise.
5678 * stdio/internals.c: Likewise.
5679 * stdio/memstream.c: Likewise.
5680 * stdio/setvbuf.c: Likewise.
5681 * stdio/ungetc.c: Likewise.
5682 * stdio/vsscanf.c: Likewise.
5683 * stdio-common/reg-printf.c: Likewise.
5684 * stdio-common/vfprintf.c: Likewise.
5685 * stdio-common/vfscanf.c: Likewise.
5686 * stdlib/canonicalize.c: Likewise.
5687 * stdlib/msort.c: Likewise.
5688 * stdlib/random_r.c: Likewise.
5689 * stdlib/strfmon.c: Likewise.
5690 * stdlib/strtod.c: Likewise.
5691 * stdlib/strtol.c: Likewise.
5692 * sunrpc/bindrsvprt.c: Likewise.
5693 * time/asctime.c: Likewise.
5694 * time/localtime.c: Likewise.
5695 * wcsmbs/mbrtowc.c: Likewise.
5696 * wcsmbs/mbsnrtowcs.c: Likewise.
5697 * wcsmbs/mbsrtowcs.c: Likewise.
5698 * wcsmbs/wcrtomb.c: Likewise.
5699 * wcsmbs/wcsnrtombs.c: Likewise.
5700 * wcsmbs/wcsrtombs.c: Likewise.
5701 * wcsmbs/wcstok.c: Likewise.
5702 * sysdeps/generic/ftime.c: Likewise.
5703 * sysdeps/generic/pty.c: Likewise.
5704 * sysdeps/generic/setenv.c: Likewise.
5705 * sysdeps/generic/speed.c: Likewise.
5706 * sysdeps/generic/sysd-stdio.c: Likewise.
5707 * sysdeps/generic/uname.c: Likewise.
5708 * sysdeps/generic/vlimit.c: Likewise.
5709 * sysdeps/libm-ieee754/k_standard.c: Likewise.
5710 * sysdeps/libm-ieee754/s_ldexp.c: Likewise.
5711 * sysdeps/libm-ieee754/s_ldexpf.c: Likewise.
5712 * sysdeps/libm-ieee754/s_ldexpl.c: Likewise.
5713 * sysdeps/libm-ieee754/w_scalb.c: Likewise.
5714 * sysdeps/libm-ieee754/w_scalbf.c: Likewise.
5715 * sysdeps/libm-ieee754/w_scalbl.c: Likewise.
5716 * sysdeps/posix/dup2.c: Likewise.
5717 * sysdeps/posix/euidaccess.c: Likewise.
5718 * sysdeps/posix/fdopen.c: Likewise.
5719 * sysdeps/posix/flock.c: Likewise.
5720 * sysdeps/posix/fpathconf.c: Likewise.
5721 * sysdeps/posix/getcwd.c: Likewise.
5722 * sysdeps/posix/gettimeofday.c: Likewise.
5723 * sysdeps/posix/isatty.c: Likewise.
5724 * sysdeps/posix/isfdtype.c: Likewise.
5725 * sysdeps/posix/killpg.c: Likewise.
5726 * sysdeps/posix/mkstemp.c: Likewise.
5727 * sysdeps/posix/mktemp.c: Likewise.
5728 * sysdeps/posix/pathconf.c: Likewise.
5729 * sysdeps/posix/pipestream.c: Likewise.
5730 * sysdeps/posix/remove.c: Likewise.
5731 * sysdeps/posix/rename.c: Likewise.
5732 * sysdeps/posix/sigintr.c: Likewise.
5733 * sysdeps/posix/signal.c: Likewise.
5734 * sysdeps/posix/sigsuspend.c: Likewise.
5735 * sysdeps/posix/sigvec.c: Likewise.
5736 * sysdeps/posix/sleep.c: Likewise.
5737 * sysdeps/posix/sysconf.c: Likewise.
5738 * sysdeps/posix/system.c: Likewise.
5739 * sysdeps/posix/tempname.c: Likewise.
5740 * sysdeps/posix/truncate.c: Likewise.
92c3af3c 5741 * sysdeps/posix/ttyname.c: Likewise.
edf66db1
SP
5742 * sysdeps/posix/ttyname_r.c: Likewise.
5743 * sysdeps/posix/wait3.c: Likewise.
5744 * sysdeps/standalone/close.c: Likewise.
5745 * sysdeps/standalone/open.c: Likewise.
5746 * sysdeps/standalone/read.c: Likewise.
5747 * sysdeps/standalone/write.c: Likewise.
5748 * sysdeps/stub/__longjmp.c: Likewise.
5749 * sysdeps/stub/accept.c: Likewise.
5750 * sysdeps/stub/access.c: Likewise.
5751 * sysdeps/stub/acct.c: Likewise.
5752 * sysdeps/stub/adjtime.c: Likewise.
5753 * sysdeps/stub/alarm.c: Likewise.
92c3af3c 5754 * sysdeps/stub/bind.c: Likewise.
edf66db1
SP
5755 * sysdeps/stub/brk.c: Likewise.
5756 * sysdeps/stub/chdir.c: Likewise.
5757 * sysdeps/stub/chflags.c: Likewise.
5758 * sysdeps/stub/chmod.c: Likewise.
5759 * sysdeps/stub/chown.c: Likewise.
5760 * sysdeps/stub/chroot.c: Likewise.
5761 * sysdeps/stub/clock.c: Likewise.
5762 * sysdeps/stub/close.c: Likewise.
5763 * sysdeps/stub/closedir.c: Likewise.
5764 * sysdeps/stub/connect.c: Likewise.
5765 * sysdeps/stub/ctermid.c: Likewise.
5766 * sysdeps/stub/cuserid.c: Likewise.
5767 * sysdeps/stub/dirfd.c: Likewise.
5768 * sysdeps/stub/dup.c: Likewise.
5769 * sysdeps/stub/dup2.c: Likewise.
5770 * sysdeps/stub/euidaccess.c: Likewise.
5771 * sysdeps/stub/execve.c: Likewise.
5772 * sysdeps/stub/fchdir.c: Likewise.
5773 * sysdeps/stub/fchflags.c: Likewise.
5774 * sysdeps/stub/fchmod.c: Likewise.
5775 * sysdeps/stub/fchown.c: Likewise.
5776 * sysdeps/stub/fcntl.c: Likewise.
5777 * sysdeps/stub/fdopen.c: Likewise.
5778 * sysdeps/stub/fexecve.c: Likewise.
5779 * sysdeps/stub/flock.c: Likewise.
5780 * sysdeps/stub/fork.c: Likewise.
5781 * sysdeps/stub/fpathconf.c: Likewise.
5782 * sysdeps/stub/fstatfs.c: Likewise.
5783 * sysdeps/stub/fsync.c: Likewise.
5784 * sysdeps/stub/ftruncate.c: Likewise.
5785 * sysdeps/stub/fxstat.c: Likewise.
5786 * sysdeps/stub/getcwd.c: Likewise.
5787 * sysdeps/stub/getdents.c: Likewise.
5788 * sysdeps/stub/getdomain.c: Likewise.
5789 * sysdeps/stub/getdtsz.c: Likewise.
5790 * sysdeps/stub/getegid.c: Likewise.
5791 * sysdeps/stub/getenv.c: Likewise.
5792 * sysdeps/stub/geteuid.c: Likewise.
5793 * sysdeps/stub/getgid.c: Likewise.
5794 * sysdeps/stub/getgroups.c: Likewise.
5795 * sysdeps/stub/gethostid.c: Likewise.
5796 * sysdeps/stub/gethostname.c: Likewise.
5797 * sysdeps/stub/getitimer.c: Likewise.
5798 * sysdeps/stub/getlogin.c: Likewise.
5799 * sysdeps/stub/getlogin_r.c: Likewise.
5800 * sysdeps/stub/getpagesize.c: Likewise.
5801 * sysdeps/stub/getpeername.c: Likewise.
5802 * sysdeps/stub/getpid.c: Likewise.
5803 * sysdeps/stub/getppid.c: Likewise.
5804 * sysdeps/stub/getpriority.c: Likewise.
5805 * sysdeps/stub/getrlimit.c: Likewise.
5806 * sysdeps/stub/getrusage.c: Likewise.
5807 * sysdeps/stub/getsid.c: Likewise.
5808 * sysdeps/stub/getsockname.c: Likewise.
5809 * sysdeps/stub/getsockopt.c: Likewise.
5810 * sysdeps/stub/getsysstats.c: Likewise.
5811 * sysdeps/stub/gettimeofday.c: Likewise.
5812 * sysdeps/stub/getuid.c: Likewise.
5813 * sysdeps/stub/gtty.c: Likewise.
5814 * sysdeps/stub/ioctl.c: Likewise.
5815 * sysdeps/stub/isatty.c: Likewise.
5816 * sysdeps/stub/isfdtype.c: Likewise.
5817 * sysdeps/stub/kill.c: Likewise.
5818 * sysdeps/stub/killpg.c: Likewise.
5819 * sysdeps/stub/link.c: Likewise.
5820 * sysdeps/stub/listen.c: Likewise.
5821 * sysdeps/stub/lseek.c: Likewise.
5822 * sysdeps/stub/lxstat.c: Likewise.
5823 * sysdeps/stub/madvice.c: Likewise.
5824 * sysdeps/stub/mkdir.c: Likewise.
5825 * sysdeps/stub/mkfifo.c: Likewise.
5826 * sysdeps/stub/mkstemp.c: Likewise.
5827 * sysdeps/stub/mktemp.c: Likewise.
5828 * sysdeps/stub/mmap.c: Likewise.
5829 * sysdeps/stub/morecore.c: Likewise.
5830 * sysdeps/stub/mprotect.c: Likewise.
5831 * sysdeps/stub/msgctl.c: Likewise.
5832 * sysdeps/stub/msgget.c: Likewise.
5833 * sysdeps/stub/msgrcv.c: Likewise.
5834 * sysdeps/stub/msgsnd.c: Likewise.
5835 * sysdeps/stub/msync.c: Likewise.
5836 * sysdeps/stub/munmap.c: Likewise.
5837 * sysdeps/stub/nanosleep.c: Likewise.
5838 * sysdeps/stub/nice.c: Likewise.
5839 * sysdeps/stub/nlist.c: Likewise.
5840 * sysdeps/stub/open.c: Likewise.
5841 * sysdeps/stub/opendir.c: Likewise.
5842 * sysdeps/stub/pathconf.c: Likewise.
5843 * sysdeps/stub/pause.c: Likewise.
5844 * sysdeps/stub/pipe.c: Likewise.
5845 * sysdeps/stub/pipestream.c: Likewise.
5846 * sysdeps/stub/poll.c: Likewise.
5847 * sysdeps/stub/profil.c: Likewise.
5848 * sysdeps/stub/ptrace.c: Likewise.
5849 * sysdeps/stub/putenv.c: Likewise.
5850 * sysdeps/stub/raise.c: Likewise.
5851 * sysdeps/stub/read.c: Likewise.
5852 * sysdeps/stub/readdir.c: Likewise.
5853 * sysdeps/stub/readlink.c: Likewise.
5854 * sysdeps/stub/readv.c: Likewise.
5855 * sysdeps/stub/reboot.c: Likewise.
5856 * sysdeps/stub/recv.c: Likewise.
5857 * sysdeps/stub/recvfrom.c: Likewise.
5858 * sysdeps/stub/recvmsg.c: Likewise.
5859 * sysdeps/stub/remove.c: Likewise.
5860 * sysdeps/stub/rename.c: Likewise.
5861 * sysdeps/stub/revoke.c: Likewise.
5862 * sysdeps/stub/rewinddir.c: Likewise.
5863 * sysdeps/stub/rmdir.c: Likewise.
5864 * sysdeps/stub/sbrk.c: Likewise.
5865 * sysdeps/stub/sched_getp.c: Likewise.
5866 * sysdeps/stub/sched_gets.c: Likewise.
5867 * sysdeps/stub/sched_primax.c: Likewise.
5868 * sysdeps/stub/sched_primin.c: Likewise.
5869 * sysdeps/stub/sched_rr_gi.c: Likewise.
5870 * sysdeps/stub/sched_setp.c: Likewise.
5871 * sysdeps/stub/sched_sets.c: Likewise.
5872 * sysdeps/stub/sched_yield.c: Likewise.
5873 * sysdeps/stub/seekdir.c: Likewise.
5874 * sysdeps/stub/select.c: Likewise.
5875 * sysdeps/stub/semctl.c: Likewise.
5876 * sysdeps/stub/semget.c: Likewise.
5877 * sysdeps/stub/semop.c: Likewise.
5878 * sysdeps/stub/send.c: Likewise.
5879 * sysdeps/stub/sendmsg.c: Likewise.
5880 * sysdeps/stub/sendto.c: Likewise.
5881 * sysdeps/stub/setdomain.c: Likewise.
5882 * sysdeps/stub/setegid.c: Likewise.
5883 * sysdeps/stub/setenv.c: Likewise.
5884 * sysdeps/stub/seteuid.c: Likewise.
5885 * sysdeps/stub/setgid.c: Likewise.
5886 * sysdeps/stub/setgroups.c: Likewise.
5887 * sysdeps/stub/sethostid.c: Likewise.
5888 * sysdeps/stub/sethostname.c: Likewise.
5889 * sysdeps/stub/setitimer.c: Likewise.
5890 * sysdeps/stub/setjmp.c: Likewise.
5891 * sysdeps/stub/setlogin.c: Likewise.
5892 * sysdeps/stub/setpgid.c: Likewise.
5893 * sysdeps/stub/setpriority.c: Likewise.
5894 * sysdeps/stub/setregid.c: Likewise.
5895 * sysdeps/stub/setreuid.c: Likewise.
5896 * sysdeps/stub/setrlimit.c: Likewise.
5897 * sysdeps/stub/setsid.c: Likewise.
5898 * sysdeps/stub/setsockopt.c: Likewise.
5899 * sysdeps/stub/settimeofday.c: Likewise.
5900 * sysdeps/stub/setuid.c: Likewise.
5901 * sysdeps/stub/shmat.c: Likewise.
5902 * sysdeps/stub/shmctl.c: Likewise.
5903 * sysdeps/stub/shmdt.c: Likewise.
5904 * sysdeps/stub/shmget.c: Likewise.
5905 * sysdeps/stub/shutdown.c: Likewise.
5906 * sysdeps/stub/sigaction.c: Likewise.
5907 * sysdeps/stub/sigaltstack.c: Likewise.
5908 * sysdeps/stub/sigblock.c: Likewise.
5909 * sysdeps/stub/sigintr.c: Likewise.
5910 * sysdeps/stub/signal.c: Likewise.
5911 * sysdeps/stub/sigpause.c: Likewise.
5912 * sysdeps/stub/sigpending.c: Likewise.
5913 * sysdeps/stub/sigprocmask.c: Likewise.
5914 * sysdeps/stub/sigreturn.c: Likewise.
5915 * sysdeps/stub/sigsetmask.c: Likewise.
5916 * sysdeps/stub/sigstack.c: Likewise.
5917 * sysdeps/stub/sigsuspend.c: Likewise.
5918 * sysdeps/stub/sigvec.c: Likewise.
5919 * sysdeps/stub/sleep.c: Likewise.
5920 * sysdeps/stub/socket.c: Likewise.
5921 * sysdeps/stub/socketpair.c: Likewise.
5922 * sysdeps/stub/sstk.c: Likewise.
5923 * sysdeps/stub/statfs.c: Likewise.
5924 * sysdeps/stub/stime.c: Likewise.
5925 * sysdeps/stub/stty.c: Likewise.
5926 * sysdeps/stub/swapoff.c: Likewise.
5927 * sysdeps/stub/swapon.c: Likewise.
5928 * sysdeps/stub/symlink.c: Likewise.
5929 * sysdeps/stub/sync.c: Likewise.
5930 * sysdeps/stub/syscall.c: Likewise.
5931 * sysdeps/stub/sysconf.c: Likewise.
5932 * sysdeps/stub/sysd-stdio.c: Likewise.
5933 * sysdeps/stub/system.c: Likewise.
5934 * sysdeps/stub/tcdrain.c: Likewise.
5935 * sysdeps/stub/tcflow.c: Likewise.
5936 * sysdeps/stub/tcflush.c: Likewise.
5937 * sysdeps/stub/tcgetattr.c: Likewise.
5938 * sysdeps/stub/tcgetpgrp.c: Likewise.
5939 * sysdeps/stub/tcsendbrk.c: Likewise.
5940 * sysdeps/stub/tcsetattr.c: Likewise.
5941 * sysdeps/stub/tcsetpgrp.c: Likewise.
5942 * sysdeps/stub/telldir.c: Likewise.
5943 * sysdeps/stub/tempname.c: Likewise.
5944 * sysdeps/stub/time.c: Likewise.
5945 * sysdeps/stub/times.c: Likewise.
5946 * sysdeps/stub/truncate.c: Likewise.
5947 * sysdeps/stub/ttyname.c: Likewise.
5948 * sysdeps/stub/ttyname_r.c: Likewise.
5949 * sysdeps/stub/ualarm.c: Likewise.
5950 * sysdeps/stub/ulimit.c: Likewise.
5951 * sysdeps/stub/umask.c: Likewise.
5952 * sysdeps/stub/unlink.c: Likewise.
5953 * sysdeps/stub/usleep.c: Likewise.
5954 * sysdeps/stub/ustat.c: Likewise.
5955 * sysdeps/stub/utime.c: Likewise.
5956 * sysdeps/stub/utimes.c: Likewise.
5957 * sysdeps/stub/vhangup.c: Likewise.
5958 * sysdeps/stub/wait.c: Likewise.
5959 * sysdeps/stub/wait3.c: Likewise.
5960 * sysdeps/stub/wait4.c: Likewise.
5961 * sysdeps/stub/waitpid.c: Likewise.
5962 * sysdeps/stub/write.c: Likewise.
5963 * sysdeps/stub/writev.c: Likewise.
5964 * sysdeps/stub/xmknod.c: Likewise.
5965 * sysdeps/stub/xstat.c: Likewise.
5966 * sysdeps/unix/closedir.c: Likewise.
5967 * sysdeps/unix/fxstat.c: Likewise.
5968 * sysdeps/unix/getlogin.c: Likewise.
5969 * sysdeps/unix/getlogin_r.c: Likewise.
5970 * sysdeps/unix/mkdir.c: Likewise.
5971 * sysdeps/unix/nice.c: Likewise.
5972 * sysdeps/unix/nlist.c: Likewise.
5973 * sysdeps/unix/opendir.c: Likewise.
5974 * sysdeps/unix/readdir.c: Likewise.
5975 * sysdeps/unix/rmdir.c: Likewise.
5976 * sysdeps/unix/stime.c: Likewise.
5977 * sysdeps/unix/xmknod.c: Likewise.
5978 * sysdeps/unix/xstat.c: Likewise.
5979 * sysdeps/unix/bsd/isatty.c: Likewise.
5980 * sysdeps/unix/bsd/setegid.c: Likewise.
5981 * sysdeps/unix/bsd/seteuid.c: Likewise.
5982 * sysdeps/unix/bsd/setsid.c: Likewise.
5983 * sysdeps/unix/bsd/sigaction.c: Likewise.
5984 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
5985 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
5986 * sysdeps/unix/bsd/tcflow.c: Likewise.
5987 * sysdeps/unix/bsd/tcflush.c: Likewise.
5988 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
5989 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
5990 * sysdeps/unix/bsd/times.c: Likewise.
5991 * sysdeps/unix/bsd/ulimit.c: Likewise.
5992 * sysdeps/unix/common/lxstat.c: Likewise.
5993 * sysdeps/unix/common/tcsendbrk.c: Likewise.
5994 * sysdeps/unix/sysv/setrlimit.c: Likewise.
5995 * sysdeps/unix/sysv/settimeofday.c: Likewise.
5996 * sysdeps/unix/sysv/sigaction.c: Likewise.
5997 * sysdeps/unix/sysv/tcflow.c: Likewise.
5998 * sysdeps/unix/sysv/tcflush.c: Likewise.
5999 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
6000 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
6001 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
6002 * sysdeps/unix/bsd/ultrix4/sysconf.c: Likewise.
6003 * sysdeps/unix/sysv/irix4/getpriority.c: Likewise.
6004 * sysdeps/unix/sysv/irix4/setpriority.c: Likewise.
6005 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
6006 * sysdeps/unix/sysv/linux/gethostid.c: Likewise.
6007 * sysdeps/unix/sysv/linux/gethostname.c: Likewise.
6008 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
6009 * sysdeps/unix/sysv/linux/ptrace.c: Likewise.
6010 * sysdeps/unix/sysv/linux/speed.c: Likewise.
6011 * sysdeps/unix/sysv/linux/ulimit.c: Likewise.
6012 * sysdeps/unix/sysv/sysv4/sigaction.c: Likewise.
6013 * sysdeps/unix/sysv/sysv4/sysconf.c: Likewise.
6014 * sysdeps/unix/bsd/sun/m68k/sigtramp.c: Likewise.
6015 * sysdeps/unix/bsd/sun/sparc/sigtramp.c: Likewise.
6016 * sysdeps/unix/bsd/sun/sunos4/speed.c: Likewise.
6017 * sysdeps/unix/bsd/sun/sunos4/tcsetattr.c: Likewise.
6018 * sysdeps/unix/sysv/linux/alpha/ioperm.c: Likewise.
6019 * sysdeps/unix/sysv/linux/i386/brk.c: Likewise.
6020 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
6021 * sysdeps/unix/sysv/linux/m68k/brk.c: Likewise.
6022
6023 * sunrpc/clnt_tcp.c: Protect declaration of errno by #ifndef.
6024 * sunrpc/clnt_udp.c: Likewise.
6025 * sunrpc/bindrsvprt.c: Likewise.
6026 * sunrpc/pm_getmaps.c: Likewise.
6027 * sunrpc/pmap_rmt.c: Likewise.
6028 * sunrpc/svc.c: Likewise.
6029 * sunrpc/svc_run.c: Likewise.
6030 * sunrpc/svc_tcp.c: Likewise.
6031 * sunrpc/svc_udp.c: Likewise.
92c3af3c 6032
edf66db1
SP
6033 * sysdeps/generic/strtok.c: Don't check argument, just crash.
6034 * sysdeps/generic/strtok_r.c: Likewise.
92c3af3c 6035
edf66db1
SP
6036 * sysdeps/stub/start.c: Make __errno a strong alias of errno.
6037 * sysdeps/unix/start.c: Likewise. De-ANSI-fy.
6038 * sysdeps/unix/sparc/start.c: Likewise.
6039 * sysdeps/standalone/m68k/m68020/start.S: Likewise.
6040 * sysdeps/unix/sysv/irix4/start.c: Likewise.
6041 * sysdeps/unix/bsd/ultrix4/mips/start.S: Likewise.
6042 * sysdeps/unix/sysv/linux/i386/sysdep.S: Likewise.
6043 * sysdeps/unix/sysv/linux/m68k/sysdep.S: Likewise.
92c3af3c 6044
edf66db1 6045Mon Sep 23 17:54:57 1996 Ulrich Drepper <drepper@cygnus.com>
92c3af3c 6046
edf66db1
SP
6047 * catgets/gencat.c (main): Put package name in --version message
6048 in parantheses. Reported by Jim Meyering.
6049 * db/makedb.c: Likewise.
6050 * locale/programs/locale.c: Likewise.
6051 * locale/programs/localedef.c: Likewise.
92c3af3c 6052
edf66db1
SP
6053 * sysdeps/i386/fpu/__math.h (tan): Make sure gcc knows we use
6054 two registers. Patch by John Bowman.
92c3af3c 6055
edf66db1 6056Sat Sep 21 15:08:25 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
92c3af3c 6057
edf66db1
SP
6058 * sysdeps/mach/libc-lock.h: Fix comment.
6059 * sysdeps/stubs/libc-lock.h: Likewise.
92c3af3c 6060
edf66db1 6061Sat Sep 21 13:50:40 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
92c3af3c 6062
edf66db1
SP
6063 * libio/genops.c (_IO_init) [_IO_MTSAFE_IO]: Dereference pointer
6064 to lock when passing it to __libc_lock_init macro.
6065 (_IO_default_finish) [_IO_MTSAFE_IO]: Dereference pointer to lock
6066 when passing it to __libc_lock_fini macro.
92c3af3c 6067
edf66db1 6068Sat Sep 21 14:35:40 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
92c3af3c 6069
edf66db1
SP
6070 * sysdeps/unix/sysv/linux/m68k/sysdep.h (SYSCALL_ERROR_HANDLER)
6071 [_LIBC_REENTRANT]: Add missing semicolon.
92c3af3c 6072
edf66db1
SP
6073 * sysdeps/unix/sysv/linux/m68k/sysdep.S: Move inclusion of
6074 sysdep.h to the top outside of #ifndef PIC. Don't include errnos.h.
6075 Use the ENTRY macro.
92c3af3c 6076
edf66db1 6077Sat Sep 21 14:33:41 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
92c3af3c 6078
edf66db1
SP
6079 * libio/Makefile: Make `all' the default target.
6080 * po/Makefile: Likewise.
92c3af3c 6081
edf66db1 6082Mon Sep 23 15:49:47 1996 Ulrich Drepper <drepper@cygnus.com>
92c3af3c 6083
edf66db1
SP
6084 * stdlib/test-canon.c: Correct patch from Thu Sep 12 23:01:16 1996.
6085 I applied it incorrectly.
6086 * sysdeps/m68k/fpu/s_scalbn.c: Likewise.
6087 * sysdeps/m68k/fpu/s_scalbnf.c: Likewise.
6088 * sysdeps/m68k/fpu/s_scalbnl.c: Likewise.
92c3af3c 6089
edf66db1 6090Mon Sep 23 03:00:10 1996 Ulrich Drepper <drepper@cygnus.com>
92c3af3c 6091
edf66db1
SP
6092 * shadow/sgetspent_r.c (LINE_PARSER): Accept empty 9th field.
6093 Patch by NIIBE Yutaka <gniibe@mri.co.jp>.
92c3af3c 6094
edf66db1
SP
6095 * shadow/sgetspent_r.c (LINE_PARSER): Don't accept any chars after
6096 9th field.
92c3af3c 6097
edf66db1
SP
6098 * sysdeps/unix/sysv/linux/Makefile [$(subdir)==misc]
6099 (sysdep_headers): Add sys/debugreg.h, sys/kd.h, sys/soundcard.h,
6100 and sys/vt.h.
6101 * sysdeps/unix/sysv/linux/sys/debugreg.h: New file.
6102 * sysdeps/unix/sysv/linux/sys/kd.h: New file.
6103 * sysdeps/unix/sysv/linux/sys/soundcard.h: New file.
6104 * sysdeps/unix/sysv/linux/sys/vt.h: New file.
6105 Reported by NIIBE Yutaka <gniibe@mri.co.jp>.
92c3af3c 6106
edf66db1 6107Thu Sep 26 13:44:29 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
92c3af3c 6108
edf66db1
SP
6109 * hurd/Makefile (installed-sunrpc-headers): New variable.
6110 (sunrpc-headers): New variable.
6111 (install-headers-nosubir): Depend on $(installed-sunrpc-headers),
6112 not just <rpc/netdb.h>.
6113 ($(installed-sunrpc-headers)): Provide rule for all of these.
92c3af3c 6114
edf66db1 6115Mon Sep 23 15:31:04 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
92c3af3c 6116
edf66db1
SP
6117 * hurd/Makefile ($(includedir)/rpc/netdb.h): There is no make
6118 variable `top_srcdir' in libc; use $(..) instead.
92c3af3c 6119
edf66db1
SP
6120 * sysdeps/mach/hurd/Makefile (rtld-installed-name): Delete special
6121 definition. It was a *Mistake*. (With a capital M.)
92c3af3c 6122
edf66db1
SP
6123 * sysdeps/mach/getsysstats.c (__get_nprocs): Renamed from
6124 __get_nproc.
6125 (__get_nprocs_conf): Renamed from __get_nproc_conf.
92c3af3c 6126
edf66db1 6127Sun Sep 22 15:18:41 1996 Ulrich Drepper <drepper@cygnus.com>
92c3af3c 6128
edf66db1
SP
6129 * sysdeps/unix/sysv/linux/init-first.c: Define dummy function
6130 `_dl_start' so that linking fails if this file should ever be used
6131 in ld.so.
92c3af3c 6132
edf66db1
SP
6133 * catgets/gencat.c (main): Change --version message according to
6134 RMS' last standard revision.
6135 * db/makedb.c: Likewise.
6136 * locale/programs/locale.c: Likewise.
6137 * locale/programs/localedef.c: Likewise.
92c3af3c 6138
edf66db1 6139Sat Sep 21 23:42:39 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
92c3af3c 6140
edf66db1
SP
6141 * sysdeps/mach/getsysstats.c: Include <sys/sysinfo.h>.
6142 (__get_nproc_conf): New function.
92c3af3c 6143
edf66db1 6144Sun Sep 22 03:40:52 1996 Ulrich Drepper <drepper@cygnus.com>
92c3af3c 6145
edf66db1
SP
6146 * resolv/resolv.h: Update to bind-4.9.5-T4B.
6147 * resolv/base64.c: Likewise.
6148 * resolv/res_debug.c: Likewise.
6149 * resolv/res_query.c: Likewise.
6150 * resolv/gethnamaddr.c: Likewise.
6151 * nss/nss_dns/dns-host.c: Likewise.
6152 * resolv/res_comp.c: Likewise.
6153 * resolv/res_send.c: Likewise.
6154 * resolv/arpa/nameser.h: Likewise. Attention: MAXDNAME is much
6155 higher now.
6156
6157 * resolv/Banner: New file.
6158 * resolv/Makefile (distribute): Add Banner.
6159
6160Sat Sep 21 19:15:24 1996 Ulrich Drepper <drepper@cygnus.com>
6161
6162 * sysdeps/stub/getsysstats.c: New file.
6163 * sysdeps/unix/sysv/linux/getsysstats.c: New file.
6164
6165 * misc/Makefile (headers): Add sys/sysinfo.h.
6166 (routines): Add getsysstats.
6167 * sysdeps/unix/sysv/linux/Makefile [$(subdir)==misc]
6168 (sysdep_headers): Remove sys/sysinfo.h.
6169 * sysdeps/generic/sys/sysinfo.h: New file.
6170 * sysdeps/unix/sysv/linux/sys/sysinfo.h: Add prototype for get_nprocs,
6171 get_phys_pages, and get_avphys_pages.
6172
6173 * misc/Makefile (routines): Add mntent_r.
6174 * misc/mntent_r.c: New file.
6175 * misc/mntent.c: Remove all functions but getmntent and use
6176 __getmntent_r.
6177 * misc/mntent.h: Add prototype for __getmntent_r.
6178 * misc/fstab.c: Use __getmntent_r function instead of getmntent.
6179 This will not clobber the state in getmntent.
6180
6181 * sysdeps/generic/confname.h: Add _SC_PROCESSORS_CONF,
6182 _SC_NPROCESSORS_ONLN, _SC_PHYS_PAGES, _SC_AVPHYS_PAGES,
6183 _SC_ATEXIT_MAX, and _SC_PASS_MAX.
6184 * sysdeps/stub/sysconf.c: Add handling _SC_PROCESSORS_CONF and
6185 _SC_NPROCESSORS_ONLN by calling __get_nprocs, _SC_PHYS_PAGES by
6186 calling __get_phys_pages, _SY_AVPHYS_PAGES by calling
6187 __get_avphys_pages, _SC_ATEXIT_MAX and _SC_PASS_MAX.
6188 * sysdeps/posix/sysconf.c: Likewise.
6189 * posix/getconf.c (vars): Add _NPROCESSORS_CONF, _NPROCESSORS_ONLN,
6190 _PHYS_PAGES, _AVPHYS_PAGES, ATEXIT_MAX, and PASS_MAX entries.
6191
6192Sat Sep 21 05:20:36 1996 Ulrich Drepper <drepper@cygnus.com>
6193
6194 * version.h (VERSION): Bump to 1.95.
6195
6196 * Make-dist (+tsrcs): Don't filter out files in subdirs which
6197 match files in the sysdeps hierachy (welcome back,
6198 sys/syscall.h!).
6199
6200 * resolv/Makefile (libresolv-routines): Remove getnetnamad.
6201
6202Sat Sep 21 03:00:19 1996 Ulrich Drepper <drepper@cygnus.com>
6203
6204 * locale/loadlocale.c (_nl_free_locale): Remove function.
6205 * locale/localeinfo.h: Remove prototype for _nl_free_locale.
6206 * locale/setlocale.c (setlocale): Don't free locale data of
6207 categories which succeeded to load after a wrong or missing data
6208 file was observed.
6209
6210 * locale/setlocale (setlocale): Initialize NEWNAME correctly so
6211 that it works even when the locale data is not used.
6212
6213 * stdlib/random_r.c: Fix typo in comment.
6214 * stdlib/drand48-iter.c: Likewise.
6215 * stdlib/drand48.c: Likewise.
6216 * stdlib/erand48.c: Likewise.
6217 * stdlib/jrand48.c: Likewise.
6218 * stdlib/lcong48.c: Likewise.
6219 * stdlib/lrand48.c: Likewise.
6220 * stdlib/mrand48.c: Likewise.
6221 * stdlib/nrand48.c: Likewise.
6222 * stdlib/random.c: Likewise.
6223 * stdlib/seed48.c: Likewise.
6224 * stdlib/srand48.c: Likewise.
6225 * misc/search.h: Likewise.
6226 * misc/hsearch.c: Likewise.
6227 * misc/hsearch_r.c: Likewise.
6228
6229Sat Sep 21 14:59:22 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
6230
6231 * sysdeps/mach/getsysstats.c: New file.
6232
6233 * shlib-versions (*-*-gnu*): Increment libc to 0.2 for upcoming
6234 binary distribution.
6235
6236 * sysdeps/mach/hurd/Makefile (rtld-installed-name): Provide
6237 definition to override dangerous one in Makeconfig.
6238
6239 * hurd/Makefile (install-headers-nosubdir): Install <rpc/netdb.h>.
6240 ($(includedir)/rpc/netdb.h): New rule.
6241 [ This is XXX until sunrpc can be built; <rpc/netdb.h> is
6242 essential. ]
6243
6244Fri Sep 20 16:06:06 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
6245
6246 * sysdeps/mach/hurd/i386/init-first.c (_dl_start): Add definition,
6247 to guarantee link errors if this is included in ld.so.
6248
6249Thu Sep 19 21:50:55 1996 Ulrich Drepper <drepper@cygnus.com>
6250
6251 * sysdeps/posix/gettimeofday.c (__gettimeofday): Use localtime_r
6252 instead of localtime.
6253 Reported by Matthias Urlichs.
6254
6255 * shlib-versions: Remove version number for libcrypt.
6256 * features.h: Define __USE_REENTRANT if _REENTRANT or _THREAD_SAFE.
6257 * libc-symbols.h: Define _REENTRANT while compiling libc.
6258
6259 * sysdeps/unix/sysv/linux/i386/sysdep.S (__errno_location):
6260 Define even if !_LIBC_REENTRANT.
6261 * sysdeps/unix/sysv/linux/m68k/sysdep.S (__errno_location):
6262 Likewise.
92c3af3c 6263
edf66db1
SP
6264 * sysdeps/posix/cuserid.h: Remove prototype for geteuid().
6265 De-ANSI-fy.
92c3af3c 6266
edf66db1
SP
6267 * MakeTAGS ($P/libc.pot): Generate correctly formed header.
6268 * po/header.pot: Correct title line.
6269 * po/nl.po: Update.
92c3af3c 6270
edf66db1 6271Thu Sep 19 18:59:55 1996 Ulrich Drepper <drepper@cygnus.com>
92c3af3c 6272
edf66db1
SP
6273 * Makeconfig (soversions.mk): Prefer shared lib version numbers
6274 is add ons over version in libc itself.
92c3af3c 6275
edf66db1
SP
6276 * sysdeps/unix/sysv/linux/i386/sysdep.S: Include <sysdep.h>.
6277 * sysdeps/unix/sysv/linux/i386/sysdep.h: Prevent multiple
6278 inclusion.
92c3af3c 6279
edf66db1
SP
6280 * libio/iofgets.c: Use __flockfile and __funlockfile instead of
6281 _IO_flockfile and _IO_funlockfile resp.
92c3af3c 6282
edf66db1
SP
6283 * locale/categories.def: Partly support for correct `era' handling
6284 in LC_TIME category.
6285 * locale/langinfo.h: Likewise.
6286 * locale/programs/ld-time.c: Likewise.
6287 * locale/localeinfo.h: Change comment a bit.
92c3af3c 6288
edf66db1 6289 * malloc/memalign.c: Don't use goto, not necessary anymore.
92c3af3c 6290
edf66db1 62911996-09-18 Paul Eggert <eggert@twinsun.com>
92c3af3c 6292
edf66db1
SP
6293 * time/mktime.c (ydhms_tm_diff): Work correctly even if year
6294 is negative, or if time_t is unsigned.
6295 * time/strftime.c (tm_diff): Work correctly even if tm_year
6296 is near INT_MIN.
92c3af3c 6297
edf66db1 6298Tue Sep 17 16:14:34 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
92c3af3c 6299
edf66db1
SP
6300 * sysdeps/m68k/fpu/__math.h (__inline_mathop): Changed to generate
6301 all three versions of the math function.
6302 (__inline_mathopf, __inline_mathopl): Removed.
6303 (__inline_functions): New temporary definition containing all
6304 non-trivial inline functions.
92c3af3c 6305
edf66db1 6306Wed Sep 18 00:25:41 1996 Ulrich Drepper <drepper@cygnus.com>
92c3af3c 6307
edf66db1 6308 * time/strftime.c (strftime): The T_FMT_AMPM string may be empty.
92c3af3c 6309
edf66db1 6310Tue Sep 17 20:27:18 1996 Ulrich Drepper <drepper@cygnus.com>
92c3af3c 6311
edf66db1
SP
6312 * math/Makefile (extra-libs-others): Use $(extra-libs) instead
6313 of $(extra-libc).
92c3af3c 6314
edf66db1 6315Tue Sep 17 17:09:44 1996 Ulrich Drepper <drepper@cygnus.com>
92c3af3c 6316
edf66db1 6317 * sysdeps/stub/fpu_control.h: Correct end of file comment.
92c3af3c 6318
edf66db1 6319Tue Sep 17 05:39:18 1996 Ulrich Drepper <drepper@cygnus.com>
92c3af3c 6320
edf66db1
SP
6321 * stdio-common/bug3.c, stdio-common/bug4.c, stdio-common/bug5.c,
6322 stdio-common/test-popen.c: Remove temporary files after test.
6323 * stdio-common/bug5.c: Use `system' instead of `execlp'.
6324 Patches by Andreas Jaeger.
92c3af3c 6325
edf66db1
SP
6326 * stdio-common/bug5.c: Create string for `system' argument to
6327 make sure the input and output file names are really correct.
831372e7 6328
edf66db1 6329Sun Sep 15 12:46:44 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
92c3af3c 6330
edf66db1
SP
6331 * configure.in: If $os contains a hyphen add the part before the
6332 hyphen to $ostry.
92c3af3c 6333
edf66db1 6334Sun Sep 15 18:14:02 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
92c3af3c 6335
edf66db1
SP
6336 * sysdeps/m68k/fpu/__math.h (__ieee754_pow, __ieee754_powf,
6337 __ieee754_powl): Rename local variable i to __i.
6338 (__ieee754_atan2, __ieee754_atan2f, __ieee754_atan2l): New inline
6339 functions.
6340 * sysdeps/m68k/fpu/e_atan2.c, sysdeps/m68k/fpu/e_atan2f.c,
6341 sysdeps/m68k/fpu/e_atan2l.c: New files.
6342
63431996-09-15 Paul Eggert <eggert@twinsun.com>
6344
6345 * manual/time.texi: Change `range X to Y' to `range X through
6346 Y', to avoid ambiguity in English.
6347
6348 (strftime): Numbers that do not have a range indicated are not padded.
6349 Describe E and O modifiers.
6350 %g, %G, %u: New formats.
6351 %C, %y, %Y: Describe behavior on negative years.
6352 %e: Fix typo (was labeled %d).
6353 %l, %V: Fix typo in range.
6354 %M, %S, %U, %w, %W: Give ranges.
6355 %p: Clarify how noon and midnight are handled for AM and PM.
6356 %s: Clarify leap second handling.
6357 %r: Now locale-defined.
6358 %C, %D, %e, %h, %n, %r, %t, %T: Say that they are POSIX.2 extensions.
6359 %z: Say that it is a GNU extension.
6360 %Z: Wording fix.
6361
6362 * time/strftime.c: (strftime):
6363 %V: Fix mishandling of week numbers near year boundaries.
6364 %g, %G: New formats (suggested by Arthur David Olson).
6365 %U, %W: Use inline expression instead of `week' function.
6366 %C, %y: Handle negative years portably.
6367 %C, %Y: Use width 1, since values can be arbitrarily wide.
6368 %r: Use T_FMT_AMPM format if _NL_CURRENT is defined.
6369 %u: New Posix.2 format.
6370 %w: Width is 1, not 2.
6371 (iso_week_days): New function, for %V, %G, %g.
6372 (week): Remove; it didn't handle %V correctly.
6373 (__isleap): New macro.
6374 (mbsinit): Use arg, to pacify GCC -Wall.
6375
63761996-09-13 Paul Eggert <eggert@twinsun.com>
6377
6378 * time/strftime.c (strftime):
6379 If using the GNU C library, do not bother to check for
6380 multibyte encodings, since they're safe in formats. Otherwise:
6381 - Check for multibyte encodings when encountering any character that
6382 is not in the basic execution character set of the C Standard.
6383 - Use mbrlen (if available) instead of mblen, to avoid modifying
6384 mblen's internal state.
6385 - Do not assume that '%' cannot appear as the first character of a
6386 multibyte character sequence, since this is possible when not in the
6387 initial shift state.
6388 (HAVE_MBRLEN, MULTIBYTE_IS_FORMAT_SAFE): Define if _LIBC is defined.
6389 (DO_MULTIBYTE): New macro.
6390 (<ctype.h>): Do not include.
6391 (<wchar.h>): Include if HAVE_MBRLEN.
6392 (mbstate_t, mbrlen, mbsinit): Define if ! HAVE_MBRLEN.
6393 (mbstate_zero): New constant.
6394
63951996-09-12 Paul Eggert <eggert@twinsun.com>
6396
6397 * time/strftime.c (strftime):
6398 Use an empty zone if it can't be determined; POSIX.2 requires this.
6399 Use plain `int' for pad and modifier (which now contain char value).
6400 Use plain `int' for number_value, to print negative values correctly.
6401 Use plain `int' for digits; there was no need to make it unsigned.
6402 Initialize subfmt consistently.
6403 Remove incorrect code for %EC and %Ey; they aren't implemented yet.
6404 For %O, if there is no alternate digit, output Ascii instead of "".
6405 Output the `%' of an unknown format; this is most likely the right
6406 thing to do if a multibyte string has been misparsed.
6407
6408Thu Sep 12 23:23:13 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6409
6410 * stdio-common/scanf7.c (main): Remove extra conversion from
6411 printf format string.
6412
6413Thu Sep 12 23:01:16 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6414
6415 * stdlib/test-canon.c (tests): Rename structure member from errno
6416 to error, all uses changed.
6417
6418Thu Sep 12 20:08:06 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6419
6420 * sysdeps/m68k/fpu/__math.h (__ldexp, __ldexpf, __ldexpl):
6421 Removed.
6422 * sysdeps/m68k/fpu/s_ldexp.c, sysdeps/m68k/fpu/s_ldexpf.c,
6423 sysdeps/m68k/fpu/s_ldexpl.c: Removed, use generic implementation
6424 instead.
6425 * sysdeps/m68k/fpu/s_scalbn.c, sysdeps/m68k/fpu/s_scalbnf.c,
6426 sysdeps/m68k/fpu/s_scalbnl.c: Replaced with old contents of
6427 s_ldexp.c, s_ldexpf.c and s_ldexpl.c, resp., suitably adpted.
92c3af3c 6428
edf66db1
SP
6429 * sysdeps/m68k/fpu/__math.h (__frexp, __frexpf, __frexpl):
6430 Return value must be in [0.5, 1), not [1, 2). Reported by Chris
6431 Lawrence.
6432 (__ilogb, __ilogbf, __ilogbl): Check for argument being zero.
6433 (__scalbn, __scalbnf, __scalbnl): Use second argument directly.
92c3af3c 6434
edf66db1 6435Thu Sep 12 19:59:24 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
92c3af3c 6436
edf66db1
SP
6437 * sysdeps/libm-ieee754/e_acoshl.c: Fix typos.
6438 * sysdeps/libm-ieee754/s_cbrtl.c: Remove unused variable.
92c3af3c 6439
edf66db1 6440Thu Sep 12 19:59:24 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
92c3af3c 6441
edf66db1
SP
6442 * sysdeps/libm-ieee754/e_acoshl.c: Fix typos.
6443 * sysdeps/libm-ieee754/s_cbrtl.c: Remove unused variable.
92c3af3c 6444
edf66db1 6445Thu Sep 12 19:56:07 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
92c3af3c 6446
edf66db1 6447 * inet/herrno.c (__h_errno_location): Fix return type.
92c3af3c 6448
edf66db1 6449Thu Sep 19 23:36:19 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
92c3af3c 6450
edf66db1
SP
6451 * hurd/hurdinit.c (__libc_argv): Provide common decl.
6452 (_hurd_setproc): Don't declare __libc_argv here.
92c3af3c 6453
edf66db1 6454Tue Sep 17 10:51:58 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
92c3af3c 6455
edf66db1
SP
6456 * malloc/memalign.c (memalign): Only acquire __libc_malloc_lock
6457 for actual modifications to global state.
92c3af3c 6458
edf66db1 6459Fri Sep 13 01:21:36 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
92c3af3c 6460
edf66db1
SP
6461 * sysdeps/mach/Makefile (includes): Add -I$(common-objpfx)mach/.
6462 * sysdeps/mach/hurd/Makefile (includes): Add
6463 -I$(common-objpfx)hurd/. Reported by Marcus Daniels.
92c3af3c 6464
edf66db1
SP
6465 * sysdeps/generic/schedbits.h (struct sched_param): Renamed from
6466 struct sched_params.
6467 * sysdeps/stub/sched_setp.c (__sched_setparam): struct
6468 sched_params -> struct sched_param.
6469 * sysdeps/stub/sched_getp.c (__sched_getparam): Likewise.
6470 * sysdeps/stub/sched_sets.c (__sched_setscheduler): Likewise.
92c3af3c 6471
edf66db1 6472Thu Sep 12 23:58:25 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
92c3af3c 6473
edf66db1
SP
6474 * sysdeps/mach/libc-lock.h (__libc_cleanup_region_start): Fix
6475 syntax error.
92c3af3c 6476
edf66db1
SP
6477 * stdio-common/Makefile: Put lockfile in routines
6478 unconditionally.
6479 Define _MT_SAFE_IO if using for libio and compiling reentrant
6480 libc.
92c3af3c 6481
edf66db1
SP
6482 * stdio-common/vfprintf.c (__flockfile, __funlockfile): Declare
6483 this always, not just if _LIBC_REENTRANT.
6484 (__funlockfile): Don't use weak_extern for this one;
6485 __libc_cleanup_region_end might be defined and the use of
6486 __funlockfile can't be protected the way the use of __flockfile
6487 can be.
92c3af3c 6488
edf66db1 6489Fri Sep 13 04:33:08 1996 Ulrich Drepper <drepper@cygnus.com>
92c3af3c 6490
edf66db1
SP
6491 * sched.h: New file. Helper to access posix/sched.h.
6492 * posix/sched.h: Change `sched_params' to `sched_param' to follow
6493 POSIX.4.
92c3af3c 6494
edf66db1 6495Thu Sep 12 20:12:40 1996 Ulrich Drepper <drepper@cygnus.com>
92c3af3c 6496
edf66db1
SP
6497 * db/makedb.c (usage): Print bug report address separately to
6498 ease translators task.
6499 * catgets/gencat.c (usage): Likewise.
6500 * locale/locale.c (usage): Likewise.
6501 * locale/localedef.c (usage): Likewise.
92c3af3c 6502
edf66db1 65031996-09-12 Paul Eggert <eggert@twinsun.com>
92c3af3c 6504
edf66db1
SP
6505 * time/strftime.c (my_localtime_r): Define if ! HAVE_LOCALTIME_R,
6506 and #define localtime_r to it. If _LIBC, use __localtime_r instead.
6507 (my_gmtime_r): Similar, except it's not needed if ! HAVE_TM_GMTOFF.
92c3af3c 6508
edf66db1 6509Thu Sep 12 14:03:29 1996 Ulrich Drepper <drepper@cygnus.com>
92c3af3c 6510
edf66db1
SP
6511 * crypt/Makefile: Include Makeconfig and add crypt object dir to
6512 rpath-link so that running the check finds the new library.
6513 * crypt/cert.c: provide correct prototypes to prevent warnings.
6514 Reported by Andreas Jaeger.
92c3af3c 6515
edf66db1
SP
6516 * sysdeps/mach/hurd/Makefile (rpath-link): Don't use += because
6517 old and new value must be glued using `:'.
6518 Reported by Marcus Daniels.
92c3af3c 6519
edf66db1 6520Thu Sep 12 12:33:52 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
92c3af3c 6521
edf66db1
SP
6522 * sysdeps/mach/hurd/dl-cache.c: Delete second copy of file
6523 accidentally added on.
92c3af3c 6524
edf66db1 6525 * sysdeps/stub/intr-msg.h: New file.
92c3af3c 6526
edf66db1
SP
6527 * stdio-common/vfprintf.c: Include <libc-lock.h>.
6528 * stdio-common/vfscanf.c: Include <libc-lock.h>.
92c3af3c 6529
edf66db1
SP
6530 * sysdeps/mach/libc-lock.h (__libc_cleanup_region_start): New
6531 macro.
6532 (__libc_cleanup_region_end): New macro.
92c3af3c 6533
edf66db1 6534Thu Sep 12 03:35:27 1996 Ulrich Drepper <drepper@cygnus.com>
92c3af3c 6535
edf66db1
SP
6536 * sysdeps/unix/sysv/linux/i386/Dist: Remove init-first.h.
6537 * sysdeps/unix/sysv/linux/m68k/Dist: Likewise.
6538 * sysdeps/unix/sysv/linux/Dist: Add init-first.h.
92c3af3c 6539
edf66db1 65401996-09-11 Paul Eggert <eggert@twinsun.com>
92c3af3c 6541
edf66db1
SP
6542 * strftime.c (strftime):
6543 Handle E and O modifiers, required for POSIX.2 and XPG4.
6544 Don't use sprintf to format numbers; this way, we can handle time_t
6545 correctly regardless of whether it's signed.
6546 Don't dump core if format ends in %.
6547 In default %c format, use %e instead of %d, for POSIX.2 compatibility.
6548 For %z:
6549 Use tm_gmtoff if available.
6550 Output nothing if tm_isdst is negative.
6551 Output correct value even if arg is 1969-12-31 23:59:59 UTC.
6552 Don't assume that UTC offset is less than 24 hours;
6553 Posix requires support for 24 hours, and there's no point
6554 limiting it at all.
6555 (HAVE_TM_GMTOFF, TYPE_SIGNED, INT_STRLEN_BOUND): New macros.
6556 (CHAR_BIT): Define if <limits.h> doesn't.
6557 (tm_diff): New function.
6558 (fmt, <stdio.h>): Remove; no longer used.
6559
6560Thu Sep 12 02:21:44 1996 Ulrich Drepper <drepper@cygnus.com>
6561
6562 * db/Makefile: Add extra-libs-others variable so that shared
6563 library is built in `others' pass.
6564 * elf/Makefile: Likewise.
6565 * math/Makefile: Likewise.
6566 * resolv/Makefile: Likewise.
6567
6568 * Makefile (generated): Add version.info.h.
6569
6570 * time/checktab.awk: New file. From ADO 96k.
6571 * time/iso3166.tab: Likewise.
6572 * time/tzselect.ksh: Likewise.
6573 * time/zone.tab: Likewise.
6574
6575 * stdio-common/vfprintf.c: Correct cleanup registration. We
6576 cannot use a macro
6577
65781996-09-11 Paul Eggert <eggert@twinsun.com>
6579
6580 * time/time.h (tm_gmtoff, tm_zone): Prefix with `__' unless
6581 __USE_BSD; this is required for ANSI C compatibility.
6582 * manual/time.texi: Replace GMT by UTC, daylight savings by
6583 daylight saving, timezone by time zone.
6584 Rewrite description of %V to match ISO 8601.
6585 Fix TZ Posix string example for US Eastern time.
6586 Explain tzname[1] when DST isn't used.
6587 Explain tzname when multiple abbreviations used (e.g. EST/EWT/EDT).
6588 Explain that timezone's sign is opposite from tm_gmtoff, and that
6589 timezone lacks DST adjustment whereas tm_gmtoff has it.
6590 Deprecate tzname and timezone.
6591
6592Tue Sep 10 14:46:16 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6593
6594 Implement Roland McGrath's idea of how to put an .interp into
6595 shared libraries.
6596 * interp.c: New file.
6597 * Makerules (interp-obj): New object, linked into every shared
831372e7 6598 library.
edf66db1
SP
6599 (common-generated): Add interp.so.
6600 (CFLAGS-interp.c): Pass name of interpreter.
831372e7 6601
edf66db1 6602Tue Sep 10 21:09:35 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
831372e7 6603
edf66db1 6604 * db/Makefile: Fix typo.
831372e7 6605
edf66db1 6606Tue Sep 10 19:29:53 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
831372e7 6607
edf66db1
SP
6608 * nss/db-Makefile ($(VAR_DB)/passwd.db): Look for multiple
6609 occurences of the same uid, and only generate a mapping for the
6610 first one.
831372e7 6611
edf66db1 6612Tue Sep 10 03:14:59 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
831372e7 6613
edf66db1
SP
6614 * sysdeps/unix/sysv/linux/system.c: New file, to override
6615 sysdeps/unix/system.c.
831372e7 6616
edf66db1 6617Tue Sep 10 15:05:40 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
831372e7 6618
edf66db1
SP
6619 * Makefile (before-compile): Add version-info.h, needed to build
6620 version.d.
831372e7 6621
edf66db1 6622Tue Sep 10 14:14:33 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
831372e7 6623
edf66db1
SP
6624 * sysdeps/unix/sysv/linux/m68k/sysdep.S: Remove check for
6625 EWOULDBLOCK, never true on Linux.
6626 (__errno_location): New function.
6627 [_LIBC_REENTRANT]: Set errno using __errno_location function.
6628 * sysdeps/unix/sysv/linux/m68k/sysdep.h [PIC]: Add second
6629 syscall_error handler for reentrant libc.
831372e7 6630
edf66db1 6631Tue Sep 10 13:27:49 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
831372e7 6632
edf66db1 6633 * elf/Makefile (extra-objs): Add eval.so to get dependencies.
831372e7 6634
edf66db1 6635Wed Sep 11 04:40:57 1996 Ulrich Drepper <drepper@cygnus.com>
831372e7 6636
edf66db1
SP
6637 * time/tzset.c (__tzname_cur_max): Use type `size_t' to avoid
6638 warning.
6639 * time/tzfile.c (compute_tzname_max): Likewise.
831372e7 6640
edf66db1 6641Wed Sep 11 02:57:31 1996 Ulrich Drepper <drepper@cygnus.com>
831372e7 6642
edf66db1
SP
6643 * configure.in: Quote $add_ons argument in loop to generated
6644 prefices.
831372e7 6645
edf66db1 6646Tue Sep 10 20:43:45 1996 Ulrich Drepper <drepper@cygnus.com>
831372e7 6647
edf66db1 6648 * db/makedb.c: Include <locale.h>. Reported by Fila Kolodny.
831372e7 6649
edf66db1 6650Tue Sep 10 14:42:39 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
831372e7 6651
edf66db1
SP
6652 * elf/dl-cache.c: Rename to ...
6653 * sysdeps/generic/dl-cache.c: ... here.
6654 * sysdeps/mach/hurd/dl-cache.c: New file.
831372e7 6655
edf66db1
SP
6656 * mach/Makefile (distribute): Add `errsystems.awk'.
6657 * hurd/Makefile (distribute): Add `Notes' and `intr-msg.h'.
6658 * hurd/hurdintr.awk: Delete file. (Not used in ages.)
6659 * hurd/intr-rpc.awk: Likewise.
6660 * hurd/invoke-trans.c: Likewise.
6661 * sysdeps/mach/hurd/i386/longjmp-ctx.c: Likewise.
6662 * sysdeps/mach/hurd/alpha/longjmp-ctx.c: Likewise.
6663 * sysdeps/mach/hurd/mips/longjmp-ctx.c: Likewise.
6664 * sysdeps/mach/hurd/i386/init-fault.c: Likewise.
6665 * sysdeps/mach/hurd/mips/init-fault.c: Likewise.
6666 * sysdeps/stub/init-fault.c: Likewise.
6667 * sysdeps/stub/longjmp-ctx.c: Likewise.
831372e7 6668
edf66db1 6669Tue Sep 10 13:49:08 1996 Ulrich Drepper <drepper@cygnus.com>
831372e7 6670
edf66db1
SP
6671 * inet/herrno.c: Initialize `h_errno' so that we can provide
6672 alias.
831372e7 6673
edf66db1 6674 * Makefile (version-info.h): Fix typo in shell script.
831372e7 6675
edf66db1
SP
6676 * sysdeps/i386/i586/strlen.S: Optimize startup code a bit.
6677 * sysdeps/i386/i586/strchr.S: Likewise.
831372e7 6678
edf66db1 6679Mon Sep 9 20:31:27 1996 Ulrich Drepper <drepper@cygnus.com>
831372e7 6680
edf66db1
SP
6681 * version.c (banner): Report to bug-glibc@prep not @gnu.
6682 Reported by Andreas Jaeger.
831372e7 6683
edf66db1
SP
6684 * libio/stdio.h [!__USE_REENTRANT]: Don't define getc as
6685 _IO_getc_unlocked.
6686 [__USE_REENTRANT]: Don't define
831372e7 6687
edf66db1 6688Mon Sep 9 15:59:32 1996 Ulrich Drepper <drepper@cygnus.com>
831372e7 6689
edf66db1
SP
6690 * sysdeps/i386/strrchr.c: Fix bug where NUL byte is not recognized
6691 when it is the third byte in the string. Reported by
6692 NIIBE Yutaka.
6693 * string/tester.c: Add tests for above bug to strlen, strchr, and
6694 strrchr tests.
831372e7 6695
edf66db1 6696Fri Sep 6 21:23:33 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
831372e7 6697
edf66db1
SP
6698 * sysdeps/m68k/fpu/e_acos.c: Deansideclized. Include
6699 "math_private.h" to get prototype.
6700 * sysdeps/m68k/fpu/e_fmod.c: Likewise.
6701 * sysdeps/m68k/fpu/k_cos.c: Likewise.
6702 * sysdeps/m68k/fpu/k_sin.c: Likewise.
6703 * sysdeps/m68k/fpu/k_tan.c: Likewise.
831372e7 6704
edf66db1
SP
6705 * sysdeps/m68k/fpu/k_sin.c: Remove uneeded indirection of
6706 __m81_u.
6707 * sysdeps/m68k/fpu/k_tan.c: Likewise.
831372e7 6708
edf66db1 6709Sun Sep 1 18:01:35 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
831372e7 6710
edf66db1
SP
6711 * sysdeps/m68k/fpu/__math.h: Check for __NO_M81_MATH_INLINES
6712 instead of __NO_MATH_INLINES.
6713 (__M81_MATH_INLINES): Renamed from __MATH_INLINES.
6714 * sysdeps/m68k/fpu/e_acos.c: Define __NO_M81_MATH_INLINES.
6715 * sysdeps/m68k/fpu/e_fmod.c: Likewise.
6716 * sysdeps/m68k/fpu/k_cos.c: Likewise.
6717 * sysdeps/m68k/fpu/k_sin.c: Likewise.
6718 * sysdeps/m68k/fpu/k_tan.c: Likewise.
6719 * sysdeps/m68k/fpu/s_atan.c: Likewise.
6720 * sysdeps/m68k/fpu/s_frexp.c: Likewise.
6721 * sysdeps/m68k/fpu/s_ilogb.c: Likewise.
6722 * sysdeps/m68k/fpu/s_isinf.c: Likewise.
6723 * sysdeps/m68k/fpu/s_ldexp.c: Likewise.
6724 * sysdeps/m68k/fpu/s_modf.c: Likewise.
6725 * sysdeps/m68k/fpu/k_cos.c: Use inline version of __cos.
6726 * sysdeps/m68k/fpu/k_sin.c: Likewise.
6727 * sysdeps/m68k/fpu/k_tan.c: Likewise.
831372e7 6728
edf66db1 6729Mon Sep 9 12:55:14 1996 Ulrich Drepper <drepper@cygnus.com>
831372e7 6730
edf66db1
SP
6731 * nss/nss_files/files-parse.c (INT_FIELD_MAYBE_NULL): Check for
6732 available character before converting number and return with
6733 error if none is available.
831372e7 6734
edf66db1 6735Fri Sep 6 22:09:08 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
831372e7 6736
edf66db1
SP
6737 * sysdeps/unix/sysv/linux/init-first.h: New file, generic
6738 implementation for architectures where parameters are passed on
6739 stack.
6740 * sysdeps/unix/sysv/linux/m68k/init-first.h: Removed.
6741 * sysdeps/unix/sysv/linux/i386/init-first.h: Removed.
831372e7 6742
edf66db1 6743Fri Sep 6 22:05:32 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
831372e7 6744
edf66db1 6745 * configure.in: Remove unneeded sysnames frobbing.
831372e7 6746
edf66db1 6747Mon Sep 9 05:29:09 1996 Ulrich Drepper <drepper@cygnus.com>
831372e7 6748
edf66db1
SP
6749 * time/zic.c: Update from ADO 96l.
6750 * time/africa: Update from ADO 96k.
6751 * time/antarctica: Likewise.
6752 * time/asia: Likewise.
6753 * time/australia: Likewise.
6754 * time/europe: Likewise.
6755 * time/northamerica: Likewise.
6756 * time/southamerica: Likewise.
6757
6758Mon Sep 9 05:03:47 1996 NIIBE Yutaka <gniibe@mri.co.jp>
6759
6760 * sysdeps/unix/sysv/linux/i386/init-first.h: Work around buggy
6761 gcc <= 2.7.2.1 which optimizes away address operations on weak
6762 objects.
6763
6764 * nss/nss_files/files-parse.c (INT_FIELD_MAYBE_NULL): New macro.
6765 Like INT_FIELD but also accept non-existing field.
6766 * shadow/sgetspent_r.c (LINE_PARSER): Use INT_FIELD_MAYBE_NULL
6767 for last four fields.
6768 * shadow/putspent.c (putspent): Print `:' after numeric value.
6769
6770Mon Sep 9 02:42:48 1996 Richard Henderson <rth@tamu.edu>
6771
6772 * libio/stdio.h (BUFSIZ): Define using _IO_BUFSIZ.
6773
6774Sun Sep 8 16:43:56 1996 Ulrich Drepper <drepper@cygnus.com>
6775
6776 * Make-dist: Filter out $(add-ons) from $(subdirs).
6777 Don't distribute TAGS files.
6778 ($(tardir).tar): Remove dist.tar when all is done.
6779 * manual/Makefile (distribute): Add libc.info*.
6780 * libio/Makefile (distribute): Add Banner.
6781 * inet/Makefile (headers): Add netinet/tcp.h.
6782
6783 * resolv/Makefile (libresolv-routines): Add getnetnamadr.
6784
6785 * crypt-README: Removed.
6786 * gnu-stabs.h: Removed.
6787
6788 * sysdeps/alpha/copysign.S: Renamed to...
6789 * sysdeps/alpha/s_copysign.S: ...this.
6790 * sysdeps/alpha/fabs.S: Renamed to...
6791 * sysdeps/alpha/s_fabs.S: ...this.
6792
6793 * sysdeps/m68k/isinfl.c: Renamed to...
6794 * sysdeps/m68k/s_isinfl.c: ...this.
6795 * sysdeps/m68k/isnanl.c: Renamed to...
6796 * sysdeps/m68k/s_isnanl.c: ...this.
6797
6798 * sysdeps/sparc/sqrt.c: Renamed to...
6799 * sysdeps/sparc/e_sqrt.c: ...this. Function name now is
6800 __ieee754_sqrt.
6801
6802 * sysdeps/generic/get_str.c: Removed.
6803
6804 * sysdeps/ieee754/cbrt.c: Removed.
6805 * sysdeps/ieee754/drem.c: Removed.
6806 * sysdeps/ieee754/logb.c: Removed.
6807 * sysdeps/ieee754/sqrt.c: Removed.
6808
6809 * sysdeps/stub/cbrt.c: Removed.
6810 * sysdeps/stub/cos.c: Removed.
6811 * sysdeps/stub/drem.c: Removed.
6812 * sysdeps/stub/isinf.c: Removed.
6813 * sysdeps/stub/isinfl.c: Removed.
6814 * sysdeps/stub/isnanl.c: Removed.
6815 * sysdeps/stub/logb.c: Removed.
6816 * sysdeps/stub/sin.c: Removed.
6817 * sysdeps/stub/sqrt.c: Removed.
6818
6819 * sysdeps/tahoe/log10.c: Removed.
6820
6821 * sysdeps/vax/index.s: Removed.
6822 * sysdeps/vax/rindex.s: Removed.
6823 * sysdeps/vax/bcmp.s: Removed.
6824 * sysdeps/vax/log10.c: Removed.
6825 * sysdeps/vax/infnan.c: Removed.
6826 * sysdeps/vax/Dist: Add fl.h.
831372e7 6827
edf66db1 6828 * sysdeps/unix/sysv/linux/alpha/Dist: Add llseek.S.
831372e7 6829
edf66db1 6830 * inet/rcmd.c (rcmd): Make messages more uniform.
831372e7 6831
edf66db1 6832Sun Sep 8 14:15:42 1996 Ulrich Drepper <drepper@cygnus.com>
831372e7 6833
edf66db1
SP
6834 * po/de.po: Update.
6835 * po/es.po: Update.
6836 * po/ko.po: Update.
6837 * po/pl.po: New file.
6838 * po/nl.po: New file.
6839
6840Sat Sep 7 18:41:17 1996 Richard Henderson <rth@tamu.edu>
6841
6842 * Makeconfig (+link): Filter out start, pre & postinit from the
6843 generic depenancies as well.
6844 * Rules: Add start, pre & postinit to the dependancies of
6845 $(others) and $(tests).
6846
6847 * configure.in: elf_dirs missing "sysdeps" component.
6848
6849Sun Sep 8 02:36:02 1996 Ulrich Drepper <drepper@cygnus.com>
6850
6851 * locale/SYS_libc.c (_libc_intl_domainname): Change value to "libc".
6852 This is consistent with all other GNU packages. We shouldn't
6853 take care for a possible clash. Nobody will name the domain
6854 of a package libc if it is not the libc itself.
6855 * MakeTAGS ($P/SYS_libc.pot): Rename to $P/libc.pot.
6856 * po/Makefile (domainname): Change to libc.
6857 (distribute): Now ship libc.pot.
6858 * catgets/gencat.c (usage): Use `PACKAGE' for package name in
6859 version information banner.
6860 Change bug report address to bug-glibc@prep not @gnu.
6861 * db/makedb.c (PACKAGE): New macro. Set to _libc_intl_domain.
6862 (main): Use `PACKAGE' for package name in version information
6863 banner.
6864 Change bug report address to bug-glibc@prep not @gnu.
6865 * locale/programs/locale.c (main): Use `PACKAGE' for package name
6866 in version information banner.
6867 Change bug report address to bug-glibc@prep not @gnu.
6868 * locale/programs/localedef.c (main): Likewise.
6869
6870 * version.h (VERSION): Bump to 1.94.
6871
6872 * locale/Makefile (distribute): Add locale.c and localedef.c.
6873
6874Sat Sep 7 14:00:33 1996 David Mosberger-Tang <davidm@azstarnet.com>
6875
6876 * catgets/catgets.c (catopen): Allocate sizeof(*result) bytes
6877 instead of sizeof(nl_catd) (which is just a pointer!).
6878
6879Sat Sep 7 19:39:19 1996 Ulrich Drepper <drepper@cygnus.com>
6880
6881 * Makefile ($(objpfx)version-info.h): Generate from Banner files.
6882 * version.c (banner): Add contents of version-info.h to string.
6883
6884 * Makerules: If $($(subdir)-version) is available name versioned
6885 shared library according to this value instead of glibc's version.
6886
6887 * libio/Banner: New file.
6888
6889 * elf/eval.c (funcall): Write error message in case function is
6890 not found.
6891 (eval): Recognize `_' in names.
6892
6893Sat Sep 7 05:15:45 1996 Ulrich Drepper <drepper@cygnus.com>
6894
6895 * libio/iofdopen: Initialize _lock field only if _IO_MTSAFE_IO.
6896 * libio/iofopen: Likewise.
6897 * libio/iofopncook.c: Likewise.
6898 * libio/iopopen.c: Likewise.
6899 * libio/iovsprintf.c: Likewise.
6900 * libio/iovsscanf.c: Likewise.
6901 * libio/memstream.c: Likewise.
6902 * libio/vasprintf.c: Likewise.
6903 * libio/vdprintf.c: Likewise.
6904 * libio/vsnprintf.c: Likewise.
6905
6906Sat Sep 7 03:55:47 1996 Ulrich Drepper <drepper@cygnus.com>
6907
6908 * Makeconfig (soversions.mk): Also use shlib-versions files
6909 in add-on directories.
6910 * config.make.in (config-defines): Remove. Not used anymore.
6911 (defines): New variable. Initiliazed by @DEFINES@.
6912 * configure.in: Add AC_SUBST(DEFINES).
6913
6914 * libio/Makefile (routines): When compiling reentrant libc add
6915 clearerr_u, feof_u, ferror_u, fputc_u, getc_u, getchar_u,
6916 iofflush_u, putc_u, putchar_u, ioflockfile.
6917 (CPPFLAGS): Add -D_IO_MTSAFE_IO for reentrant libc.
831372e7 6918
edf66db1
SP
6919 * sysdeps/stub/libc-lock.h: Add stubs for __libc_cleanup_region_start
6920 and __libc_cleanup_region_end.
6921
6922 * sysdeps/unix/i386/sysdep.S [_LIBC_REENTRANT]: Set errno
6923 using __errno_location function.
6924 * sysdeps/unix/sysv/linux/i386/sysdep.S [_LIBC_REENTRANT]: Set errno
6925 using __errno_location function.
6926 (__errno_location): New function.
6927 * sysdeps/unix/sysv/linux/i386/sysdep.h [PIC]: Add second
6928 syscall_error handler for reentrant libc.
6929
6930 * sysdeps/unix/opendir.c: Remove unneeded `;'.
6931
6932 * libio.h [_IO_MTSAFE_IO]: Include <pthread.h>.
6933 [!_IO_MTSAFE_IO]: Define _IO_flockfile and _IO_funlockfile
6934 as empty macros.
6935 * libioP.h: Include <libc-lock.h>.
6936 * libio/stdio.h: Add prototypes for *_locked and *_unlocked
6937 functions.
831372e7 6938
edf66db1
SP
6939 * libio/clearerr.c: Use _IO_ protected versions of flockfile
6940 and funlockfile to be namespace clean.
6941
6942 * libio/genops.c: Use __libc_lock_* macros for handling lock.
6943
6944 * libio/iofdopen: Add initialization of _lock in _IO_FILE.
6945 * libio/iofopen: Likewise.
6946 * libio/iofopncook.c: Likewise.
6947 * libio/iopopen.c: Likewise.
6948 * libio/iovsprintf.c: Likewise.
6949 * libio/iovsscanf.c: Likewise.
6950 * libio/memstream.c: Likewise.
6951 * libio/vasprintf.c: Likewise.
6952 * libio/vdprintf.c: Likewise.
6953 * libio/vsnprintf.c: Likewise.
6954
6955 * libio/fgetc.c: Use __libc_cleanup_region_* macros instead
6956 of flockfile etc.
6957 * libio/fputc.c: Likewise.
6958 * libio/freopen.c: Likewise.
6959 * libio/fseek.c: Likewise.
6960 * libio/getc.c: Likewise.
6961 * libio/getchar.c: Likewise.
6962 * libio/iofclose.c: Likewise.
6963 * libio/iofflush.c: Likewise.
6964 * libio/iofgetpos.c: Likewise.
6965 * libio/iofgets.c: Likewise.
6966 * libio/iofputs.c: Likewise.
6967 * libio/iofread.c: Likewise.
6968 * libio/iofsetpos.c: Likewise.
6969 * libio/ioftell.c: Likewise.
6970 * libio/iofwrite.c: Likewise.
6971 * libio/iogetdelim.c: Likewise.
6972 * libio/iogets.c: Likewise.
6973 * libio/ioputs.c: Likewise.
6974 * libio/iosetbuffer.c: Likewise.
6975 * libio/iosetvbuf.c: Likewise.
6976 * libio/ioungetc.c: Likewise.
6977 * libio/putc.c: Likewise.
6978 * libio/putchar.c: Likewise.
6979 * libio/rewind.c: Likewise.
6980 * stdio-common/vfprintf.c: Likewise.
6981 * stdio-common/vfscanf.c: Likewise.
831372e7 6982
edf66db1
SP
6983 * libio/clearerr_u.c: Correct alias name.
6984 * libio/ferror_u.c: Likewise.
6985 * libio/fileno.c: Likewise.
6986 * libio/fputc_u.c: Likewise.
6987 * libio/getc.c: Likewise.
6988 * libio/getc_u.c: Likewise.
6989 * libio/getchar.c: Likewise.
6990 * libio/getchar_u.c: Likewise.
6991 * libio/putc.c: Likewise.
6992 * libio/putchar.c: Likewise.
831372e7 6993
edf66db1
SP
6994 * libio/feof_u.c: Undefine macro with name of function before
6995 definition of function itself.
831372e7 6996
edf66db1
SP
6997 * libio/ioflockfile.c: New file. Implementation of flockfile and
6998 funlockfile.
831372e7 6999
edf66db1 7000 * libio/putchar_u.c: Fix typo. Use stdout instead of fp.
831372e7 7001
edf66db1
SP
7002 * malloc/malloc.h: Don't include <libc-lock.h> and don't declare
7003 _malloc_loc.
831372e7 7004
edf66db1
SP
7005 * malloc/free.c: Include <libc-lock.h>.
7006 * malloc/realloc.c: Likewise.
7007 * malloc/malloc-find.c: Likewise.
7008 * malloc/malloc-size.c: Likewise.
7009 * malloc/malloc-walk.c: Likewise.
7010 * malloc/memalign.c: Likewise.
7011 * malloc/malloc.c: Likewise.
7012
7013 * sysdeps/i386/dl-machine.h: Correct clearing of _dl_starting_up.
7014
7015Fri Sep 6 19:38:49 1996 Ulrich Drepper <drepper@cygnus.com>
7016
7017 * sysdeps/stub/libc-lock.h: Define __libc_lock_critical_start
7018 and __libc_lock_critical_end as empty macros.
7019
7020 * malloc/malloc.h: Don't include <libc-lock.h> and don't declare
7021 __libc_malloc_lock.
7022 * malloc/free.c: Include <libc-lock.h>.
7023 * malloc/malloc-find.c: Likewise.
7024 * malloc/malloc-size.c: Likewise.
7025 * malloc/malloc-walk.c: Likewise.
7026 * malloc/malloc.c: Likewise.
7027 * malloc/memalign.c: Likewise.
7028 * malloc/realloc.c: Likewise.
831372e7 7029
edf66db1
SP
7030 * Makefile: Undo change from Mon Sep 2 22:15:14 1996. No more
7031 extra_solibs pass.
7032 * Rules: Likewise.
7033 * extra-lib.mk: Likewise.
7034 * manual/Makefile: Likewise.
831372e7 7035
edf66db1
SP
7036 * db/Makefile (makedb): Choose dependecies based on build-shared.
7037 Patch by Andres Schwab.
831372e7 7038
edf66db1
SP
7039 * sysdeps/posix/sysconf.c: Don't use PTHREAD_DESTRUCTOR_ITERATIONS
7040 but _POSIX_THREAD_DESTRUCTOR_ITERATIONS.
831372e7 7041
edf66db1
SP
7042 * sysdeps/unix/sysv/linux/errnos.h: New file.
7043 * sysdeps/unix/sysv/linux/schedbits.h: New file.
7044 * sysdeps/unix/sysv/linux/waitflags.h: New file.
831372e7 7045
edf66db1 7046 * sysdeps/unix/sysv/linux/gnu/types.h: Add definition of `key_t'.
831372e7 7047
edf66db1 7048Fri Sep 6 08:26:31 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
831372e7 7049
edf66db1 7050 * rpm/template: Fix typo in %build section.
831372e7 7051
edf66db1 7052Fri Sep 6 03:31:07 1996 Ulrich Drepper <drepper@cygnus.com>
831372e7 7053
edf66db1
SP
7054 * sysdeps/unix/sysv/linux/errnos.h: Don't define errno macro when
7055 building libc without thread support.
7056 * resolv/netdb.h: Likewise for h_errno macro.
831372e7 7057
edf66db1 7058Thu Sep 5 23:01:48 1996 Ulrich Drepper <drepper@cygnus.com>
831372e7 7059
edf66db1
SP
7060 * libc-symbols.h: Add new macro weak_const_function. It's like
7061 weak_function, but the function is additionally marked as const.
7062 * features.h: Only include <sys/cdefs.h> if !__ASSEMBLER__.
831372e7 7063
edf66db1 7064Thu Sep 5 22:55:49 1996 Richard Henderson <rth@tamu.edu>
831372e7 7065
edf66db1
SP
7066 * inet/herrno.c (__h_errno_location): New function.
7067 (h_errno): Make strong_alias __h_errno so that we can access
7068 the variable even if `h_errno' is a macro.
7069 * resolv/netdb.h: Define macro h_errno to access thread specific
7070 version of h_errno variable. Declare alias __h_errno for h_errno.
7071 * resolv/res_query (h_errno): Remove definition.
7072 * sysdeps/unix/sysv/linux/errnos.h [!__ASSEMBLER__ && __USE_REENTRANT]:
7073 Add macro `errno' to get thread specific variable.
7074 * sysdeps/unix/alpha/sysdep.S [_LIBC_REENTRANT]: Set errno using
7075 __errno_location function.
7076 (__errno_location): New function.
831372e7 7077
edf66db1 7078Thu Sep 5 21:08:44 1996 Ulrich Drepper <drepper@cygnus.com>
831372e7 7079
edf66db1
SP
7080 * posix/gnu/types.h: Remove definition of key_t.
7081 * sysdeps/generic/gnu/types.h: Move it to here.
7082 * sysdeps/unix/sysv/linux/gnu/types.h: Add Linux specific
7083 definition of key_t.
831372e7 7084
edf66db1
SP
7085 * sysdeps/unix/sysv/linux/waitflags.h: New file. Linux specific
7086 definitions.
7087 * sysdeps/unix/sysv/linux/schedbits.h: New file. Include
7088 clone prototypes and associated flags.
831372e7 7089
edf66db1 7090Thu Sep 5 08:58:47 1996 Richard Henderson <rth@tamu.edu>
831372e7 7091
edf66db1 7092 * sysdeps/alpha/elf/start.S: Make _start global again.
831372e7 7093
edf66db1 7094Thu Sep 5 13:18:25 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
831372e7 7095
edf66db1
SP
7096 * sysdeps/mach/hurd/i386/init-first.c (__libc_argc, __libc_argv):
7097 New variables.
7098 (init1): Initialize them.
7099 * hurd/hurdinit.c (_hurd_setproc): Now that happens to be
7100 available, pass __libc_argv in call to __proc_set_arg_locations.
831372e7 7101
edf66db1
SP
7102 * gmon/gmon.c (write_hist): Call __profile_frequency instead of
7103 hertz.
7104 (hertz): Delete function.
7105 * gmon/Makefile (routines): Add `prof-freq'.
7106 * sysdeps/generic/prof-freq.c: New file.
7107 * sysdeps/mach/hurd/prof-freq.c: New (stubby) file.
7108 * sysdeps/mach/hurd/profil.c (profile_tick): New variable.
7109 (update_waiter): Store frequency in profile_tick.
7110 (__profile_frequency): New function.
831372e7 7111
edf66db1
SP
7112 * sysdeps/mach/hurd/sendto.c (sendto): Use prototype definition
7113 syntax.
831372e7 7114
edf66db1 7115 * Rules (generated): Restore reference to $(generated).
831372e7 7116
edf66db1
SP
7117 * mach/Machrules (mig.uh, mig.__h): Don't include $(user-MIGFLAGS)
7118 here.
831372e7 7119
edf66db1 7120 * malloc/free.c (free): __lib_malloc_lock -> __libc_malloc_lock.
831372e7 7121
edf66db1
SP
7122 * malloc/free.c: Provide extern decl of __libc_malloc_lock.
7123 * malloc/realloc.c: Likewise.
7124 * malloc/malloc-find.c: Likewise.
7125 * malloc/malloc-size.c: Likewise.
7126 * malloc/malloc-walk.c: Likewise.
7127 * malloc/memalign.c: Likewise.
7128
7129Thu Sep 5 03:20:42 1996 Ulrich Drepper <drepper@cygnus.com>
7130
7131 Change configuration and Makefiles to allow add-ons to have a
7132 sysdeps/ directory hierachy.
7133 * configure.in: Test for sysdeps/ directory in add-ons. Before
7134 all test and searches in these hierachies, too.
7135 * Makeconfig (full-config-subdirs): Define based on $(config-sysdirs).
7136 Extend with $(..) if not absolute path.
7137 Use $(full-config-subdirs) where $(config-sysdirs) was used.
7138 * Makefile ($(objpfx)sysd-dirs): Use config-sysdirs.
7139 * MakeTAGS: Use $(full-config-subdirs).
7140 * Makerules: Change comment to libc.so link script.
7141 (sysdirs): Define based on $(full-config-subdirs).
7142 (sysd-Makefile): Define using config-sysdirs.
7143 (sysd-rules): Likewise.
7144 * sysdeps/unix/Makefile (sysd-syscalls): Define based on +sysdep-dirs.
7145 * sysdeps/unix/make-syscalls.sh: Remove basedir argument.
831372e7 7146
edf66db1 7147Wed Sep 4 01:32:21 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
831372e7 7148
edf66db1
SP
7149 * sysdeps/m68k/fpu/k_cos.c: Rewritten for better accuracy.
7150 * sysdeps/m68k/fpu/k_sin.c: Likewise.
7151 * sysdeps/m68k/fpu/k_tan.c: Likewise.
831372e7 7152
edf66db1 7153Thu Sep 5 01:06:09 1996 Richard Henderson <rth@tamu.edu>
831372e7 7154
edf66db1
SP
7155 * malloc/free.c (free): Protect by using __libc_malloc_lock.
7156 * malloc/malloc-find.c (malloc_find_object_address): Likewise.
7157 * malloc/malloc-size.c (malloc_usable_size): Likewise.
7158 * malloc/malloc-walk.c (malloc_walk): Likewise.
7159 * malloc/memalign.c (memalign): Likewise.
7160 * malloc/realloc.c (realloc): Likewise.
7161 * malloc/malloc.c: Define __libc_malloc_lock.
7162 (_malloc_internal): Don't use `malloc'. Instead look for
7163 `__malloc_hook' or call `_malloc_internal'.
7164 (malloc): Protect by using `__libc_malloc_lock'.
7165 * malloc/malloc.h: Declare `__libc_malloc_lock'.
831372e7 7166
edf66db1 7167Mon Sep 2 22:42:59 1996 Richard Henderson <rth@tamu.edu>
831372e7 7168
edf66db1
SP
7169 * sysdeps/alpha/elf/start.S: Use weak_alias for __start
7170 instead of the hard definition.
831372e7 7171
edf66db1
SP
7172 * sysdeps/alpha/dl-machine.h (RTLD_START): Add type info for
7173 _start and _dl_start_user.
831372e7 7174
edf66db1
SP
7175 * sysdeps/unix/sysv/linux/alpha/init-first.h (SYSDEP_CALL_INIT):
7176 Make _dl_starting_up weak. Add type info for NAME.
831372e7 7177
edf66db1 7178Mon Sep 2 22:15:14 1996 Richard Henderson <rth@tamu.edu>
831372e7 7179
edf66db1
SP
7180 * Makefile (all): Add extra_solibs pass.
7181 (+subdir_targets): Same.
7182 * Rules (extra_solibs): New phony empty target for subdirs without
7183 extra libs.
7184 * extra-lib.mk: Build lib*.so* in extra_solibs not lib-noranlib.
7185 * manual/Makefile: Add dummy extra_solibs target.
831372e7 7186
edf66db1 7187Sun Sep 1 15:41:22 1996 Richard Henderson <rth@tamu.edu>
831372e7 7188
edf66db1
SP
7189 * Makeconfig (+link): Add $(link-extra-libs).
7190 (link-extra-libs): New variable which expands to the full paths of
7191 the other libraries needed by a program, as controled by LDLIBS-$(@F).
7192 * db/Makefile: Use LDLIBS-makedb to link libdb not a dependency, as
7193 the later attempts to install the library before linking it.
831372e7 7194
edf66db1 7195 * sysdeps/unix/alpha/sysdep.S: Align errno.
831372e7 7196
edf66db1
SP
7197 * sysdeps/unix/sysv/linux/alpha/ioperm.c (struct platform): Add
7198 hae_shift entry.
7199 (io): Move bus_memory_base and sparse_bus_memory_base into struct.
7200 (_hae_shift): New function.
7201 * sysdeps/unix/sysv/linux/alpha/sys/io.h: New file. Prototypes
7202 for the bus query functions.
831372e7 7203
edf66db1 7204Sat Aug 31 18:14:54 1996 Richard Henderson <rth@tamu.edu>
831372e7 7205
edf66db1
SP
7206 * elf/dl-close.c (_dl_close): In static executables, map->l_prev
7207 can be NULL when unloading a library.
831372e7 7208
edf66db1
SP
7209 * elf/dl-open.c (_dl_open): Pass __environ instead of __libc_envp
7210 to the library .init function.
831372e7 7211
edf66db1
SP
7212 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Since we omitted
7213 part of the COPY reloc processing earlier, omit the rest now --
7214 we'll get into less trouble later when some fool does use a COPY.
831372e7 7215
edf66db1
SP
7216 * sysdeps/unix/sysv/linux/init-first.c (init): Accept argc et al as
7217 parameters. Move all argc and __libc_multiple_libcs calculation out
7218 to init-first.h. Use __environ not __libc_envp.
7219 * sysdeps/unix/sysv/linux/alpha/init-first.h: Rewrite.
7220 * sysdeps/unix/sysv/linux/i386/init-first.h: Rewrite.
831372e7 7221
edf66db1 7222Thu Aug 29 20:26:40 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
831372e7 7223
edf66db1
SP
7224 * sysdeps/posix/profil.c (profil): Don't clobber saved timer and
7225 signal settings when profiling was already turned on.
831372e7 7226
edf66db1
SP
7227 * csu/gmon-start.c (__gmon_start__) [HAVE_INITFINI]: Protect from
7228 being called twice.
831372e7 7229
edf66db1 7230Wed Sep 4 01:31:50 1996 Ulrich Drepper <drepper@cygnus.com>
831372e7 7231
edf66db1
SP
7232 * sysdeps/unix/sysv/linux/i386/mmap.S: Test for
7233 0 < return value < -4096 and not < 0 to decide about failure.
7234 Reported by Andreas Jaeger.
831372e7 7235
edf66db1 7236Tue Sep 3 19:04:05 1996 Ulrich Drepper <drepper@cygnus.com>
831372e7 7237
edf66db1
SP
7238 * stdio-common/vfscanf.c (__vfscanf): Don't count EOF char
7239 in %c format.
831372e7 7240
edf66db1 7241Sat Aug 31 18:10:51 1996 Ulrich Drepper <drepper@cygnus.com>
831372e7 7242
edf66db1
SP
7243 * wcsmbs/wchar.h: Define prototypes for wcstoq and wcstouq only
7244 #ifdef __USE_GNU.
831372e7 7245
edf66db1 7246Sat Aug 31 12:34:29 1996 Ulrich Drepper <drepper@cygnus.com>
831372e7 7247
edf66db1 7248 * version.c: Add missing newline character in banner.
831372e7 7249
edf66db1
SP
7250 * sysdeps/unix/sysv/linux/alpha/Dist: Correct typo.
7251 * sysdeps/unix/sysv/linux/i386/Dist: Likewise.
831372e7 7252
edf66db1 7253Sat Aug 31 03:07:39 1996 Ulrich Drepper <drepper@cygnus.com>
831372e7 7254
edf66db1
SP
7255 * intl/l10nflist.c (_nl_normalize_codeset): We convert to lower
7256 case, so don't prepend uppercase `ISO' for only numeric arg.
831372e7 7257
edf66db1 7258Wed Sep 4 16:16:13 1996 Ulrich Drepper <drepper@cygnus.com>
831372e7 7259
edf66db1
SP
7260 * sysdeps/mach/hurd/send.c (__send): De-ANSI-fy.
7261 * sysdeps/mach/hurd/sendto.c (sendto): Likewise.
831372e7 7262
edf66db1 7263Tue Sep 3 11:16:07 1996 Thomas Bushnell/ n/BSG <thomas@gnu.ai.mit.edu>
831372e7 7264
edf66db1
SP
7265 * shadow/lckpwdf.c (__ulckpwdf): Don't take address of LOCK in
7266 call to __libc_lock_lock.
831372e7 7267
edf66db1
SP
7268 * sysdeps/mach/hurd/send.c (__send): Declare BUF const.
7269 * sysdeps/mach/hurd/sendto.c (sendto): Likewise.
831372e7 7270
edf66db1 7271 * sysdeps/stub/ustat.c: Include <sys/ustat.h>.
831372e7 7272
edf66db1 7273 * misc/syslog.c (vsyslog): Fix typo (`mow_tm' -> `now_tm').
831372e7 7274
edf66db1 7275Fri Aug 30 19:55:27 1996 Ulrich Drepper <drepper@cygnus.com>
831372e7 7276
edf66db1
SP
7277 * libio/genops.c: Make _cleanup an alias of _IO_cleanup.
7278 Reported by Erik Troan.
831372e7 7279
edf66db1 7280Fri Aug 30 15:40:04 1996 Ulrich Drepper <drepper@cygnus.com>
831372e7 7281
edf66db1
SP
7282 * sysdeps/unix/sysv/linux/Dist: Add sys/procfs.h and
7283 sys/sysmacros.h. Reported by Curtiss <1CMC3466@IBM.MTSAC.EDU>.
831372e7 7284
edf66db1 7285Fri Aug 30 13:53:32 1996 Andreas Jaeger <aj@arthur.pfalz.de>
831372e7 7286
edf66db1 7287 * sysdeps/unix/mman/syscalls.list: `mmap' has 6 arguments, not 5.
831372e7 7288
edf66db1 7289Fri Aug 30 13:01:10 1996 NIIBE Yutaka <gniibe@mri.co.jp>
831372e7 7290
edf66db1
SP
7291 * sysdeps/i386/fpu/__math.h (tan): Pop 1.0 in ST to get
7292 real result.
831372e7 7293
edf66db1 7294Fri Aug 30 03:33:33 1996 Ulrich Drepper <drepper@cygnus.com>
831372e7 7295
edf66db1
SP
7296 * sysdeps/libm-ieee754/s_cbrtl.c: New file. `long double'
7297 implementation.
831372e7 7298
edf66db1
SP
7299Fri Aug 30 13:39:21 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
7300
7301 * Makerules (BUILD_CFLAGS): Use @(common-objpfx) for config.h, not
7302 $(..). Some rules (like sysdeps/posix/Makefile for mk-stdiolim)
7303 do `cd' commands.
7304 (sed-remove-objpfx): Don't substitute for $(objpfx) anymore;
7305 $(common-objpfx) is good enough.
7306 * Rules (common-generated): Provide default (empty) value.
7307 (dummy.o, dummy.c, empty.o, empty.c): Put these in
7308 $(common-generated), not $(generated), and without $(..).
7309 (subdir_echo-distinfo): Treat $(common-generated) just like
7310 $(generated).
7311 (generated): Depend on the (suitably mutated) $(common-generated)
7312 files too.
7313 * Makerules (common-clean): Remove common-generated files too.
7314 * sysdeps/mach/hurd/Makefile (generated): Don't put errnos.d and
7315 stamp-errnos here.
7316 (common-generated): Do put errnos.d and stamp-errnos here.
7317 (rpath-link): Don't use +=; $(rpath-link) is a colon separated list.
7318
7319 * sysdeps/mach/hurd/Makefile (before-compile): Add auth; also add
7320 auth to following rule to get it built.
7321
7322Fri Aug 30 01:26:44 1996 Ulrich Drepper <drepper@cygnus.com>
7323
7324 * sysdeps/unix/sysv/linux/i386/Dist: Add clone.S.
7325 * sysdeps/unix/sysv/linux/m68k/Dist: Likewise.
7326 * sysdeps/unix/sysv/linux/alpha/Dist: Likewise.
7327
7328 * version.c: Add comment about where to report bugs to.
7329 * catgets/gencat.c (usage): Likewise.
7330 * db/makedb.c (usage): Likewise.
7331 * locale/programs/locale.c (usage): Likewise.
7332 * locale/programs/localedef.c (usage): Likewise.
7333
7334 * manual/socket.texi: A little bit better wording.
7335
7336Thu Aug 29 18:03:06 1996 Ulrich Drepper <drepper@cygnus.com>
7337
7338 * Makerules: Make sure directory exists before generating stamp file.
7339 (BUILD_CFLAGS): Always refer to using $(..).
7340 * manual/Makefile: Make sure directory exists before generating
7341 stamp file.
7342 (make-target-directory): Add macro definition.
7343 * sysdeps/generic/Makefile: Make sure directory exists before
7344 generating stamp file.
7345
7346 * Makefile (distribute): Add autolock.sh. Reported by Fila Kolodny.
7347
7348Tue Aug 27 10:06:22 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7349
7350 When compiling in separate directory put objects into
7351 subdirectories matching the source layout.
7352 * Makeconfig (objpfx) [ifdef objdir]: Append $(subdir).
7353 When looking for configparms try in $(common-objpfx).
7354 Use $(common-objpfx)SUBDIR to find objects from other subdirectory
7355 builds.
7356 * Makerules: Add $(objpfx) to vpath list.
7357 (make-dummy-dep): Use $(common-objpfx) to avoid creating dummy.d
7358 more than once. All uses in dependency lists changed.
7359 (+make-deps): Make target directory.
7360 (sed-remove-objpfx): Substitute $(common-objpfx).
7361 (do-ar, build-extra-lib, $(common-objpfx)stub-$(subdir)): Use
7362 $(objpfx) instead of $(objdir) for cd command.
7363 (O%-lib): Always find libc relative to $(..).
7364 (subdir-stamps): Collect stamp files from subdirs.
7365 (common-mostlyclean): Remove stub file in $(common-objpfx).
7366 * MakeTAGS ($P/siglist.pot): Find siglist.c in stdio-common.
7367 * Rules (dep-dummy-lib): Use $(common-objpfx) to avoid creating to
7368 more than once.
7369 ($(objpfx)dummy.c, $(objpfx)empty.c): Change target name to use
7370 $(common-objfpx). All uses in dependency lists changed.
7371 (generated): Prepend $(..) to names.
7372 * bare/Makefile ($(objpfx)lib$(config-vendor).a): Remove $(objpfx)
7373 from $@.
7374 * nss/Makefile ($(objpfx)libnss_dns.so, $(objpfx)libnss_db.so):
7375 Use $(common-objpfx) instead of $(..) in dependencies.
7376 * sysdeps/mach/Makefile (mach-objpfx): Unconditionally use
7377 $(common-objpfx) instead of $(..) and (objpfx).
7378 * sysdeps/mach/hurd/Makefile (hurd-objpfx): Likewise.
7379 (rpath-link): Likewise.
7380 (rpcuserlibs): Likewise.
7381 * sysdeps/unix/Makefile [$(subdir) = stdio-common]: Check for
7382 errlist.c in $(objpfx), not $(common-objpfx).
7383 ($(common-objpfx)s-proto.d): Special rule not covered by pattern
7384 rule.
7385 * sysdeps/unix/make-syscalls.sh: Make syscall rules depending on
7386 s-proto.d in $(common-objpfx), not $(objpfx).
7387
7388Thu Aug 29 17:45:49 1996 Ulrich Drepper <drepper@cygnus.com>
7389
7390 * nss/nsswitch.c (nss_dlerror_run): Free returned error
7391 string.
7392
7393Thu Aug 29 15:53:33 1996 Ulrich Drepper <drepper@cygnus.com>
7394
7395 * sysdeps/libm-ieee754/e_acoshl.c: New file. `long double'
7396 implementation.
7397 * sysdeps/libm-ieee754/e_atanhl.c: Likewise.
7398 * sysdeps/libm-ieee754/e_remainderl.c: Likewise.
7399 * sysdeps/libm-ieee754/e_scalbl.c: Likewise.
7400 * sysdeps/libm-ieee754/s_asinhl.c: Likewise.
7401 * sysdeps/libm-ieee754/s_cosl.c: Likewise.
7402 * sysdeps/libm-ieee754/s_sinl.c: Likewise.
7403 * sysdeps/libm-ieee754/s_tanhl.c: Likewise.
7404 * sysdeps/libm-ieee754/s_tanl.c: Likewise.
831372e7 7405
edf66db1 7406Thu Aug 29 00:28:08 1996 Ulrich Drepper <drepper@cygnus.com>
831372e7 7407
edf66db1
SP
7408 * stdio-common/printf_fp.c (__printf_fp): Use default value '.' if
7409 `decimal' char is 0.
831372e7 7410
edf66db1
SP
7411 * C-numeric.c (not_available): New constant.
7412 (_nl_C_LC_NUMERIC): Use `not_available' for grouping value.
831372e7 7413
edf66db1
SP
7414 * nss/nsswitch.conf: Example configuration file.
7415 * nss/db-Makefile: Example Makefile for generation of databases
7416 for nss_db.
7417 * nss/Makefile (distribute): Add nsswitch.conf and db-Makefile.
831372e7 7418
edf66db1 74191996-08-28 Paul Eggert <eggert@twinsun.com>
831372e7 7420
edf66db1
SP
7421 * C-messages.c (_nl_C_LC_MESSAGES): Set yesexpr to "^[yY]" and
7422 noexpr to "^[nN]"; this conforms to POSIX.2.
831372e7 7423
edf66db1
SP
7424 * C-time.c (_nl_C_LC_TIME): Change %d to %e in d_t_format, to
7425 conform to POSIX.2.
831372e7 7426
edf66db1 74271996-08-28 Paul Eggert <eggert@twinsun.com>
831372e7 7428
edf66db1
SP
7429 * C-monetary.c (not_available): New constant.
7430 (_nl_C_LC_MONETARY): Set mon_decimal_point to "", and set
7431 mon_grouping, int_frac_digits, frac_digits, p_cs_precedes,
7432 p_sep_by_space, n_cs_precedes, n_sep_by_space, p_sign_posn, and
7433 n_sign_posn to CHAR_MAX, as required by the POSIX Standard.
831372e7 7434
edf66db1 7435Wed Aug 28 23:12:28 1996 Ulrich Drepper <drepper@cygnus.com>
831372e7 7436
edf66db1
SP
7437 * nss/nss_db/db-XXX.c: Correct function names. They must be
7438 `_nss_db_*' instead of `_nss_files_*'.
7439 (lookup): `parse_line' returns 1 if succesful.
7440 * nss/nss_files/files-service.c (servbyname): Key for database
7441 must also contain protocol names.
7442 (servbypt): Likewise.
7443 Test must also check for protocol. Add `proto' argument.
831372e7 7444
edf66db1 7445Tue Aug 27 09:56:13 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
831372e7 7446
edf66db1
SP
7447 * MakeTAGS ($P/subdirs.pot): Prefix all file names, not only the
7448 first one.
831372e7 7449
edf66db1 7450Tue Aug 27 17:45:21 1996 Ulrich Drepper <drepper@cygnus.com>
831372e7 7451
edf66db1 7452 * Makerules: Add some test for correct version of GNU Make.
831372e7 7453
edf66db1
SP
7454 * io/fcntl.h: Undo change from Mon Aug 26 22:22:17 1996.
7455 * sysdeps/unix/sysv/linux/fcntlbits.h: Place macros here instead.
831372e7 7456
edf66db1
SP
7457 * sysdeps/generic/dl-sysdep.c: Initialize break address to
7458 avoid overwriting last page (OK, Roland).
831372e7 7459
edf66db1 7460Tue Aug 27 16:20:37 1996 Ulrich Drepper <drepper@cygnus.com>
831372e7 7461
edf66db1
SP
7462 * resolv/resolv.h: Update from BIND-4.9.5-T3A.
7463 * resolv/arpa/nameser.h: Likewise.
7464 * resolv/res_init.c: Likewise.
7465 * resolv/res_debug.c: Likewise.
7466 * resolv/res_mkquery.c: Likewise.
831372e7 7467
edf66db1 7468Tue Aug 27 15:47:04 1996 Ulrich Drepper <drepper@cygnus.com>
831372e7 7469
edf66db1
SP
7470 * elf/dl-error.c (catch): Define errstring element not as const.
7471 (_dl_catch_error): ERRSTRING argument is not const pointer.
7472 Initialize *ERRSTRING and *OBJNAME separately.
7473 * elf/link.h: Change prototype for `_dl_catch_error'.
831372e7 7474
edf66db1
SP
7475 * elf/dl-load.c (_dl_map_object): Use separate variable for
7476 copied NAME to avoid `const' warning.
831372e7 7477
edf66db1 7478 * elf/dlerror.c: Make `last_errstring' variable not const pointer.
831372e7 7479
edf66db1
SP
7480 * elf/rtld.c: Implement reading of /etc/ld.so.preload. This
7481 provides preloading even for SUID binaries.
7482 Add some more casts to avoid signed<->unsigned warnings.
831372e7 7483
edf66db1 7484Tue Aug 27 15:40:28 1996 NIIBE Yutaka <gniibe@mri.co.jp>
831372e7 7485
edf66db1
SP
7486 * posix/sys/types.h: Define loff_t.
7487 * sysdeps/unix/sysv/linux/gnu/types.h: Define __loff_t.
831372e7 7488
edf66db1 7489Mon Aug 26 22:22:17 1996 Ulrich Drepper <drepper@cygnus.com>
831372e7 7490
edf66db1 7491 * io/fcntl.h: Add definition for BSD F* macros.
831372e7 7492
edf66db1
SP
7493 * misc/init-misc.c (__init_misc): Make static.
7494 * misc/Makefile: Pass -fkeep-inline-functions flag for init-misc.c.
831372e7 7495
edf66db1
SP
7496 * configure.in: Add test for -fno-exception option of gcc.
7497 * config.make.in: Add definition of have-no-exceptions.
7498 * Makerules: Define no-exceptions based on have-no-exceptions.
7499 * csu/Makefile: When translating initfini.c pass $(no-exceptions).
7500 This is necessary for gcc >= ss-960816.
831372e7 7501
edf66db1 7502Mon Aug 26 17:16:48 1996 Richard Henderson <rth@tamu.edu>
831372e7 7503
edf66db1 7504 * sysdeps/alpha/dl-machine.h: Clear startup flag.
831372e7 7505
edf66db1 7506Fri Aug 16 21:17:50 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
831372e7 7507
edf66db1
SP
7508 * Makerules (o-iterator-doit): Simplify reference to autolock
7509 script.
831372e7 7510
edf66db1 7511Sat Aug 24 15:27:41 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
831372e7 7512
edf66db1
SP
7513 * sysdeps/mach/hurd/getcwd.c
7514 (_hurd_canonicalize_directory_name_internal): After resizing the
7515 buffer move the current contents to the end. Correctly relocate
7516 file name pointer to upper half of the buffer.
831372e7 7517
edf66db1 7518Mon Aug 26 15:49:59 1996 Ulrich Drepper <drepper@cygnus.com>
831372e7 7519
edf66db1
SP
7520 * rtld.c (dl_main): Remove code to call ld.so initializer. This
7521 was introduced for compatibility with Linux ld.so and would not
7522 be used anymore. Now we don't have any good values to use as the
7523 parameters to the initializer so simply remove it.
831372e7 7524
edf66db1 7525Sun Aug 25 18:25:52 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
831372e7 7526
edf66db1 7527 * gmon/gmon.c (ERR): Don't write the terminating NUL.
831372e7 7528
edf66db1
SP
7529 * sysdeps/posix/profil.c (profil): Disable the profiling timer at
7530 first.
7531 (profil_count): Use 64 bit arithmethic to avoid overflow.
831372e7 7532
edf66db1 7533 * sysdeps/generic/machine-gmon.h (MCOUNT): Fix argument order.
831372e7 7534
edf66db1 7535Mon Aug 26 16:31:33 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
831372e7 7536
edf66db1
SP
7537 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Tolerate NEW
7538 being null; in that case don't touch the timer at all (but do
7539 return something in OLD if necessary).
831372e7 7540
edf66db1 7541Mon Aug 26 13:35:16 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
831372e7 7542
edf66db1
SP
7543 * sysdeps/mach/hurd/i386/init-first.c (__libc_multiple_libcs): New
7544 variable.
7545 * sysdeps/i386/init-first.c: Likewise.
7546 * sysdeps/stub/init-first.c: Likewise.
831372e7 7547
edf66db1 7548Mon Aug 26 02:01:37 1996 Ulrich Drepper <drepper@cygnus.com>
831372e7 7549
edf66db1
SP
7550 * elf/dl-open.c (_dl_open): Call library initializer with
7551 correct command line arguments and environment information.
7552 * elf/rtld.c (dl_main): Provide arguments to initializer of
7553 ld.so itself.
831372e7 7554
edf66db1 7555Sun Aug 25 19:15:46 1996 Ulrich Drepper <drepper@cygnus.com>
831372e7 7556
edf66db1
SP
7557 * shadow/Makefile (routines): Add lckpwdf.
7558 * shadow/lckpwdf.c: New file.
831372e7 7559
edf66db1
SP
7560 * sysdeps/i386/fpu_control.h (_FPU_GETCW, _FPU_SETCW): Force
7561 argument `cw' to be placed in memory. Patch by Torbjorn Granlund.
831372e7 7562
edf66db1 7563Sun Aug 25 12:53:37 1996 Ulrich Drepper <drepper@cygnus.com>
831372e7 7564
edf66db1
SP
7565 * configure.in: Add definition for `__eh_pc' and `__throw' in
7566 test for --no-whole-archive. The compiler generates dependencies
7567 for this but none of the standard librares and startup files
7568 are used. Necessary for gcc >= ss-960816.
831372e7 7569
edf66db1 7570Sun Aug 25 01:31:33 1996 Ulrich Drepper <drepper@cygnus.com>
831372e7 7571
edf66db1
SP
7572 * elf/dl-error.c (_dl_signal_error): If error is catched, malloc
7573 return string since string might be on stack.
7574 * elf/dl-lookup.c (_dl_lookup_symbol): Undo change of
7575 Wed Aug 21 10:14:59 1996.
7576 * elf/dlerror.c (dlerror): Free error string after printing.
7577 (_dlerror_run): If error string was not printed since last error
7578 free string.
7579 * rtld.c (dl_main): Free error string in case of error.
831372e7 7580
edf66db1 7581Sat Aug 24 03:16:47 1996 Ulrich Drepper <drepper@cygnus.com>
831372e7 7582
edf66db1
SP
7583 * misc/syslog.c (vsyslog): Don't use `localtime' or `gmtime' since
7584 this changes the global state for `localtime' and `gmtime'. Use
7585 `__localtime_r'/`__gmtime_r' instead.
7586 * resolv/res_debug.c (__p_secstodate): Likewise.
7587 * sysdeps/generic/ftime.c: Likewise.
7588 * sysdeps/posix/gettimeofday.c: Likewise.
7589 Reported by Paul Eggert.
831372e7 7590
edf66db1
SP
7591 * time/gmtime.c: De-ANSI-fy.
7592 * time/strftime.c: Don't call non-reentrant functions which change
7593 state.
831372e7 7594
edf66db1 7595Wed Aug 21 10:14:59 1996 Richard Henderson <rth@tamu.edu>
831372e7 7596
edf66db1
SP
7597 * elf/dl-lookup.c (_dl_lookup_symbol): Malloc the error string rather
7598 than putting it on the stack.
831372e7 7599
edf66db1 7600Wed Aug 21 10:12:42 1996 Richard Henderson <rth@tamu.edu>
831372e7 7601
edf66db1
SP
7602 * elf/rtld.c (dl_main): When looking up symbols in response to --list,
7603 don't find .plt entries.
831372e7 7604
edf66db1 7605Mon Aug 19 23:18:12 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
831372e7 7606
edf66db1
SP
7607 * sysdeps/m68k/dl-machine.h (RTLD_START): Optimize clearing
7608 _dl_starting_up.
831372e7 7609
edf66db1 7610Tue Aug 20 17:42:10 1996 Miles Bader <miles@gnu.ai.mit.edu>
831372e7 7611
edf66db1 7612 * stdio/linewrap.c (line_wrap_stream): Initialize D->seek.
831372e7 7613
edf66db1 7614Sat Aug 17 12:19:37 1996 David Mosberger-Tang <davidm@azstarnet.com>
831372e7 7615
edf66db1
SP
7616 * login/pututline_r.c (__pututline_r): Fix handling of case where
7617 getutid_r() fails with ESRCH. Reported by Miquel van Smoorenburg.
831372e7 7618
edf66db1 7619Wed Aug 14 14:10:54 1996 David Mosberger-Tang <davidm@azstarnet.com>
831372e7 7620
edf66db1
SP
7621 * sysdeps/unix/sysv/linux/alpha/ioperm.c (platform): Change entry
7622 for "Jensen" so _bus_base() returns 0 on that platform. Use
7623 _bus_base_sparse() to determine base address of sparse memory.
831372e7 7624
edf66db1
SP
7625 * sysdeps/unix/sysv/linux/sys/io.h: Enclose #include <asm/io.h>
7626 and declarations in __BEGIN_DECLS/__END_DECLS.
831372e7 7627
edf66db1 7628Sun Aug 18 13:37:09 1996 Ulrich Drepper <drepper@cygnus.com>
831372e7 7629
edf66db1 7630 * err.h: New file. Wrapper around misc/err.h.
831372e7 7631
edf66db1
SP
7632 Correct solution of multiple initialization problem by
7633 Roland McGrath.
7634 * csu/initfini.c: Remove global variable __libc_is_static.
7635 * elf/rtld.c: Introduce new global variable _dl_starting_up.
7636 It's nonzero during the startup.
7637 * elf/dl-open.c (_dl_open): When _dl_start function is not
7638 available (i.e., if in static libc) set `__libc_multiple_libcs'
7639 to nonzero value.
7640 * sysdeps/unix/sysv/linux/init-first.c (__libc_multiple_libc):
7641 New global variable.
7642 (init): Undo change of Fri Aug 2 03:12:40 1996.
7643 Initialize `__libc_multiple_libcs' to nonzero only if this is
7644 a shared lib called from a statically linked program and don't
7645 call `personality' and `setfpucw' in this case either.
7646 * sysdeps/generic/sbrk.c: Undo change of Fri Aug 2 03:12:40 1996.
7647 Don't call brk(0) until `__libc_multiple_libcs' is nonzero.
7648 * sysdeps/i386/dl-machine.h (RTLD_START): Clear _dl_starting_up
7649 before jumping to user code.
7650 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
831372e7 7651
edf66db1 7652Fri Aug 16 04:59:01 1996 Ulrich Drepper <drepper@cygnus.com>
831372e7 7653
edf66db1
SP
7654 * sysdeps/unix/sysv/linux/init-first.c: Remove hack from
7655 Thu Aug 8 12:40:20 1996.
7656 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = csu]: Use
7657 -fkeep-inline-functions flag instead.
831372e7 7658
edf66db1 7659Fri Aug 16 01:24:33 1996 Ulrich Drepper <drepper@cygnus.com>
831372e7 7660
edf66db1
SP
7661 * inet/ruserpass.c (userpass): Allocate buffer for .netrc file
7662 name dynamically. Reported by Alan Cox.
7663 Uncomment warnings and mark as translatable.
831372e7 7664
edf66db1
SP
7665 * time/strftime (strftime): Add implementation for %s and %z
7666 format. Change behaviour for unknown format character: now
7667 simply print it. This matches the behaviour of printf.
7668 Reported by Jim Meyering.
7669 * manual/time.texi: Document all formats and flags of strftime.
831372e7 7670
edf66db1 7671Thu Aug 15 18:02:51 1996 Ulrich Drepper <drepper@cygnus.com>
831372e7 7672
edf66db1
SP
7673 * elf/rtld.c (dl_main): Loaded object has type lt_executable,
7674 not lt_library.
831372e7 7675
edf66db1
SP
7676 * misc/sys/select.h: Define fd_set using typedef, not #define.
7677 Proposed by David Mosberger-Tang.
831372e7 7678
edf66db1 7679Thu Aug 15 12:48:21 1996 Ulrich Drepper <drepper@cygnus.com>
831372e7 7680
edf66db1 7681 * po/header.pot: Use real description line.
831372e7 7682
edf66db1 7683Thu Aug 15 04:42:44 1996 Ulrich Drepper <drepper@cygnus.com>
831372e7 7684
edf66db1
SP
7685 * elf/rtld.c (dl_main): When started with --verify prevent
7686 any warning. Just exit with an error.
7687 * elf/ldd.sh.in: Don't run given object directly. This fails for
7688 libraries. Instead use $RTLD again.
831372e7 7689
edf66db1 7690Thu Aug 15 02:08:59 1996 Ulrich Drepper <drepper@cygnus.com>
831372e7 7691
edf66db1
SP
7692 * manual/nss.texi: New file. Document NSS.
7693 * manual/nsswitch.texi: New file. Example configuration.
831372e7 7694
edf66db1
SP
7695 * manual/string.texi: Document stpncpy, strdupa, and strndupa.
7696 * manual/example/strdupa.c: New file. Example for strdupa.
831372e7 7697
edf66db1 7698Wed Aug 14 21:36:16 1996 Ulrich Drepper <drepper@cygnus.com>
831372e7 7699
edf66db1
SP
7700 * stdlib/strtod.c (STRTOD): Correct assertion about size of
7701 wint_t and wchar_t. Reported by David Mosberger-Tang.
831372e7 7702
edf66db1 7703Mon Aug 12 22:40:16 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
831372e7 7704
edf66db1
SP
7705 * elf/dl-lookup.c (_dl_lookup_symbol): Remove fifth parameter
7706 RELOC_ADDR and make NOPLT a set of flags. All callers
7707 changed. Delete condition that checks for resolving to the
7708 location being filled in. Add condition to skip the
7709 executable's symbols if requested.
7710 * elf/link.h: Change declaration of _dl_lookup_symbol
7711 accordingly.
7712 (DL_LOOKUP_NOEXEC, DL_LOOKUP_NOPLT): New definitions.
7713 * elf/dl-reloc.c (RESOLVE): Remove second parameter and rename
7714 NOPLT to FLAGS.
7715 * elf/dl-runtime.c (RESOLVE): Likewise.
7716 * elf/rtld.c (RESOLVE): Likewise.
7717 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Pass
7718 DL_LOOKUP_NOEXEC as second argument to the RESOLVE macro if
7719 processing a copy reloc, DL_LOOKUP_NOPLT for a jump slot
7720 reloc, zero otherwise.
7721 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
7722 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
7723 * sysdeps/mips/dl-machine.h (elf_machine_rel): Likewise.
831372e7 7724
edf66db1 7725Wed Aug 14 17:57:08 1996 Ulrich Drepper <drepper@cygnus.com>
831372e7 7726
edf66db1
SP
7727 * MakeTAGS: Clean up use of --omit-header and -n for xgettext.
7728 * po/header.pot: Add empty line at end.
831372e7 7729
edf66db1 7730Sun Aug 11 13:45:33 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
831372e7 7731
edf66db1
SP
7732 * MakeTAGS (all-pot): Remove $P/errlist.pot, all error messages
7733 are now in $P/stdio-common.pot.
7734 (XGETTEXTFLAGS-errlist.pot): Variable removed.
831372e7 7735
edf66db1 7736Mon Aug 12 19:25:03 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
831372e7 7737
edf66db1
SP
7738 * Makerules (do-ar, o-iterator-doit): Compute path to autolock
7739 script at run time, not configure time.
7740 * config.make.in, configure.in: Undo previous change.
831372e7 7741
edf66db1 7742Wed Aug 14 13:20:02 1996 Ulrich Drepper <drepper@cygnus.com>
831372e7 7743
edf66db1
SP
7744 * sysdeps/unix/sysv/linux/i386/close.S: Push return value of thread
7745 on stack as argument for `_exit'. Reported by Andreas Schwab.
831372e7 7746
edf66db1 7747Mon Aug 12 19:36:25 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
831372e7 7748
edf66db1 7749 * sysdeps/unix/sysv/linux/m68k/clone.S: New file.
831372e7 7750
edf66db1 7751Wed Aug 14 04:22:35 1996 Richard Henderson <rth@tamu.edu>
831372e7 7752
edf66db1
SP
7753 * elf/dl-load.c (_dl_map_object): Save name in malloced memory.
7754 (_dl_map_object_from_fd): Free name on error.
831372e7 7755
edf66db1 7756Wed Aug 14 13:00:09 1996 Ulrich Drepper <drepper@cygnus.com>
831372e7 7757
edf66db1 7758 * string/strdup.c: Use result of memcpy to avoid reloading.
831372e7 7759
edf66db1 7760Tue Aug 13 00:55:03 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
831372e7 7761
edf66db1
SP
7762 * shadow/sgetspent_r.c (__sgetspent_r): Copy string to buffer, not
7763 the other way round.
831372e7 7764
edf66db1 7765Tue Aug 13 20:51:21 1996 Ulrich Drepper <drepper@cygnus.com>
831372e7 7766
edf66db1
SP
7767 * stdlib/canonicalize.c (canonicalize): Add cast to prevent
7768 warning.
831372e7 7769
edf66db1 7770 * Makerules (o-iterator-doit): Use autolock.sh when running ranlib.
831372e7 7771
edf66db1 7772Tue Aug 13 18:26:45 1996 Ulrich Drepper <drepper@cygnus.com>
831372e7 7773
edf66db1
SP
7774 * nss/nsswitch.c (__nss_configure_lookup): Use fact that list is
7775 sorted.
831372e7 7776
edf66db1
SP
7777 Update from bind-4.9.5-T1A.
7778 * resolv/Makefile (libresolv-routines): Add base64, inet_net_ntop,
7779 inet_net_pton, inet_net.
831372e7 7780
edf66db1
SP
7781 * resolv/gethnamaddr.c: Include <sys/types.h>.
7782 * resolv/getnetnamadr.c: Likewise.
7783 * resolv/herror.c: Likewise.
7784 * resolv/inet_addr.c: Likewise.
7785 * resolv/nsap_addr.c: Likewise.
7786 * resolv/res_comp.c: Likewise.
7787 * resolv/res_data.c: Likewise.
7788 * resolv/res_init.c: Likewise.
7789 * resolv/res_mkquery.c: Likewise.
7790 * resolv/res_query.c: Likewise.
7791 * resolv/res_send.c: Likewise.
831372e7 7792
edf66db1
SP
7793 * resolv/gethnamaddr.c [! SPRINTF_CHAR] (SPRINTF): Cast return
7794 value of sprintf.
7795 * resolv/inet_ntop.c: Likewise.
831372e7 7796
edf66db1
SP
7797 * resolv/gethnamaddr.c [BSD]: Include <stdlib.h>.
7798 Remove prototype of gethostbyname_ipv4.
831372e7 7799
edf66db1
SP
7800 * resolv/inet_ntop.c, resolv/inet_pton.c: Use ISO C `mem*'
7801 functions instead of BSD `b*' functions.
831372e7 7802
edf66db1 7803 * resolv/nsap_addr.c: Add copyright message.
831372e7 7804
edf66db1
SP
7805 * resolv/res_comp.c: Remove comment explaining label format.
7806 (res_mailok): Correct check.
831372e7 7807
edf66db1
SP
7808 * resolv/res_debug: Include missing headers.
7809 (__fp_nquery): Handle `unused', `ad', and `cd' bits.
7810 (__p_fqnname): New function to print FQDN from compressed name.
7811 (__p_rr): Use __p_fqnname. Correct printing of ". Handle T_TXT
7812 correctly. Add handling of T_KEY and T_SIG.
7813 Handle class and type names by using name arrays instead of
7814 explicit `switch'es.
7815 (__sym_ston, __sym_ntos, __sym_ntop): New functions to use arrays.
7816 (__dn_count_labels, __p_secstodate): New functions.
831372e7 7817
edf66db1
SP
7818 * resolv/resolv.h (__RES): Update version number.
7819 (res_sym): New type.
7820 Add #defines for new functions.
7821 Declare sym_ntos, sym_ntop, b64_ntop, b64_pton, __p_fqnname,
7822 __p_secstodate, dn_count_labels.
831372e7 7823
edf66db1
SP
7824 * resolv/arpa/nameser.h (__BIND): Update version number.
7825 Add KEYFLAG_* and ALGORITHM_* symbols.
7826 (HEADER): Add `ad' and `cd' flags.
831372e7 7827
edf66db1
SP
7828 * inet/ient.h: Add prototypes for inet_neta, inet_net_ntop,
7829 and inet_net_pton.
831372e7 7830
edf66db1
SP
7831 * manual/maint.texi: Document that we use bind-4.9.5.
7832 * INSTALL: Ditto.
831372e7 7833
edf66db1 7834Mon Aug 12 19:03:22 1996 Thomas Bushnell n/BSG <thomas@psilocin.gnu.ai.mit.edu>
831372e7 7835
edf66db1 7836 * sysdeps/generic/gnu/types.h: Declare __fd_mask as `unsigned long'.
831372e7 7837
edf66db1
SP
7838 * mach/Makefile (mach/mach_host.uh): Depend on
7839 $(objpfx)/mach-syscalls.mk.
7840 ($(objpfx)mach-shortcuts.h): Depend on $(objpfx)mach/mach_host.h.
7841 (This fixes a make loop; thanks to Marcus Daniels
7842 <marcus@sysc.pdx.edu> for the patch.)
831372e7 7843
edf66db1 7844Mon Aug 12 16:41:52 1996 Thomas Bushnell n/BSG <thomas@gnu.ai.mit.edu>
831372e7 7845
edf66db1
SP
7846 * io/getwd.c (getwd) [! PATH_MAX]: Don't assume that the user's
7847 buffer is any longer than the amount necessary to hold the
7848 filename; the Hurd getcwd uses the *entire* contents of the
7849 buffer, however long it is specified to be.
831372e7 7850
edf66db1 7851Mon Aug 12 04:33:09 1996 Ulrich Drepper <drepper@cygnus.com>
831372e7 7852
edf66db1
SP
7853 * nss/nsswitch.c (__nss_database_lookup): Always release locks
7854 before returning. Reported by Miles Bader.
831372e7 7855
edf66db1 7856Mon Aug 12 03:31:58 1996 Ulrich Drepper <drepper@cygnus.com>
831372e7 7857
edf66db1
SP
7858 * nss/nsswitch.c (__nss_configure_lookup): New function.
7859 Allows to specify services.
7860 * nss/XXX-lookup.h: Rename database variable and make global.
7861 * nss/databases.def: New file. Real names of all databases.
831372e7 7862
edf66db1
SP
7863 * nss/nss.h: New file. Contains declaration useful for users
7864 and service developers.
7865 * nss/nsswitch.h: Move some declarations to nss/nss.h.
7866 * nss.h: New file. Wrapper around nss/nss.h.
831372e7 7867
edf66db1
SP
7868 * nss/Makefile (headers): Add nss.h.
7869 (distributes): Add databases.def.
831372e7 7870
edf66db1 7871Sun Aug 11 16:19:42 1996 Ulrich Drepper <drepper@cygnus.com>
831372e7 7872
edf66db1
SP
7873 Help the poor people with fast machines by making sure only
7874 one `ar' commands works on the library.
7875 * autolock.sh: New file. Written by Tom Tromey.
7876 * Makerules (do-ar): Call autolock.sh shell script instead of
7877 directly using `ar'.
7878 * config.make.in: Make configuration variable AUTOLOCK which
7879 gets initialized by configure.
7880 * configure.in: Define variable AUTOLOCK to point to autolock.sh
7881 script and mark it to substitute.
831372e7 7882
edf66db1 7883 * string/Makefile: Add -fno-builtin for tst-strlen.c, too.
831372e7 7884
edf66db1
SP
7885 * sysdeps/generic/sbrk.c (__sbrk): Get kernel brk address
7886 always only if in static libc or if statically linked program
7887 uses libc.so.
831372e7 7888
edf66db1 7889Sun Aug 11 01:12:38 1996 Richard Henderson <rth@tamu.edu>
831372e7 7890
edf66db1
SP
7891 * sysdeps/alpha/dl-machine.h (elf_alpha_fix_plt): Optimize LD_BIND_NOW
7892 startup by moving Icache flush from here ...
7893 (ELF_MACHINE_RUNTIME_TRAMPOLINE): ... to here.
7894 (ELF_MACHINE_USER_ADDRESS_MASK): Delete; it is unused.
831372e7 7895
edf66db1
SP
7896 * sysdeps/alpha/divrem.h: Update comment to reflect the actual
7897 calling conventions. The code is already correct.
831372e7 7898
edf66db1 7899Sun Aug 11 01:06:42 1996 Richard Henderson <rth@tamu.edu>
831372e7 7900
edf66db1
SP
7901 * string/Makefile: Compile tester with -fno-builtin as we want to
7902 test our implementations, not gcc's.
831372e7 7903
edf66db1 7904Sat Aug 10 13:17:27 1996 David Mosberger-Tang <davidm@azstarnet.com>
831372e7 7905
edf66db1 7906 * shadow.h: New file.
831372e7 7907
edf66db1
SP
7908 * sysdeps/unix/sysv/linux/netinet/in.h: Move
7909 __BEGIN_DECLS/__END_DECLS up so ntohl() et al are bracketed as
7910 well.
831372e7 7911
edf66db1
SP
7912 * socket/sys/socket.h [__cplusplus]: Use old-style __SOCKADDR_ARG.
7913 g++ 2.7.2 (and earlier) has no transparent unions support.
831372e7 7914
edf66db1 7915Fri Aug 9 18:50:06 1996 David Mosberger-Tang <davidm@azstarnet.com>
831372e7 7916
edf66db1
SP
7917 * sysdeps/unix/sysv/linux/alpha/ioperm.c (_bus_base_sparse): New
7918 function to determine the base address of sparse bus memory.
7919 (APECS_*): Rename to CIA_*.
7920 (APECS_SPARSE_MEM, CIA_SPARSE_MEM): New macros.
7921 (platform): Add sparse_bus_memory_base member and initialize.
7922 (sparse_bus_memory_base): New variable.
831372e7 7923
edf66db1 7924Tue Aug 6 10:23:18 1996 David Mosberger-Tang <davidm@azstarnet.com>
831372e7 7925
edf66db1
SP
7926 * sysdeps/posix/ttyname_r.c (ttyname_r),
7927 sysdeps/posix/ttyname.c (ttyname): Return -1/NULL if
7928 !__isatty(fd) (POSIX.1 says so.)
831372e7 7929
edf66db1
SP
7930 * sysdeps/unix/getlogin.c (getlogin): Fix to check fd 0 only.
7931 This is not a gross hack, after all---for compatibility,
7932 getlogin() really should check fd 0 only and not try to base its
7933 operation on the controlling tty.
831372e7 7934
edf66db1 7935Wed Jul 17 10:54:20 1996 David Mosberger-Tang <davidm@azstarnet.com>
831372e7 7936
edf66db1
SP
7937 * sysdeps/unix/getlogin.c (getlogin): Add static variable NAME,
7938 change utmp_data from static to auto.
831372e7 7939
edf66db1 7940Sun Aug 11 02:56:08 1996 Ulrich Drepper <drepper@cygnus.com>
831372e7 7941
edf66db1
SP
7942 * posix/unistd.h [__USE_MISC]: Add prototype for `nice'.
7943 Reported by David Mosberger-Tang.
831372e7 7944
edf66db1 7945Sat Aug 10 02:05:28 1996 Richard Henderson <richard@twiddle.tamu.edu>
831372e7 7946
edf66db1
SP
7947 * sysdeps/libm-ieee754/s_isnan.c [NO_LONG_DOUBLE]: Add strong
7948 alias to `__isnanl'.
831372e7 7949
edf66db1 7950Fri Aug 9 17:38:58 1996 Ulrich Drepper <drepper@cygnus.com>
831372e7 7951
edf66db1
SP
7952 * sysdeps/unix/sysv/linux/sys/timex.h: Include <sys/time.h> to
7953 get `struct timeval'.
7954 * sysdeps/unix/sysv/linux/sys/acct.h: Get time_t from <time.h>.
7955 * sysdeps/unix/sysv/linux/sys/module.h: Get size_t from <stddef.h>.
7956 * sysdeps/unix/sysv/linux/sys/io.h: Get definition of __P.
7957 * sysdeps/unix/sysv/linux/sys/klog.h: Likewise.
7958 * gmon/sys/gmon.h: Include <sys/types.h> to get u_long.
7959 * sysdeps/unix/sysv/linux/direntry.h: Complete types in
7960 <linux/dirent.h>.
7961 * io/fts.h: Include <sys/types.h> to get dev_t.
7962 Reported by Matthias Urlichs.
831372e7 7963
edf66db1
SP
7964 * sysdeps/posix/tempname.c [USE_IN_LIBIO]: Don't clear
7965 _IO_file_flags. It's the same as _flags.
7966 Reported by Miquel van Smoorenburg <miquels@Q.cistron.nl>.
831372e7 7967
edf66db1 7968Wed Aug 7 19:38:47 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
831372e7 7969
edf66db1 7970 * sysdeps/unix/sysv/linux/m68k/resourcebits.h: Add RLIMIT_AS.
831372e7 7971
edf66db1 7972Thu Aug 8 16:17:38 1996 Ulrich Drepper <drepper@cygnus.com>
831372e7 7973
edf66db1
SP
7974 * pwd/getpwent.c: Define BUFLEN from NSS_BUFLEN_PASSWD.
7975 * pwd/getpwent_r.c: Likewise.
7976 * pwd/getpwnam.c: Likewise.
7977 * pwd/getpwnam_r.c: Likewise.
7978 * pwd/getpwuid.c: Likewise.
7979 * pwd/getpwuid_r.c: Likewise.
831372e7 7980
edf66db1
SP
7981 * grp/getgrent.c: Define BUFLEN from NSS_BUFLEN_GROUP.
7982 * grp/getgrent_r.c: Likewise.
7983 * grp/getgrgid.c: Likewise.
7984 * grp/getgrgid_r.c: Likewise.
7985 * grp/getgrnam.c: Likewise.
831372e7 7986
edf66db1
SP
7987 * pwd/fgetpwent_r.c: New file. Reentrant version of fgetpwent.
7988 * pwd/fgetpwent.c: Rewrite to use fgetpwent_r.
7989 * pwd/Makefile (routines): Add fgetpwent_r.
7990 * pwd/pwd.h: Add prototypes for __fgetpwent_r and fgetpwent_r.
831372e7 7991
edf66db1
SP
7992 * grp/fgetgrent_r.c: New file. Reentrant version of fgetgrent.
7993 * grp/fgetgrent.c: Rewrite to use fgetgrent_r.
7994 * grp/Makefile (routines): Add fgetgrent_r.
7995 * grp/grp.h: Add prototypes for __fgetgrent_r and fgetgrent_r.
831372e7 7996
edf66db1
SP
7997 Implement shadow password lookup functions. This is no complete
7998 shadow password suite.
7999 * shadow/Makefile: New file.
8000 * shadow/fgetspent.c: New file.
8001 * shadow/fgetspent_r.c: New file.
8002 * shadow/getspent.c: New file.
8003 * shadow/getspent_r.c: New file.
8004 * shadow/getspnam.c: New file.
8005 * shadow/getspnam_r.c: New file.
8006 * shadow/putspent.c: New file.
8007 * shadow/sgetspent.c: New file.
8008 * shadow/sgetspent_r.c: New file.
8009 * shadow/shadow.h: New file.
8010 * shadow/spwd-lookup.c: New file.
8011 * shadow/nss_files/files-spwd.c: New file.
831372e7 8012
edf66db1 8013Thu Aug 8 13:33:45 1996 Ulrich Drepper <drepper@cygnus.com>
831372e7 8014
edf66db1
SP
8015 * sysdeps/unix/sysv/linux/ftime.c: New file. Available system
8016 call is only a stub.
8017 Reported by Matthias Urlichs.
831372e7 8018
edf66db1
SP
8019 * Makeconfig [!default_cflags]: Change default value from `-g'
8020 to `-g -O'.
831372e7 8021
edf66db1
SP
8022 * configure.in: Recognize i686.
8023 * sysdeps/i386/i686/Implies: Default on i586 optimized code.
831372e7 8024
edf66db1 8025Thu Aug 8 12:40:20 1996 Matthias Urlichs <smurf@smurf.noris.de>
831372e7 8026
edf66db1
SP
8027 * Makeconfig [$(build-omitfp) == yes]: Add to CFLAGS-.so
8028 value of CFLAGS-.o, not CFLAGS-o.
831372e7 8029
edf66db1
SP
8030 * sysdeps/unix/sysv/linux/init-first.c (init): Add volatile
8031 pointer to ourself. Otherwise `gcc -O3' optimized init away.
831372e7 8032
edf66db1 8033Thu Aug 8 01:41:43 1996 Ulrich Drepper <drepper@cygnus.com>
831372e7 8034
edf66db1
SP
8035 * elf/Makefile: Undo change of Tue Aug 6 14:27:11 1996.
8036 * elf/dl-support: Add definition of `_dl_sysdep_read_whole_file'.
831372e7 8037
edf66db1 8038Thu Aug 8 01:15:59 1996 Ulrich Drepper <drepper@cygnus.com>
831372e7 8039
edf66db1
SP
8040 * sysdeps/i386/fpu_control.h (_FPU_DEFAULT, _FPU_IEEE): Set
8041 to 0x137f to allow long double operations.
831372e7 8042
edf66db1 8043Sun Aug 4 13:12:05 1996 Richard Henderson <rth@tamu.edu>
831372e7 8044
edf66db1 8045 Bug Fixes:
831372e7 8046
edf66db1
SP
8047 * nss/nsswitch.c (_res): Remove redundant variable definition.
8048 The real one is in resolve/res_init.c, and having both prevents
8049 using -fno-common when building the shared library.
8050 * sunrpc/rpc_prot.c (_null_auth): Same. Original is in rpc_common.c.
831372e7 8051
edf66db1
SP
8052 * sysdeps/unix/sysv/linux/alpha/brk.S: When PIC, define __curbrk as
8053 a .bss object not a COMMON symbol.
831372e7 8054
edf66db1
SP
8055 * sysdeps/alpha/bsd-_setjmp.S, sysdeps/alpha/bsd-setjmp.S: Must load
8056 $gp before referencing __sigsetjmp symbol. Retain LITUSE for same.
831372e7 8057
edf66db1 8058 Optimizations:
831372e7 8059
edf66db1
SP
8060 * sysdeps/alpha/strlen.S: Rearrange first-word setup and thense the
8061 main loop for better dual-issue on EV5. Rearrange binary search to
8062 pipeline better and trim one instruction.
831372e7 8063
edf66db1 8064 Cosmetic Changes:
831372e7 8065
edf66db1
SP
8066 * time/localtime.c (localtime_r): Move lock declaration back next to
8067 the comment where it was before the 960724 change.
831372e7 8068
edf66db1
SP
8069 * INSTALL, manual/maint.texi: alpha-gnu-linux -> alpha-ANYTHING-linux.
8070 The second word is supposed to be the hardware manufacturer.
831372e7 8071
edf66db1
SP
8072 * sysdeps/alpha/_mcount.S: Retain LITUSE for __mcount.
8073 * sysdeps/alpha/setjmp.S: Retain LITUSE for __sigsetjmp_aux.
831372e7 8074
edf66db1 8075 * sysdeps/alpha/divrem.h: More local labels, retain LITUSE for _mcount.
831372e7 8076
edf66db1
SP
8077 * sysdeps/alpha/alphaev5/add_n.S, sysdeps/alpha/alphaev5/lshift.S,
8078 sysdeps/alpha/alphaev5/rshift.S, sysdeps/alpha/alphaev5/sub_n.S:
8079 Same cleanups as with EV4 GMP stuff.
831372e7 8080
edf66db1 8081Tue Jul 25 03:30:56 1996 Richard Henderson <rth@tamu.edu>
831372e7 8082
edf66db1
SP
8083 * sysdeps/unix/sysv/linux/Makefile [misc] (sysdep_routines): Add clone.
8084 * sysdeps/unix/sysv/linux/alpha/clone.S: New file.
8085 * sysdeps/unix/sysv/linux/i386/clone.S: New file.
831372e7 8086
edf66db1 8087Sun Aug 4 00:12:41 1996 David Mosberger-Tang <davidm@azstarnet.com>
831372e7 8088
edf66db1
SP
8089 * sysdeps/unix/sysv/linux/gnu/types.h: Declare __fd_mask as
8090 `unsigned long'.
831372e7 8091
edf66db1 8092 * misc/sys/select.h: Declare fd_mask as alias of __fd_mask.
831372e7 8093
edf66db1 8094Sat Aug 3 16:20:02 1996 David Mosberger-Tang <davidm@azstarnet.com>
831372e7 8095
edf66db1
SP
8096 * sysdeps/unix/sysv/linux/alpha/ioperm.c (platform): Add entry for
8097 Mikasa.
831372e7 8098
edf66db1
SP
8099 * socket/sys/socket.h (send, __send, sendto): Declare buffer
8100 pointer as __const.
831372e7 8101
edf66db1 8102 * string/tester.c (main): Test stpncpy.
831372e7 8103
edf66db1
SP
8104 * sysdeps/generic/stpncpy.c (__stpncpy): Fix so it works without
8105 segfault when called with an N that is not a multiple of four and
8106 src[N-1]=='\0'.
831372e7 8107
edf66db1
SP
8108 * misc/syslog.c (LogType): New variable.
8109 (openlog): If connect() with SOCK_DGRAM fails with EPROTOTYPE,
8110 try again with SOCK_STREAM (the Linux syslogd uses a socket of the
8111 latter type).
8112 (vsyslog): When LogType==SOCK_STREAM, also send ASCII NUL
8113 terminator as a record-delimiter. If __send(LogFile) fails,
8114 call closelog() so logfile gets re-opened next time.
831372e7 8115
edf66db1 8116Wed Aug 7 15:15:14 1996 Ulrich Drepper <drepper@cygnus.com>
831372e7 8117
edf66db1 8118 * elf/dl-open (_dl_open): Add cast to avoid warning.
831372e7 8119
edf66db1
SP
8120 * manual/memory.texi: Improve some examples to give readers better
8121 advice: Use `stpcpy' instead of `strcat' if possible.
8122 * manual/string.texi: Document `strtok_r' and `strtok'.
831372e7 8123
edf66db1
SP
8124 * sunrpc/Makefile: Move `+gccwarn' definition before inclusion
8125 of Makeconfig.
8126 [$(cross-compiling)=no]: Change test before making librpcsvc
8127 to this from $(cross-compile).
8128 Reported by Andreas Schwab.
831372e7 8129
edf66db1 8130Tue Aug 6 14:27:11 1996 Ulrich Drepper <drepper@cygnus.com>
831372e7 8131
edf66db1
SP
8132 * elf/Makefile (routines): Move dl-sysdep to here...
8133 (rtld-routines): ...from here. This should make static linking
8134 work again.
831372e7 8135
edf66db1
SP
8136 * locale/setlocale.c: Add local variable `lock' and add code to
8137 `setlocale' to avoid simultaneous changing of global data.
831372e7 8138
edf66db1
SP
8139 * catgets/catgets.c (catopen): Use `__strdup' instead of `strdup'.
8140 * catgets/open_catalog (__open_catalog): Use `__stpcpy', `__open',
8141 `__fstat', `__read', `__mmap', `__munmap' and `__close' instead
8142 of unprotected names.
831372e7 8143
edf66db1 8144Tue Aug 6 01:13:56 1996 Ulrich Drepper <drepper@cygnus.com>
831372e7 8145
edf66db1
SP
8146 Clean name space according to ISO C, ISO C/Amd 1, and POSIX.1.
8147 This requires to rename several functions to use __ protected
8148 names.
8149 * dirent/dirent.h: Add prototypes of __opendir, __closedir,
8150 and __readdir.
8151 * sysdeps/mach/hurd/closedir.c: Prepend function name with __
8152 and make old name a weak alias.
8153 * sysdeps/mach/hurd/getrlimit.c: Likewise.
8154 * sysdeps/mach/hurd/opendir.c: Likewise.
8155 * sysdeps/mach/hurd/readdir.c: Likewise.
8156 * sysdeps/stub/closedir.c: Likewise.
8157 * sysdeps/stub/opendir.c: Likewise.
8158 * sysdeps/stub/readdir.c: Likewise.
8159 * sysdeps/unix/closedir.c: Likewise.
8160 * sysdeps/unix/opendir.c: Likewise.
8161 * sysdeps/unix/readdir.c: Likewise.
831372e7 8162
edf66db1
SP
8163 * sysdeps/unix/opendir.c: Call `__fcntl' instead `fcntl'.
8164
8165 * sysdeps/posix/getcwd.c: Call `__opendir', `__readdir',
8166 `__closedir' instead of unprotected names.
8167
8168 * libio/filedoalloc.c (_IO_file_doallocate): Call `__isatty'
8169 instead of `isatty' since later is not part of ISO C.
8170 * libio/fileops.c (_IO_file_fopen): Call `__open' instead of
8171 `open' since later is not part of ISO C.
8172
8173 * login/endutent.c (endutent): Call `__endutent_r', not
8174 `endutent_r'.
8175 * login/endutent_r.c: Rename defined function to `__endutent_r',
8176 make `endutent_r' weak alias.
8177 * login/getutent.c (getutent): Call `__getutent_r', not
8178 `getutent_r'.
8179 * login/getutid.c (getutid): Call `__getutid_r', not `getutid_r'.
8180 * login/getutid_r.c: Rename defined function to `__getutent_r',
8181 make `getutent_r' weak alias.
8182 * login/getutline.c (getutline): Call `__getutline_r', not
8183 `getutline_r'.
8184 * login/getutline_r.c: Rename defined function to `__getutline_r',
8185 make `getutline_r' weak alias.
8186 * login/pututline_r.c: Rename defined function to `__pututline_r',
8187 make `pututline_r' weak alias.
8188 * login/setutent.c (setutent): Call `__setutline_r', not
8189 `setutline_r'.
8190 * login/setutent_r.c: Rename defined function to `__setutline_r',
8191 make `setutline_r' weak alias.
8192 Rename `utmpname' to `__utmpname' and make former weak alias.
8193 (__utmpname): Call `__strdup', not `strdup'.
8194 * login/utmp.h: Add prototypes for name space clean reentrant
8195 versions.
8196 * sysdeps/unix/getlogin.c: Call `__ttyname_r', `__setutent_r',
8197 and `__endutent_r' instead of unprotected names.
8198
8199 * math/math.h: Add prototype for `__matherr'.
8200 * sysdeps/libm-ieee754/k_standard.c: Call `__matherr' instead
8201 of `matherr'.
8202
8203 * nss/getXXbyYY.c: Call __ protected reentrant function.
8204 * nss/getXXent.c: Likewise.
8205 * nss/getXXbyYY_r.c: Define `get*' function with __ protected
8206 name. Make usual name a weak alias.
8207 * nss/getXXent_r.c: Likewise.
8208
8209 * posix/unistd.h: Add prototype for `__ttyname_r'.
8210 * sysdeps/posix/ttyname_r.c: Rename function to `__ttyname_r'
8211 and make `ttyname_r' a weak alias.
8212
8213 * resource/sys/resource.h: Add prototype for `__getrlimit'.
8214 * sysdeps/stub/getrlimit.c: Prepend function name with __
8215 and make old name a weak alias.
8216 * sysdeps/unix/syscalls.list: Rename system call to `__getrlimit'
8217 and make `getrlimit' weak alias.
8218
8219 * libc/stdio/stdio.h: Add prototype for `__vscanf'.
8220 * libc/stdio/vscanf.c: De-ANSI-fy.
8221 Rename function to `__vscanf' and make `vscanf' a weak alias.
8222 * stdio-common/scanf.c (scanf): Use _IO_vscanf/__vscanf instead
8223 of `vscanf'.
8224
8225 * stdio-common/reg-printf.c: De-ANSI-fy.
8226 Rename function to `__register_printf_function' and make
8227 `register_printf_function' weak alias.
8228
8229 * stdio-common/vfprintf.c: Call `__wcsrtombs' instead of
8230 `wcsrtombs'.
8231
8232 * stdlib/mbstowcs.c: Call `__mbsrtowcs' instead of `mbsrtowcs'.
8233 * stdlib/mbtowc.c: Call `__mbrtowc' instead of `mbrtowc'.
8234 * stdlib/wcstombs.c: Call `__wcsrtombs' instead of `wcsrtombs'.
8235 * stdlib/wctomb.c: Call `__wcrtomb' instead of `wcrtomb'.
8236 * wcsmbs/mbrtowc.c: Prepend function name with __ and make old
8237 name a weak alias.
8238 * wcsmbs/mbsrtowcs.c: Likewise.
8239 * wcsmbs/wcrtomb.c: Likewise.
8240 * wcsmbs/wcsrtombs.c: Likewise.
8241 * wcsmbs/wchar.h: Add prototypes for __ protected versions.
831372e7 8242
edf66db1
SP
8243 * sysdeps/posix/sigsetmask.c (__sigsetmask): Call `__sigprocmask'
8244 instead of `sigprocmask'.
831372e7
UD
8245
8246
edf66db1
SP
8247 * grp/grp.h [__USE_REENTRANT]: Add prototypes for reentrant
8248 version getgrent_r, getgrgid_r, and getgrnam_r.
8249 * pwd/pwd.h [__USE_REENTRANT]: Add prototypes for reentrant
8250 version getpwent_r, getpwuid_r, getpwnam_r and __ protected
8251 names.
8252 * resolv/netdb.h: Complete rewrite. No more BSD ugliness.
831372e7
UD
8253
8254
edf66db1
SP
8255 * misc/error.c (private_strerror): Translate messages from table,
8256 too.
831372e7 8257
edf66db1
SP
8258 * io/fcntl.h: Pretty printing.
8259 * misc/fstab.h: Likewise.
8260 * misc/ttyent.h: Likewise.
8261 * resource/sys/resource.h: Likewise.
8262 * string/argz.h: Likewise.
8263 * string/envz.h: Likewise.
831372e7 8264
edf66db1
SP
8265 Add support for symbols from POSIX.1c (POSIX threads).
8266 * posix/getconf.c: Handle new sysconf symbols.
8267 * posix/posix1_lim.h: Define _POSIX_TTY_NAME_MAX and
8268 _POSIX_LOGIN_NAME_MAX with minimal maximal values.
8269 * sysdeps/generic/confname.h: Define new symbols.
8270 * sysdeps/posix/sysconf.c: Handle new symbols.
8271 * sysdeps/stub/sysconf.c: Ditto.
8272 * sysdeps/unix/sysv/linux/sysconf.c: Removed. Generic version
8273 is ok now.
831372e7 8274
edf66db1
SP
8275 * sunrpc/rpc/xdr.h: Move definition of type `xdrproc_t' to
8276 have real prototype.
831372e7 8277
edf66db1
SP
8278 * sysdeps/generic/resourcebits.h: Add macro definition for
8279 RLIMIT_* values. Some sources test using #ifdef whether specific
8280 limit is available.
8281 * sysdeps/unix/bsd/sun/sunos4/resourcebits.h: Ditto.
8282 * sysdeps/unix/sysv/linux/resourcebits.h: Removed. We need
8283 separate files for the architectures.
8284 * sysdeps/unix/sysv/linux/alpha/resourcebits.h: New file.
8285 * sysdeps/unix/sysv/linux/i386/resourcebits.h: New file.
8286 * sysdeps/unix/sysv/linux/m68k/resourcebits.h: New file.
8287 * sysdeps/unix/sysv/linux/mips/resourcebits.h: New file.
831372e7 8288
edf66db1
SP
8289 * sysdeps/posix/getdtsz.c: Rewrite to use `__getrlimit' function
8290 and only default on `OPEN_MAX'.
8291 * sysdeps/unix/sysv/sysv4/getdtsz.c: Removed. Default is already
8292 the POSIX version.
831372e7 8293
edf66db1
SP
8294 * time/Makefile (routines): Add ctime_r.
8295 * time/asctime.c: Add implementation of `asctime_r'. Make
8296 `asctime' implementation based on reentrant version.
8297 * time/ctime_r.c: New file.
8298 * time/time.h [__USE_REENTRANT]: Add definition of `asctime_r'
8299 and `ctime_r'.
831372e7 8300
edf66db1 8301Sat Aug 3 18:41:36 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
831372e7 8302
edf66db1
SP
8303 * locale/C-ctype.c (_nl_C_LC_CTYPE_toupper): Fix EOF entry.
8304 (_nl_C_LC_CTYPE): Fix ordering.
8305 * locale/categories.def (LC_CTYPE): Add missing ctype-class32; fix
8306 typo.
831372e7 8307
edf66db1 8308Sat Aug 3 12:31:06 1996 Richard Henderson <rth@tamu.edu>
831372e7 8309
edf66db1
SP
8310 * csu/initfini.c: Discover the maximum alignment generated by the
8311 compiler when emitting a function.
8312 (_init): Make sure the end of the crti fragment is aligned.
8313 (_fini): Likewise.
831372e7 8314
edf66db1 8315Fri Aug 2 03:12:40 1996 Ulrich Drepper <drepper@cygnus.com>
831372e7 8316
edf66db1
SP
8317 * initfini.c: (__libc_is_static): New variable. Will be
8318 initialized in init-first.c. Some actions in the libc work
8319 different when libc is static or dynamic.
831372e7 8320
edf66db1
SP
8321 * sysdeps/unix/sysv/linux/init-first.c (init): Use
8322 `__libc_is_static' variable to determine whether call to
8323 `personality' and `setfpucw' is necessary. When done set variable
8324 to +-1 depending on library type.
831372e7 8325
edf66db1
SP
8326 * locale/setlocale.c (setlocale): Use global variable
8327 `__libc_enable_secure' instead of calling `get{,e}{g,u}id()' to
8328 determine whether it's a SET[UG]ID program.
831372e7 8329
edf66db1 8330Fri Aug 2 14:40:22 1996 Roland McGrath <roland@fast.cs.utah.edu>
831372e7 8331
edf66db1 8332 * Version 1.93 test release.
831372e7 8333
edf66db1 8334 * manual/Makefile: Use -include for chapters-incl too.
831372e7 8335
edf66db1
SP
8336 * Makeconfig (+link): Add back start.o, mistakenly removed in last
8337 change.
831372e7 8338
edf66db1 8339Fri Aug 2 01:04:02 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
831372e7 8340
edf66db1 8341 * nss/Makefile (generated): Add db-*.c.
831372e7 8342
edf66db1
SP
8343 * sysdeps/i386/sysdep.h: Get generic/sysdep.h explicitly instead of
8344 using #include_next.
831372e7 8345
edf66db1 8346 * configure.in (--enable-add-ons): Quote m4 macro args.
831372e7 8347
edf66db1 8348 * elf/rtld.c (dl_main): For --verify, fail if no dynamic section.
831372e7 8349
edf66db1 8350Thu Aug 1 14:40:03 1996 Roland McGrath <roland@fast.cs.utah.edu>
831372e7 8351
edf66db1 8352 * sunrpc/Makefile [$(cross-compile)=no]: Test before making librpcsvc.
831372e7 8353
edf66db1 8354 * Makerules (build-shlib): Add -B$(csu-objpfx) to find crt[in].o there.
831372e7 8355
edf66db1
SP
8356 * Makeconfig (+preinit, +postinit): Prepend $(csu-objpfx) here.
8357 (+link): Not here.
831372e7 8358
edf66db1
SP
8359 * stdio-common/_itoa.h (_itoa_word): Declare unused to suppress
8360 warning when inline function is elided.
8361 * sysdeps/i386/dl-machine.h (elf_machine_matches_host): Likewise.
8362 (elf_machine_runtime_setup): Likewise.
8363 * elf/dynamic-link.h (elf_get_dynamic_info): Likewise.
8364 * sysdeps/i386/dl-machine.h (elf_machine_got): Likewise.
8365 (elf_machine_load_address): Likewise.
831372e7 8366
edf66db1 8367 * catgets/gencat.c: Include <locale.h>.
831372e7 8368
edf66db1 8369 * sysdeps/unix/mk-local_lim.c (param): Add SYMLOOP_MAX/MAXSYMLINKS.
831372e7 8370
edf66db1 8371 * login/logwtmp.c (logwtmp): Call time, not __time.
831372e7 8372
edf66db1
SP
8373 * sysdeps/gnu/utmpbits.h (_HAVE_UT_PID): New macro.
8374 * login/login.c (login): Test [_HAVE_UT_PID] to use ut_pid member.
8375 * login/logwtmp.c (logwtmp): Likewise.
831372e7 8376
edf66db1
SP
8377 * sysdeps/generic/ioctl-types.h (sizeof): Define to 0 around #if
8378 comparing ioctl macro values.
831372e7 8379
edf66db1 8380 * sysdeps/i386/sysdep.h: Do `#include_next <sysdep.h>'.
831372e7 8381
edf66db1 8382 * manual/Makefile: Use -include for chapters to suppress warning.
831372e7 8383
edf66db1
SP
8384 * sysdeps/stub/socket.c: Fix type of TYPE arg.
8385 * sysdeps/stub/socketpair.c: Likewise.
831372e7 8386
edf66db1 8387 * sysdeps/stub/_exit.c (_exit): Remove obsolete __NORETURN keyword.
831372e7 8388
edf66db1
SP
8389 * sysdeps/generic/sysdep.h: New file, broken out of ...
8390 * sysdeps/unix/sysdep.h: ... here.
8391 (C_LABEL): Moved out.
831372e7 8392
edf66db1
SP
8393 * Makeconfig (soversions.mk): Don't use newfangled ${x%%y} syntax;
8394 stick to sed. Do `exit 0' at end because while returns nonzero.
831372e7 8395
edf66db1
SP
8396 * sysdeps/i386/sysdep.h: New file, broken out of ...
8397 * sysdeps/unix/i386/sysdep.h: ... here. Generic asm macros moved out.
831372e7 8398
edf66db1
SP
8399 * sysdeps/stub/stdio_lim.h (L_ctermid, L_cuserid): Macros removed.
8400 They are defined unconditionally in libio/stdio.h.
831372e7 8401
edf66db1
SP
8402 * elf/dl-runtime.c: Include <stddef.h> for `NULL' defn.
8403 * elf/dl-cache.c: Likewise.
831372e7 8404
edf66db1 8405Mon Jul 29 19:20:05 1996 Ulrich Drepper <drepper@cygnus.com>
831372e7 8406
edf66db1
SP
8407 * sysdeps/unix/sysv/linux/Makefile [$(subdir == misc]
8408 (sysdep_headers): Add sys/sysmacros.h.
8409 * sysdeps/unix/sysv/linux/sys/sysmacros.h: New file.
831372e7 8410
edf66db1 8411Wed Jul 31 14:21:36 1996 Ulrich Drepper <drepper@cygnus.com>
831372e7 8412
edf66db1
SP
8413 * termios/termios.h [__OPTIMIZE__]: Remove "optimization" for
8414 tcgetattr. We have weak aliases now.
8415 * stdlib/stdlib.h [__OPTIMIZE__ && __GNUC__ >= 2]: Remove
8416 "optimizations" for random functions.
831372e7 8417
edf66db1 8418Mon Jul 29 20:33:42 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
831372e7 8419
edf66db1
SP
8420 * sysdeps/unix/sysv/linux/netinet/in.h (ntohl, ntohs, htonl,
8421 htons) [__BIG_ENDIAN]: #undef them before defining to avoid
8422 redefinition warning.
831372e7 8423
edf66db1 8424Mon Jul 29 20:28:27 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
831372e7 8425
edf66db1
SP
8426 * time/time.h: Don't optimize tzset() to __tzset() which bypasses
8427 the __tzset_lock.
831372e7 8428
edf66db1 8429Tue Jul 30 15:14:50 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
831372e7 8430
edf66db1
SP
8431 * sunrpc/rpc/pmap_clnt.h: Fix botched patch for multiple inclusion
8432 protection.
831372e7 8433
edf66db1 8434Tue Jul 30 02:48:28 1996 Ulrich Drepper <drepper@cygnus.com>
831372e7 8435
edf66db1
SP
8436 * locale/loadlocale.c (_nl_load_locale): Change cast to `size_t'
8437 to be 64-bit clean.
8438 Reported by Richard Henderson <rth@tamu.edu>.
831372e7 8439
edf66db1 8440Tue Jul 30 15:04:50 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
831372e7 8441
edf66db1
SP
8442 * locale/programs/ld-collate.c (collate_output): Fix typo reported by
8443 David Miller.
831372e7 8444
edf66db1 8445Tue Jul 30 13:23:13 1996 Ulrich Drepper <drepper@cygnus.com>
831372e7 8446
edf66db1
SP
8447 * locale/setlocale.c (setlocale): Don't try to free C locale
8448 data.
8449 Reported by Matthias Urlichs.
831372e7 8450
edf66db1 8451Tue Jul 30 14:35:17 1996 Miles Bader <miles@gnu.ai.mit.edu>
831372e7 8452
edf66db1
SP
8453 * sysdeps/mach/hurd/dl-sysdep.c (__open): Use open_file.
8454 (open_file): New function, contents mostly from __open.
8455 (_dl_sysdep_read_whole_file): New function.
831372e7 8456
edf66db1 8457Sat Jul 27 11:23:59 1996 Miles Bader <miles@gnu.ai.mit.edu>
831372e7 8458
edf66db1
SP
8459 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Quote
8460 `..' dots in sed search string.
831372e7 8461
edf66db1 8462Mon Jul 29 01:27:07 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
831372e7 8463
edf66db1
SP
8464 * sunrpc/rpc/rpc_msg.h: Fix botched patch for multiple inclusion
8465 protection.
831372e7 8466
edf66db1 8467Sun Jul 28 23:46:14 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
831372e7 8468
edf66db1
SP
8469 * configure.in: Grok `--enable-add-ons=DIR1,DIR2,...', and configure
8470 in those directories.
8471 * config.make.in (add-ons): New varaible, set from @subdirs@.
8472 * Makefile (subdirs): Added $(add-ons) at the end.
831372e7 8473
edf66db1
SP
8474 * time/strftime.c (strftime: do_number): Initialize PRINTED to
8475 MAXDIGITS in case P is null and so sprintf is never actually called.
831372e7 8476
edf66db1 8477Mon Jul 29 02:46:23 1996 Ulrich Drepper <drepper@cygnus.com>
831372e7 8478
edf66db1
SP
8479 Add support for the to-be-written internationalized regexp.
8480 This code must be able to use collation symbols and collation
8481 equivalent classes.
8482 * locale/C-collate.c (_nl_C_LC_COLLATE_symbol_hash,
8483 _nl_C_LC_COLLATE_symbol_strings, _nl_C_LC_COLLATE_symbol_classes):
8484 New global variables for collation classes.
8485 * locale/categories.def: Add new descriptions for collation symbols
8486 and collation classes.
8487 * locale/langinfo.h: Add constants for collation symbols and
8488 collation classes.
8489 * locale/lc-collate.c: Add new global variables for collation symbols
8490 and collation classes.
8491 (_nl_postload_collate): Initialize new variables.
8492 * locale/programs/ld-collate.c: Add code to emit tables for
8493 collation symbols and collation classes.
8494 * locale/programs/locales.h: Change prototype for `collate_output'.
8495 * locale/programs/locfile.c (write_all_categories): Call
8496 `collate_output' with new argument.
8497 * locale/localeinfo.h: Add declaration for new global vars.
8498 (union locale_data_value): New member wstr for `wchar_t' strings.
8499 * locale/programs/locale-spec.c: Handle `collate-classes'
8500 keyword and print information about available collation classes.
8501 * locale/strlen-hash.h: New file. Simple hashing function which
8502 takes a string with known length.
8503 * locale/Makefile (distribute): Add strlen-hash.h.
8504 (locale-modules): New var. Additional files for `locale' program.
8505
8506 * locale/C-ctype.c: Rewrite to avoid using string for giving values
8507 which are of type `u_int32_t'.
8508 Correct entry for EOF in toupper and tolower tables.
8509
8510 * locale/loadlocale.c (_nl_load_locale): Add cast to prevent
8511 warning.
831372e7 8512
edf66db1
SP
8513 * locale/programs/ld-ctype.c (ctype_output): Add code to make
8514 sure that all tables in binary file are word-aligned.
831372e7 8515
edf66db1
SP
8516 * locale/programs/locfile.c (write_locale_data): Correct handling
8517 of LC_MESSAGES locale. Create directory if necessary.
831372e7 8518
edf66db1 8519 * locale/setlocale.c (setlocale): Add cast to avoid warning.
831372e7 8520
edf66db1 8521 * string/string.h: Add prototype for `__strndup'.
831372e7 8522
edf66db1 8523Wed Jul 24 19:10:00 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
831372e7 8524
edf66db1 8525 * wcsmbs/mbrtowc.c: Remove unused variable.
831372e7 8526
edf66db1 8527Sun Jul 28 22:40:25 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
831372e7 8528
edf66db1
SP
8529 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION): Update to
8530 2.0.10; some problems were reported with an earlier version, and this
8531 one is known to work.
831372e7 8532
edf66db1
SP
8533 * sysdeps/generic/dl-sysdep.c (__libc_enable_secure): New variable.
8534 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
831372e7 8535
edf66db1 8536Sat Jul 27 13:02:09 1996 Ulrich Drepper <drepper@cygnus.com>
831372e7 8537
edf66db1
SP
8538 * elf/rtld.c (dl_main): Ignore arguments when environment variable
8539 LD_TRACE_LOADED_OBJECTS is set.
831372e7 8540
edf66db1 8541Sun Jul 28 19:42:51 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
831372e7 8542
edf66db1
SP
8543 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Initialize
8544 __libc_enable_secure instead of _dl_secure.
8545 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Likewise.
8546 * elf/dl-load.c (_dl_map_object): Check __libc_enable_secure instead
8547 of _dl_secure.
8548 * elf/Makefile (routines): Add enbl-secure.
8549 (elide-routines.so): Here too.
8550 * sysdeps/generic/enbl-secure.c: New file.
8551 * posix/unistd.h [__USE_GNU]: Declare `__libc_enable_secure' flag.
8552 * elf/dl-support.c (_dl_secure): Variable removed.
8553 * elf/rtld.c: Likewise. Replace all uses with __libc_enable_secure.
831372e7 8554
edf66db1 8555Sun Jul 28 19:26:40 1996 David S. Miller <dm@neteng.engr.sgi.com>
831372e7 8556
edf66db1
SP
8557 * sysdeps/mips/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
8558 Declare _dl_runtime_resolve with __attribute__ ((unused)) so the
8559 compiler doesn't elide it.
8560 (elf_machine_rel): Follow Jul 14 change in sysdeps/i386/dl-machine.h.
831372e7 8561
edf66db1 8562Sat Jul 27 02:58:49 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
831372e7 8563
edf66db1
SP
8564 * elf/rtld.c (dl_main): Take new option --verify when run directly.
8565 In verify mode, exit with status zero iff the argument object's
8566 PT_INTERP matches argv[0].
8567 * elf/ldd.sh.in: Use ${RTLD} --verify and only run the program if it
8568 exits with zero status. This makes `ldd' secure again.
831372e7 8569
edf66db1 8570Fri Jul 26 22:49:58 1996 Ulrich Drepper <drepper@cygnus.com>
831372e7 8571
edf66db1
SP
8572 * elf/rtld.c (dl_main): Implement LD_TRACE_LOADED_OBJECTS
8573 environment variable handling. This makes the dynamic linker
8574 only print loaded libraries and quit.
831372e7 8575
edf66db1
SP
8576 * elf/ldd.sh.in: Don't use `rtld --list' but instead
8577 LD_TRACE_LOADED_OBJECTS environment variable to print needed
8578 objects.
831372e7 8579
edf66db1 8580Sat Jul 27 02:03:26 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
831372e7 8581
edf66db1
SP
8582 * db/makedb.c (main): Print version on stdout, not stderr. Don't exit
8583 after printing version until after doing usage for --help.
8584 (long_options, main, usage): Rename -l/--lowercase option to
8585 -f/--fold-case (-f matches sort).
831372e7 8586
edf66db1 8587Sat Jul 27 04:32:31 1996 Ulrich Drepper <drepper@cygnus.com>
831372e7 8588
edf66db1
SP
8589 * db/makedb.c: New file. Implement program to create simple <db.h>
8590 database from textual input. This will be used for nss_db.
831372e7 8591
edf66db1 8592Sat Jul 27 01:24:05 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
831372e7 8593
edf66db1
SP
8594 * sunrpc/rpc/auth_unix.h: Fix misapplied patches in last changes.
8595 * sunrpc/rpc/pmap_clnt.h: Likewise.
8596 * sunrpc/rpc/auth.h: Likewise.
8597 * sunrpc/rpc/pmap_rmt.h: Likewise.
8598 * sunrpc/rpc/rpc_msg.h: Likewise.
831372e7 8599
edf66db1 8600Sat Jul 27 04:37:34 1996 Ulrich Drepper <drepper@cygnus.com>
831372e7 8601
edf66db1
SP
8602 * string/string.h (strndupa): Change to use return value of
8603 `memcpy' for more performance.
8604 * string/strndup.c: Likewise.
831372e7 8605
edf66db1
SP
8606 * string/string.h (strdupa): Don't call __builtin_alloca in argument.
8607 This might lead to problems.
8608 (strndupa): Likewise.
831372e7 8609
edf66db1 8610Fri Jul 26 15:24:25 1996 Ulrich Drepper <drepper@cygnus.com>
831372e7 8611
edf66db1
SP
8612 * sunrpc/rpc/auth.h: Add protection against multiple inclusion
8613 and change K&R prototypes to ANSI prototypes.
8614 * sunrpc/rpc/auth_unix.h: Ditto.
8615 * sunrpc/rpc/clnt.h: Ditto.
8616 * sunrpc/rpc/pmap_clnt.h: Ditto.
8617 * sunrpc/rpc/pmap_prot.h: Ditto.
8618 * sunrpc/rpc/pmap_rmt.h: Ditto.
8619 * sunrpc/rpc/rpc_msg.h: Ditto.
8620 * sunrpc/rpc/svc.h: Ditto.
8621 * sunrpc/rpc/svc_auth.h: Ditto.
8622 * sunrpc/rpc/xdr.h: Ditto.
831372e7 8623
edf66db1 8624Fri Jul 26 20:39:42 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
831372e7 8625
edf66db1 8626 * ctype/test_ctype.c: Test EOF too.
831372e7 8627
edf66db1 8628Fri Jul 26 18:06:58 1996 Ulrich Drepper <drepper@cygnus.com>
831372e7 8629
edf66db1
SP
8630 * sunrpc/rpc/auth.h: Add __BEGIN_DECLS and __END_DECLS.
8631 * sunrpc/rpc/auth_unix.h: Likewise.
8632 * sunrpc/rpc/clnt.h: Likewise.
8633 * sunrpc/rpc/netdb.h: Likewise.
8634 * sunrpc/rpc/pmap_clnt.h: Likewise.
8635 * sunrpc/rpc/pmap_prot.h: Likewise.
8636 * sunrpc/rpc/rpc_msg.h: Likewise.
8637 * sunrpc/rpc/svc.h: Likewise.
8638 * sunrpc/rpc/svc_auth.h: Likewise.
8639 * sunrpc/rpc/xdr.h: Likewise.
8640
8641 * sunrpc/rpc/pmap_clnt.h: Move definition of type `resultproc_t'
8642 to here from...
8643 * sunrpc/pmap_rmt.c: ...here.
8644
8645Fri Jul 26 16:10:43 1996 Miles Bader <miles@gnu.ai.mit.edu>
8646
8647 * login/pututline_r.c (pututline_r): Only call getutid_r if ID has a
8648 valid ut_id field.
8649 * login/getutid_r.c (getutid_r): Mark UTMP_DATA->loc_utmp invalid
8650 if a search fails.
8651
8652Fri Jul 26 00:36:50 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
8653
8654 * sysdeps/mips/dl-machine.h: New file, contributed by Kazumoto Kojima
8655 <kkojima@info.kanagawa-u.ac.jp>.
8656
8657Fri Jul 26 04:41:28 1996 Ulrich Drepper <drepper@cygnus.com>
831372e7 8658
edf66db1
SP
8659 * intl/libintl.h: Define optimizing macros if __OPTIMIZE__ is
8660 defined, not __OPTIMIZED.
8661 (_nl_msg_cat_cntr): Move declaration outside macro definition
8662 to prevent "nested extern" warning.
8663 (dcgettext): Rename local variable `result' to `__result'.
8664
8665Thu Jul 25 22:46:30 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
831372e7 8666
edf66db1
SP
8667 * locale/programs/localedef.c (__progname): Remove decl.
8668 (main): Use program_invocation_short_name instead of __progname.
8669 (usage): Use program_invocation_name instead of __progname.
831372e7 8670
edf66db1 8671Fri Jul 26 03:46:08 1996 Ulrich Drepper <drepper@cygnus.com>
831372e7 8672
edf66db1
SP
8673 * catgets/gencat.c: Use "libc" instead of PACKAGE.
8674 * locale/localedef.c: Ditto.
8675 * locale/locale.c: Ditto.
831372e7 8676
edf66db1
SP
8677 * locale/findlocale.c (_nl_find_locale): Little optimization.
8678 Use new function `strndup'.
831372e7 8679
edf66db1
SP
8680 * locale/loadlocale.c: Little optimization. Use constant value
8681 from `_nl_category_num_items' instead of byte-order dependend
8682 value from file.
831372e7 8683
edf66db1 8684 * locale/programs/ld-time.c (time_add): Correct string constant.
831372e7 8685
edf66db1
SP
8686 * locale/programs/locale-spec.c: New file.
8687 * locale/programs/locale.c: Call `locale_special' function if
8688 no other field matches.
831372e7 8689
edf66db1
SP
8690 * locale/programs/localedef.c: No need to define `program_name'.
8691 Use global variable `__progname'.
831372e7 8692
edf66db1
SP
8693 * locale/programs/locfile.c (write_locale_data): Always write
8694 LC_MESSAGES data in LC_MESSAGES/SYS_LC_MESSAGES file. This is
8695 necessary since message catalogs are also installed in the
8696 LC_MESSAGES/ directory.
831372e7 8697
edf66db1
SP
8698 * locale/programs/stringtrans.c (ADDC): Correctly use `encode_char'
8699 function instead of writing single bytes.
8700 (encode_char): Also handle little endian.
831372e7 8701
edf66db1
SP
8702 * locale/setlocale.c (new_composite_name): Little optimization.
8703 Use return value of `memcpy'.
831372e7 8704
edf66db1
SP
8705 * misc/ttyent.h: Pretty print prototypes, add missing parameter
8706 names, prepend parameter names with __ and use `__const' instead
8707 of `const'.
8708 * posix/unistd.h: Ditto.
8709 * stdlib/stdlib.h: Ditto.
8710 * string/string.h: Ditto.
831372e7 8711
edf66db1
SP
8712 * posix/getconf.c: De-ANSI-fy. Recognize POSIX.2 constant names.
8713 Use `error' function instead of doing it by hand.
8714 * sysdeps/posix/sysconf.c: De-ANSI-fy.
8715 Handle _SC_COLL_WEIGHTS_MAX.
8716 * sysdeps/stub/sysconf.c: Handle _SC_CHARCLASS_NAME_MAX,
8717 _SC_COLL_WEIGHTS_MAX, _SC_EQUIV_CLASS_MAX, _SC_2_LOCALEDEF
8718 since these do not depend on the platform.
8719 Add POSIX.4 symbols.
831372e7 8720
edf66db1
SP
8721 * posix/posix2_lim.h: Add missing definition of
8722 _POSIX2_COLL_WEIGHTS_MAX.
8723 Change _POSIX2_EQUIV_CLASS_MAX and _POSIX2_CHARCLASS_NAME_MAX
8724 to high values since we have no fixed limit.
831372e7 8725
edf66db1
SP
8726 * sysdeps/generic/confname.h: Add _SC_PAGE_SIZE as alias for
8727 _SC_PAGESIZE for buggy systems (= HP UX) out there.
831372e7 8728
edf66db1
SP
8729 * wcsmbs/Makefile (routines): Add mbsnrtowcs and wcsnrtombs.
8730 * wcsmbs/mbsnrtowcs.c: New file. Non-standard implementation.
8731 * wcsmbs/wcsnrtombs.c: Ditto.
8732 * wcsmbs/wchar.h [__USE_GNU]: Add prototypes for mbsnrtowcs and
8733 wcsnrtombs.
831372e7 8734
edf66db1 8735Thu Jul 25 00:25:54 Richard Henderson <rth@tamu.edu>
831372e7 8736
edf66db1
SP
8737 * nss/nss_db/db-XXX.c: Kill trailing ; from lock defn as a matter of
8738 course.
8739 * nss/getXXent_r.c: Likewise.
8740 * nss/nsswitch.c: Likewise.
8741 * nss/nss_files/files-XXX.c: Likewise.
8742 * sysdeps/mach/hurd/dirstream.h (struct __dirstream): Likewise.
8743 * sysdeps/unix/bsd/telldir.c (struct record): Likewise.
8744 * sysdeps/unix/dirstream.h (struct __dirstream): Likewise.
831372e7 8745
edf66db1 8746Thu Jul 25 00:53:06 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
831372e7 8747
edf66db1
SP
8748 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION): New
8749 macro, now put the needed Linux version just once, here; update to
8750 needing linux-2.0.3 headers.
8751 (libc_cv_linuxVER): New macro derived from that.
8752 (kernel header check): Use those macros and some m4 magic to replace
8753 hard-coded `201' and `2.0.1' in several places.
831372e7 8754
edf66db1 8755 * Makerules ($(libdir)/libc.so): Fix typos in generated comment.
831372e7 8756
edf66db1 8757Wed Jul 24 17:02:30 1996 Ulrich Drepper <drepper@cygnus.com>
831372e7 8758
edf66db1
SP
8759 * time/localtime.c: Move lock variable declaration to end of
8760 variable declarations since if is a dummy macro the ; at the
8761 end terminates the variable section of the function.
831372e7 8762
edf66db1
SP
8763 * time/tzset.c: Undefine `tzset' before function declaration.
8764 Use `weak_function' macro instead of `weak_symbol'.
831372e7 8765
edf66db1 8766Wed Jul 24 18:57:33 1996 Ulrich Drepper <drepper@cygnus.com>
831372e7 8767
edf66db1
SP
8768 * stdlib/strtouq.c: Additional weak alias is `strtoull', not
8769 `strotull'.
831372e7 8770
edf66db1 8771Wed Jul 24 18:26:23 1996 Ulrich Drepper <drepper@cygnus.com>
831372e7 8772
edf66db1
SP
8773 * locale/C-ctype.c: Increment number of fields after change
8774 from Wed Jun 19 03:24:58 1996.
831372e7 8775
edf66db1 8776Tue Jul 23 18:13:37 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
831372e7 8777
edf66db1
SP
8778 * sysdeps/mach/hurd/Makefile (rpcuserlibs): New variable.
8779 ($(common-objpfx)libc.so): Move deps into that, use it.
8780 [$(subdir) = elf] ($(objpfx)librtld.so): Depend on
8781 $(rpcuserlibs:.so=_pic.a).
8782 * elf/Makefile ($(objpfx)librtld.so): Just depend on libc_pic.a; don't
8783 use $(LDLIBS-c.so).
831372e7 8784
edf66db1 8785Thu Jul 18 21:41:25 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
831372e7 8786
edf66db1
SP
8787 * sysdeps/generic/stpncpy.c: Fix semantics to make `stpncpy (d, s,
8788 n)' equivalent to `strncpy (d, s, n), d += strnlen (d, n)'.
831372e7 8789
edf66db1 8790Tue Jul 23 02:49:58 1996 Ulrich Drepper <drepper@cygnus.com>
831372e7 8791
edf66db1
SP
8792 * locale/iso-4217.def: Add India to comment for symbol "INR ".
8793 Reported by Raja R Harinath <harinath@cs.umn.edu>.
831372e7 8794
edf66db1 8795Sat Jul 20 14:03:45 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
831372e7 8796
edf66db1
SP
8797 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Remove bogus
8798 #undef RESOLVE.
831372e7 8799
edf66db1 8800Sun Jul 21 06:48:38 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
831372e7 8801
edf66db1
SP
8802 * time/tzset.c: Include <libc-lock.h>.
8803 (__tzset_lock): New lock variable.
8804 (tzset): New function (weak defn), no longer weak alias for __tzset.
8805 Call __tzset while holding __tzset_lock.
8806 * time/localtime.c: Include <libc-lock.h>.
8807 (__localtime_r): Hold __tzset_lock while doing the work.
831372e7 8808
edf66db1
SP
8809 * sysdeps/generic/setenv.c (__environ): Change conditional for #define
8810 from [!HAVE_GNU_LD] to [!_LIBC].
8811 [_LIBC]: Include <libc-lock.h> and define a lock.
8812 (LOCK, UNLOCK): New macros, no-ops for [! _LIBC].
8813 (setenv, unsetenv): Use them.
831372e7 8814
edf66db1 8815Sun Jul 21 01:44:39 1996 Miles Bader <miles@gnu.ai.mit.edu>
831372e7 8816
edf66db1
SP
8817 * locale/programs/locfile.c (write_locale_data): Deal with missing
8818 UIO_MAXIOV.
831372e7 8819
edf66db1
SP
8820 * sysdeps/mach/hurd/socket.c (socket): Make TYPE an int.
8821 * sysdeps/mach/hurd/socketpair.c (socketpair): Likewise.
831372e7 8822
edf66db1 8823Sat Jul 20 21:55:31 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
831372e7 8824
edf66db1
SP
8825 Win32 hacks from <Rob_Tulloh@tivoli.com>.
8826 * posix/glob.c [WIN32]: Don't include <pwd.h>; don't use d_ino;
8827 use void * for my_realloc; include <malloc.h> for alloca.
8828 (glob) [WIN32]: Use "c:/users/default" for ~ if no HOME variable.
8829 * posix/fnmatch.h [WIN32]: Use prototypes even if [!__STDC__].
8830 * posix/glob.h: Likewise.
831372e7 8831
edf66db1 8832Sat Jul 20 13:28:52 1996 Miles Bader <miles@gnu.ai.mit.edu>
831372e7 8833
edf66db1
SP
8834 * sysdeps/mach/hurd/select.c (__select): Don't poll on the last
8835 call __io_select unless there's only a single descriptor, as each
8836 descriptor now has its own reply port.
8837 If there is only a single descriptor, just use its reply port for
8838 everything and don't bother creating the port set.
831372e7 8839
edf66db1
SP
8840 * sysdeps/mach/hurd/uname.c (uname): Deref UNAME to get nodename.
8841 <unistd.h>: New include.
831372e7 8842
edf66db1
SP
8843 * sysdeps/mach/libc-lock.h (__libc_lock_define): Backslashify
8844 continuation line.
831372e7 8845
edf66db1 8846Sat Jul 20 07:15:33 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
831372e7 8847
edf66db1
SP
8848 * crypt/Makefile, crypt/nocrypt.c: Removed. It is illegal to export
8849 from the USA any software that even makes it easy to drop in an
8850 encryption module of foreign origin.
8851 * Makerules (cryptobjdir): Variable removed.
8852 ($(libdir)/libc.so): Remove dep on libcrypt.so$(libcrypt.so-version).
8853 * Makefile (subdirs): Remove crypt.
831372e7 8854
edf66db1 8855Fri Jul 19 15:45:20 1996 Ulrich Drepper <drepper@cygnus.com>
831372e7 8856
edf66db1
SP
8857 * locale/C-messages.c (_nl_C_LC_MESSAGES): Add missing Kleene
8858 operator to yesexpr and noexpr string.
831372e7 8859
edf66db1 8860Fri Jul 19 15:10:37 1996 David Mosberger-Tang <davidm@azstarnet.com>
831372e7 8861
edf66db1
SP
8862 * sunrpc/xdr_mem.c (xdrmem_putlong): Don't cast LP to int32 (the
8863 old code would have failed on a big-endian 64-bit architecture).
8864 * sunrpc/xdr_stdio.c (xdrstdio_putlong): Ditto.
831372e7 8865
edf66db1
SP
8866 * sunrpc/xdr.c (xdr_int): Handle XDR_FREE case.
8867 (xdr_u_long): Use switch instead of chain of if-statements.
8868 Remove gratitous parentheses around return expressions.
8869 (xdr_enum): Open code case where INT_MAX<LONG_MAX.
831372e7 8870
edf66db1 8871 * sunrpc/svc.c (svc_getreqset): Increment SOCK by 32, not NFDBITS.
831372e7 8872
edf66db1
SP
8873 * sunrpc/portmap.c (reg_service): Declare ANS and PORT as long,
8874 not int.
831372e7 8875
edf66db1 8876Fri Jul 19 16:56:41 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
831372e7 8877
edf66db1 8878 * dlfcn.h, db.h: New wrapper headers.
831372e7 8879
edf66db1
SP
8880 * posix/glob.h [!_AMIGA && !VMS]: Check this instead of just [!_AMIGA]
8881 for `struct stat;' forward decl.
831372e7 8882
edf66db1 8883Fri Jul 19 22:25:19 1996 Ulrich Drepper <drepper@cygnus.com>
831372e7 8884
edf66db1
SP
8885 * locale/iso-4217.def: Add some more standardized currency
8886 symbols.
831372e7 8887
edf66db1 8888Fri Jul 19 13:18:02 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
831372e7 8889
edf66db1 8890 * hurd/report-wait.c (describe_number): Use unsigned long int for J.
831372e7 8891
edf66db1 8892Thu Jul 18 12:33:57 1996 Roland McGrath <roland@baalperazim.frob.com>
831372e7 8893
edf66db1
SP
8894 * Rules (dummy.o, empty.o): Targets removed.
8895 (dummy.c, empty.c): New targets replace them.
831372e7 8896
edf66db1 8897Thu Jul 18 11:42:39 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
831372e7 8898
edf66db1
SP
8899 * crypt/Makefile (lib-noranlib): Depend on
8900 $(objpfx)libcrypt.so$(libcrypt.so-version).
8901 (subdir): Fix name.
831372e7 8902
edf66db1 8903Thu Jul 18 04:33:21 1996 Roland McGrath <roland@baalperazim.frob.com>
831372e7 8904
edf66db1
SP
8905 * sysdeps/mach/hurd/errnos.awk: Move EWOULDBLOCK check before errno==0
8906 check. mib's clueless hacking broke it.
831372e7 8907
edf66db1 8908Thu Jul 18 04:27:21 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
831372e7 8909
edf66db1 8910 * Makerules ($(libdir)/libc.so): Add missing / after $(cryptobjdir).
831372e7 8911
edf66db1 8912Wed Jul 17 10:54:20 1996 David Mosberger-Tang <davidm@azstarnet.com>
831372e7 8913
edf66db1
SP
8914 * misc/sys/ustat.h: New file.
8915 * misc/ustat.h: Ditto.
8916 * sysdeps/generic/ustatbits.h: Ditto.
8917 * sysdeps/stub/ustat.c: Ditto.
8918 * sysdeps/unix/sysv/linux/ustatbits.h: Ditto.
8919 * misc/Makefile (headers): Mention ustat.h, sys/ustat.h, and
8920 ustatbits.h.
8921 (routines): Mention ustat.
831372e7 8922
edf66db1
SP
8923 * sysdeps/unix/sysv/linux/alpha/start.S: Move to ...
8924 * sysdeps/alpha/elf/start.S: here.
831372e7 8925
edf66db1
SP
8926 * sysdeps/unix/sysv/linux/syscalls.list: Mention klogctl in
8927 alphabetically correct place. Mention ustat.
831372e7 8928
edf66db1
SP
8929 * sysdeps/unix/alpha/sysdep.S: Make errno a bss symbol, not a
8930 common symbol (makes errno accessible from gdb).
831372e7 8931
edf66db1
SP
8932 * login/pututline_r.c (pututline_r): Test ut_id in repositioning
8933 test, not ut_type.
831372e7 8934
edf66db1
SP
8935 * login/logwtmp.c (logwtmp): Reimplemented. Must ensure that a
8936 record always gets appended at end of file (wtmp is a log file,
8937 after all). Set ut_type to DEAD_PROCESS if name is empty.
831372e7 8938
edf66db1
SP
8939 * login/getutid_r.c (getutid_r): Handle search for UT_TYPE in
8940 separate loop from search for UT_ID. Fix code so it is in
8941 sync with Unix man page.
831372e7 8942
edf66db1
SP
8943 * login/getutline_r.c (getutline_r): Stop searching only if
8944 ut_line matches and type is either USER_PROCESS or LOGIN_PROCESS.
831372e7 8945
edf66db1 8946Tue Jul 16 15:06:18 1996 David Mosberger-Tang <davidm@azstarnet.com>
831372e7 8947
edf66db1
SP
8948 * sysdeps/unix/sysv/linux/netinet/in.h: Base on <linux/in.h> to
8949 avoid duplicate declarations.
831372e7 8950
edf66db1 8951Sun Jul 14 19:08:55 1996 David Mosberger-Tang <davidm@azstarnet.com>
831372e7 8952
edf66db1
SP
8953 * manual/maint.texi (Supported Configurations): Add alpha-gnu-linux
8954 and alpha-gnu-linuxecoff targets.
831372e7 8955
edf66db1 8956Fri Jul 12 16:58:44 1996 David Mosberger-Tang <davidm@azstarnet.com>
831372e7 8957
edf66db1 8958 * sysdeps/unix/sysv/linux/netinet/in.h: Declare bindresvport().
831372e7 8959
edf66db1 8960Sat Jun 22 23:30:07 1996 David Mosberger-Tang <davidm@azstarnet.com>
831372e7 8961
edf66db1
SP
8962 * resolv/res_send.c (res_send): Declare FROMLEN as size_t instead
8963 of int.
831372e7 8964
edf66db1
SP
8965 * resolv/res_comp.c (res_hnok): Use empty statement in place
8966 of NULL (which generates a "useless expression" warning in
8967 gcc).
831372e7 8968
edf66db1 8969Wed Jul 17 23:56:35 1996 Roland McGrath <roland@baalperazim.frob.com>
831372e7 8970
edf66db1
SP
8971 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Replace ../
8972 with $(..) in output.
831372e7 8973
edf66db1 8974Wed Jul 17 21:53:45 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
831372e7 8975
edf66db1
SP
8976 * elf/Makefile (dl-routines): Add dl-cache.
8977 * elf/dl-cache.c: New file.
8978 * elf/dl-load.c (_dl_map_object): Check cache before default path.
831372e7 8979
edf66db1 8980Wed Jul 17 20:41:30 1996 Ulrich Drepper <drepper@cygnus.com>
831372e7 8981
edf66db1
SP
8982 * stdio-common/vfscanf.c: Major change. Now read character
8983 from stream only if needed. Before it was read after the
8984 previous character was used.
8985 Bug reported by Martin Goik <goma0002@FH-Karlsruhe.DE>
831372e7 8986
edf66db1
SP
8987 * stdio-common/tstscanf.c: Change test program so that return
8988 value is != 0 if one test failed.
831372e7 8989
edf66db1 8990Wed Jul 17 17:08:48 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
831372e7 8991
edf66db1
SP
8992 * sysdeps/m68k/Makefile (crypt): Variable removed.
8993 * sysdeps/sparc/Makefile: Likewise.
831372e7 8994
edf66db1 8995 * version.h (VERSION): Update to 1.93.
831372e7 8996
edf66db1
SP
8997 * Makerules ($(libdir)/libc.so): Depend on
8998 $(common-objpfx)libcrypt.so$(libcrypt.so-version).
831372e7 8999
edf66db1
SP
9000 * crypt/nocrypt.c: New file.
9001 * Makefile (subdirs): Add crypt.
9002 * crypt/Makefile: New file.
831372e7 9003
edf66db1
SP
9004 * Makerules (soversions.mk): Move this target, include of it, and
9005 include of version.mk to ...
9006 * Makeconfig: ... here.
9007 (soversions.mk): Depend on Makeconfig instead of Makerules.
831372e7 9008
edf66db1 9009 * shlib-versions (*-*-*): Set libcrypt=0.
831372e7 9010
edf66db1 9011Wed Jul 17 11:29:26 1996 Miles Bader <miles@gnu.ai.mit.edu>
831372e7 9012
edf66db1
SP
9013 * stdio/linewrap.c (lwupdate): Fix boundary condition where a
9014 word extends right up to rmargin.
831372e7 9015
edf66db1
SP
9016 * stdio/linewrap.c (lwupdate): When we've done a word wrap and
9017 output the wrap margin, set point_col to wmargin.
9018 Use negative point_col to deal with a wmargin of 0.
9019 (line_wrap_point): Return 0 for a negative point_col.
9020 (line_wrap_stream): Make wmargin ssize_t.
9021 * stdio/linewrap.h (struct line_wrap_data): Make wmargin &
9022 point_col ssize_t.
9023 (line_wrap_stream): Make wmargin ssize_t.
9024 (line_wrap_point): Return 0 for a negative point_col.
831372e7 9025
edf66db1 9026Wed Jul 17 02:43:28 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
831372e7 9027
edf66db1 9028 * shlib-versions (*-*-gnu*): Set libc=0.0
831372e7 9029
edf66db1 9030Tue Jul 16 01:52:42 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
831372e7 9031
edf66db1
SP
9032 * sysdeps/m68k/dl-machine.h: Follow Jul 14 change in
9033 sysdeps/i386/dl-machine.h.
831372e7 9034
edf66db1 9035Tue Jul 16 00:18:19 1996 Miles Bader <miles@gnu.ai.mit.edu>
831372e7 9036
edf66db1
SP
9037 * stdio/linewrap.c (__line_wrap_update): Add hackery from flshfp
9038 to fiddle __put_limit in conjunction with __linebuf_active.
831372e7 9039
edf66db1 9040Tue Jul 16 00:14:07 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
831372e7 9041
edf66db1
SP
9042 * sysdeps/unix/inet/syscalls.list (connect, send): Add underscores
9043 to the strong name, not the file name.
831372e7 9044
edf66db1 9045Tue Jul 16 16:43:58 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
831372e7 9046
edf66db1
SP
9047 * csu/initfini.c: More magic. Detect if .end is produced and put it
9048 in the output iff the compiler does.
831372e7 9049
edf66db1
SP
9050 * elf/dl-lookup.c (_dl_lookup_symbol): Avoid sizeof dynamic auto array
9051 because that is broken on alpha.
831372e7 9052
edf66db1
SP
9053 * sysdeps/mach/hurd/mmap.c: Use same inheritance arg in second vm_map
9054 call as in first.
831372e7 9055
edf66db1
SP
9056 * Makerules (make-link): Install the new link with atomic mv -f in
9057 case ln itself requires the library being installed.
831372e7 9058
edf66db1 9059Tue Jul 16 00:31:31 1996 Richard Henderson <rth@tamu.edu>
831372e7 9060
edf66db1
SP
9061 * sysdeps/alpha/dl-machine.h: Mirror Roland's changes to
9062 i386/dl-machine.h of 960713.
831372e7 9063
edf66db1
SP
9064 * sysdeps/generic/dl-sysdep.c: Include <sys/mman.h>.
9065 (_dl_sysdep_read_whole_file): Fix result variable declaration.
831372e7 9066
edf66db1 9067Tue Jul 16 00:53:57 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
831372e7 9068
edf66db1
SP
9069 * sysdeps/mach/hurd/uname.c: Call __gethostname to fill in the
9070 `nodename' member.
831372e7 9071
edf66db1 9072Mon Jul 15 17:23:53 1996 Ulrich Drepper <drepper@cygnus.com>
831372e7 9073
edf66db1
SP
9074 * stdio-common/vfprintf.c (vfprintf): Call parse_one_spec
9075 with pointer to local variable instead of NULL.
831372e7 9076
edf66db1 90771996-07-15 Paul Eggert <eggert@twinsun.com>
831372e7 9078
edf66db1 9079 * time/strftime.c (strftime): Don't pass empty macro argument to `add'.
831372e7 9080
edf66db1 9081Sat Jul 13 09:53:39 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
831372e7 9082
edf66db1
SP
9083 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove names
9084 that are already added by other means.
831372e7 9085
edf66db1
SP
9086 * sysdeps/unix/sysv/linux/syscalls.list: Add more EXTRA's in the
9087 caller column to get those syscalls added automagically.
831372e7 9088
edf66db1 9089Mon Jul 15 12:24:54 1996 Miles Bader <miles@gnu.ai.mit.edu>
831372e7 9090
edf66db1
SP
9091 * login/logout.c (logout): Initialize DATA to a state that will
9092 make setutent_r happy.
831372e7 9093
edf66db1 9094Sun Jul 14 01:51:39 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
831372e7 9095
edf66db1
SP
9096 * elf/rtld.c (dl_main) [ELF_MACHINE_DEBUG_SETUP]: Use this macro
9097 instead of setting the DT_DEBUG pointer.
831372e7 9098
edf66db1
SP
9099 * csu/initfini.c (_init, _fini): Generate .end directives after
9100 standalone prologues and filter them out from epilogues.
831372e7 9101
edf66db1
SP
9102 * Makeconfig (rtld-installed-name): Set to ld.so.1.
9103 * sysdeps/unix/sysv/linux/Makefile (rtld-installed-name): Variable
9104 removed.
831372e7 9105
edf66db1 9106 * manual/Makefile (glibc-targets): Remove subdir_ from elts.
831372e7 9107
edf66db1 9108 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_read_whole_file): New fn.
831372e7 9109
edf66db1
SP
9110 * MakeTAGS (extract): Pass --add-comments=TRANS.
9111 * sysdeps/gnu/errlist.awk: Write comments into the output with the
9112 descriptive paragraphs from the manual preceded by TRANS.
831372e7 9113
edf66db1
SP
9114 * elf/rtld.c (RESOLVE): Use the dl's load address, not a constant zero!
9115 (_dl_start): Move RESOLVE defn inside this function and #include
9116 "dynamic-link.h" a second time there.
9117 [RTLD_START]: Move use of this after _dl_start function.
831372e7 9118
edf66db1 9119 * elf/dl-reloc.c: Include "dynamic-link.h" at file scope.
831372e7 9120
edf66db1 9121 * elf/rtld.c: Include <string.h>.
831372e7 9122
edf66db1
SP
9123 * elf/dynamic-link.h (ELF_DYNAMIC_DO_REL, ELF_DYNAMIC_DO_RELA,
9124 ELF_DYNAMIC_RELOCATE): No longer take RESOLVE argument.
9125 Conditionalize defns on [RESOLVE].
9126 * elf/do-rel.h (elf_dynamic_do_rel): Likewise.
9127 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
9128 Instead use RESOLVE macro with same args.
9129 (elf_machine_rel): Conditionalize defn on [RESOLVE].
9130 * elf/dl-reloc.c (RESOLVE): New macro, define before including
9131 "dynamic-link.h". It replaces `resolve' local function.
9132 * elf/dl-runtime.c: Likewise.
9133 * elf/rtld.c: Likewise.
831372e7 9134
edf66db1 9135 * elf/dl-deps.c (_dl_map_object_deps): Start TAILP at last preload.
831372e7 9136
edf66db1
SP
9137 * elf/dl-open.c (_dl_open): Force an indirect call for
9138 _dl_relocate_object so there is no chance a PLT fixup will be done
9139 and clobber _dl_global_scope before our call happens.
831372e7 9140
edf66db1
SP
9141 * sysdeps/i386/fpu/__math.h (tan): Correct output constraint from =u
9142 to =t; must operate on top of fp reg stack, not second from top.
9143 Correct input constraint to 0 from t; must be explicit when input and
9144 output are the same register.
9145 (floor): Use __volatile instead of volatile.
9146 (ceil): Likewise.
831372e7 9147
edf66db1
SP
9148 * manual/Makefile ($(objpfx)stamp%-$(subdir)): Separate rule from
9149 other targets.
831372e7 9150
edf66db1 9151Sat Jul 13 23:50:17 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
831372e7 9152
edf66db1
SP
9153 * manual/Makefile (lib): New phony target. Depend on stamp files.
9154 ($(objpfx)stamp%-$(subdir)): New rule to create them when necessary.
831372e7 9155
edf66db1 91561996-07-13 Paul Eggert <eggert@twinsun.com>
831372e7 9157
edf66db1
SP
9158 * time/strftime.c (strftime): Use space padding for %e, %k, %l,
9159 to match Emacs format-time-string specification.
9160 (DO_NUMBER_SPACEPAD): Renamed from DO_NUMBER_NOPAD.
831372e7 9161
edf66db1 9162Sat Jul 13 20:17:38 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
831372e7 9163
edf66db1
SP
9164 * elf/dl-deps.c (_dl_map_object_deps): Take new args PRELOADS and
9165 NPRELOADS, vector of `struct link_map *'s; add them to the searchlist
9166 between MAP and its deps.
9167 * elf/link.h: Fix decl.
9168 * elf/rtld.c (dl_main): If not secure, parse LD_PRELOAD for
9169 colon-separated list of names, map those and pass vector of ptrs as
9170 PRELOADS list to _dl_map_object_deps.
9171 * elf/dl-runtime.c (_dl_object_relocation_scope): Pass new args to
9172 _dl_map_object_deps with empty preload list.
9173 * elf/dl-open.c (_dl_open): Likewise.
831372e7 9174
edf66db1
SP
9175 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_open_zero_fill): Function
9176 removed.
9177 (__mmap): Pass MACH_PORT_NULL for memobj port when (flags & MAP_ANON).
9178 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_open_zero_fill):
9179 Conditionalize defn on [! MAP_ANON].
9180 * elf/dl-minimal.c (malloc): Conditionalize use of _dl_zerofd
9181 on [! MAP_ANON].
9182 * elf/rtld.c (dl_main): Likewise.
9183 * elf/dl-load.c (_dl_zerofd): Conditionalize defn on [! MAP_ANON].
9184 (_dl_map_object_from_fd): Conditionalize initialization of _dl_zerofd.
831372e7 9185
edf66db1 9186 * elf/dl-fini.c (_dl_fini): Skip finalizer for executable itself.
831372e7 9187
edf66db1 9188Sat Jul 13 02:47:53 1996 David Mosberger-Tang <davidm@azstarnet.com>
831372e7 9189
edf66db1
SP
9190 * stdlib/random.c (__random): Declare as int32_t to be in sync
9191 with declaration.
831372e7 9192
edf66db1 9193 * socket/Makefile (headers): Add socketbits.h.
831372e7 9194
edf66db1
SP
9195 * misc/mntent.c (endmntent): Allow for NULL stream. SunOS does
9196 it that way.
831372e7 9197
edf66db1
SP
9198 * grp/initgroups.c (initgroups): Add groups that user is a member
9199 of, not the ones he is _not_ a member of.
831372e7 9200
edf66db1
SP
9201 * nss/nsswitch.c (known_compare): Make known_compare() a static
9202 instead of a local function. The latter are difficult to debug
9203 and slow to execute on certain platforms.
831372e7 9204
edf66db1
SP
9205 * sysdeps/posix/ttyname_r.c (ttyname_r): Use sizeof (dev) - 1 in
9206 place of sizeof (dev). The size of a literal string includes the
9207 NUL byte.
831372e7 9208
edf66db1 9209 * sysdeps/unix/getlogin.c (getlogin): Initialize ut_fd with -1.
831372e7 9210
edf66db1 9211Thu Jul 11 16:59:10 1996 David Mosberger-Tang <davidm@azstarnet.com>
831372e7 9212
edf66db1
SP
9213 * misc/mntent.c (addmntent): Seek to end of file before writing
9214 entry. Return 1 on error, not -1.
831372e7 9215
edf66db1 9216Tue Jul 9 19:08:05 1996 David Mosberger-Tang <davidm@azstarnet.com>
831372e7 9217
edf66db1
SP
9218 * sysdeps/unix/sysv/linux/syscalls.list: Mark bdflush as EXTRA
9219 syscall.
831372e7 9220
edf66db1 9221Fri Jul 5 18:44:55 1996 David Mosberger-Tang <davidm@azstarnet.com>
831372e7 9222
edf66db1
SP
9223 * sysdeps/unix/sysv/linux/alpha/ioperm.c (port_to_cpu_addr): Size
9224 shift amount for Jensen must be 5 not 4.
831372e7 9225
edf66db1 9226Sat Jul 13 20:04:28 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
831372e7 9227
edf66db1 9228 * socket/sys/socket.h (struct osockaddr): New type.
831372e7 9229
edf66db1 9230Sat Jul 13 03:50:53 1996 Ulrich Drepper <drepper@cygnus.com>
831372e7 9231
edf66db1
SP
9232 * misc/Makefile (routines): Add qefgcvt and qefgcvt_r.
9233 * misc/efgcvt.c, misc/efgcvt_r.c: Change code so that the `double'
9234 and `long double' versions can be generated.
9235 * misc/qefgcvt.c, misc/qefgcvt_r.c: New files. Define macros
9236 so that included efgcvt{,_r}.c file generate `long double'
9237 versions.
9238 * stdlib/stdlib.h: Add prototypes for q[efg]cvt() and q[ef]cvt_r()
9239 functions.
831372e7 9240
edf66db1
SP
9241 * manual/startup.texi: Document new getsubopt function.
9242 * manual/examples/subopt.c: New example program for documenting
9243 getsubopt function.
831372e7 9244
edf66db1 9245Fri Jul 12 23:58:37 1996 Ulrich Drepper <drepper@cygnus.com>
831372e7 9246
edf66db1
SP
9247 * stdlib/Makefile (routines): Add getsubopt.
9248 * stdlib/stdlib.h: Add prototype for getsubopt.
9249 * stdlib/getsubopt.c: New file. Implement getsubopt function
9250 to handle suboption parsing.
831372e7 9251
edf66db1 9252Thu Jul 11 20:09:55 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
831372e7 9253
edf66db1
SP
9254 * inet/getnetent_r.c: Define NEED_H_ERRNO.
9255 * inet/getnetbynm_r.c: Likewise.
9256 * inet/getnetent.c: Likewise.
9257 * inet/getnetbyad_r.c: Likewise.
9258 * inet/getnetbyad.c: Likewise.
9259 * inet/getnetbynm.c: Likewise.
831372e7 9260
edf66db1 9261 * sysdeps/generic/pselect.c: Include <sys/time.h>.
831372e7 9262
edf66db1
SP
9263 * misc/sys/select.h: Include <time.h> instead of <sys/time.h> for
9264 `struct timespec'.
831372e7 9265
edf66db1
SP
9266 * math/Makefile (calls): Add s_frexp, s_ldexp.
9267 (routines): Remove them and &f from here.
831372e7 9268
edf66db1 9269 * sys/socket.h: New file, wrapper for socket/sys/socket.h.
831372e7 9270
edf66db1
SP
9271 * nss/nss_files/files-service.c (getservbyname): Take second arg PROTO
9272 and check it.
831372e7 9273
edf66db1 9274 * nss/nss_files/files-XXX.c: Comment fix.
831372e7 9275
edf66db1 9276Fri Jul 12 01:28:35 1996 Ulrich Drepper <drepper@cygnus.com>
831372e7 9277
edf66db1
SP
9278 * nss/getXXent_r.c (GETFUNC_NAME_STRING): Define with name
9279 of reentrant function.
9280 (setup): Pass additional argument with function name we are
9281 looking for.
9282 (SETFUNC_NAME, ENDFUNC_NAME, GETFUNC_NAME): Call setup with
9283 new argument {SET,END,GET}FUNC_NAME_STRING.
831372e7 9284
edf66db1
SP
9285 * nss/getXXent.c (GETFUNC_NAME): RESULT must be static because
9286 we return a pointer.
831372e7 9287
edf66db1 9288Thu Jul 11 18:20:44 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
831372e7 9289
edf66db1 9290 * nss/nss_files/files-parse.c: Add comment about things to #define.
831372e7 9291
edf66db1 9292 * nss/nss_files/files-hosts.c (NEED_H_ERRNO): Define it.
831372e7 9293
edf66db1
SP
9294 * nss/nss_files/files-parse.c (STRING_FIELD): Don't flag NUL before
9295 terminator char as an error.
831372e7 9296
edf66db1 9297 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set *H_ERRNOP, not h_errno.
831372e7 9298
edf66db1 9299Thu Jul 11 03:21:10 1996 Ulrich Drepper <drepper@cygnus.com>
831372e7 9300
edf66db1
SP
9301 * catgets/gencat.c (write_out): Move code to determine new
9302 best size out of inner loop.
831372e7 9303
edf66db1 9304Thu Jul 11 00:22:40 1996 Ulrich Drepper <drepper@cygnus.com>
831372e7 9305
edf66db1
SP
9306 * sysdeps/libm-ieee754/s_frexpl.c: New file. `long double'
9307 implementation of frexp() function.
9308 * sysdeps/libm-ieee754/s_ldexpl.c: New file. `long double'
9309 implementation of ldexp() function.
831372e7 9310
edf66db1
SP
9311 * sysdeps/libm-i387/s_isnanl.c (isnanl): Mask explicit one
9312 out before or'ing.
831372e7 9313
edf66db1 9314Wed Jul 10 05:24:40 1996 David Mosberger-Tang <davidm@azstarnet.com>
831372e7 9315
edf66db1
SP
9316 * misc/mntent.c: Include <sys/types.h>.
9317 (endmntent): Return 1 one success, 0 on failure.
9318 (getmntent): Chop newline and ignore empty lines.
831372e7 9319
edf66db1 9320Mon Jul 8 21:18:40 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
831372e7 9321
edf66db1
SP
9322 * sysdeps/m68k/dl-machine.h (RESOLVE): New macro, defined
9323 differently based on [RTLD_BOOTSTRAP].
9324 (elf_machine_rela): Use it instead of the fn ptr arg directly.
831372e7 9325
edf66db1 9326Tue Jul 9 09:37:55 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
831372e7 9327
edf66db1
SP
9328 * posix/glob.h (__glob_opendir_hook, __glob_readdir_hook,
9329 __glob_closedir_hook): Remove decls.
831372e7 9330
edf66db1 9331 * sysdeps/generic/machine-gmon.h: Declare mcount_internal.
831372e7 9332
edf66db1
SP
9333 * sysdeps/unix/inet/syscalls.list: Define __ names with weak aliases
9334 for send and connect syscalls.
831372e7 9335
edf66db1
SP
9336 * socket/sys/socket.h: New file, taken from non-sysdep parts of
9337 linux/sys/socket.h; break sysdeps parts out into socketbits.h.
9338 Declare __ names for send and connect.
9339 * sysdeps/generic/socketbits.h: New file.
9340 * sysdeps/unix/sysv/linux/socketbits.h: New file.
9341 * sysdeps/unix/sysv/linux/sys/socket.h: File removed.
9342 * sysdeps/generic/sys/socket.h: File removed.
831372e7 9343
edf66db1
SP
9344 * sysdeps/mach/hurd/connect.c: Define __ name and weak alias.
9345 * sysdeps/mach/hurd/send.c: Likewise.
831372e7 9346
edf66db1
SP
9347 * sysdeps/mach/libc-lock.h: New file.
9348 * sysdeps/unix/readdir.c: Do locking.
9349 * sysdeps/unix/seekdir.c: Likewise.
9350 * sysdeps/unix/rewinddir.c: Likewise.
9351 * sysdeps/unix/closedir.c: Likewise.
9352 * sysdeps/unix/bsd/telldir.c: Likewise.
9353 * sysdeps/mach/hurd/seekdir.c: Likewise.
9354 * sysdeps/mach/hurd/readdir.c: Likewise.
9355 * sysdeps/mach/hurd/closedir.c: Likewise.
9356 * sysdeps/mach/hurd/opendir.c: Initialize the lock.
9357 * sysdeps/unix/opendir.c: Likewise.
9358 * sysdeps/mach/hurd/dirstream.h: Include <libc-lock.h>.
9359 (struct __dirstream): Add lock member using __libc_lock_define.
9360 * sysdeps/unix/dirstream.h: Likewise.
831372e7 9361
edf66db1 9362 * sysdeps/stub/libc-lock.h (__libc_lock_fini): New macro.
831372e7 9363
edf66db1 9364 * stdlib/mbstowcs.c: Pass address of pointer to mbsrtowcs.
831372e7 9365
edf66db1 9366 * stdlib/wcstombs.c: Use wcsrtombs instead of mbsrtowcs.
831372e7 9367
edf66db1 9368Thu Jul 4 01:34:04 1996 Ulrich Drepper <drepper@cygnus.com>
831372e7 9369
edf66db1 9370 * locale/programs/stringtrans.c: Fix typo in copyright.
831372e7 9371
edf66db1
SP
9372 * stdio-common/printf-prs.c: Add casts to prevent
9373 signed<->unsigned warnings.
831372e7 9374
edf66db1
SP
9375 * stdio-common/printf-parse.h: Initialize state variable before
9376 calling mbrlen.
9377 * stdio-common/printf-prs.c: Don't initialize state variable here.
9378 * stdio-common/vfprintf.c: Don't initialize state variable.
9379 (vfprintf): While determining length of multibyte string don't
9380 try to be clever in determining characters to use for first
9381 call.
831372e7 9382
edf66db1
SP
9383 Add real implementation of multibyte<->wide char conversion
9384 functions. The functions always convert between the fixed wide
9385 char format (ISO 10646 in UCS4) and the UTF8 representation of
9386 this character set. Conversion between the currently used
9387 8bit character set and ISO 10646 will not take place. This is
9388 what iconv() is for.
9389 * wcsmbs/wchar.h (mbstate_t): Define as structure to replace
9390 dummy definition.
9391 Add optimized version of `mbrlen' function.
9392 * wcsmbs/btowc.c (btowc): Restrict range of legal characters
9393 to 0...0x7f.
9394 * wcsmbs/wctob.c (wctob): Restrict range of legal characters
9395 to 0..0x7f.
9396 * wcsmbs/mbrlen.c: Make mbrlen a weak alias of __mbrlen.
9397 This is needed in the wchar.h header.
9398 * wcsmbs/mbrtowc.c: Replace dummy implementation. Convert UTF8
9399 encoded character to UCS4.
9400 * wcsmbs/mbsinit.c: Replace dummy implementation. Test COUNT
9401 element of `mbstate_t' for initial state.
9402 * wcsmbs/mbsrtowcs.c: Replace dummy implementation. Convert UTF8
9403 encoded string to UCS4 string.
9404 * wcsmbs/wcrtomb.c: Replace dummy implementation. Convert UCS4
9405 character to UTF8 encoded form.
9406 * wcsmbs/wcsrtombs.c: Replace dummy implementation. Convert UCS4
9407 encoded string to UTF8 encoded form.
831372e7 9408
edf66db1 9409Tue Jul 9 06:19:29 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
831372e7 9410
edf66db1
SP
9411 * sysdeps/unix/sysv/linux/configure.in: Use version number in cache
9412 variable name, so new a libc with new requirements won't fail to
9413 notice an insufficient Linux version.
831372e7 9414
edf66db1 9415 * sysdeps/unix/sysv/linux/direntry.h: New file from David Mosberger.
831372e7 9416
edf66db1
SP
9417 * sysdeps/unix/sysv/linux/configure.in: Check for Linux 2.0.1 headers,
9418 instead of 2.0 headers.
831372e7 9419
edf66db1 9420 * sysdeps/mach/hurd/Makefile (stamp-errnos): Uncomment CVS commit cmds.
831372e7 9421
edf66db1
SP
9422 * sysdeps/gnu/errlist.awk: Undo mib's bogus changes. The
9423 sysdeps/mach/hurd/errnos.awk bug fix was the only correct change.
831372e7 9424
edf66db1
SP
9425 * sysdeps/generic/machine-gmon.h [NO_UNDERSCORES]: Declare _mcount
9426 before using it in lhs of weak_alias.
831372e7 9427
edf66db1
SP
9428 * nss/getXXent_r.c (setup): New function, broken out of SETFUNC_NAME.
9429 Call __nss_lookup when not setting STARTP.
9430 (SETFUNC_NAME, ENDFUNC_NAME, REENTRANT_GETNAME): Call it to set up for
9431 function-calling loop.
831372e7 9432
edf66db1 9433Tue Jul 9 00:14:52 1996 Michael I. Bushnell p/BSG <mib@gnu.ai.mit.edu>
831372e7 9434
edf66db1
SP
9435 * sysdeps/mach/hurd/ioctls.h (MDMBUF, ECHO, TOSTOP, FLUSHO,
9436 PENDIN, NOFLSH): Undefine these at start if they are already
9437 defined to avoid collision with termbits.h.
9438 * sysdeps/generic/termbits.h (ECHO, TOSTOP, NOFLSH): Likewise.
9439 (MDMBUF, FLUSHO, PENDIN) [__USE_BSD]: Likewise.
831372e7 9440
edf66db1 9441Mon Jul 8 13:37:40 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
831372e7 9442
edf66db1
SP
9443 * math/math.h (_Mfloat_, _Mlong_double_): New macros, defined iff not
9444 already defined to float, long double. Use those macros for _Mdouble_
9445 defns when including mathcalls.h.
9446 * math/Makefile [$(long-double-fcts) != yes] (CPPFLAGS): Append
9447 -D_Mlong_double_=double.
831372e7 9448
edf66db1
SP
9449 Add more -lm functions to -lc because ldexp uses them.
9450 * math/Makefile (calls): Add s_finite, s_copysign, s_scalbn, s_modf.
9451 (routines): Remove s_modf, add s_frexpf, s_ldexpf; all but frexp and
9452 ldexp have both f and l code, and those have f though not l code.
831372e7 9453
edf66db1 9454Mon Jul 8 13:10:50 1996 Michael I. Bushnell p/BSG <mib@gnu.ai.mit.edu>
831372e7 9455
edf66db1
SP
9456 * sysdeps/mach/hurd/errnos.awk: Skip entries where the
9457 error is 0. The "placeholder" entries recently added to
9458 errno.texi convert to zero since `???/' is at the front of them.
9459 * sysdeps/gnu/errlist.awk (errnoh): Likewise.
831372e7 9460
edf66db1
SP
9461 * sysdeps/stub/setdomain.c (setdomainname): Declare NAME parm
9462 __const to conform with unistd.h.
831372e7 9463
edf66db1 9464 * stdlib/stdlib.h (random): Declare return type to be int32_t.
831372e7 9465
edf66db1
SP
9466 * string/argz-delete.c (argz_delete): Use memmove instead of
9467 memcpy for possibly overlapping strings.
9468
9469Mon Jul 8 02:14:25 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
9470
9471 * libc-symbols.h [GCC >= 2.7] (strong_alias, weak_alias): Use extern
9472 storage class. GCC gives an error for non-extern data defns with the
9473 alias attribute.
9474
9475Mon Jul 8 01:37:34 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu>
9476
9477 * string/argz-insert.c (__argz_insert): (__argz_insert): Use
9478 memmove instead of memcpy for possible overlapping strings.
9479
9480Mon Jul 8 00:11:15 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
9481
9482 * libc-symbols.h (weak_function): New macro.
9483 For GCC 2.7+ define as __attribute__ ((weak)).
9484 * elf/dl-minimal.c: Use weak_function as keyword in function defns
9485 instead of weak_symbol (NAME) after the defn.
9486 * stdlib/strtol.c: Likewise.
9487 * stdlib/strtod.c: Likewise.
9488 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
9489
9490 * sysdeps/alpha/dl-machine.h (elf_machine_rela) [RTLD_BOOTSTRAP]:
9491 If this is defined, don't declare _dl_rtld_map as weak, and
9492 don't check for MAP pointing to it. RESOLVE is always null in this
9493 case, so test with #ifdef instead of if.
9494
9495 * libc-symbols.h (symbol_set_declare): Use weak_extern instead of
9496 weak_symbol.
9497 * csu/initfini.c (_init): Likewise.
9498 * locale/setlocale.c (DEFINE_CATEGORY): Likewise.
9499 * misc/efgcvt_r.c: Likewise.
9500 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
9501 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
831372e7 9502
edf66db1
SP
9503 * libc-symbols.h [ASSEMBLER] (weak_symbol): Macro removed.
9504 It was not used in any assembler code.
9505 (weak_symbol_asm): Renamed to weak_extern_asm.
9506 (weak_extern): New macro replaces weak_symbol for weak extern refs;
9507 define to weak_extern_asm for [!ASSEMBLER].
831372e7 9508
edf66db1 9509Sun Jul 7 18:42:06 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
831372e7 9510
edf66db1
SP
9511 * libc-symbols.h [! ASSEMBLER] [HAVE_WEAK_SYMBOLS] (weak_symbol_asm,
9512 weak_alias_asm): New macros, renamed from weak_symbol/weak_alias;
9513 define those now as aliases.
9514 Change conditional to use __attribute__ syntax for GCC 2.7+, not 2.8+
9515 [GCC >= 2.7] [HAVE_WEAK_SYMBOLS] (weak_symbol): Do weak_symbol_asm
9516 after GCC weak attribute decl.
831372e7 9517
edf66db1
SP
9518 * sysdeps/gnu/errlist.awk (BEGIN): Initialize associative array ALIAS,
9519 map EWOULDBLOCK->EAGAIN, EDEADLOCK->EDEADLK.
9520 (element printer): Check for elt in ALIAS, instead of special case
9521 for EWOULDBLOCK.
831372e7 9522
edf66db1
SP
9523 * io/Makefile (headers): Add sys/vfs.h.
9524 * io/sys/vfs.h: New file.
831372e7 9525
edf66db1
SP
9526 * sysdeps/mach/hurd/jmp-unwind.c (_longjmp_unwind): Don't unlock the
9527 critical section lock before unlinking dying active resources.
9528 The unlock just before return is right (i.e. old code unlocked twice).
831372e7 9529
edf66db1 9530Sun Jun 2 22:28:43 1996 Miles Bader <miles@gnu.ai.mit.edu>
831372e7 9531
edf66db1
SP
9532 * stdio/linewrap.c (lwupdate): Update D->point_offs when done.
9533 Use memmove instead of memcpy where overlap is possible (not
9534 necessary using current implementation of memcpy, but...).
9535 (__line_wrap_update): Don't update D->point_offs (lwupdate does it).
831372e7 9536
edf66db1 9537Fri May 31 11:48:46 1996 Miles Bader <miles@gnu.ai.mit.edu>
831372e7 9538
edf66db1
SP
9539 * stdio/linewrap.c (lwupdate): New function, mostly was
9540 __line_wrap_update. Use POINT_COL field instead of POINT.
9541 (__line_wrap_output): Use lwupdate.
9542 (__line_wrap_update): New function.
9543 (ensure_unwrapped, ensure_wrapped): New functions.
9544 (line_wrap_set_lmargin, line_wrap_set_rmargin,
9545 line_wrap_set_wmargin, line_wrap_point): Use __line_wrap_update.
831372e7 9546
edf66db1
SP
9547 * stdio/linewrap.h (struct line_wrap_data): Rename POINT field to
9548 POINT_COL. Add POINT_OFFS field.
9549 (__line_wrap_update): New decl.
9550 (line_wrap_set_lmargin, line_wrap_set_rmargin,
9551 line_wrap_set_wmargin, line_wrap_point): Use __line_wrap_update.
831372e7 9552
edf66db1 9553Fri Jul 5 17:34:47 1996 Miles Bader <miles@gnu.ai.mit.edu>
831372e7 9554
edf66db1 9555 * login/logout.c (logout): Do nothing if getutline_r returns ESRCH.
831372e7 9556
edf66db1
SP
9557 * login/pututline_r.c (pututline_r): Since we assign RESULT from
9558 lseek now, check that it's >= 0, not == 0.
831372e7 9559
edf66db1 9560Wed Jul 3 13:28:04 1996 Miles Bader <miles@gnu.ai.mit.edu>
831372e7 9561
edf66db1
SP
9562 * login/login.c (login): Make a copy of *UT, fill in various
9563 fields that we supply (ut_line, ut_type, ut_pid), and use the copy
9564 in place of UT.
831372e7 9565
edf66db1
SP
9566 * login/getutline_r.c (getutline_r): When we return ESRCH, mark
9567 UTMP_DATA->ubuf invalid (by setting UTMP_DATA->loc_utmp to 0).
831372e7 9568
edf66db1 9569Fri Jul 5 12:22:51 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
831372e7 9570
edf66db1
SP
9571 * hurd/hurdsig.c (_hurd_internal_post_signal): In case of handled
9572 signal during critical section doing interruptible RPC, if
9573 _hurdsig_abort_rpcs wants to change thread state, do thread_set_state
9574 before thread_resume. If in critical section, pass 0 for SIGNO to
9575 _hurdsig_abort_rpcs so rpc is interrupted regardless of SA_RESTART.
831372e7 9576
edf66db1 9577 * extra-lib.mk: Fix typo in $(extra-libs-others) conditional.
831372e7 9578
edf66db1
SP
9579 * sysdeps/unix/sysv/linux/sys/user.h: New file.
9580 * sysdeps/unix/sysv/linux/Dist: Add it.
9581 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add sys/user.h.
831372e7 9582
edf66db1
SP
9583 * nss/nss_files/files-parse.c (parse_list): Set EOL from LINE if it
9584 points within DATA->linebuffer; otherwise use all of DATA->linebuffer
9585 itself, no need to skip past a NUL.
831372e7 9586
edf66db1
SP
9587 * nss/nsswitch.h (known_function): Comment fix.
9588 * nss/nsswitch.c (nss_lookup_function): Rewritten using __tsearch
9589 directly. Do the lookup and insertion with a single call, and fill in
9590 the tree node afterwards if new.
9591 (known_compare, nss_find_entry, nss_insert_entry): Functions removed.
831372e7 9592
edf66db1
SP
9593 * misc/sys/select.h: #define __need_timespec before <sys/time.h> incl.
9594 (struct timeval): Add bodiless decl for scope.
831372e7 9595
edf66db1
SP
9596 * time/time.h (struct timespec): Rename members from `ts_*' to `tv_*'.
9597 Move struct timespec defn outside [_TIME_H] so it can be got with
9598 #define __need_timespec.
831372e7 9599
edf66db1
SP
9600 * time/sys/time.h (TIMEVAL_TO_TIMESPEC): Use `tv_*' instead of `ts_*'
9601 for `struct timespec' member names.
9602 (TIMESPEC_TO_TIMEVAL): Likewise.
831372e7 9603
edf66db1 9604 * nss/Makefile (extra-libs-others): New variable.
831372e7 9605
edf66db1
SP
9606 * extra-lib.mk: Don't test for $($(lib)-no-lib-dep). Instead match
9607 $(lib) in $(extra-libs-others).
9608 * sunrpc/Makefile (extra-libs-others): New variable.
9609 (librpcsvc-no-lib-dep): Variable removed.
831372e7 9610
edf66db1
SP
9611 * elf/rtld.c: Define RTLD_BOOTSTRAP before #include "dynamic-link.h".
9612 * sysdeps/i386/dl-machine.h (elf_machine_rel): Remove weak decl for
9613 _dl_rtld_map.
9614 (RESOLVE): New macro, defined differently based on [RTLD_BOOTSTRAP].
9615 (elf_machine_rel): Use it instead of testing fn ptr arg at runtime.
9616 (elf_machine_rel: case R_386_32) [! RTLD_BOOTSTRAP]: Declare
9617 _dl_rtld_map weak only here.
831372e7 9618
edf66db1 9619 * posix/unistd.h [__USE_BSD]: Declare getdomainname, setdomainname.
831372e7 9620
edf66db1 9621Thu Jul 4 05:21:59 1996 David Mosberger-Tang <davidm@azstarnet.com>
831372e7 9622
edf66db1 9623 * login/utmp.h: Fix typos.
831372e7 9624
edf66db1
SP
9625 * misc/syslog.c (vsyslog): Use __send instead of send and
9626 __connect instead of connect to avoid name-space collisions (e.g.,
9627 with psgetty).
831372e7 9628
edf66db1 9629Wed Jul 3 16:29:41 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
831372e7 9630
edf66db1 9631 * nss/getXXbyYY_r.c (REENTRANT_NAME): Cast FCT in __nss_next call.
831372e7 9632
edf66db1 9633 * sysdeps/generic/sbrk.c: Always call __brk (0) to update __curbrk.
831372e7 9634
edf66db1
SP
9635 * malloc/malloc-size.c (malloc_usable_size): Renamed from
9636 malloc_object_allocation_size.
9637 * malloc/malloc.h: Fix decl.
831372e7 9638
edf66db1 9639 * sys/select.h: New file, wrapper header.
831372e7 9640
edf66db1
SP
9641 * posix/sys/types.h [__USE_BSD]: Include <sys/select.h>; remove
9642 fd_set, associated macros, and select decl.
831372e7 9643
edf66db1 9644 * sysdeps/posix/isfdtype.c: New file.
831372e7 9645
edf66db1 9646Tue Jul 2 23:45:14 1996 Ulrich Drepper <drepper@cygnus.com>
831372e7 9647
edf66db1
SP
9648 The latest Japanese proposal for POSIX locales renames the
9649 CHARMAP keyword in locale definition files to CHARCONV.
9650 * locale/programs/ld-ctype.c, locale/programs/locales.h: Rename
9651 function ctype_is_charmap to ctype_is_charconv.
9652 * locale/programs/locfile-kw.gperf: Replace charmap keyword with
9653 charconv.
9654 * locale/programs/locfile-token.h: Add definition of token
9655 charconv.
9656 * locale/programs/locfile.c: Recognize charconv keyword. Rename
9657 lables according to this.
831372e7 9658
edf66db1
SP
9659 * locale/weight.h (get_weight): Cast constants to prevent
9660 warnings.
831372e7 9661
edf66db1
SP
9662 * stdlib/strtod.c, stdlib/strtol.c, string/strcoll.c,
9663 string/strxfrm.c: Add some more casts to prevent signed<->unsigned
9664 warnings.
831372e7 9665
edf66db1
SP
9666 New stuff described in P1003.1g.
9667 * misc/Makefile (headers): Add sys/select.h.
9668 (routines): Add pselect.
9669 * misc/sys/select.h: New file. Declare select functions and
9670 needed data types and macros.
9671 * sysdeps/generic/pselect.c: New file. Add generic implementation
9672 of pselect() function which uses select().
831372e7 9673
edf66db1
SP
9674 * posix/getconf.c: Recognize new variables from P1003.1g.
9675 * posix/posix1_lim.h: Define _POSIX_FD_SETSIZE, _POSIX_QLIMIT,
9676 _POSIX_HIWAT, and _POSIX_UIO_MAXIOV.
9677 * posix/unistd.h: Add description of the P1003.1g variables.
9678 * sysdeps/generic/confname.h: Define _SC_* values for new
9679 variables.
9680 * sysdeps/posix/fpathconf.c (fpathconf): Add handling of
9681 _PC_SOCK_MAXBUF.
9682 * sysdeps/stub/fpathconf.c (fpathconf): Ditto.
9683 * sysdeps/posix/sysconf.c (sysconf): Add handling of new
9684 P1003.1g variables.
9685 * sysdeps/stub/sysconf.c (sysconf): Ditto.
9686 * sysdeps/unix/sysv/linux/posix_opt.h: Define _POSIX_POLL and
9687 _POSIX_SELECT since Linux has this.
831372e7 9688
edf66db1
SP
9689 * socket/Makefile (routines): Add isfdtype.
9690 * sysdeps/generic/sys/socket.h: Add prototype for isfdtype.
9691 * sysdeps/stub/isfdtype.c: New file. Stub implementation of
9692 isfdtype.
831372e7 9693
edf66db1 9694 * wcsmbs/wcrtomb.c (wcrtomb): Fix typo.
831372e7 9695
edf66db1 9696Wed Jul 3 11:26:28 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
831372e7 9697
edf66db1
SP
9698 * elf/Makefile (LDFLAGS-dl.so): New variable.
9699 (libdl.so): Depend on eval.so.
9700 (distribute): Add eval.c.
9701 * elf/eval.c: New file.
831372e7 9702
edf66db1
SP
9703 * time/strftime.c (strftime: do_number): Adjust P and I after sprintf
9704 in case it wrote fewer than MAXDIGITS chars.
831372e7 9705
edf66db1
SP
9706 * stdio/fwrite.c (fwrite: fill_buffer): Separate flushing for last
9707 newline from flushing full buffer in loop, fix test so no fflush is
9708 done when last byte written exactly fills the buffer.
831372e7 9709
edf66db1 9710 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Depend on libc.so.
831372e7 9711
edf66db1
SP
9712 * sysdeps/mach/hurd/Makefile (LDLIBS-c.so): Variable removed.
9713 (libc.so): Instead, give this deps on lib{mach,hurd}user.so.
831372e7 9714
edf66db1
SP
9715 * elf/dl-debug.c (_dl_debug_initialize): Use LDBASE arg instead of
9716 extracting _dl_rtld_map.l_addr.
831372e7 9717
edf66db1
SP
9718 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare _dl_rtld_map as
9719 weak.
9720 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
9721
9722 * shlib-versions (*-*-*): Set libnss_db=1.
9723
9724Tue Jul 2 10:44:37 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
9725
9726 * elf/rtld.c (dl_main): Set _dl_rtld_map's DT_DEBUG location too.
9727
9728 * rpm/template (%build): Use @prefix@ instead of always /usr.
9729 Set up configparms only if @prefix@ is in fact /usr.
9730 * rpm/Makefile ($(config)): Substitute $(prefix) for @prefix@.
9731
9732 * elf/Makefile: Add missing endif.
9733
9734 * nss/nss_files/files-ethers.c (ntohost): Fix db key.
9735
9736 * nss/nss_files/files-network.c: Pass empty for new DB_LOOKUP args.
9737 (DATABASE): Define this instead of DATAFILE.
9738 * nss/nss_files/files-hosts.c: Likewise.
9739 (hostbyname): Use LOOKUP_NAME macro.
831372e7 9740
edf66db1
SP
9741 * nss/nss_db/db-XXX.c: New file.
9742 * nss/Makefile (services): Add db.
9743 (libnss_db-inhibit-o): New variable.
9744 (libnss_db-routines): New variable.
9745 (distribute): Append db-XXX.c.
9746 (libnss_db.so): Depend on libdb.so and libnss_files.so.
9747 ($(libnss_db-routines:%=$(objpfx)%.c)): New static pattern rule.
831372e7 9748
edf66db1
SP
9749 * nss/nss_files/files-XXX.c (DB_LOOKUP): Add KEYSIZE and KEYPATTERN
9750 args, ignored.
9751 (DATAFILE): New macro.
9752 * nss/nss_files/files-parse.c (GENERIC): If undefined, define to
9753 "files-XXX.c".
9754 * nss/nss_files/files-rpc.c: Include GENERIC instead of "files-XXX.c".
9755 Pass db key args to DB_LOOKUP.
9756 (DATAFILE): Macro removed.
9757 (DATABASE): New macro replaces it, lacks "/etc/" prefix.
9758 * nss/nss_files/files-service.c: Likewise.
9759 * nss/nss_files/files-pwd.c: Likewise.
9760 * nss/nss_files/files-proto.c: Likewise.
9761 * nss/nss_files/files-grp.c: Likewise.
9762 * nss/nss_files/files-ethers.c: Likewise.
831372e7 9763
edf66db1
SP
9764 * elf/linux-compat.c: File removed.
9765 * elf/Makefile (distribute): Remove linux-compat.c.
9766 (ld-linux.so.1): Remove target and associated variables.
831372e7 9767
edf66db1
SP
9768 * sunrpc/xdr.c: Remove malloc decl.
9769 * sunrpc/portmap.c: Likewise.
831372e7 9770
edf66db1
SP
9771 * sunrpc/svc_tcp.c (abort): Don't declare. Instead define as macro
9772 casting abort to fn returning bool_t.
831372e7 9773
edf66db1
SP
9774 * nss/nss_files/files-parse.c [EXTERN_PARSER]: Do an extern decl of
9775 the parser function.
9776 [EXTERN_PARSER] (LINE_PARSER): Define to empty.
9777 * nss/nss_files/files-pwd.c (EXTERN_PARSER): Define it.
9778 * nss/nss_files/files-grp.c: Likewise.
831372e7 9779
edf66db1 9780 * Makeconfig (BUILD_CC): If undefined, define to $(CC).
831372e7 9781
edf66db1 9782 * sunrpc/rpc/types.h: Include stdlib.h instead of declaring malloc.
831372e7 9783
edf66db1
SP
9784 * Makeconfig (built-program-cmd): Use $(rtld-installed-name) in place
9785 of ld.so so lookups for that soname find it.
831372e7 9786
edf66db1
SP
9787 * nss/Makefile (libnss_dns.so): Depend on libresolv.so.
9788 (resobjdir, LDLIBS-nss_dns.so): Variables removed.
831372e7 9789
edf66db1
SP
9790 * pwd/fgetpwent.c: Don't include ../nss/nss_files/files-parse.c to
9791 define parse_line function.
9792 (parse_line): #define to _nss_files_parse_pwent and
9793 add extern decl for that.
831372e7 9794
edf66db1
SP
9795 * nss/nss_files/files-XXX.c (internal_getent): Return
9796 NSS_STATUS_TRYAGAIN for ERANGE error.
831372e7 9797
edf66db1
SP
9798 * sysdeps/i386/strtok.S (LreturnNULL): Save current state ptr instead
9799 of null, so next round returns null again instead of bombing. Fix
9800 from drepper.
831372e7 9801
edf66db1
SP
9802 * nss/nss_files/files-parse.c (LINE_PARSER): Take new first arg EOLSET.
9803 Remove ; after `ENTDATA_DECL (data)'.
9804 Truncate line at strpbrk (line, EOLSET "\n").
9805 (ENTDATA_DECL): Put ; at end.
9806 (MIDLINE_COMMENTS): Macro removed.
9807 * nss/nss_files/files-ethers.c: Pass new argument.
9808 * nss/nss_files/files-hosts.c: Likewise.
9809 * nss/nss_files/files-network.c: Likewise.
9810 * nss/nss_files/files-parse.c: Likewise.
9811 * nss/nss_files/files-proto.c: Likewise.
9812 * nss/nss_files/files-rpc.c: Likewise.
9813 * nss/nss_files/files-service.c: Likewise.
9814 * grp/fgetgrent.c: Likewise.
9815 * pwd/fgetpwent.c: Likewise.
9816 * nss/nss_files/files-pwd.c: Get parse_line with extern decl, since
9817 fgetpwent.c already defines it.
9818 * nss/nss_files/files-grp.c: Likewise.
831372e7 9819
edf66db1
SP
9820 * elf/dl-load.c (_dl_map_object): Use any object with matching l_name
9821 as well as any matching with l_libname. Fix DT_SONAME lookup to use
9822 string table properly.
831372e7 9823
edf66db1
SP
9824 * elf/rtld.c (dl_main): Set _dl_rtld_map.l_name from _dl_argv[0] when
9825 invoked directly, and l_libname from that if PT_INTERP missing.
9826 Set l_name from l_libname only if not set from argv.
831372e7 9827
edf66db1 9828 * time/europe, time/northamerica: Updated from ADO 96i.
831372e7 9829
edf66db1 9830Mon Jul 1 15:44:34 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
831372e7 9831
edf66db1 9832 * stdio-common/tst-ungetc.c: Include unistd.h.
831372e7 9833
edf66db1 9834 * inet/Makefile (routines): Change getnetbypt to getnetbyad.
831372e7 9835
edf66db1 9836Mon Jul 1 13:32:42 1996 Miles Bader <miles@gnu.ai.mit.edu>
831372e7 9837
edf66db1 9838 * hurd/report-wait.c (describe_number): Make I unsigned long.
831372e7 9839
edf66db1
SP
9840 * login/login.c (login): Only Frob OLD->ut_type if getutline_r
9841 actually found any entry.
831372e7 9842
edf66db1
SP
9843 * login/pututline_r.c (pututline_r): If not located after any
9844 entry don't use UTMP_DATA->ubuf, and seek to the end before adding.
9845 Lock the file before stating.
831372e7 9846
edf66db1 9847Mon Jul 1 12:29:50 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
831372e7 9848
edf66db1
SP
9849 * nss/Makefile (databases): Change host to hosts.
9850 * nss/host-lookup.c: Renamed to nss/hosts-lookup.c.
831372e7 9851
edf66db1 9852 * nss/nsswitch.c (nss_parse_service_list): Use const for NAME.
831372e7 9853
edf66db1 9854 * nss/nss_files/files-parse.c (parse_list): Correct alignment fixup.
831372e7 9855
edf66db1 9856 * string/string.h (strndupa): Pass missing arg to strnlen.
831372e7 9857
edf66db1
SP
9858 * inet/getnetbypt_r.c: Renamed to ...
9859 * inet/getnetbyad_r.c: this; fixed function name.
9860 * inet/getnetbypt.c: Renamed to ...
9861 * inet/getnetbyad.c: this; fixed function name.
831372e7 9862
edf66db1 9863Sat Jun 29 01:08:35 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
831372e7 9864
edf66db1
SP
9865 * grp/getgrgid_r.c (LOOKUP_TYPE): Define to struct group, not
9866 struct passwd.
831372e7 9867
edf66db1 9868Fri Jun 28 23:25:35 1996 Miles Bader <miles@gnu.ai.mit.edu>
831372e7 9869
edf66db1
SP
9870 * login/login.c (login): Initialize DATA so that setutent_r will
9871 actually do something.
831372e7 9872
edf66db1 9873Fri Jun 28 16:53:01 1996 David Mosberger-Tang <davidm@azstarnet.com>
831372e7 9874
edf66db1 9875 * resolv/res_hconf.c (strndup): Remove function.
831372e7 9876
edf66db1
SP
9877 * nss/nsswitch.c (nss_lookup_function): Declare loadbase and ref
9878 using ElfW() instead of Elf32_*.
831372e7 9879
edf66db1
SP
9880 * sysdeps/unix/sysv/linux/alpha/init-first.h,
9881 sysdeps/unix/sysv/linux/m68k/init-first.h,
9882 sysdeps/unix/sysv/linux/i386/init-first.h: New files.
9883 * sysdeps/unix/sysv/linux/init-first.c: Use platform-dependent
9884 init-first.h to make abstract machine dependent parts of
9885 initialization.
831372e7 9886
edf66db1
SP
9887 * sysdeps/unix/alpha/sysdep.h: Undo PIC-optimization of syscall
9888 error handling. It's safer that way.
831372e7 9889
edf66db1
SP
9890 * sysdeps/unix/alpha/sysdep.S: Make ldgp part of the prologue.
9891 Fix by Richard Henderson.
831372e7 9892
edf66db1
SP
9893 * sysdeps/alpha/dl-machine.h (elf_alpha_fix_plt): Fix
9894 typo/extraneous whitespace.
831372e7 9895
edf66db1
SP
9896 * sunrpc/xdr.c (xdr_int, xdr_u_int): Use <limits.h> to test
9897 determine what integer sizes we're dealing with.
831372e7 9898
edf66db1 9899Fri Jun 28 15:46:02 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu>
831372e7 9900
edf66db1
SP
9901 * hurd/hurdsig.c (_hurd_internal_post_signal): In pending signal
9902 check for signal zero, repair logical sense of test by
9903 parenthesizing correctly.
831372e7 9904
edf66db1
SP
9905 * hurd/hurdsig.c (_hurd_internal_post_signal): In
9906 check-for-pending signals code, release _hurd_siglock before
9907 jumping to deliver_pending.
831372e7 9908
edf66db1 9909Thu Jun 27 04:04:27 1996 David Mosberger-Tang <davidm@azstarnet.com>
831372e7 9910
edf66db1
SP
9911 * configure.in (config_machine): Make ELF the default even for
9912 Linux/Alpha unless a configuration of the form *-*-linux*ecoff
9913 is specified.
831372e7 9914
edf66db1 9915Fri Jun 28 07:27:10 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
831372e7 9916
edf66db1
SP
9917 * nss/nss_files/files-hosts.c (ENTDATA): Define it.
9918 * nss/nss_files/files-parse.c (struct parser_data): Define entdata
9919 member only #ifdef ENTDATA.
9920 (ENTDATA_DECL): New macro.
9921 (LINE_PARSER): Use it for entdata decl.
9922 (parse_list): Find the space for LIST from DATA->linebuffer instead of
9923 from the input LINE, which might not be writable buffer space.
9924 (LINE_PARSER): Use `parser_stclass' in place of `static inline'.
9925 [ENTDATA] (parser_stclass): #define to `static inline'.
9926 [!ENDATA] (parser_stclass): #define to empty.
9927 [!ENTDATA] (parse_line): #define to _nss_files_parse_ENTNAME; the
9928 function is exported to -lnss_files users.
831372e7 9929
edf66db1 9930 * string/strndup.c: Add missing arg.
831372e7 9931
edf66db1
SP
9932 * string/string.h (strndupa): Likewise.
9933 * string/strndup.c (strndup): Always terminate the string.
831372e7 9934
edf66db1 9935Thu Jun 27 14:22:31 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
831372e7 9936
edf66db1
SP
9937 * stdio/Makefile (routines): Add vscanf.
9938 * stdio-common/Makefile (routines): Remove vscanf.
9939 * stdio-common/vscanf.c: Move to ...
9940 * stdio/vscanf.c: here.
831372e7 9941
edf66db1
SP
9942 * rpm/Makefile (headers, install-lib, install-lib.so,
9943 versioned, install-bin, install-sbin, install-data,
9944 install-others): Add $(-VARIABLE).
831372e7 9945
edf66db1 9946Fri Jun 28 02:41:08 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
831372e7 9947
edf66db1
SP
9948 * nss/Makefile (databases): New variable.
9949 (routines, libnss_files-routines): Use it.
9950 (subdir-dirs): Compute from $(services).
831372e7 9951
edf66db1
SP
9952 * sysdeps/unix/sysv/linux/syscalls.list (create_module, delete_module,
9953 init_module, klogctl): Use EXTRA in the "caller" column so these get
9954 added to unix-extra-syscalls and thus compiled in misc.
831372e7 9955
edf66db1
SP
9956 * string/Makefile (routines): Add strndup.
9957 * string/strndup.c: New file.
9958 * string/string.h: Declare strndup.
9959 (strndupa): New macro.
831372e7 9960
edf66db1
SP
9961 * string/string.h: Declare __strdup.
9962 * string/strdup.c: Deansideclized. Define __ name and weak alias.
831372e7 9963
edf66db1 9964 * string/string.h: Don't define memccpy as macro for [__OPTIMIZE__].
831372e7 9965
edf66db1 9966Thu Jun 27 02:49:28 1996 Ulrich Drepper <drepper@cygnus.com>
831372e7 9967
edf66db1 9968 * catgets/gencat.c: Add casts to avoid signed<->unsigned warnings.
831372e7 9969
edf66db1
SP
9970 * grp/initgroups.c (initgroups): De-ansi-fy.
9971 Move declaration of NGROUPS and GROUPS outside #if so that
9972 the code compiles for NGROUPS_MAX != 0.
831372e7 9973
edf66db1
SP
9974 * inet/Makefile (headers): Add netinet/ether.h and netinet/if_ether.h.
9975 (routines): Add ether_aton, ether_aton_r, ether_hton, ether_line,
9976 ether_ntoa, ether_ntoa_r, and ether_ntoh.
9977 * inet/ether_aton.c, inet/ether_aton_r.c, inet/ether_hton.c,
9978 inet/ether_line.c, inet/ether_ntoa.c, inet/ether_ntoa_r.c,
9979 inet/ether_ntoh.c: New files. Implementation of functions to
9980 handle Ethernet address to host mapping.
9981 * inet/netinet/ether.h: New file. Declare ether_* functions.
9982 * netinet/ether.h: Wrapper around inet/netinet/ether.h for glibc
9983 compilation.
9984 * nss/ethers-lookup.c: New file. Lookup function for ethers database.
9985 * nss/Makefile (routines): Add ethers-lookup.
9986 (libnss_files-routines): Add files-ethers.
831372e7 9987
edf66db1
SP
9988 * nss/getXXent_r.c: Don't define set*ent and end*ent function
9989 with _r suffix.
831372e7 9990
edf66db1
SP
9991 * nss/nss_files/files-XXX.c (internal_endent): Don't reset
9992 KEEP_STREAM every time called.
9993 (_nss_files_end): Reset KEEP_STREAM here instead.
9994 (internal_getent): If STREAM == NULL try to open instead of
9995 signalling error.
9996 Use cast to prevent warning.
9997 Terminate read line in case the buffer is too small.
831372e7 9998
edf66db1
SP
9999 * nss/nss_files/files-ethers.c: New file. Implementation of
10000 Ethernet adress<->hostname lookup through files interface.
10001
10002 * stdlib/mbstowcs.c: Define based on mbsrtowcs().
10003 * stdlib/mbtowc.c: Define based on mbrtowc().
10004 * stdlib/wcstombs.c: Define based on wcsrtombs().
10005 * stdlib/wctomb.c: Define based on wcrtomb().
831372e7 10006
edf66db1
SP
10007 * sunrpc/xdr.c (xdr_u_int): Avoid bogus call to
10008 unexpected_sizes_in_xdr_u_int.
10009
10010 * sysdeps/generic/netinet/if_ether.h: New file. Generic declaration
10011 of `struct ether_addr'.
10012 * sysdeps/unix/sysv/linux/netinet/if_ether.h: New file. Linux specific
10013 declaration of `struct ether_addr'.
831372e7 10014
edf66db1
SP
10015 * wcsmbs/mbrtowc.c: Handle case where argument PS is NULL.
10016 * wcsmbs/mbsrtowcs.c: Ditto.
10017 * wcsmbs/wcrtomb.c: Ditto.
10018 * wcsmbs/wcsrtombs.c: Ditto.
10019
10020 * wcsmbs/mbsinit.c: Prepare for PS being NULL.
10021
10022Wed Jun 26 13:19:35 1996 Miles Bader <miles@gnu.ai.mit.edu>
831372e7 10023
edf66db1
SP
10024 * hurd/get-host.c <fcntl.h>: New include.
10025 * hurd/set-host.c <fcntl.h>: New include.
10026 (_hurd_set_host_config): Include NEW in args to dir_link.
10027 Return NWROTE, not NREAD.
831372e7 10028
edf66db1
SP
10029 * sysdeps/mach/hurd/getcwd.c
10030 (_hurd_canonicalize_directory_name_internal): Don't deallocate
10031 DOTID & DOTDEVID until we're finished with them (we need to keep
10032 them at least until we've fetched the next level of id ports, so
10033 that mach will be able to use the same name if they're the same).
10034 Add inner_errlose: label, which deallocates DOTID & DOTDEVID and
10035 jumps to errlose, for those places where such cleanup is needed.
831372e7 10036
edf66db1 10037Wed Jun 26 01:58:49 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
831372e7 10038
edf66db1 10039 * nss/nss_files/files-parse.c (parse_list): Count null in EOL calc.
831372e7 10040
edf66db1
SP
10041 Move DB code into separate -ldb library.
10042 * db/Makefile (extra-libs): New variable, list libdb.
10043 (routines): Renamed to libdb-routines.
10044 * shlib-versions: Add libdb=2.
831372e7 10045
edf66db1
SP
10046 * nss/network-lookup.c (DEFAULT_CONFIG): New macro.
10047 * nss/host-lookup.c (DEFAULT_CONFIG): New macro.
831372e7 10048
edf66db1
SP
10049 * nss/nsswitch.c (nss_parse_service_list): Use __strncasecmp instead
10050 of strncasecmp. Extend syntax to grok [!foo=bar].
831372e7 10051
edf66db1
SP
10052 * sysdeps/generic/strncase.c: Define __strncasecmp with strncasecmp as
10053 weak alias.
10054 * string/string.h: Declare __strncasecmp.
831372e7 10055
edf66db1
SP
10056 * nss/nsswitch.c (nss_parse_file): Call __getline, not getline.
10057 (service_alias): Variable removed.
10058 (nss_parse_service_list): New function, broken out of nss_getline.
10059 Remove alias conversion; we will just use symlinks.
10060 (__nss_database_lookup): Take new string arg DEFCONFIG.
10061 If no entry exists, make one with service list parsed from that.
10062 * nss/nsswitch.h: Update protocol for __nss_database_lookup.
10063 * nss/XXX-lookup.c (DEFAULT_CONFIG): New macro, set to 0 if undefined.
10064 (DB_LOOKUP_FCT): Pass it to _nss_database_lookup.
831372e7 10065
edf66db1
SP
10066 * grp/initgroups.c: Rewritten using getgrent. Handle unlimited group
10067 list size.
831372e7 10068
edf66db1 10069 * sunrpc/xdr.c (xdr_int): #if 0 out unresolved references in dead code.
831372e7 10070
edf66db1 10071Wed Jun 26 01:56:50 1996 Ulrich Drepper <drepper@cygnus.com>
831372e7 10072
edf66db1
SP
10073 * locale/programs/locale.c (long_options): Short form of
10074 --version option is `-V'.
10075 (main): Recognize `-V' as option, not `-v'.
10076 Call `usage' instead of printing error message for illegal
10077 option.
10078 (usage): Document `-V'.
831372e7 10079
edf66db1 10080Tue Jun 25 17:22:55 1996 Miles Bader <miles@gnu.ai.mit.edu>
831372e7 10081
edf66db1
SP
10082 * sysdeps/mach/hurd/getcwd.c
10083 (_hurd_canonicalize_directory_name_internal): Initialize PARENT to
10084 THISDIR, and don't ever deallocate PARENT unless it's != THISDIR.
831372e7 10085
edf66db1 10086Tue Jun 25 10:58:23 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
831372e7 10087
edf66db1
SP
10088 * inet/getrpcent.c: Fix macros.
10089 * inet/getrpcent_r.c: Fix macros.
831372e7 10090
edf66db1 10091 * elf/dlsym.c (dlsym): Search the global scope if HANDLE is null.
831372e7 10092
edf66db1 10093 * elf/dl-load.c (_dl_map_object_from_fd): Initialize L.
831372e7 10094
edf66db1 10095Tue Jun 25 09:55:47 1996 David Mosberger-Tang <davidm@AZStarNet.com>
831372e7 10096
edf66db1
SP
10097 * catgets/gencat.c (write_out): Use %Zu to print variables of type
10098 size_t.
10099 * resolv/res_debug.c (__p_rr): Print size_t variable as %lu and
10100 cast it to (unsigned long) to make it work both on 32 and 64
10101 bit architectures.
831372e7 10102
edf66db1 10103Sat Jun 22 13:05:25 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
831372e7 10104
edf66db1
SP
10105 * locale/Makefile (distribute): Add `programs/' prefix to all
10106 files in that directory.
831372e7 10107
edf66db1
SP
10108 * Makerules (distinfo-vars): Assign subdir directly so that `ifdef
10109 subdir' works.
831372e7 10110
edf66db1
SP
10111 * MakeTAGS (sources, headers): Make them simply expanded variables
10112 so that all-dist is expanded before it is changed.
831372e7 10113
edf66db1 10114Tue Jun 25 02:59:11 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
831372e7 10115
edf66db1
SP
10116 * Make-dist (dist): Don't depend on crypt tar file. Remove that rule.
10117 * Makefile (subdirs): Remove crypt.
10118 * crypt: Directory removed. It will be made an independent library
10119 distribution.
831372e7 10120
edf66db1 10121 * Makefile (distribute): Add rpm/{Makefile,teplate,rpmrc}.
831372e7 10122
edf66db1 10123 * inet/getrpcent_r.c (DATABASE_NAME): New macro.
831372e7 10124
edf66db1 10125 * inet/getrpcbynumber.c (BUFLEN): New macro.
831372e7 10126
edf66db1 10127 * configure.in (--no-whole-archive check): Remove backslashes in cmd.
831372e7 10128
edf66db1
SP
10129 * Makefile (headers): Add libc-lock.h.
10130 * sysdeps/stub/libc-lock.h: New file.
831372e7 10131
edf66db1 10132 * inet/getrpcbynumber.c: Remove _r typo.
831372e7 10133
edf66db1 10134 * elf/dl-load.c (_dl_map_object): Fix typo in last change.
831372e7 10135
edf66db1
SP
10136 * nss/nss_files/files-parse.c (parse_list): Reset ELT for elements
10137 after the first!
831372e7 10138
edf66db1
SP
10139 * nss/nsswitch.c (__nss_database_lookup): If nsswitch.conf is missing
10140 or doesn't mention DATABASE, use an internal default equivalent to
10141 "DATABASE: compat [NOTFOUND=return] dns [NOTFOUND=return] files".
10142 (nss_lookup_function): Call nss_new_service as needed.
10143 (nss_parse_file): Don't bother calling nss_new_service here.
831372e7 10144
edf66db1
SP
10145 * grp/fgetgrent.c (LINE_PARSER): Pass zero SWALLOW arg for fields.
10146 * pwd/fgetpwent.c: Likewise.
831372e7 10147
edf66db1
SP
10148 * malloc/malloc.h: Declare malloc_object_allocated_size, malloc_walk.
10149 * malloc/Makefile (dist-routines): Add malloc-size, malloc-walk.
10150 * malloc/malloc-size.c: New file.
10151 * malloc/malloc-walk.c: New file.
831372e7 10152
edf66db1
SP
10153 * malloc/malloc-find.c (malloc_find_object_address): Return null if
10154 PTR is outside the heap.
831372e7 10155
edf66db1
SP
10156 * elf/dl-load.c (_dl_map_object): If the requested name matches the
10157 soname of a loaded object, use that object.
831372e7 10158
edf66db1 10159Mon Jun 24 19:57:01 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
831372e7 10160
edf66db1 10161 * Makefile (subdirs): Add nss.
831372e7 10162
edf66db1
SP
10163 * inet/Makefile (routines): Add getrpcent, getrpcbyname,
10164 getrpcbynumber, getrpcent_r, getrpcbyname_r, getrpcbynumber_r.
10165 * inet/getrpcbynumber_r.c: New file.
10166 * inet/getrpcbynumber.c: New file.
10167 * inet/getrpcbyname.c: New file.
10168 * inet/getrpcbyname_r.c: New file.
10169 * inet/getrpcent_r.c: New file.
10170 * inet/getrpcent.c: New file.
10171 * nss/rpc-lookup.c: New file.
10172 * nss/nss_files/files-rpc.c: New file.
10173 * nss/Makefile (routines): Add rpc-lookup.
10174 (libnss_files-routines): Add files-rpc.
10175 * sunrpc/Makefile (routines): Remove getrpcent.
10176 * sunrpc/getrpcent.c: File removed.
831372e7 10177
edf66db1
SP
10178 * nss/getXXent_r.c (REENTRANT_GETNAME): Clear NO_MORE when NIP is
10179 non-null on entry.
831372e7 10180
edf66db1
SP
10181 * Makeconfig (rpath-link): Add $(nssobjdir).
10182 (nssobjdir): New variable.
831372e7 10183
edf66db1
SP
10184 * Makerules: Move shared library building before objects rules, so
10185 versions are known before extra-lib.mk gets included.
10186 * extra-lib.mk (lib-noranlib): Depend on the shared object too.
831372e7 10187
edf66db1
SP
10188 * pwd/getpwuid.c: Rewritten using nss.
10189 * pwd/getpwnam.c: Likewise.
10190 * pwd/getpwent.c: Likewise.
10191 * grp/getgrnam.c: Likewise.
10192 * grp/getgrgid.c: Likewise.
10193 * grp/getgrent.c: Likewise.
10194 * pwd/Makefile (routines): Add getpwent_r, getpwnam_r, getpwuid_r.
10195 * pwd/getpwent_r.c: New file.
10196 * pwd/getpwnam_r.c: New file.
10197 * pwd/getpwuid_r.c: New file.
10198 * grp/Makefile (routines): Add getgrent_r, getgrgid_r, getgrnam_r.
10199 * grp/getgrnam_r.c: New file.
10200 * grp/getgrgid_r.c: New file.
10201 * grp/getgrent_r.c: New file.
10202 * grp/Makefile (routines): Remove grpopen, grpread.
10203 * pwd/Makefile (routines): Remove pwdopen, pwdread.
10204 * grp/grpopen.c, grp/grpread.c, pwd/pwdopen.c, pwd/pwdread.c: Removed.
10205
10206 * pwd/fgetpwent.c: Rewritten using files-parse.c.
10207 * grp/fgetgrent.c: Likewise.
831372e7 10208
edf66db1
SP
10209 * nss/Makefile (routines): Add grp-lookup and pwd-lookup.
10210 * nss/pwd-lookup.c, nss/grp-lookup.c: New files.
10211 * nss/nss_files/files-grp.c: New file.
10212 * nss/nss_files/files-pwd.c: New file.
831372e7 10213
edf66db1 10214 * nss/Makefile (subdir-dirs): New variable; use it in vpath.
831372e7 10215
edf66db1
SP
10216 * nss/nss_files/files-parse.c: New file.
10217 * nss/nss_files/files-XXX.c: New file.
10218 * nss/nss_files/files-hosts.c, nss/nss_files/files-proto.c,
10219 nss/nss_files/files-service.c, nss/nss_files/files-network.c:
10220 Rewritten using them.
831372e7 10221
edf66db1
SP
10222 * nss/Makefile (libnss_files-routines): Remove files-host.
10223 Add files-hosts, files-grp, files-pwd.
831372e7 10224
edf66db1 10225 * nss/nss_dns/dns-network.c: Don't include <pthread.h>.
831372e7 10226
edf66db1 10227Mon Jun 24 22:39:12 1996 Richard Henderson <rth@tamu.edu>
831372e7 10228
edf66db1
SP
10229 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
10230 A .plt entry now loads the .rela.plt offset directly rather
10231 than making us calculate it.
831372e7 10232
edf66db1 10233Sun Jun 23 15:24:05 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
831372e7 10234
edf66db1
SP
10235 * time/Makefile ($(installed-localtime-file) rule): Do
10236 $(make-target-directory) first.
831372e7 10237
edf66db1 10238 * resolv.h: Fix wrapper for resolv/resolv.h.
831372e7 10239
edf66db1
SP
10240 * configure.in (ld --no-whole-archive check): Use AC_TRY_COMMAND.
10241 Compile dummy file and pass -nostdlib -nostartfiles so as not to
10242 require installed libraries.
831372e7 10243
edf66db1
SP
10244 * shlib-versions (*-*-*): Set libresolv=2, libnss_files=1,
10245 libnss_dns=1.
831372e7 10246
edf66db1 10247Sun Jun 23 19:42:05 1996 Ulrich Drepper <drepper@cygnus.com>
831372e7 10248
edf66db1
SP
10249 * resolv/Makefile (distribute): Remove res_hconf.h; add mapv4v6addr.h
10250 and mapv4v6hostent.h.
10251 (routines): Move res* and gethnamaddr into libresolv-routines.
10252 (libresolv-routines): New variable, put them there.
10253 (extra-libs): New variable, list libresolv.
10254 (CPPFLAGS): Add -D for get*by* to res_get*by*.
831372e7 10255
edf66db1 10256 * resolv/netdb.h (_PATH_NSSWITCH_CONF): New macro.
831372e7 10257
edf66db1 10258 * inet/herrno.c: New file.
831372e7 10259
edf66db1 10260 * resolv/res_init.c: Remove res_hconf calls.
831372e7 10261
edf66db1
SP
10262 * nss/Makefile, nss/XXX-lookup.c, nss/file-lookup.c,
10263 nss/getXXbyYY.c, nss/getXXbyYY_r.c, nss/getXXent.c,
10264 nss/getXXent_r.c, nss/host-lookup.c, nss/network-lookup.c,
10265 nss/nsswitch.c, nss/nsswitch.h, nss/proto-lookup.c,
10266 nss/service-lookup.c: New files. Implementation of name
10267 service switch, following the approach in Solaris.
10268 Interface specification and general structure inspired by Peter
10269 Eriksson <pen@lysator.liu.se>.
10270 * nss/nss_files/files-host.c, nss/nss_files/files-network.c,
10271 nss/nss_files/files-proto.c, nss/nss_files/files-service.c:
10272 Implementation of libnss_files.so module for file based databases
10273 in NSS service.
10274 * nss/nss_dns/dns-host.c, nss/nss_dns/dns-network.c: Implementation
10275 if libnss_dns.so module for DNS name lookup in NSS service.
831372e7 10276
edf66db1
SP
10277 * inet/getproto.c, inet/getprtent.c, inet/getprtname.c,
10278 inet/getservent.c, inet/getsrvbynm.c, inet/getsrvbypt.c:
10279 Changed to serve as interface to NSS.
10280 * inet/gethstbyad.c, inet/gethstbyad_r.c, inet/gethstbynm.c,
10281 inet/gethstbynm2.c, inet/gethstbynm2_r.c, inet/gethstbynm_r.c,
10282 inet/gethstent.c, inet/gethstent_r.c, inet/getnetbynm.c,
10283 inet/getnetbynm_r.c, inet/getnetbypt.c, inet/getnetbypt_r.c,
10284 inet/getnetent.c, inet/getnetent_r.c, inet/getproto_r.c,
10285 inet/getprtent_r.c, inet/getprtname_r.c, inet/getservent_r.c,
10286 inet/getsrvbynm_r.c, inet/getsrvbypt_r.c: New files. Implement
10287 interfaces to NSS, including reentrant functions.
831372e7 10288
edf66db1
SP
10289 * resolv/getnetbyaddr.c, resolv/getnetbyname.c, resolv/getnetent.c,
10290 resolv/sethostent.c: Removed: Obsoleted by NSS.
831372e7 10291
edf66db1
SP
10292 * resolv/mapv4v6addr.h, resolv/mapv4v6hostent.h: Extracted from
10293 gethnamaddr.c. These private functions are now used in more
10294 than one file.
831372e7 10295
edf66db1 10296 * resolv/inet_pton.c, resolv/gethnamaddr.c: Updated to bind-4.9.4-T5B.
831372e7 10297
edf66db1 10298Sat Jun 22 16:49:47 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
831372e7 10299
edf66db1
SP
10300 * rpm/Makefile ($(config)): Make sure the word list in the for
10301 loop is syntactically non-empty.
831372e7 10302
edf66db1 10303Sat Jun 22 21:29:52 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
831372e7 10304
edf66db1 10305 * Version 1.92 test release.
831372e7 10306
edf66db1 10307Sat Jun 22 23:30:07 1996 David Mosberger-Tang <davidm@azstarnet.com>
831372e7 10308
edf66db1
SP
10309 * sysdeps/unix/sysv/linux/syscalls.list (ksyslog_ctl): Rename
10310 to klogctl to match prototype in sys/klog.h.
831372e7 10311
edf66db1
SP
10312 * sysdeps/posix/libc_fatal.c: Add include of <string.h>.
10313 * sysdeps/unix/sysv/linux/gethostid.c: Ditto.
831372e7 10314
edf66db1
SP
10315 * sysdeps/posix/getcwd.c (__canonicalize_directory_name_internal):
10316 Remove. Code is now part of __getcwd again. The old function
10317 never really worked for anything but THISDIR==".".
831372e7 10318
edf66db1
SP
10319 * sysdeps/alpha/Makefile (CFLAGS-rtld.c): Add -mbuild-constants
10320 only when building ELF version of library.
831372e7 10321
edf66db1 10322 * libio/libioP.h (_IO_vscanf): Add prototype.
831372e7 10323
edf66db1
SP
10324 * posix/unistd.h (syscall): Change sysno arg and return value
10325 to int long.
831372e7 10326
edf66db1 10327Sat Jun 22 10:44:09 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
831372e7 10328
edf66db1 10329 * version.h (VERSION): Updated to 1.92.
831372e7 10330
edf66db1
SP
10331 * misc/Makefile (headers): Add ar.h.
10332 * misc/ar.h: New file.
831372e7 10333
edf66db1
SP
10334 * config.make.in (BUILD_CC): New variable.
10335 * configure.in: Check for BUILD_CC if $host != $build.
831372e7 10336
edf66db1 10337 * posix/glob.c: Include <alloca.h> only [HAVE_ALLOCA_H], not [sparc].
831372e7 10338
edf66db1
SP
10339 * Makerules [! objects] (subdir_lib): Depend on the stamp$o files.
10340 (stamp$o files): New targets, create them empty, no deps.
831372e7 10341
edf66db1
SP
10342 * rpm/template (Source): New field.
10343 (%prep, %build, %install): New sections.
10344 (%files): Add %doc FAQ NEWS NOTES README.
10345 * rpm/rpmrc (builddir): Removed.
831372e7 10346
edf66db1 10347Fri Jun 21 00:27:51 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
831372e7 10348
edf66db1
SP
10349 * elf/dl-load.c (_dl_map_object_from_fd): Fix mapping and l_phdr
10350 guessing to not assume p_vaddr of first load cmd is zero.
831372e7 10351
edf66db1
SP
10352 * sysdeps/sparc/elf/start.S: New file.
10353 * sysdeps/sparc/dl-machine.h: New file.
831372e7 10354
edf66db1
SP
10355 * posix/fnmatch.c (fnmatch): Fix \*[*?]+ case to increment name ptr
10356 only for ?s, not for *s. Fix from Chet Ramey.
831372e7 10357
edf66db1
SP
10358 Fixes thanks to Raja R Harinath <harinath@cs.umn.edu>:
10359 * sysdeps/unix/sysv/utmpbits.h: Define _HAVE_UT_{TYPE,ID,TV,HOST}.
10360 Use __{BEGIN,END}_DECLS.
10361 (_PATH_WTMP, _PATH_UTMP, _PATH_LASTLOG): New macros.
10362 * login/utmp.h (UTMP_FILE, UTMP_FILENAME, WTMP_FILE, WTMP_FILENAME):
10363 New macros, moved here from sysdeps/gnu/utmpbits.h.
10364 * sysdeps/generic/utmpbits.h (_HAVE_UT_HOST): Define it.
10365 * sysdeps/gnu/utmpbits.h (_HAVE_UT_HOST): Likewise.
10366 * login/logout.c: Use ut_host only #if _HAVE_UT_HOST.
10367 Use sizeof instead of UT_*SIZE.
10368 * login/logwtmp.c: Likewise.
831372e7 10369
edf66db1 10370 * misc/tsearch.c (tdelete): Define as weak alias to __tdelete.
831372e7 10371
edf66db1 10372 * version.c (banner): Add trailing newline.
831372e7 10373
edf66db1 10374 * login/utmp.h: Declare login_tty.
831372e7 10375
edf66db1 10376Thu Jun 20 21:19:07 1996 Richard Henderson <rth@tamu.edu>
831372e7 10377
edf66db1
SP
10378 * sysdeps/alpha/dl-machine.h (elf_alpha_fix_plt):
10379 Changed to a 12-byte PLT entry to remove dependency on $gp.
10380 Take a new got_addr parameter.
10381 (elf_machine_rela): Pass the new parameter.
10382 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Do arithmetic for 12-byte PLT.
10383 (RTLD_START): Do normal linkage with program entry.
831372e7 10384
edf66db1 10385Thu Jun 20 12:18:21 1996 Miles Bader <miles@gnu.ai.mit.edu>
831372e7 10386
edf66db1 10387 * sysdeps/mach/hurd/brk.c (_hurd_brk): Initialize to 0.
831372e7 10388
edf66db1 10389 * hurd/getuids.c (getuids): New weak link to __getuids.
831372e7 10390
edf66db1 10391Wed Jun 19 10:21:24 1996 Miles Bader <miles@gnu.ai.mit.edu>
831372e7 10392
edf66db1
SP
10393 * hurd/hurdlookup.c (__hurd_file_name_lookup_retry,
10394 __hurd_file_name_lookup, __hurd_file_name_split): Add & use LOOKUP
10395 argument.
10396 Rename nested function lookup to lookup_op.
10397 (__file_name_lookup, __file_name_lookup_under):
10398 Pass 0 for lookup arg to __hurd_file_name_lookup.
10399 (__file_name_split): Likewise for __hurd_file_name_split.
10400 * hurd/path-lookup.c (hurd_file_name_path_lookup): Add LOOKUP argument.
10401 Rename nested function lookup to scan_lookup.
10402 (file_name_path_lookup): Pass 0 for lookup arg to
10403 hurd_file_name_path_lookup.
10404 * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup,
10405 __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry:
10406 __hurd_file_name_split, hurd_file_name_split, hurd_file_name_lookup):
10407 Add LOOKUP argument.
10408 * sysdeps/mach/hurd/access.c (__access): Pass 0 lookup arg to
10409 __hurd_file_name_lookup.
831372e7 10410
edf66db1 10411Mon Jun 17 19:09:49 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
831372e7 10412
edf66db1
SP
10413 * Make-dist (+sysdeps): Move wildcard inside loop to avoid consing
10414 up a huge list just to discard most of it.
831372e7 10415
edf66db1
SP
10416 * configure.in (sysnames): Avoid fgrep by using the case shell
10417 builtin.
831372e7 10418
edf66db1 10419 * Makeconfig (config.status): Fix dependency on Implies files.
831372e7 10420
edf66db1 10421Wed Jun 19 01:27:57 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
831372e7 10422
edf66db1 10423 * math/Makefile (distribute): Add ieee-math.c.
831372e7 10424
edf66db1 10425Wed Jun 19 03:24:58 1996 Ulrich Drepper <drepper@cygnus.com>
831372e7 10426
edf66db1
SP
10427 * locale/codeset_name.c: New file. Provide function for information
10428 about currently used character set.
10429 * locale/Makefile (routines): Add codeset_name.
10430 * locale/langinfo.h (_NL_CTYPE_CODESET_NAME): Add new constant.
10431 * locale/localeinfo.h: Change magic number because of incompatible
10432 change.
10433 * locale/C-ctype.c: Add initializer for new field `codeset_name'.
10434 * locale/programs/ld-ctype.c: Implement handling of `codeset_name'.
831372e7 10435
edf66db1
SP
10436 * locale/programs/locfile.c: Don't depend in pre-2.0 Linux specific
10437 name `MAX_IOVEC'. Instead use standard name `UIO_MAXIOV'.
831372e7 10438
edf66db1
SP
10439 * locale/setlocale.c (setlocale): Initialize local variables to
10440 prevent warnings.
831372e7 10441
edf66db1 10442Thu Jun 13 17:25:11 1996 David Mosberger-Tang <davidm@azstarnet.com>
831372e7 10443
edf66db1 10444 * sysdeps/generic/memcmp.c: Add prototype decls for internal fns.
831372e7 10445
edf66db1 10446 * locale/programs/locale.c: Include string.h.
831372e7 10447
edf66db1
SP
10448 * sunrpc/xdr_stdio.c (xdrstdio_getlong), sunrpc/xdr_rec.c
10449 (xdrrec_getlong), sunrpc/xdr_mem.c (xdrmem_getlong): Make sure
10450 appropriate sign-extension is performed on machines with
10451 sizeof(long) > 4.
831372e7 10452
edf66db1
SP
10453 * sunrpc/xdr.c (xdr_int, xdr_u_int): If sizeof(long)==8 and
10454 sizeof(int)<sizeof(long), we need to go through a temporary
10455 variable.
831372e7 10456
edf66db1 10457 * locale/programs/ld-numeric.c: Include <alloca.h>
831372e7 10458
edf66db1 10459 * libio/stdio.h (__libc_fatal): Add prototype.
831372e7 10460
edf66db1
SP
10461 * libio/cleanup.c: Use __P() to declare prototype when __STDC__ is
10462 in efect.
831372e7 10463
edf66db1
SP
10464 * libio/iopopen.c (read_or_write, parent_end, child_end): Declare
10465 volatile to avoid "might get clobbered by longjmp" warning.
831372e7 10466
edf66db1
SP
10467 * features.h (__KERNEL_STRICT_NAMES): Define __KERNEL_STRICT_NAMES
10468 unless _LOOSE_KERNEL_NAMES is in effect (which, with high
10469 probability is a sure loser).
10470 * sysdeps/unix/sysv/linux/gnu/types.h (__KERNEL_STRICT_NAMES): Remove.
831372e7 10471
edf66db1
SP
10472 * sysdeps/unix/bsd/osf/alpha/start.S (errno): Removed.
10473 * sysdeps/unix/sysv/linux/alpha/start.S: Ditto.
831372e7 10474
edf66db1
SP
10475 * misc/paths.h (_PATH_MAN): Change from /usr/share/man to /usr/man
10476 to be Linux FSSTND compliant.
831372e7 10477
edf66db1 10478Mon Jun 10 17:50:31 1996 David Mosberger-Tang <davidm@azstarnet.com>
831372e7 10479
edf66db1 10480 * sysdeps/unix/sysv/linux/alpha/pipe.S: Use PSEUDO.
831372e7 10481
edf66db1
SP
10482 * sysdeps/unix/sysv/linux/alpha/sysdep.S,
10483 sysdeps/unix/sysv/linux/alpha/brk.S,
10484 sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S,
10485 sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S,
10486 sysdeps/unix/sysv/linux/alpha/llseek.S,
10487 sysdeps/unix/sysv/linux/alpha/sigsuspend.S,
10488 sysdeps/unix/sysv/linux/alpha/syscall.S: Rename syscall_error to
10489 __syscall_error to avoid intruding application name space.
831372e7 10490
edf66db1
SP
10491 * sysdeps/unix/sysv/linux/alpha/sysdep.h: Rename __NR_get?id
10492 to SYS_get?id so that syscall stubs in sysdeps/unix define
10493 these syscalls in terms of getxpid/getxuid/getxgid.
831372e7 10494
edf66db1
SP
10495 * sysdeps/unix/_exit.S, sysdeps/unix/getegid.S,
10496 sysdeps/unix/geteuid.S, sysdeps/unix/getppid.S,
10497 sysdeps/unix/execve.S, sysdeps/unix/fork.S,
10498 sysdeps/unix/syscall.S: Terminate syscall with PSEUDO_END.
831372e7 10499
edf66db1
SP
10500 * sysdeps/unix/make-syscalls.sh, sysdeps/unix/sysdep.h
10501 (PSEUDO_END): Rename END() to PSEUDO_END().
831372e7 10502
edf66db1
SP
10503 * sysdeps/unix/alpha/sysdep.h: Move error-handling code in PSEUDO
10504 to PSEUDO_END to improve branch-prediction. Include .frame
10505 directive to make syscalls debugabble.
10506 (PSEUDO_END): New macro.
831372e7 10507
edf66db1
SP
10508 * sysdeps/unix/alpha/sysdep.h, sysdeps/alpha/bb_init_func.S,
10509 sysdeps/unix/sysv/linux/alpha/brk.S: Use ldiq instead of ldi since
10510 latter is illegal under DEC Unix.
831372e7 10511
edf66db1
SP
10512 * sysdeps/unix/alpha/sysdep.S: Renamed from
10513 sysdeps/unix/sysv/linux/alpha/sysdep.S. This file works for OSF/1
10514 as well.
10515 * sysdeps/unix/bsd/osf/alpha/sysdep.S: Remove (note that the
10516 EWOULDBLOCK -> EAGAIN mapping was unnecessary since
10517 EWOULDBLOCK==EAGAIN under DEC Unix and Linux/Alpha).
831372e7 10518
edf66db1
SP
10519 * sysdeps/alpha/divrem.h: Use retaddr instead of ra as the return
10520 address register in the .frame directive.
831372e7 10521
edf66db1 10522 * sysdeps/alpha/copysign.c: Remove.
831372e7 10523
edf66db1
SP
10524 * sunrpc/rpc/types.h: Include <sys/param.h> and <netinet/in.h> to
10525 avoid RPC definitions of INADDR_LOOPBACK and/or MAXHOSTNAMELEN.
831372e7 10526
edf66db1
SP
10527 * errno.h: Move __END_DECLS to correct place to make file
10528 compilable under c++.
831372e7 10529
edf66db1
SP
10530 * dirent/dirent.h: Document _DIRENT_HAVE_D_OFF macro. Define
10531 d_ino only if <direntry.h> hasn't defined d_fileno.
831372e7 10532
edf66db1
SP
10533 * configure.in (HAVE_ASM_WEAKEXT_DIRECTIVE): Reverse order of
10534 arguments to weakext to make .weakext detection work on ECOFF systems.
831372e7 10535
edf66db1
SP
10536 * FAQ: Add Linux/Alpha to list of supported platforms. Mention
10537 that _validuser() has been replaced by __ivaliduser().
831372e7 10538
edf66db1 10539Thu Jun 6 21:39:38 1996 David Mosberger-Tang <davidm@azstarnet.com>
831372e7 10540
edf66db1
SP
10541 * sysdeps/unix/bsd/sun/sunos4/tcsetattr.c (tcsetattr): Declare cmd
10542 as unsigned long, not as int (to avoid incorrect int->long
10543 promotion).
831372e7
UD
10544
10545\f
10546
edf66db1 10547See ChangeLog.5 for earlier changes.