]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog.6
libio: Disable vtable validation for pre-2.1 interposed handles [BZ #25203]
[thirdparty/glibc.git] / ChangeLog.6
CommitLineData
831372e7
UD
1Sun Jan 26 23:24:50 1997 Ulrich Drepper <drepper@cygnus.com>
2
3 * Version 2.0 net release.
4
5 * Make-dist: Don't take care for two malloc directories.
6
7Sun Jan 26 22:44:38 1997 Andreas Jaeger <aj@arthur.pfalz.de>
8
9 * mcheck.h: Adopted to new-malloc/malloc change.
10
11Sun Jan 26 13:39:31 1997 Ulrich Drepper <drepper@cygnus.com>
12
13 * sysdeps/unix/sysv/linux/alpha/Dist: Correct distribution of
14 kernel_*.h files.
15
16 * Make-dist: Don't mention new-malloc for dirs with have to be
17 processed.
18
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>.
23
24Sun Jan 26 18:35:29 1997 Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>
25
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.
96
97Sat Jan 25 03:34:14 1997 Ulrich Drepper <drepper@cygnus.com>
98
99 * sysdeps/unix/sysv/linux/termbits.h: Protect against multiple
100 inclusion. Reported by a sun <asun@zoology.washington.edu>.
101
102Sat Jan 25 02:05:19 1997 Eirik Fuller <eirik@netcom.com>
103
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.
106
107Thu Jan 23 11:13:46 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
108
109 * sysdeps/unix/sysv/linux/usleep.c: Normalize the time
110 specification.
111
112Fri Jan 24 14:33:45 1997 Ulrich Drepper <drepper@cygnus.com>
113
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.
117
1181997-01-23 Paul Eggert <eggert@twinsun.com>
119
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.
124
1251997-01-23 Paul Eggert <eggert@twinsun.com>
126
127 * mktime.c (mktime): Invoke __tzset, not __tzset_internal, to set tz,
128 so that tzname is set as POSIX requires.
129
130Fri Jan 24 02:49:18 1997 Ulrich Drepper <drepper@cygnus.com>
131
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.
138
139 * stdio-common/bug7.c: Use tmpnam to generate names for test files.
140
141 * stdio-common/tmpnam.c: Update copyright.
142 * stdio-common/tmpnam_r.c: Likewise.
143
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.
147
148 * sysdeps/unix/sysv/linux/net/if.h: Update according to recent
149 kernel headers. Patch by Philip Blundell <pjb27@cam.ac.uk>.
150
151Thu Jan 23 17:42:00 1997 Ulrich Drepper <drepper@cygnus.com>
152
153 * sysdeps/unix/sysv/linux/sparc/clone.S: Correct author attribution.
154
155 * sysdeps/unix/sysv/linux/net/if_arp (MAX_ADDR_LEN): Add definition.
156
157Thu Jan 23 14:20:34 1997 Ulrich Drepper <drepper@cygnus.com>
158
159 * time/tzfile.c (__tzfile_read): Don't allow arbitrary files to be
160 read when running a setuid program.
161
162Thu Jan 23 04:06:42 1997 Ulrich Drepper <drepper@cygnus.com>
163
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.
167
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
c0e45674 197 * sysdeps/mach/hurd/configure.in: Add _LIBC_REENTRANT to DEFINES.
831372e7
UD
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.
212
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.
60c96635 220 * sysdeps/unix/sysv/linux/tcgetattr.c: Use __kernel_termios and
831372e7
UD
221 __KERNEL_NCCS instead of kernel_termios and KERNEL_NCCS resp.
222
223 * sysdeps/unix/sysv/linux/alpha/ioctls.h: New file.
224
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>.
228
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.
233
234Wed Jan 22 13:19:56 1997 Richard Henderson <rth@tamu.edu>
235
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.
240
2411997-01-22 Paul Eggert <eggert@twinsun.com>
242
243 * strftime.c (_strftime_copytm):
244 New function, to work around Solaris 2.5 tzset bug.
245
246Wed Jan 22 23:05:14 1997 Ulrich Drepper <drepper@cygnus.com>
247
248 * sysdeps/mach/hurd/vdprintf.c: Complete de-ANSI-declfication.
249 Reported by Marcus G. Daniels <marcus@shannon.sysc.pdx.edu>.
250
251Wed Jan 22 13:58:56 1997 Andreas Jaeger <aj@arthur.pfalz.de>
252
253 * elf/Makefile (CFLAGS-dl-load.c): New Variable to keep gcc silent
254 since name_copy is initialized.
255
256Wed Jan 22 16:58:12 1997 Ulrich Drepper <drepper@cygnus.com>
257
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.
269
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>.
277
278Tue Jan 21 18:35:55 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
279
280 * misc/regexp.h (compile): Fix typos.
281
282Tue Jan 21 01:01:59 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
283
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.
288
2891997-01-21 Paul Eggert <eggert@twinsun.com>
290
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.
297
298Tue Jan 21 23:10:40 1997 Ulrich Drepper <drepper@cygnus.com>
299
300 * version.h (VERSION): Bump to 1.102.
301
302 * sysdeps/unix/sysv/linux/alpha/Dist: Add kernel_sigaction.h.
303
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.
307
308 * time/Banner: New file.
309 * time/Makefile (distribute): Add Banner.
310
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.
317
318Mon Jan 20 08:38:32 1997 H.J. Lu <hjl@gnu.ai.mit.edu>
319
320 * config.make.in (has-ldconfig): New variable.
321
322 * configure, configure.in (has_ldconfig): New substitute.
323
324 * sysdeps/unix/sysv/linux/configure.in (has_ldconfig): New,
325 check if $srcdir/elf/ldconfig.c exists.
326
327 * Makeconfig (rootsbindir): New, default as
328 $(exec_prefix)/sbin.
329 (rtld-version-installed-name): New, default as
330 ld-$(version).so.
331
332 * Makefile (install): Call `$(common-objpfx)elf/ldconfig -d'
333 only if $(cross-compiling) is no and $(build-shared) is yes.
334
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.
341
342 * Rules (others): Add $(install-rootsbin).
343
344 * config.make.in (rootsbindir): New.
345
346 * configure, configure.in (libc_cv_rootsbindir): New
347 substitute.
348
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.
362
363 * sysdeps/unix/sysv/linux/configure.in (libc_cv_rootsbindir):
364 New, set to "/sbin" if "$prefix" == "/usr".
365
366Tue Jan 21 13:38:39 1997 Ulrich Drepper <drepper@cygnus.com>
367
368 * Makefile (distribute): Add glibcbug.in.
369 Reported by Philip Blundell <pjb27@cam.ac.uk>.
370
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).
374
375Tue Jan 21 04:05:20 1997 Ulrich Drepper <drepper@cygnus.com>
376
377 * version.h (VERSION): Bump to 1.101.
378
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.
408
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.
434
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.
440
441 * time/tzset.c (__tzset_internal): When TZ envvar does not name a
442 DST timezone don't default to offset -1.
443
444 * sysdeps/unix/sysv/linux/net/route.h: Don't use kernel header.
445 Reported by a sun <asun@zoology.washington.edu>.
446
447 * resolv/Makefile: Correct spelling: subdirs-dirs -> subdir-dirs.
448
449 * sysdeps/stub/sysv_signal.c: New file. Stub implementation.
450
451 * Makefile (distribute): Add mcheck.h.
452
453 * nis/Makefile (distribute): Add nss-nis.h.
454
455 * libio/Makefile (routines): Change vdprintf to iovdprintf to prevent
456 dist problem.
457
458 * nss/Makefile (distribute): Add digits_dots.c.
459
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.
464
465Mon Jan 20 17:54:28 1997 Sven Verdoolaege <skimo@breughel.ufsia.ac.be>
466
467 * manual/filesys.texi: Fix little problem (reentrant->readdir).
468
469Fri Jan 17 19:07:07 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
470
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.
478
479Sat Jan 18 22:15:26 1997 Richard Henderson <rth@tamu.edu>
480
481 * Makeconfig (CFLAGS-.so): Add -fno-common to prevent odd sorts of
482 errors that can occur when linking libc.so.
483
484Mon Jan 20 05:20:49 1997 Ulrich Drepper <drepper@cygnus.com>
485
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.
488
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.
499
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 '/'.
502
503 * Makeconfig: Correct comment about +(default_cflags).
504
505Mon Jan 20 05:11:14 1997 Hrvoje Niksic <hniksic@srce.hr>
506
507 * time/strptime.c (recursive): Use && not || to test for valid
508 argument.
509
510Mon Jan 20 05:06:50 1997 Ulrich Drepper <drepper@cygnus.com>
511
512 * elf/ldd.sh.in: Exit with value 1 if an error occured.
513 * elf/ldd.bash.in: Likewise.
514
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.
518
519Mon Jan 20 03:02:50 1997 Ulrich Drepper <drepper@cygnus.com>
520
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.
573
574Sun Jan 19 19:43:31 1997 Andreas Jaeger <aj@arthur.pfalz.de>
575
576 * time/strptime.c: Provide prototype for strptime_internal.
577
578Sun Jan 19 23:46:27 1997 Ulrich Drepper <drepper@cygnus.com>
579
580 * glibcbug.in: We don't guarantee confidential handling. Set
581 field to always contain `no'.
582
583Sun Jan 19 21:28:01 1997 Philippe De Muyter <phdm@info.ucl.ac.be>
584
585 * intl/explodename.c: Include sys/types.h.
586 * intl/l10nflist.c: Likewise.
587
588Sat Jan 18 22:15:26 1997 Richard Henderson <rth@tamu.edu>
589
590 * config.make.in (install_root): New variable to make it easy to
591 install glibc somewhere other than /.
592
593 * shlib-versions: alpha-*-linux-* libc=6.1.
594
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.
598
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.
604
605 * sysdeps/unix/sysv/linux/alpha/ioctl-types.h: Remove.
606 Default Linux version should be sufficient.
607
608 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c: The osf_sigprocmask
609 system call wants the sigset dereferenced.
610
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.
614
615 * sysdeps/unix/sysv/linux/sigset.h: Use longs instead of ints.
616
617 * sysdeps/unix/sysv/linux/tcsetattr.c: Fix pointer dereferences.
618
619 * sysdeps/unix/sysv/linux/alpha/sigsuspend.c: Add comment about
620 dependency to kernel type.
621
622 * sysdeps/unix/sysv/linux/alpha/termbits.h: Correct comment.
623
624Sun Jan 19 04:38:20 1997 Ulrich Drepper <drepper@cygnus.com>
625
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.
647
648 * time/mktime.c (mktime): Call __tzset_internal to use current
649 value of TZ.
650
651 * Makerules (common-clean): Remove $(generated-dirs) inclusing content.
652
653 * glibcbug.in: Fix several bugs. Reported by several people.
654
655 * elf/Makefile: Correct dependecies for $(objpfx)ldd.
656
657 * inet/netinet/ip.h: Define IPTOS_LOWCOST and IPTOS_MINCOST.
658
659 * locale/C-time.c: Update copyright.
660 * locale/localeinfo.h: Likewise.
661 * sysdeps/unix/bsd/bsd4.4/direntry.h: Likewise.
662
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.
666
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.
670
671Sun Jan 19 03:22:30 1997 Ulrich Drepper <drepper@cygnus.com>
672
673 * sysdeps/unix/sysv/linux/sys/mtio.h: Don't use <linux/mtio.h>.
674 We must not use <linux/posix_types.h>.
675
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.
685
686Sun Jan 19 01:48:20 1997 H.J. Lu <hjl@gnu.ai.mit.edu>
687
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.
696
697Fri Jan 17 17:45:32 1997 Ulrich Drepper <drepper@cygnus.com>
698
699 * posix/getopt.c: Change all direct usages of `gettext' to `_'.
700
701 * sysdeps/generic/sysd-stdio.c (__stdio_reopen): Add missing
702 parameter.
703 Reported by Harmanjit Singh <harman@netearth.iitd.ernet.in>.
704
705Thu Jan 16 23:39:25 1997 Ulrich Drepper <drepper@cygnus.com>
706
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.
717
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.
721
722Sat Jan 11 18:53:47 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
723
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.
733
734Sun Jan 12 15:22:33 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
735
736 * libc-symbols.h (link_warning): Make sure that the .gnu.warning
737 section is not allocated.
738 Update and reformat copyright.
739
740Sun Jan 12 12:19:28 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
741
742 * elf/Makefile ($(objpfx)ldd): Fix depedency list.
743
744Sat Jan 11 15:11:26 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
745
746 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls): Fix
747 command so that it works in subdirectories.
748
749Wed Jan 8 22:07:58 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
750
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.
758
759Wed Jan 8 19:42:59 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
760
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.
766
767Thu Jan 9 08:47:54 1997 Andreas Jaeger <aj@arthur.pfalz.de>
768
769 * glibcbug.in (while): We test for four and not five conditions,
770 set MAIL_AGENT instead of RMAIL, filter spaces and tabs.
771
772Thu Jan 16 22:00:27 1997 Ulrich Drepper <drepper@cygnus.com>
773
774 * misc/syslog.c: Don't define cancel_handler if _LIBC_REENTRANT
775 is not defined. Reported by Andreas Jaeger.
776
777Thu Jan 9 08:47:54 1997 Andreas Jaeger <aj@arthur.pfalz.de>
778
779 * new-malloc/malloc.c (__MALLOC_P): define call to pthread
780 initializer only if NO_THREADS is not defined.
781
782Wed Jan 8 21:28:58 1997 Andreas Jaeger <aj@arthur.pfalz.de>
783
784 * resolv/nss_dns/dns-host.c: Clean-up: delete unnecessary includes
785 and variables.
786
787Thu Jan 16 21:50:27 1997 Ulrich Drepper <drepper@cygnus.com>
788
789 * inet/arpa/inet.h: Include <netinet/in.h> to get struct in_addr
790 defined.
791
792Tue Jan 7 17:29:59 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
793
794 * Makerules (LDLIBS-c.so): New variable.
795
796Tue Jan 7 19:22:00 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
797
798 * Makefile ($(includedir)/gnu/lib-names.h): Define the library
799 names as strings, not as sequence of tokens that may fall apart.
800
801Fri Jan 10 14:08:41 1997 Roland McGrath <roland@fmh.frob.com>
802
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.
805
806Thu Jan 16 20:29:15 1997 Ulrich Drepper <drepper@cygnus.com>
807
808 * values.h [__USE_MISC]: Define BITSPERBYTE.
809
810Fri Jan 17 14:16:28 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
811
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.
816
817Thu Jan 9 15:59:35 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
818
819 * sysdeps/mach/hurd/posix_opt.h: New file.
820
821 * sysdeps/mach/hurd/sigwait.c (sigwait): Don't affect signal mask.
822
823 * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Finish
824 deansideclification.
825
826 * sysdeps/mach/libc-lock.h: Add kludges to pretend to implement
827 recursive locks.
828
829Tue Jan 7 09:48:15 1997 Andreas Jaeger <aj@arthur.pfalz.de>
830
831 * signal/sigempty.c (sigemptyset): Correct typo: Empty set should
832 have all bits zero.
833
834Tue Jan 7 23:44:39 1997 Ulrich Drepper <drepper@cygnus.com>
835
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.
847
848 * resolv/nss_dns/dns-host.c: Don't handle dotted pair notation.
849
850 * io/getwd.c: Optimized a bit.
851
852 * signal/signal.h: Always declare __sysv_signal.
853
854 * sysdeps/generic/setenv.c: Add some portability code.
855
856 * sysdeps/unix/sysv/fcntlbits.h: Update copyright.
857
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.
862
863 * sysdeps/unix/sysv/linux/syscalls.list: Add sys_mknod. Don't
864 mark sigreturn as EXTRA.
865
866 * sysdeps/unix/sysv/linux/ustat.c: Declare __syscall_ustat.
867 * sysdeps/unix/sysv/linux/alpha/ustat.c: New file. Alpha version.
868
869Tue Jan 7 09:48:15 1997 Andreas Jaeger <aj@arthur.pfalz.de>
870
871 * io/fts.c (fts_alloc): Add const to second parameter of function.
872
873 * io/Makefile: Change CFLAGS-fts.c and define CFLAGS-ftw.c to
874 prevent warnings.
875
876 * signal/sigfillset.c: Include <string.h> for memset declaration.
877
878Tue Jan 7 11:14:32 1997 Miles Bader <miles@gnu.ai.mit.edu>
879
880 * sysdeps/generic/setenv.c: Fix portability problems.
881
882Tue Jan 7 02:10:17 1997 Ulrich Drepper <drepper@cygnus.com>
883
884 * posix/getopt.c (_getopt_internal): Don't reset __getopt_initialized
885 after the last option was seen.
886
887Mon Jan 6 15:30:21 1997 Ulrich Drepper <drepper@cygnus.com>
888
889 * elf/elf.h (DT_EXTRANUM): Set to 3 since 0x7ffffffd is used.
890
891Mon Jan 6 13:57:05 1997 Ulrich Drepper <drepper@cygnus.com>
892
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>.
897
898Thu Jan 2 23:44:39 1997 Philip Blundell <pjb27@cam.ac.uk>
899
900 * inet/Makefile (headers): Add netinet/ip.h.
901 * inet/netinet/ip.h: New file, contains BSD definitions for struct
902 ip and friends.
903
904Fri Jan 3 23:17:11 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
905
906 * string/string.h (strnlen): Add cast for C++.
907
908Mon Jan 6 03:31:46 1997 Ulrich Drepper <drepper@cygnus.com>
909
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.
922
923 * mcheck.h: New file. Necessary since mcheck.h is used in time/ap.c.
924
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.
949
950 * version.h: Bump VERSION to 1.100.
951
952 * intl/finddomain.c: Defining stpcpy function isn't necessary.
953
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.
958
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.
963
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.
972
973 * misc/mntent_r.c: Fix handling of multiple, comma-separated
974 options. Patch by Sai-Lai Lo <sll@orl.co.uk>.
975
976 * po/de.po: Update.
977 * po/ko.po: Update.
978 * po/sv.po: Update.
979
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.
984
985 * posix/unistd.h [__USE_GNU]: Declare environ.
986
987 * posix/sys/types.h (key_t): Also define when __USE_XOPEN.
988
989 * resolv/res_debug.c: Add casts to prevent warnings.
990 * resolv/res_query.c: Likewise.
991
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.
1051
1052 * sysdeps/unix/sysv/linux/sys/sysmacros.h (minor, major, mkdev):
1053 Change definitions to fit new dev_t definition.
1054
1055 * sysdeps/unix/sysv/linux/syscalls.list: Add getdents and sigreturn.
1056 Rename ustat to s_ustat since wrapper is needed.
1057
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.
1068
1069 * sysdeps/unix/sysv/linux/alpha/sys/acct.h: New file. Alpha specific
1070 definition of accounting structure.
1071
1072 * sysdeps/unix/sysv/linux/sys/ptrace.h: Include <asm/ptrace.h>.
1073 Patch by Andreas Schwab.
1074
1075 * time/ap.c: Include <mcheck.h>.
1076
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.
1082
1083 * time/sys/time.h: Include <sys/select.h> to get select related
1084 declarations.
1085
1086Mon Jan 6 01:58:21 1997 Richard Henderson <richard@atheist.tamu.edu>
1087
1088 * sysdeps/alpha/dl-machine.h (elf_machine_dynamic): Work around
1089 bug in GNU ld.
1090
1091Mon Jan 6 01:35:29 1997 H.J. Lu <hjl@gnu.ai.mit.edu>
1092
1093 * misc/getpass.c: Make sure the content of the input buffer is not
1094 printed if the getpass function is interrupted.
1095
1096Sat Jan 4 17:07:08 1997 Roland McGrath <roland@fmh.frob.com>
1097
1098 * md5-crypt/Makefile (rpath-link): Add md5-crypt objdir, not crypt.
1099
1100Thu Jan 2 17:58:23 1997 Roland McGrath <roland@fmh.frob.com>
1101
1102 * sysdeps/generic/abort.c: Include <string.h> for memset decl.
1103
1104 * new-malloc/mcheck.c [_LIBC || STDC_HEADERS || USG]: Include
1105 <string.h> so memset is declared.
1106
1107Tue Dec 31 21:16:05 1996 Roland McGrath <roland@fmh.frob.com>
1108
1109 * elf/dl-deps.c (_dl_map_object_deps): Support DT_AUXILIARY.
1110
1111 * elf/dl-error.c (_dl_catch_error): Save and restore old catch site so
1112 calls can be nested.
1113
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.
1117
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.
1122
1123 * elf/dl-deps.c (_dl_map_object_deps): Check for malloc failure.
1124
1125Sat Jan 4 22:25:01 1997 Andreas Jaeger <aj@arthur.pfalz.de>
1126
1127 * libio/fcloseall.c: Include stdio.h for prototype declaration for
1128 __fcloseall.
1129
1130Thu Jan 2 17:35:20 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
1131
1132 * sysdeps/posix/signal.c: Provide ignorable definitions of
1133 SA_ONESHOT, SA_NOMASK, and SA_INTERRUPT for non-threads Posix
1134 systems.
1135
1136Thu Jan 2 23:20:51 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1137
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.
1143
1144Wed Jan 1 22:21:18 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1145
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>.
1157
1158Tue Dec 31 00:03:18 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1159
1160 * features.h: Fix typo.
1161
1162Thu Jan 2 00:46:09 1997 Ulrich Drepper <drepper@cygnus.com>
1163
1164 * libio/_G_config.h: Add _G_HAVE_LONG_DOUBLE_IO for libg++.
1165
1166Wed Jan 1 15:15:00 1997 Ulrich Drepper <drepper@cygnus.com>
1167
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.
1172
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.
1177
1178 * manual/stdio.texi: Document fcloseall.
1179
1180 * sysdeps/generic/abort.c: Call __fcloseall instead of fclose with
1181 NULL argument.
1182
1183 * socket/sys/un.h (SUN_LEN): Add cast.
1184
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.
1194
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.
1249
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.
1256
1257Wed Jan 1 12:34:54 1997 Ulrich Drepper <drepper@cygnus.com>
1258
1259 * po/es.po: Update for glibc-1.98.
1260 * po/fr.po: Likewise.
1261 * po/sv.po: New file. Swedish translation.
1262
1263Wed Jan 1 12:18:07 1997 MacGyver <macgyver@tos.net>
1264
1265 * values.h: Fix typos: use SHRT_MAX but SHORT_MAX and SHRT_MIN but
1266 SHORT_MIN.
1267
1268Tue Dec 24 23:10:21 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1269
1270 * Makefile: Replace `stubs.h' by `gnu/stubs.h'.
1271 * features.h: Include <gnu/stubs.h> instead of <stubs.h>.
1272
1273Tue Dec 24 22:16:55 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1274
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.
1278
1279Mon Dec 23 21:23:16 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1280
1281 * sysdeps/m68k/abort-instr.h: New File.
1282
1283Mon Dec 23 21:16:38 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1284
1285 * sysdeps/m68k/Makefile ($(subdir)=elf): Define CFLAGS-rtld.c
1286 to prevent warning.
1287
1288Mon Dec 23 21:14:22 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1289
1290 * resolv/Makefile (subdirs-dirs): Define.
1291
1292Mon Dec 23 20:56:49 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1293
1294 * sysdeps/gnu/utmpbits.h (struct utmp): Fix padding.
1295
1296Mon Dec 30 11:05:11 1996 Ulrich Drepper <drepper@cygnus.com>
1297
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.
1302
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.
1309
1310Mon Dec 30 01:32:59 1996 Ulrich Drepper <drepper@cygnus.com>
1311
1312 * tme/localtime.c: Rewrite so that localtime_r does not call tzset,
1313 but localtime does.
1314
1315 * features.h: Rename ANSI C to ISO C.
1316 Mention __GLIBC__ and __GLIBC_MINOR__ macros.
1317
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.
1323
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.
1332
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.
1233be76 1639