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
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.
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.
220	* sysdeps/unix/sysv/linux/tcgetattr.c: Use __kernel_termios and
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.
1639	Patches by Rüdiger Helsch <rh@unifix.de>.
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.
1709
1710	* libio/iovsprintf.c: Add cast to prevent warning.
1711	* libio/iovsscanf.c: Likewise.
1712
1713	* libio/libioP.h: Define mmap to __mmap and munmap to __munmap
1714	to keep namespace clean.
1715
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.
1719
1720	* nis/ypclnt.c: Remove prototype for xdr_free.
1721	* sunrpc/rpc/xdr.h: Add prototype for xdr_free.
1722
1723	* manual/nss.texi: Correct description of default values and don't
1724	meantion NSS as an add-on.
1725
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.
1735
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.
1739
1740	* sysdeps/unix/sysv/linux/schedbits.h: Add prototype for __clone.
1741
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.
1745
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.
1751
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.
1758
17591996-12-16  Paul Eggert  <eggert@twinsun.com>
1760
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.
1768
17691996-12-15  Paul Eggert  <eggert@twinsun.com>
1770
1771	* ctime.c (ctime): Return asctime (localtime (t)), as the C
1772	standard requires.
1773
1774Tue Dec 17 02:05:48 1996  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
1775
1776	* sysdeps/mach/libc-lock.h (__libc_lock_trylock): Invert return
1777	value because Mach/cthreads uses the opposite convention from
1778	Posix/glibc.
1779
1780Mon Dec 16 22:41:01 1996  Ulrich Drepper  <drepper@cygnus.com>
1781
1782	* stdio-common/fcloseall.c: Correct test of already_called.
1783	Reported by Thomas Bushnell, n/BSG.
1784
1785Mon Dec 16 14:52:07 1996  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
1786
1787	* mach/lock-intern.h (__mutex_try_lock): New function.
1788
1789Sun Dec 15 16:33:44 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1790
1791	* termios/sys/ttydefaults.h (TTYDEF_OFLAG): Only use OXTABS if
1792	defined, else XTABS.
1793	(CEOL, CSTATUS): Use _POSIX_VDISABLE if defined.
1794
1795Sun Dec 15 11:56:19 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1796
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.
1800
1801Mon Dec 16 02:15:42 1996  Ulrich Drepper  <drepper@cygnus.com>
1802
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.
1810
1811Sun Dec 15 16:52:34 1996  Ulrich Drepper  <drepper@cygnus.com>
1812
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.
1816
1817Sun Dec 15 14:20:51 1996  Ulrich Drepper  <drepper@cygnus.com>
1818
1819	* manual/time.texi: Update documentation of strftime function.
1820
1821Sun Dec 15 01:53:20 1996  Ulrich Drepper  <drepper@cygnus.com>
1822
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.
1829
1830	* Makefile (subdirs): Add nss back.
1831	* sysdeps/unix/inet/Subdirs: Move nis to end of file to fulfill
1832	dependencies.
1833
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.
1838
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.
1842
1843	* stdio-common/printf.h: Define MIN and MAX only if not already
1844	defined.
1845
1846	* stdio-common/vfprintf.c: Set errno to EBADF if stream does not
1847	allow writing.  Required by POSIX.1.
1848
1849	* libio/libioP.h (CHECK_FILE): Use MAYBE_SET_EINVAL instead of
1850	assignment.
1851
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
2028	function.
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.
2036
2037	* sysdeps/i386/fpu/__math.h: Define __NO_MATH_INLINES if not using
2038	gcc-2.8 or up.
2039	Patch by HJ Lu.
2040
2041	* sysdeps/posix/tempname.c: Test for error but EEXIST after open
2042	call.  If EMFILE, ENFILE, or EINTR return with error.
2043
2044Wed Dec 11 14:43:52 1996  Ulrich Drepper  <drepper@cygnus.com>
2045
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.
2053
2054	* time/strftime.c: Extend for Emacs' needs.  Recognize field width,
2055	%P format and `0' modifier.
2056
2057Tue Dec 10 21:20:44 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2058
2059	* Makerules (make-link): Don't discard exit codes of intermediate
2060	commands.  Always use rellns-sh if symbolic links are available.
2061
2062Tue Dec 10 20:09:51 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2063
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>.
2067
2068Wed Dec 11 01:04:30 1996  Ulrich Drepper  <drepper@cygnus.com>
2069
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.
2099
2100	* libio/_G_config.h: Define _G_HAVE_SYS_WAIT and _G_HAVE_PRINTF_FP.
2101
2102	* locale/C-numeric.c: Update copyright.
2103
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.
2108
2109	* new-malloc/malloc.c: Correct copyright.
2110	* new-malloc/thread-m.h: Correct key handling.
2111
2112	* shadow/lckpwdf.c: Update copyright.
2113	(PWD_LOCKFILE): Change to /etc/.pwd.lock.
2114
2115	* stdlib/strtod.c: Add another assertion.
2116	* stdlib/tst-strtod.c: Add another test case.
2117
2118	* sysdeps/generic/paths.h: Add _PATH_PRESERVE.  Needed by nvi.
2119	* sysdeps/unix/sysv/linux/paths.h: Likewise.
2120
2121	* sysdeps/gnu/utmpbits.h: Rename ut_addr field to ut_addr_v6.
2122	ut_addr names a single element in ut_addr_v6.
2123
2124	* sysdeps/mach/hurd/xmknod.c: Remove alias from __mknod to mknod.
2125	Patch by Thomas Bushnell, n/BSG.
2126
2127Tue Dec 10 11:35:28 1996  Richard Henderson  <rth@tamu.edu>
2128
2129	* sysdeps/alpha/strncmp.S: Fix aligned short truncated compare
2130	corner condition.
2131
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>
2136
2137	* sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Renamed from
2138	`ttyname_r'.
2139	(ttyname_r): New alias.
2140
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.
2152
2153	* Makeconfig: Allow Makefiles to set $(CPPFLAGS-$(<F)) and
2154	$(CPPFLAGS-$(@F)) to be added to CPPFLAGS.
2155	Same for $(CFLAGS-$(@F)) and CFLAGS.
2156
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.
2320
2321	* resolv/Makefile: Add rule to rebuiild libresolv.so when libc.so
2322	changed.
2323
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.
2327
2328	* stdio-common/bug7.c: Correct test.  Stream must not be closed
2329	twice.
2330
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.
2337
2338	* sysdeps/mach/libc-lock.h: Define__libc_mutex_lock to __mutex_lock.
2339
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>
2368
2369	* configure.in: Discard error message from test in test for
2370	bash-2.0.
2371
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.
2376
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.
2381
2382	* manual/nss.texi: Correct prototypes.
2383
2384	* misc/syslog.c: Make reentrant.  Catch SIGPIPE signal to prevent
2385	crash if syslog daemon is restarted.
2386
2387	* stdlib/rand_r.c: New file.  Implementation of POSIX.2 function
2388	rand_r.
2389	* stdlib/Makefile (routines): Add rand_r.
2390
2391	* sysdeps/stub/libc-lock.h: Define __libc_lock_trylock and
2392	__libc_mutex_lock.
2393
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.
2398
2399Thu Dec  5 19:19:53 1996  Richard Henderson  <rth@tamu.edu>
2400
2401	* posix/glob.c: Tests against STDC_HEADERS should also test
2402	__GNU_LIBRARY__.
2403
2404Thu Dec  5 16:20:55 1996  Ulrich Drepper  <drepper@cygnus.com>
2405
2406	* misc/err.c (vwarn): Set errno again before using %m format.
2407
2408Thu Dec  5 10:14:05 1996  Andreas Jaeger  <aj@arthur.pfalz.de>
2409
2410	* grp/grp.h: Add declaration of __getgrent_r.
2411
2412	* io/fts.c (fts_build): Remove "register" from variables dirbuf
2413	and dp since their address is needed.
2414
2415	* sysdeps/posix/getcwd.c (__getcwd): Remove "register" from
2416	variable d since d's address is needed.
2417
2418	* misc/tst-dirname.c (main): Provide prototype.
2419	* misc/ioctltst.c (main): Dito.
2420
2421	* Makefile: Add gnu/lib-names.h to install-others before including
2422	Makerules.
2423
2424Wed Dec  4 16:00:09 1996  Ulrich Drepper  <drepper@cygnus.com>
2425
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.
2431
2432Tue Dec  3 08:38:15 1996  Richard Henderson  <rth@tamu.edu>
2433
2434	* sysdeps/unix/alpha/sysdep.S: Remove definition of __errno_location.
2435	Reformat copyright.
2436
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.
2447
2448Tue Oct 15 23:46:00 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2449
2450	* MakeTAGS (sysdep_dirs): Include add-on sysdep directories.
2451
2452Tue Dec  3 02:06:18 1996  Ulrich Drepper  <drepper@cygnus.com>
2453
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.
2459
2460	* stdlib/getsubopt.c: Update copyright.  Correct typo in comment.
2461
2462Mon Dec  2 15:32:15 1996  Ulrich Drepper  <drepper@cygnus.com>
2463
2464	* elf/dl-lookup.c (_dl_lookup_symbol_skip): Remove unused variable
2465	`found_entry'.
2466
2467	* misc/ttyslot.c: Use ttyname_r instead of ttyname.
2468
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.
2481
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.
2485
2486	* string/strfry.c: Update copyright.  Use reentrant random functions.
2487
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.
2497
2498	* time/ctime.c: Use __localtime_r and __asctime_r instead of
2499	non reentrant versions.
2500	* time/ctime_r.c: Update copyright.
2501
2502	* intl/l10nflist.c (_nl_make_l10nflist): Pretty print.
2503
2504	* locale/Makefile (localepath): Correct value.
2505
2506	* nss/nss_files/files-XXX.c: Include <netdb.h> to define
2507	NETDB_INTERNAL.
2508	Fix typo in using H_ERRNO_SET macro.
2509
2510Fri Nov 29 23:22:14 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2511
2512	* Makerules (elfobjdir): Definition removed.
2513	* Makeconfig (elfobjdir): Define it here instead, so that
2514	expanding $(rpath-link) gets the right value.
2515
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.
2521
2522Mon Dec  2 03:59:38 1996  Ulrich Drepper  <drepper@cygnus.com>
2523
2524	* grp/initgroups.c: Update and reformat copyright.
2525	Use __getgrent_r instead of getgrent.
2526
2527	* inet/rcmd.c: Update and reformat copyright.
2528	Use __gethostbyname_r instead of gethostbyname.
2529	* inet/rexec.c: Likewise.
2530
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.
2539
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.
2544
2545	* nss/nss_files/files-XXX.c: Set h_errno variable to NETDB_INTERNAL
2546	before returning ERANGE error.
2547
2548	* posix/glob.c: Use getlogin_r and getpwnam_r function when available
2549	or in GNU libc.
2550
2551	* pwd/getpw.c: Use getpwuid_r instead of getpwuid.
2552
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.
2557
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.
2561
2562	* stdlib/l64a.c: Return correct pointer.
2563	Patch by NIIBE Yutaka <gniibe@mri.co.jp>.
2564
2565	* string/Makefile (routines): Add argz-addsep.
2566	* string/argz-addsep.c: New file.
2567	* string/argz.h: Add prototypes for argz_add_sep.
2568
2569	* string/argz-ctsep.c: Prevent memory leak.
2570
2571	* string/strcoll.c: Correct typo in comment.
2572
2573Sat Nov 30 02:53:59 1996  Ulrich Drepper  <drepper@cygnus.com>
2574
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.
2579
2580Thu Nov 28 20:04:41 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2581
2582	* login/Makefile: Fix typo.
2583
2584	* nss/Makefile (generated): Filter out db-alias.c.
2585
2586Thu Nov 28 14:44:01 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2587
2588	* time/Makefile (echo-zonenames): Don't depend on non-existing
2589	target `zonenames'.
2590
2591Thu Nov 28 12:34:05 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2592
2593	* link.h: New file.
2594	* nss/nsswitch.c: Use it.
2595
2596	* printf.h: Fix file name.
2597	* stdlib/strfmon.c: Use it.
2598
2599Thu Nov 28 23:03:32 1996  Ulrich Drepper  <drepper@cygnus.com>
2600
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>.
2606
2607Thu Nov 28 03:11:11 1996  Ulrich Drepper  <drepper@cygnus.com>
2608
2609	* libio/fileops.c: Update from latest libg++.
2610
2611	* sysdeps/unix/sysv/linux/init-first.c: Reformat copyright.
2612
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>.
2617
2618	* sysdeps/unix/sysv/linux/i386/brk.c: Reformat copyright.
2619
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.
2627
2628	* sysdeps/unix/sysv/linux/configure: Add test for linuxthreads
2629	and crypt add-on and warn if not available.
2630
2631Wed Nov 27 23:09:37 1996  Ulrich Drepper  <drepper@cygnus.com>
2632
2633	* po/ko.po: Update from Bang Jun-Young <bangjy@nownuri.nowcom.co.kr>.
2634
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>.
2646
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.
2651
2652	* login/getutent_r.c: Fix several bugs in last change.
2653
2654Wed Nov 27 06:10:10 1996  Ulrich Drepper  <drepper@cygnus.com>
2655
2656	* Makefile: Fix typo.
2657
2658	* configure: Require autoconf-2.11.
2659
2660	* elf/dl-deps.c: Terminate duplicate list.
2661
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.
2665
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.
2692
2693	* sysdeps/generic/paths.h: Add _PATH_UTMP_DB.
2694	* sysdeps/unix/sysv/linux/paths.h: Likewise.
2695
2696	* sysdeps/generic/pty.c: Use getgrnam_r instead of getgrnam.
2697
2698	* sysdeps/stub/getlogin.c: Update copyright.
2699	* sysdeps/stub/getlogin_r.c: Likewise.
2700
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.
2704
2705	* posix/Makefile (headers): Add wait.h.
2706	* posix/wait.h: New file.
2707
2708	* posix/sys/types.h: Always define intN_t types.
2709
2710	* stdio-common/Makefile: Update copyright.
2711	Use -Wno-format flag for scanf4.c and scanf7.c.
2712
2713	* stdlib/stdlib.h: Reformat.
2714
2715Fri Nov 22 19:34:12 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2716
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.
2720
2721Sun Nov 24 04:56:19 1996  Ulrich Drepper  <drepper@cygnus.com>
2722
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.
2732
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.
2737
2738	* posix/wait.h: New file.
2739	* posix/Makefile (headers): Add wait.h.
2740
2741Sat Nov 23 17:27:52 1996  Roland McGrath  <roland@gnu.ai.mit.edu>
2742
2743	* Makeconfig ($(common-objpfx)soversions.mk): Use regular
2744	expression instead of shell pattern matching.
2745	* shlib-versions: Change to regular expressions.
2746
2747Sat Nov 23 13:24:55 1996  Ulrich Drepper  <drepper@cygnus.com>
2748
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.
2754
2755Fri Nov 22 15:14:23 1996  Ulrich Drepper  <drepper@cygnus.com>
2756
2757	* csu/initfini.c: Add section from libgcc to copyright comment
2758	to allow this file to be statically linked in applications.
2759
2760	* malloc/obstack.h [!_LIBC && !HAVE_STRING_H]: Define memcpy if
2761	not already defined.
2762	(obstack_grow, obstack_grow0): Correct placement of braces.
2763
2764	* gnu-versions.h (_GNU_OBSTACK_INTERFACE_VERSION): Define to 2.
2765	* malloc/obstack.c (OBSTACK_INTERFACE_VERSION): Define to 2.
2766
2767Thu Nov 21 19:54:51 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2768
2769	* Makerules (make-link): Simplify by changing directory only if
2770	not using rellns-sh; check whether we really have symbolic links.
2771
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.
2775
2776Thu Nov 21 13:05:21 1996  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
2777
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*.
2782
2783	* sysdeps/mach/hurd/Makefile ($(libdir)/libc.so): Depend on
2784	$(rpcuserlibs).
2785
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.
2791
2792Wed Nov 20 20:28:21 1996  Richard Henderson  <rth@tamu.edu>
2793
2794	* Makerules (make-link): Use $(shell) to find rellns-sh before we cd.
2795	* time/Makefile: Likewise.
2796
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.
2804
2805Wed Nov 20 00:42:45 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2806
2807	* stdlib/strtod.c: Fix previous change.
2808
2809Wed Nov 20 22:07:58 1996  Andreas Jaeger  <aj@arthur.pfalz.de>
2810
2811	* time/Makefile ($(installed-localtime-file)): Use $(..) to find
2812	rellns-sh script.
2813
2814Wed Nov 20 12:50:54 1996  Ulrich Drepper  <drepper@cygnus.com>
2815
2816	* stdio-common/Makefile: Add CFLAGS-scanf7.c to prevent warning.
2817	Likewise for scanf4.c
2818
2819Wed Nov 20 02:04:11 1996  Ulrich Drepper  <drepper@cygnus.com>
2820
2821	* sysdeps/unix/sysv/linux/sigsuspend.c: Make sigsuspend a weak
2822	alias of __sigsuspend.
2823
2824	* grp/grp.h: Correct comment about POSIX compliance.
2825	* pwd/pwd.h: Likewise.
2826
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.
2833
2834	* misc/sys/uio.h: Place __BEGIN_DECLS correctly.
2835	Pretty-print prototypes.
2836
2837	* sysdeps/unix/sysv/linux/sparc/clone.S: New file.  Taken from
2838	LinuxThreads-0.5.
2839
2840Tue Nov 19 13:43:07 1996  Richard Henderson  <rth@tamu.edu>
2841
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).
2846
2847	* misc/sys/cdefs.h: Change __long_double_t definition from typedef
2848	to define.  Jim Nance reports problems building XEmacs otherwise.
2849
2850	* resolv/gethnamaddr.c: Protect h_errno redefinition.
2851	* resolv/getnetnamadr.c: Likewise.
2852	* resolv/herror.c: Likewise.
2853
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>
2988
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.
2993
2994Sun Nov 17 03:13:57 1996  Ulrich Drepper  <drepper@cygnus.com>
2995
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.
3026
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.
3043
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.
3258
3259	* sysdeps/mach/hurd/ioctl.c: Include <mach/mig-support.h>.
3260
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.
3265
3266	* stdio-common/vfscanf.c (encode_error) [! USE_IN_LIBIO]: Call
3267	funlockfile, not _IO_funlockfile.
3268
3269	* sysdeps/posix/readv.c (readv): Change return type to ssize_t.
3270	Deansideclized.
3271	* sysdeps/posix/writev.c (writev): Likewise.
3272
3273	* sysdeps/mach/hurd/lchown.c: Include <fcntl.h> and fix typo.
3274
3275Thu Nov 14 12:53:16 1996  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
3276
3277	* sysdeps/mach/hurd/i386/init-first.c (_dl_start): Make this a
3278	prototyped definition.
3279
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.
3282
3283Thu Nov 14 02:00:33 1996  Ulrich Drepper  <drepper@cygnus.com>
3284
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.
3299
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.
3306
3307	* nss/getXXbyYY.c: Don't provide static buffer.  Resize if call
3308	failed because buffer was too small.
3309	* nss/getXXent.c: Likewise.
3310
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.
3314
3315	* nss/nss_files/files-parse.c: Indent lines for better readability.
3316
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.
3324
3325	* posix/unistd.h: Correct typo.
3326
3327Wed Nov 13 03:09:16 1996  Ulrich Drepper  <drepper@cygnus.com>
3328
3329	* configure.in: Require at least autoconf-2.10.2.
3330
3331Tue Nov 12 16:58:41 1996  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
3332
3333	* mach/mach.h (__mach_msg_destroy, mach_msg_destroy, __mach_msg):
3334	Provide prototypes.
3335
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.
3340
3341	* stdio/stdio.h: Repair broken cpp syntax.
3342
3343	* sysdeps/mach/hurd/lchown.c: New file.  Guts from chown.c, except
3344	we pass O_NOLINK on the open.
3345
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.
3350
3351Tue Nov 12 03:35:01 1996  Christian von Roques  <roques@pond.sub.org>
3352
3353	* malloc/obstack.h: Add new macro `obstack_make_room'.
3354	* malloc/obstack.c: Add function implementation for
3355	`obstack_make_room'.
3356
3357Mon Nov 11 13:54:04 1996  Ulrich Drepper  <drepper@cygnus.com>
3358
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)
3364
3365	* config.make.in: Add definition for top_absdir.
3366	* Makerules (make-link): Fix path to rellns-sh script.
3367
3368Sat Nov  9 02:15:24 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3369
3370	* posix/unistd.h: Fix comment.
3371
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.
3377
3378Sat Nov  9 19:25:11 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3379
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.
3383
3384Sat Nov  9 02:08:34 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3385
3386	* Makefile ($(includedir)/gnu/lib-names.h): Quote arguments of tr.
3387
3388Sat Nov  9 02:06:17 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3389
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.
3393
3394Sat Nov  9 02:02:48 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3395
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.
3400
3401Sat Nov  9 01:57:17 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3402
3403	* sysdeps/unix/sysv/linux/m68k/syscall.S: Correct last change.
3404	* sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
3405
3406Mon Nov 11 02:53:14 1996  Ulrich Drepper  <drepper@cygnus.com>
3407
3408	* time/strftime.c: Update copyright.  Small cosmetic changes.
3409
3410Sun Nov 10 23:28:16 1996  Ulrich Drepper  <drepper@cygnus.com>
3411
3412	* inet/getprtname_r.c: Reformat copyright.
3413
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.
3418
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.
3427
3428	* nss/nss_files/files-netgrp.c (_nss_netgroup_parseline): Don't
3429	make static.
3430
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>.
3437
3438Sun Nov 10 02:37:15 1996  Ulrich Drepper  <drepper@cygnus.com>
3439
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.
3447
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.
3451
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.
3455
3456	* stdlib/test-canon.c (cwd): Change size to PATH_MAX.
3457
3458Sat Nov  9 15:34:48 1996  Ulrich Drepper  <drepper@cygnus.com>
3459
3460	* sysdeps/unix/sysv/linux/Dist: Add sys/mtio.h.
3461	* sysdeps/unix/sysv/linux/sys/mtio.h: New file.
3462
3463	* signal/signal.h [__USE_BSD]: Add prototype for siggetmask.
3464
3465Fri Nov  8 13:29:30 1996  Ulrich Drepper  <drepper@cygnus.com>
3466
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.
3472
3473	* sysdeps/posix/fpathconf.c: Use fstatfs to compute NAME_MAX, not
3474	PATH_MAX.
3475
3476Thu Nov  7 03:04:29 1996  Ulrich Drepper  <drepper@cygnus.com>
3477
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.
3481
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.
3504
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>.
3535
3536	* string/argz.h: Don't protect by __USE_GNU.
3537
3538Tue Nov  5 23:38:28 1996  Ulrich Drepper  <drepper@cygnus.com>
3539
3540	* Lots of files: Update and reformat copyright.
3541
3542	* Makefile (headers): Add xopen_lim.h.
3543
3544	* catgets/nl_types.h: Move __BEGIN_DECLS before definition of nl_catd.
3545
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.
3550
3551	* io/Makefile (routines): Add lchown.
3552	* sysdeps/stub/lchown.c: New file.
3553
3554	* io/sys/poll.h: Add definition of POLLWRNORM.
3555
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.
3595
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.
3601
3602	* posix/sys/wait.h: Declare wait3 if __USE_XOPEN_EXTENDED is defined.
3603
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.
3607
3608	* signal/signal.h: Declare killpg, sigstack and sigaltstack when
3609	__USE_XOPEN_EXTENDED is defined.
3610
3611	* stdio/stdio.h: Declare tempnam when __USE_XOPEN is defined.
3612
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.
3617
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.
3806
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.
3811
3812Sun Nov  3 03:21:28 1996  Heiko Schroeder  <Heiko.Schroeder@post.rwth-aachen.de>
3813
3814	* locale/programs/ld-numeric.c (numeric_output): Compute idx[0]
3815	correctly.
3816
3817Sat Nov  2 17:44:32 1996  Ulrich Drepper  <drepper@cygnus.com>
3818
3819	* sysdeps/posix/cuserid.c: Use reentrant functions.
3820	* manual/users.texi: Tell that cuserid is marked to be withdrawn in
3821	XPG4.2.
3822
3823Sat Nov  2 14:26:37 1996  Ulrich Drepper  <drepper@cygnus.com>
3824
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.
3831
3832Sat Nov  2 16:54:49 1996  NIIBE Yutaka  <gniibe@mri.co.jp>
3833
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.
3838
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.
3842
3843Tue Nov  5 00:04:48 1996  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
3844
3845	* stdio-common/vfprintf.c: Include <libc-lock.h>.
3846
3847Mon Nov  4 16:57:42 1996  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
3848
3849	* sysdeps/mach/hurd/ttyname_r.c (ttyname_r): Change prototype to
3850	match POSIX.1c.
3851
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.
3855
3856	* pwd/pwd.h: Get `size_t' from <stddef.h>.
3857	* grp/grp.h: Likewise.
3858	* shadow/shadow.h: Likewise.
3859
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):
3863	Likewise.
3864
3865	* hurd/hurdsig.c (write_corefile): Fix typo.
3866
3867	* sysdeps/mach/hurd/sigwait.c: New file.
3868
3869Sat Nov  2 01:48:47 1996  Ulrich Drepper  <drepper@cygnus.com>
3870
3871	* sysdeps/unix/sysv/linux/errnos.h: Move declaration of errno
3872	and __errno_location to correct position.
3873
3874Thu Oct 31 22:51:25 1996  Ulrich Drepper  <drepper@cygnus.com>
3875
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.
3880
3881Thu Oct 31 11:33:01 1996  Ulrich Drepper  <drepper@cygnus.com>
3882
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.
3888
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.
3894
3895	* sysdeps/generic/putenv.c: Correct layout to fit in libit.
3896	* sysdeps/generic/setenv.c: Likewise.
3897	* stdlib/strtol.h: Likewise.
3898
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.
3906
3907Thu Oct 31 00:01:39 1996  Ulrich Drepper  <drepper@cygnus.com>
3908
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.
3914
3915Wed Oct 30 02:01:17 1996  Richard Henderson  <rth@tamu.edu>
3916
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.
3921
3922Thu Oct 29 16:09:42 1996  Craig Metz  <cmetz@inner.net>
3923
3924	* sysdeps/posix/getaddrinfo.c: Use buffer limits for inet_ntop
3925	function.
3926
3927Tue Oct 29 12:37:22 1996  Ulrich Drepper  <drepper@cygnus.com>
3928
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.
3932
3933	* elf/rtld.c (dl_main): When verifying don't check the name of
3934	the dynamic linker.
3935
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.
3939
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.
3952
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.
3998
3999	* libio/libio.h: Don't declare _IO_flockfile and _IO_funlockfile
4000	weak.
4001
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.
4057
4058	* nss/nss_db/db-netgrp.c (_nss_db_setnetgrent): Fix typo.
4059
4060Sun Oct 27 11:12:50 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4061
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.
4070
4071	* locale/programs/ld-time.c (STRARR_ELEM): Fix format string.
4072
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.
4077
4078	* locale/programs/localedef.c (construct_output_path): Putting an
4079	explicit \0 into the format string does not work, use %c.
4080
4081Sat Oct 26 20:38:36 1996  Richard Henderson  <rth@tamu.edu>
4082
4083	* Makerules: Install all shared libraries in $(slibdir).
4084
4085	* login/Makefile: Build libutil.so in others pass after
4086	libc.so is created.
4087
4088	* misc/mntent.h: Include <paths.h> for _PATH_MNTTAB & _PATH_MOUNTED.
4089
4090	* string/stratcliff.c: Allocate 3 pages instead of one, then use
4091	mprotect so that we know that the adjacent pages are inaccessible.
4092
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.
4103
4104
4105Thu Oct 24 17:43:34 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4106
4107	* MakeTAGS (sysdep-dirs): Fix typo.
4108
4109Thu Oct 24 17:32:57 1996  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
4110
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.
4114
4115Wed Oct 23 03:45:22 1996  Ulrich Drepper  <drepper@cygnus.com>
4116
4117	* Makefile (headers): Don't mention libc-version.h.
4118	(install-others): ...but here.
4119
4120Tue Oct 22 21:38:21 1996  Ulrich Drepper  <drepper@cygnus.com>
4121
4122	* version.h: Bump version number to 1.97.
4123
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.
4129
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.
4134
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.
4189
4190	* sysdeps/unix/sysv/i386/time.S: Add PSEUDO_END to get
4191	__syscall_error defined..
4192
4193Sat Oct 19 12:27:50 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4194
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.
4203
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.
4283
4284	* stdlib/longlong.h: Prototype __udiv_qrnnd.
4285
4286	* sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_headers): Remove
4287	sys/io.h.  It is already added in .../linux/Makefile.
4288
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.
4292
4293Sun Oct 20 17:17:12 1996  Ulrich Drepper  <drepper@cygnus.com>
4294
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.
4302
4303Sun Oct 20 13:02:34 1996  Ulrich Drepper  <drepper@cygnus.com>
4304
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.
4308
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.
4314
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.
4320
4321	* grp/testgrp.c: Don't use perror for error cases since getgr* and
4322	getpw* functions do not return usable error codes.
4323
4324Sun Oct 19 23:05:32 1996  Jim Meyering  <meyering@asic.sc.ti.com>
4325
4326	* crypt/md5.c (md5_process_bytes): Used casting for pointer
4327	arithmetic.
4328
4329Sun Oct 20 03:53:23 1996  Ulrich Drepper  <drepper@cygnus.com>
4330
4331	* sunrpc/Makefile (others): Remove portmap here, too.
4332
4333Sat Oct 19 17:42:24 1996  Ulrich Drepper  <drepper@cygnus.com>
4334
4335	* intl/locale.alias: Language for entry `czech' is `cs'.
4336
4337Fri Oct 17 13:20:35 1996  Thorsten Kukuk  <kukuk@weber.uni-paderborn.de>
4338
4339	* sunrpc/etc.rpc: Update from ti-rpcsvc 2.3.
4340
4341Fri Oct 18 22:56:45 1996  Ulrich Drepper  <drepper@cygnus.com>
4342
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.
4348
4349Fri Oct 18 12:17:09 1996  Enrique Melero  <justine@iprolink.ch>
4350
4351	* sysdeps/libm-ieee754/s_finitel.c: Change function name to
4352	`finitel'.
4353
4354Fri Oct 18 00:01:10 1996  Ulrich Drepper  <drepper@cygnus.com>
4355
4356	* string/Makefile (tests): Add stratcliff.
4357	* string/stratcliff.c: New file.  Test for string function at
4358	the edge of the usable memory.
4359
4360Thu Oct 17 22:10:19 1996  Ulrich Drepper  <drepper@cygnus.com>
4361
4362	* Makerules ($(libdir)/libc.so): Fix typo.
4363
4364	* elf/ldd.sh.in: Test whether given file really exist and give
4365	better message if it is not available.
4366
4367Thu Oct 17 04:25:38 1996  Ulrich Drepper  <drepper@cygnus.com>
4368
4369	* sysdeps/unix/sysv/linux/sys/shm_buf.h: Add definition for
4370	SHM_R and SHM_W.
4371
4372Thu Oct 17 01:55:34 1996  Ulrich Drepper  <drepper@cygnus.com>
4373
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.
4377
4378	* po/Makefile (libc.pot): Fix typo.
4379
4380Sun Oct 13 20:52:07 1996  Thorsten Kukuk  <kukuk@weber.uni-paderborn.de>
4381
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.
4397
4398	* sunrpc/rpc_tblout.c: New file.
4399	* sunrpc/rpc_sample.c: Likewise.
4400
4401Thu Oct 17 00:26:20 1996  NIIBE Yutaka  <gniibe@mri.co.jp>
4402
4403	* sysdeps/unix/opendir.c: Add semicolon for consistency.
4404
4405Wed Oct 16 12:26:53 1996  Sven Verdoolaege  <skimo@breughel.ufsia.ac.be>
4406
4407	* locale/programs/localedef.c (main): Test with -1 to find out
4408	whether read failed.
4409
4410Wed Oct 16 14:54:59 1996  Ulrich Drepper  <drepper@cygnus.com>
4411
4412	* sysdeps/unix/sysv/linux/i386/clone.S: Use JUMPTARGET and
4413	PSEUDO_END macro.
4414
4415Tue Oct 15 21:27:42 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4416
4417	* sysdeps/unix/sysv/linux/m68k/sigcontext.h: Removed.
4418
4419Tue Oct 15 15:52:29 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4420
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.
4429
4430Tue Oct 15 15:13:16 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4431
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.
4439
4440Tue Oct 15 23:39:48 1996  Ulrich Drepper  <drepper@cygnus.com>
4441
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.
4445
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.
4451
4452	* Makefile ($(objpfx)version-info.h): Include information about
4453	system the libc is built on in version-info.h file.
4454
4455	* po/Makefile (distribute): Add header.pot.
4456
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.
4563
4564	* po/fr.po: Update.
4565
4566	* time/strptime.c: Recognize %s, %u, %g, and %G format.
4567
4568	* posix/getopt.c: Add some more casts and initializations to
4569	prevent warnings.
4570
4571Sat Oct 12 16:15:29 1996  Ulrich Drepper  <drepper@cygnus.com>
4572
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>.
4581
4582Fri Oct 11 21:45:34 1996  Andreas Jaeger  <aj@arthur.pfalz.de>
4583
4584	* locale/programs/xstrdup.c: Define prototypes.
4585	* locale/programs/xmalloc.c: Likewise.
4586
4587	* stdio-common/xbug.c (main): Change definition to avoid warning.
4588
4589Fri Oct 11 23:36:31 1996  Miles Bader  <miles@gnu.ai.mit.edu>
4590
4591	* db/hash/hash.c (__hash_open): Correctly test for a read-write db.
4592
4593Fri Oct 11 19:13:34 1996  Ulrich Drepper  <drepper@cygnus.com>
4594
4595	* locale/Makefile (CPPFLAGS): Set CHARMAP_PATH to
4596	"$(i18ndir)/charmaps".
4597
4598Fri Oct 11 22:12:41 1996  NIIBE Yutaka  <gniibe@mri.co.jp>
4599
4600	* sysdeps/unix/sysv/linux/sys/procfs.h: Include <asm/user.h>
4601	to get definition of FPU description struct.
4602
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.
4608
4609Fri Oct 11 14:49:13 1996  Ulrich Drepper  <drepper@cygnus.com>
4610
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.
4622
4623	* Makefile (distribute): Add nsswitch.h and netgroup.h.
4624
4625	* nss/Makefile (generated): db-netgrp.c is not generated.
4626
4627	* sysdeps/alpha/Dist: Add stxcpy.S and stxncpy.S.
4628
4629	* Make-dist (+out): Add $(dont_distribute).
4630
4631Fri Oct 11 00:27:18 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4632
4633	* stdio-common/Makefile (routines): Add tmpnam_r.
4634
4635Fri Oct 11 05:32:51 1996  Ulrich Drepper  <drepper@cygnus.com>
4636
4637	* version.h: Bump version to 1.96.
4638
4639Fri Oct 11 18:13:47 1996  Andreas Jaeger  <aj@arthur.pfalz.de>
4640
4641	* stdio-common/tst-printf.c: Some more cleanups.
4642
4643Fri Oct 11 02:48:02 1996  Ulrich Drepper  <drepper@cygnus.com>
4644
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.
4653
4654	* nss/nss_dns/dns-host.c: Update according to change in
4655	resolv/gethnamaddr.c.
4656
4657Fri Oct 10 20:52:28 1996  Ralph Loader  <loader@maths.ox.ac.uk>
4658
4659	* crypt/md5.c (md5_stream): When reading the block in several
4660	pieces append to instead of replace previously read data.
4661
4662Thu Oct 10 15:53:17 1996  Richard Henderson  <rth@tamu.edu>
4663
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.
4668
4669Thu Oct 10 17:17:23 1996  Ulrich Drepper  <drepper@cygnus.com>
4670
4671	* sunrpc/Makefile (rpcsvc): Remove yp.x.  The corrected version
4672	comes with glibc-nis.
4673	* sunrpc/rpcsvc/yp.x: Removed.
4674
4675	* nss/nss_files/files-netgr.c (_nss_netgroup_parseline): Test
4676	for *CURSOR to be NULL and dump a core if yes.
4677
4678Thu Oct  9 20:09:53 1996  Matthew Jacob  <mjacob@feral.com>
4679
4680	* sysdeps/unix/sysv/linux/alpha/brk.S: Define _ERRNO_H before
4681	including <errnos.h> to get error numbers.
4682
4683Thu Oct 10 14:00:01 1996  Ulrich Drepper  <drepper@cygnus.com>
4684
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>.
4692
4693Wed Oct  9 00:24:52 1996  Jim Meyering  <meyering@asic.sc.ti.com>
4694
4695	* time/strftime.c: Allow old K&R compilers compile this file.
4696
4697Wed Oct  9 12:03:56 1996  Ulrich Drepper  <drepper@cygnus.com>
4698
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.
4702
4703Wed Oct  9 04:34:50 1996  Ulrich Drepper  <drepper@cygnus.com>
4704
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.
4709
4710Wed Oct  9 01:43:18 1996  Ulrich Drepper  <drepper@cygnus.com>
4711
4712	* sysdeps/unix/sysv/linux/gethostid.c (sethostid): Avoid
4713	get?id calls by using __libc_enable_secure.
4714
4715Wed Oct  9 00:30:33 1996  Ulrich Drepper  <drepper@cygnus.com>
4716
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.
4721
4722Tue Oct  8 21:51:14 1996  Arnold D. Robbins  <arnold@skeeve.atl.ga.us>
4723
4724	* posix/getopt.c: Implement POSIX -W option handling.  When the
4725	option string contains "W;" -W foo is handled like --foo.
4726
4727Tue Oct  8 12:27:26 1996  Ulrich Drepper  <drepper@cygnus.com>
4728
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.
4733
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>.
4739
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.
4743
4744	* posix/unistd.h: Correct prototype for execlp.
4745
4746	* sysdeps/unix/sysv/linux/posix_opt.h: Define _POSIX_NO_TRUNC.
4747
4748Mon Oct  7 22:18:03 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4749
4750	* Makeconfig (sysdep-library-path): New variable.
4751	(built-program-cmd): Use it here to properly build a colon
4752	separated library path.
4753
4754Mon Oct  7 22:11:55 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4755
4756	* crypt/md5-crypt.c (md5_crypt_r): Add missing parens around &
4757	within comparison.  Fix comments.
4758	(md5_crypt): Fix comment.
4759
4760Tue Oct  8 05:10:49 1996  Ulrich Drepper  <drepper@cygnus.com>
4761
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.
4767
4768Mon Oct  7 13:54:04 1996  Ulrich Drepper  <drepper@cygnus.com>
4769
4770	* libio/iofgets.c (_IO_fgets): Use _IO_flockfile instead of
4771	__flockfile.
4772
4773Mon Oct  7 11:01:45 1996  Andreas Jaeger  <aj@arthur.pfalz.de>
4774
4775	* string/tst-strlen.c (main): Provide prototype.
4776	* malloc/mallocbug.c: Likewise.
4777	* io/test-utime.c: Likewise.
4778
4779	* sysdeps/generic/crypt-entry.c: Correct typo.
4780
4781Mon Oct  7 13:42:20 1996  Ulrich Drepper  <drepper@cygnus.com>
4782
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>.
4786
4787	* nss/nss_files/files-parse.c: Define LOOKUP_NAME even if
4788	EXTERN_PARSER is defined.
4789
4790Sat Oct  5 17:05:36 1996  Andreas Jaeger  <aj@arthur.pfalz.de>
4791
4792	* Rules (dep-dummy-lib): Correct prototype for __dummy__.
4793
4794	* crypt/md5-crypt.c: Fix typos in comments.
4795
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.
4815
4816	* stdio-common/scanf4.c (main): Correct prototype, remove unused
4817	variable n.
4818
4819	* stdio-common/scanf3.c (main): Correct prototype, change
4820	declaration of s to reduce warnings.
4821	* stdio-common/bug10.c (main): Likewise.
4822
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.
4826
4827	* stdio-common/test_rdwr.c (main): Parameter `where' is long in
4828	printf call.
4829
4830Mon Oct  7 14:04:26 1996  NIIBE Yutaka  <gniibe@mri.co.jp>
4831
4832	* sysdeps/unix/sysv/linux/sys/soundcard.h: Fix typo.
4833
4834	* shadow/putspent.c: Don't write colon after flag field.
4835
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.
4841
4842Mon Oct  7 00:58:19 1996  Ulrich Drepper  <drepper@cygnus.com>
4843
4844	* sysdeps/i386/i586/strchr.S: Correct handling of first bytes to
4845	get pointer aligned.  Reported by Matthias Urlichs <smurf@noris.de>.
4846
4847	* sysdeps/posix/euidaccess.c [_LIBC]: Avoid calling get?id functions
4848	by using __libc_enable_secure variable.
4849
4850Tue Oct  8 13:58:31 1996  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
4851
4852	* hurd/ports-get.c (_hurd_ports_get): If the requested port is
4853	null, don't attempt mach_port_mod_refs.
4854
4855Mon Oct  7 14:51:52 1996  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
4856
4857	* sysdeps/mach/hurd/pipestream.c: New file to avoid use of
4858	sysdeps/unix/pipestream.c.
4859
4860	* sysdeps/mach/hurd/readdir_r.c: New file, guts copied entirely
4861	from sysdeps/mach/hurd/readdir.c.
4862
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.
5127
5128Thu Oct  3 13:33:31 1996  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
5129
5130	* sysdeps/generic/gnu/types.h: Added __loff_t.
5131	Don't declare key_t here.
5132
5133	* hurd/alloc-fd.c (_hurd_alloc_fd): If realloc fails, bother to
5134	set errno (to ENOMEM).
5135
5136Wed Oct  2 13:41:48 1996  Ulrich Drepper  <drepper@cygnus.com>
5137
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.
5142
5143Mon Sep 30 22:27:36 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5144
5145	* sysdeps/posix/tempname.c (__stdio_gen_tempname): Don't declare
5146	`i' as const.
5147
5148Mon Sep 30 22:38:29 1996  Richard Henderson  <rth@tamu.edu>
5149
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.
5153
5154Tue Oct  1 09:12:21 1996  Ulrich Drepper  <drepper@cygnus.com>
5155
5156	* locale/programs/ld-time.c: Always write some bytes at the end of
5157	the file even if no `era's are specified.
5158
5159	* stdio-common/tmpname.c (tmpbuf): Don't define as array of
5160	pointers.
5161
5162Tue Oct  1 01:43:11 1996  Ulrich Drepper  <drepper@cygnus.com>
5163
5164	* libio/iofclose.c: Move unlocking to right position.
5165
5166Mon Sep 30 03:08:34 1996  Richard Henderson  <rth@tamu.edu>
5167
5168	* misc/Makefile: Kill force-wrapper.
5169	* misc/force-wrapper.c: Delete.
5170
5171	* elf/eval.c: Add <string.h>.
5172
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.
5183
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.
5187
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.
5196
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.
5212
5213	* locale/programs/ld-ctype.c: Include <alloca.h>.
5214
5215	* login/login_tty.c: Get login_tty prototype from <utmp.h>.
5216
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.
5220
5221	* pwd/getpw.c: Prototype and rename getpw -> __getpw and add a
5222	weak alias.
5223
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.
5227
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.
5235
5236	* string/tester.c: Tsk, tsk.  Don't cast pointers to int,
5237	but to unsigned long for the health of 64-bit systems.
5238
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.
5241
5242	* sysdeps/generic/dl-cache.c: Kill the bottom half of the
5243	patch doubled file.
5244
5245	* sysdeps/generic/pty.c (forkpty): Get login_tty decl from <utmp.h>
5246	instead of defining it locally.
5247
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.
5252
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.
5256
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.
5260
5261Sun Sep 29 14:41:17 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5262
5263	* sysdeps/unix/Makefile ($(common-objpfx)s-proto.d): Make it a
5264	pattern rule to get the right stem.
5265
5266Sat Sep 28 01:30:06 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5267
5268	* Makefile ($(objpfx)version-info.h): Fix typo in previous change.
5269
5270Sat Sep 28 00:44:38 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5271
5272	* sysdeps/posix/euidaccess.c (__set_errno): Fix typo.
5273
5274Sat Sep 28 00:40:38 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5275
5276	* malloc/free.c (_free_internal): Don't call free recursively, use
5277	the internal functions instead.
5278
5279Sat Sep 28 00:23:20 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5280
5281	* sysdeps/posix/tempname.c (__stdio_gen_tempname) [USE_IN_LIBIO &&
5282	_IO_MTSAFE_IO]: Allocate and initialize the file lock.
5283
5284Fri Sep 27 23:58:17 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5285
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.
5291
5292Mon Sep 30 00:14:26 1996  Ulrich Drepper  <drepper@cygnus.com>
5293
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.
5318
5319	* nss/nss_db/db-XXX.c: Use `enum nss_status' type when status
5320	value is used.
5321
5322Sun Sep 29 12:55:58 1996  Ulrich Drepper  <drepper@cygnus.com>
5323
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>.
5327
5328Sun Sep 29 05:34:32 1996  Ulrich Drepper  <drepper@cygnus.com>
5329
5330	* inet/rcmd.c: Remove definition of MIN.
5331
5332Sat Sep 28 14:22:51 1996  Ulrich Drepper  <drepper@cygnus.com>
5333
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.
5339
5340	* sysdeps/gnu/errlist.awk: Define _sys_errlist as `const char* const'.
5341	Proposed by Per Abrahamsen <abraham@dina.kvl.dk>.
5342
5343Sat Sep 28 03:02:49 1996  Ulrich Drepper  <drepper@cygnus.com>
5344
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.
5348
5349	* misc/hsearch_r.c (ENTRY): Make field `used' of type `unsigned int'
5350	to prevent warnings.
5351
5352	* sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path):
5353	Initialize `result'.
5354
5355Sat Sep 28 01:16:42 1996  Ulrich Drepper  <drepper@cygnus.com>
5356
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.
5362
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.
5369
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.
5373
5374	* sysdeps/unix/nlist.c: Use ISO C definition since we don't always
5375	have prototype.
5376
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.
5381
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.
5385
5386	* locale/programs/ld-time.c (time_output): Write `era' information
5387	in correct order.
5388
5389Sat Sep 28 00:11:08 1996  Ulrich Drepper  <drepper@cygnus.com>
5390
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>.
5396
53971996-09-27  Paul Eggert  <eggert@twinsun.com>
5398
5399	* strftime.c (strftime): Output incomplete formats like %E
5400	at end of string.
5401
54021996-09-27  Paul Eggert  <eggert@twinsun.com>
5403
5404	* strftime.c (strftime): Add support for %EC and %Ey.
5405	Fix support for %EY.  This uses the new _nl_get_era_entry function.
5406
5407Fri Sep 27 14:12:27 1996  Ulrich Drepper  <drepper@cygnus.com>
5408
5409	Security related patch by Elliot Lee <sopwith@redhat.com> and
5410	David Holland <dholland@eecs.harvard.edu>.
5411
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.
5414
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.
5419
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.
5450
5451	* inet/rcmd.c: Fixed address length handling.
5452
5453	* sysdeps/posix/mk-stdiolim.c: Count final \0 byte in L_tmpnam value.
5454
5455	* time/strftime.c: Remove unused variables alt_digits and
5456	end_alt_digits.
5457
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.
5461
5462	* stdlib/test-canon.c: Finally do the right fix.
5463
5464	* misc/Makefile: Only compile force-wrapper when compiling
5465	reentrant libc.
5466
5467Fri Sep 27 03:49:56 1996  Ulrich Drepper  <drepper@cygnus.com>
5468
5469	Add support for cancelable system calls.
5470
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.
5475
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.
5522	Reported by Martin von Löwis <martin@mira.isdn.cs.tu-berlin.de>.
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.
5608	* io/ftw.c (ftw_dir): Likewise.
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.
5741	* sysdeps/posix/ttyname.c: Likewise.
5742	* sysdeps/posix/ttyname_r.c: Likewise.
5743	* sysdeps/posix/wait3.c: Likewise.
5744	* sysdeps/standalone/close.c: Likewise.
5745	* sysdeps/standalone/open.c: Likewise.
5746	* sysdeps/standalone/read.c: Likewise.
5747	* sysdeps/standalone/write.c: Likewise.
5748	* sysdeps/stub/__longjmp.c: Likewise.
5749	* sysdeps/stub/accept.c: Likewise.
5750	* sysdeps/stub/access.c: Likewise.
5751	* sysdeps/stub/acct.c: Likewise.
5752	* sysdeps/stub/adjtime.c: Likewise.
5753	* sysdeps/stub/alarm.c: Likewise.
5754	* sysdeps/stub/bind.c: Likewise.
5755	* sysdeps/stub/brk.c: Likewise.
5756	* sysdeps/stub/chdir.c: Likewise.
5757	* sysdeps/stub/chflags.c: Likewise.
5758	* sysdeps/stub/chmod.c: Likewise.
5759	* sysdeps/stub/chown.c: Likewise.
5760	* sysdeps/stub/chroot.c: Likewise.
5761	* sysdeps/stub/clock.c: Likewise.
5762	* sysdeps/stub/close.c: Likewise.
5763	* sysdeps/stub/closedir.c: Likewise.
5764	* sysdeps/stub/connect.c: Likewise.
5765	* sysdeps/stub/ctermid.c: Likewise.
5766	* sysdeps/stub/cuserid.c: Likewise.
5767	* sysdeps/stub/dirfd.c: Likewise.
5768	* sysdeps/stub/dup.c: Likewise.
5769	* sysdeps/stub/dup2.c: Likewise.
5770	* sysdeps/stub/euidaccess.c: Likewise.
5771	* sysdeps/stub/execve.c: Likewise.
5772	* sysdeps/stub/fchdir.c: Likewise.
5773	* sysdeps/stub/fchflags.c: Likewise.
5774	* sysdeps/stub/fchmod.c: Likewise.
5775	* sysdeps/stub/fchown.c: Likewise.
5776	* sysdeps/stub/fcntl.c: Likewise.
5777	* sysdeps/stub/fdopen.c: Likewise.
5778	* sysdeps/stub/fexecve.c: Likewise.
5779	* sysdeps/stub/flock.c: Likewise.
5780	* sysdeps/stub/fork.c: Likewise.
5781	* sysdeps/stub/fpathconf.c: Likewise.
5782	* sysdeps/stub/fstatfs.c: Likewise.
5783	* sysdeps/stub/fsync.c: Likewise.
5784	* sysdeps/stub/ftruncate.c: Likewise.
5785	* sysdeps/stub/fxstat.c: Likewise.
5786	* sysdeps/stub/getcwd.c: Likewise.
5787	* sysdeps/stub/getdents.c: Likewise.
5788	* sysdeps/stub/getdomain.c: Likewise.
5789	* sysdeps/stub/getdtsz.c: Likewise.
5790	* sysdeps/stub/getegid.c: Likewise.
5791	* sysdeps/stub/getenv.c: Likewise.
5792	* sysdeps/stub/geteuid.c: Likewise.
5793	* sysdeps/stub/getgid.c: Likewise.
5794	* sysdeps/stub/getgroups.c: Likewise.
5795	* sysdeps/stub/gethostid.c: Likewise.
5796	* sysdeps/stub/gethostname.c: Likewise.
5797	* sysdeps/stub/getitimer.c: Likewise.
5798	* sysdeps/stub/getlogin.c: Likewise.
5799	* sysdeps/stub/getlogin_r.c: Likewise.
5800	* sysdeps/stub/getpagesize.c: Likewise.
5801	* sysdeps/stub/getpeername.c: Likewise.
5802	* sysdeps/stub/getpid.c: Likewise.
5803	* sysdeps/stub/getppid.c: Likewise.
5804	* sysdeps/stub/getpriority.c: Likewise.
5805	* sysdeps/stub/getrlimit.c: Likewise.
5806	* sysdeps/stub/getrusage.c: Likewise.
5807	* sysdeps/stub/getsid.c: Likewise.
5808	* sysdeps/stub/getsockname.c: Likewise.
5809	* sysdeps/stub/getsockopt.c: Likewise.
5810	* sysdeps/stub/getsysstats.c: Likewise.
5811	* sysdeps/stub/gettimeofday.c: Likewise.
5812	* sysdeps/stub/getuid.c: Likewise.
5813	* sysdeps/stub/gtty.c: Likewise.
5814	* sysdeps/stub/ioctl.c: Likewise.
5815	* sysdeps/stub/isatty.c: Likewise.
5816	* sysdeps/stub/isfdtype.c: Likewise.
5817	* sysdeps/stub/kill.c: Likewise.
5818	* sysdeps/stub/killpg.c: Likewise.
5819	* sysdeps/stub/link.c: Likewise.
5820	* sysdeps/stub/listen.c: Likewise.
5821	* sysdeps/stub/lseek.c: Likewise.
5822	* sysdeps/stub/lxstat.c: Likewise.
5823	* sysdeps/stub/madvice.c: Likewise.
5824	* sysdeps/stub/mkdir.c: Likewise.
5825	* sysdeps/stub/mkfifo.c: Likewise.
5826	* sysdeps/stub/mkstemp.c: Likewise.
5827	* sysdeps/stub/mktemp.c: Likewise.
5828	* sysdeps/stub/mmap.c: Likewise.
5829	* sysdeps/stub/morecore.c: Likewise.
5830	* sysdeps/stub/mprotect.c: Likewise.
5831	* sysdeps/stub/msgctl.c: Likewise.
5832	* sysdeps/stub/msgget.c: Likewise.
5833	* sysdeps/stub/msgrcv.c: Likewise.
5834	* sysdeps/stub/msgsnd.c: Likewise.
5835	* sysdeps/stub/msync.c: Likewise.
5836	* sysdeps/stub/munmap.c: Likewise.
5837	* sysdeps/stub/nanosleep.c: Likewise.
5838	* sysdeps/stub/nice.c: Likewise.
5839	* sysdeps/stub/nlist.c: Likewise.
5840	* sysdeps/stub/open.c: Likewise.
5841	* sysdeps/stub/opendir.c: Likewise.
5842	* sysdeps/stub/pathconf.c: Likewise.
5843	* sysdeps/stub/pause.c: Likewise.
5844	* sysdeps/stub/pipe.c: Likewise.
5845	* sysdeps/stub/pipestream.c: Likewise.
5846	* sysdeps/stub/poll.c: Likewise.
5847	* sysdeps/stub/profil.c: Likewise.
5848	* sysdeps/stub/ptrace.c: Likewise.
5849	* sysdeps/stub/putenv.c: Likewise.
5850	* sysdeps/stub/raise.c: Likewise.
5851	* sysdeps/stub/read.c: Likewise.
5852	* sysdeps/stub/readdir.c: Likewise.
5853	* sysdeps/stub/readlink.c: Likewise.
5854	* sysdeps/stub/readv.c: Likewise.
5855	* sysdeps/stub/reboot.c: Likewise.
5856	* sysdeps/stub/recv.c: Likewise.
5857	* sysdeps/stub/recvfrom.c: Likewise.
5858	* sysdeps/stub/recvmsg.c: Likewise.
5859	* sysdeps/stub/remove.c: Likewise.
5860	* sysdeps/stub/rename.c: Likewise.
5861	* sysdeps/stub/revoke.c: Likewise.
5862	* sysdeps/stub/rewinddir.c: Likewise.
5863	* sysdeps/stub/rmdir.c: Likewise.
5864	* sysdeps/stub/sbrk.c: Likewise.
5865	* sysdeps/stub/sched_getp.c: Likewise.
5866	* sysdeps/stub/sched_gets.c: Likewise.
5867	* sysdeps/stub/sched_primax.c: Likewise.
5868	* sysdeps/stub/sched_primin.c: Likewise.
5869	* sysdeps/stub/sched_rr_gi.c: Likewise.
5870	* sysdeps/stub/sched_setp.c: Likewise.
5871	* sysdeps/stub/sched_sets.c: Likewise.
5872	* sysdeps/stub/sched_yield.c: Likewise.
5873	* sysdeps/stub/seekdir.c: Likewise.
5874	* sysdeps/stub/select.c: Likewise.
5875	* sysdeps/stub/semctl.c: Likewise.
5876	* sysdeps/stub/semget.c: Likewise.
5877	* sysdeps/stub/semop.c: Likewise.
5878	* sysdeps/stub/send.c: Likewise.
5879	* sysdeps/stub/sendmsg.c: Likewise.
5880	* sysdeps/stub/sendto.c: Likewise.
5881	* sysdeps/stub/setdomain.c: Likewise.
5882	* sysdeps/stub/setegid.c: Likewise.
5883	* sysdeps/stub/setenv.c: Likewise.
5884	* sysdeps/stub/seteuid.c: Likewise.
5885	* sysdeps/stub/setgid.c: Likewise.
5886	* sysdeps/stub/setgroups.c: Likewise.
5887	* sysdeps/stub/sethostid.c: Likewise.
5888	* sysdeps/stub/sethostname.c: Likewise.
5889	* sysdeps/stub/setitimer.c: Likewise.
5890	* sysdeps/stub/setjmp.c: Likewise.
5891	* sysdeps/stub/setlogin.c: Likewise.
5892	* sysdeps/stub/setpgid.c: Likewise.
5893	* sysdeps/stub/setpriority.c: Likewise.
5894	* sysdeps/stub/setregid.c: Likewise.
5895	* sysdeps/stub/setreuid.c: Likewise.
5896	* sysdeps/stub/setrlimit.c: Likewise.
5897	* sysdeps/stub/setsid.c: Likewise.
5898	* sysdeps/stub/setsockopt.c: Likewise.
5899	* sysdeps/stub/settimeofday.c: Likewise.
5900	* sysdeps/stub/setuid.c: Likewise.
5901	* sysdeps/stub/shmat.c: Likewise.
5902	* sysdeps/stub/shmctl.c: Likewise.
5903	* sysdeps/stub/shmdt.c: Likewise.
5904	* sysdeps/stub/shmget.c: Likewise.
5905	* sysdeps/stub/shutdown.c: Likewise.
5906	* sysdeps/stub/sigaction.c: Likewise.
5907	* sysdeps/stub/sigaltstack.c: Likewise.
5908	* sysdeps/stub/sigblock.c: Likewise.
5909	* sysdeps/stub/sigintr.c: Likewise.
5910	* sysdeps/stub/signal.c: Likewise.
5911	* sysdeps/stub/sigpause.c: Likewise.
5912	* sysdeps/stub/sigpending.c: Likewise.
5913	* sysdeps/stub/sigprocmask.c: Likewise.
5914	* sysdeps/stub/sigreturn.c: Likewise.
5915	* sysdeps/stub/sigsetmask.c: Likewise.
5916	* sysdeps/stub/sigstack.c: Likewise.
5917	* sysdeps/stub/sigsuspend.c: Likewise.
5918	* sysdeps/stub/sigvec.c: Likewise.
5919	* sysdeps/stub/sleep.c: Likewise.
5920	* sysdeps/stub/socket.c: Likewise.
5921	* sysdeps/stub/socketpair.c: Likewise.
5922	* sysdeps/stub/sstk.c: Likewise.
5923	* sysdeps/stub/statfs.c: Likewise.
5924	* sysdeps/stub/stime.c: Likewise.
5925	* sysdeps/stub/stty.c: Likewise.
5926	* sysdeps/stub/swapoff.c: Likewise.
5927	* sysdeps/stub/swapon.c: Likewise.
5928	* sysdeps/stub/symlink.c: Likewise.
5929	* sysdeps/stub/sync.c: Likewise.
5930	* sysdeps/stub/syscall.c: Likewise.
5931	* sysdeps/stub/sysconf.c: Likewise.
5932	* sysdeps/stub/sysd-stdio.c: Likewise.
5933	* sysdeps/stub/system.c: Likewise.
5934	* sysdeps/stub/tcdrain.c: Likewise.
5935	* sysdeps/stub/tcflow.c: Likewise.
5936	* sysdeps/stub/tcflush.c: Likewise.
5937	* sysdeps/stub/tcgetattr.c: Likewise.
5938	* sysdeps/stub/tcgetpgrp.c: Likewise.
5939	* sysdeps/stub/tcsendbrk.c: Likewise.
5940	* sysdeps/stub/tcsetattr.c: Likewise.
5941	* sysdeps/stub/tcsetpgrp.c: Likewise.
5942	* sysdeps/stub/telldir.c: Likewise.
5943	* sysdeps/stub/tempname.c: Likewise.
5944	* sysdeps/stub/time.c: Likewise.
5945	* sysdeps/stub/times.c: Likewise.
5946	* sysdeps/stub/truncate.c: Likewise.
5947	* sysdeps/stub/ttyname.c: Likewise.
5948	* sysdeps/stub/ttyname_r.c: Likewise.
5949	* sysdeps/stub/ualarm.c: Likewise.
5950	* sysdeps/stub/ulimit.c: Likewise.
5951	* sysdeps/stub/umask.c: Likewise.
5952	* sysdeps/stub/unlink.c: Likewise.
5953	* sysdeps/stub/usleep.c: Likewise.
5954	* sysdeps/stub/ustat.c: Likewise.
5955	* sysdeps/stub/utime.c: Likewise.
5956	* sysdeps/stub/utimes.c: Likewise.
5957	* sysdeps/stub/vhangup.c: Likewise.
5958	* sysdeps/stub/wait.c: Likewise.
5959	* sysdeps/stub/wait3.c: Likewise.
5960	* sysdeps/stub/wait4.c: Likewise.
5961	* sysdeps/stub/waitpid.c: Likewise.
5962	* sysdeps/stub/write.c: Likewise.
5963	* sysdeps/stub/writev.c: Likewise.
5964	* sysdeps/stub/xmknod.c: Likewise.
5965	* sysdeps/stub/xstat.c: Likewise.
5966	* sysdeps/unix/closedir.c: Likewise.
5967	* sysdeps/unix/fxstat.c: Likewise.
5968	* sysdeps/unix/getlogin.c: Likewise.
5969	* sysdeps/unix/getlogin_r.c: Likewise.
5970	* sysdeps/unix/mkdir.c: Likewise.
5971	* sysdeps/unix/nice.c: Likewise.
5972	* sysdeps/unix/nlist.c: Likewise.
5973	* sysdeps/unix/opendir.c: Likewise.
5974	* sysdeps/unix/readdir.c: Likewise.
5975	* sysdeps/unix/rmdir.c: Likewise.
5976	* sysdeps/unix/stime.c: Likewise.
5977	* sysdeps/unix/xmknod.c: Likewise.
5978	* sysdeps/unix/xstat.c: Likewise.
5979	* sysdeps/unix/bsd/isatty.c: Likewise.
5980	* sysdeps/unix/bsd/setegid.c: Likewise.
5981	* sysdeps/unix/bsd/seteuid.c: Likewise.
5982	* sysdeps/unix/bsd/setsid.c: Likewise.
5983	* sysdeps/unix/bsd/sigaction.c: Likewise.
5984	* sysdeps/unix/bsd/sigprocmask.c: Likewise.
5985	* sysdeps/unix/bsd/sigsuspend.c: Likewise.
5986	* sysdeps/unix/bsd/tcflow.c: Likewise.
5987	* sysdeps/unix/bsd/tcflush.c: Likewise.
5988	* sysdeps/unix/bsd/tcgetattr.c: Likewise.
5989	* sysdeps/unix/bsd/tcsetattr.c: Likewise.
5990	* sysdeps/unix/bsd/times.c: Likewise.
5991	* sysdeps/unix/bsd/ulimit.c: Likewise.
5992	* sysdeps/unix/common/lxstat.c: Likewise.
5993	* sysdeps/unix/common/tcsendbrk.c: Likewise.
5994	* sysdeps/unix/sysv/setrlimit.c: Likewise.
5995	* sysdeps/unix/sysv/settimeofday.c: Likewise.
5996	* sysdeps/unix/sysv/sigaction.c: Likewise.
5997	* sysdeps/unix/sysv/tcflow.c: Likewise.
5998	* sysdeps/unix/sysv/tcflush.c: Likewise.
5999	* sysdeps/unix/sysv/tcgetattr.c: Likewise.
6000	* sysdeps/unix/sysv/tcsendbrk.c: Likewise.
6001	* sysdeps/unix/sysv/tcsetattr.c: Likewise.
6002	* sysdeps/unix/bsd/ultrix4/sysconf.c: Likewise.
6003	* sysdeps/unix/sysv/irix4/getpriority.c: Likewise.
6004	* sysdeps/unix/sysv/irix4/setpriority.c: Likewise.
6005	* sysdeps/unix/sysv/linux/adjtime.c: Likewise.
6006	* sysdeps/unix/sysv/linux/gethostid.c: Likewise.
6007	* sysdeps/unix/sysv/linux/gethostname.c: Likewise.
6008	* sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
6009	* sysdeps/unix/sysv/linux/ptrace.c: Likewise.
6010	* sysdeps/unix/sysv/linux/speed.c: Likewise.
6011	* sysdeps/unix/sysv/linux/ulimit.c: Likewise.
6012	* sysdeps/unix/sysv/sysv4/sigaction.c: Likewise.
6013	* sysdeps/unix/sysv/sysv4/sysconf.c: Likewise.
6014	* sysdeps/unix/bsd/sun/m68k/sigtramp.c: Likewise.
6015	* sysdeps/unix/bsd/sun/sparc/sigtramp.c: Likewise.
6016	* sysdeps/unix/bsd/sun/sunos4/speed.c: Likewise.
6017	* sysdeps/unix/bsd/sun/sunos4/tcsetattr.c: Likewise.
6018	* sysdeps/unix/sysv/linux/alpha/ioperm.c: Likewise.
6019	* sysdeps/unix/sysv/linux/i386/brk.c: Likewise.
6020	* sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
6021	* sysdeps/unix/sysv/linux/m68k/brk.c: Likewise.
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.
6032
6033	* sysdeps/generic/strtok.c: Don't check argument, just crash.
6034	* sysdeps/generic/strtok_r.c: Likewise.
6035
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.
6044
6045Mon Sep 23 17:54:57 1996  Ulrich Drepper  <drepper@cygnus.com>
6046
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.
6052
6053	* sysdeps/i386/fpu/__math.h (tan): Make sure gcc knows we use
6054	two registers.  Patch by John Bowman.
6055
6056Sat Sep 21 15:08:25 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6057
6058	* sysdeps/mach/libc-lock.h: Fix comment.
6059	* sysdeps/stubs/libc-lock.h: Likewise.
6060
6061Sat Sep 21 13:50:40 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6062
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.
6067
6068Sat Sep 21 14:35:40 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6069
6070	* sysdeps/unix/sysv/linux/m68k/sysdep.h (SYSCALL_ERROR_HANDLER)
6071	[_LIBC_REENTRANT]: Add missing semicolon.
6072
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.
6076
6077Sat Sep 21 14:33:41 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6078
6079	* libio/Makefile: Make `all' the default target.
6080	* po/Makefile: Likewise.
6081
6082Mon Sep 23 15:49:47 1996  Ulrich Drepper  <drepper@cygnus.com>
6083
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.
6089
6090Mon Sep 23 03:00:10 1996  Ulrich Drepper  <drepper@cygnus.com>
6091
6092	* shadow/sgetspent_r.c (LINE_PARSER): Accept empty 9th field.
6093	Patch by NIIBE Yutaka <gniibe@mri.co.jp>.
6094
6095	* shadow/sgetspent_r.c (LINE_PARSER): Don't accept any chars after
6096	9th field.
6097
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>.
6106
6107Thu Sep 26 13:44:29 1996  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
6108
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.
6114
6115Mon Sep 23 15:31:04 1996  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
6116
6117	* hurd/Makefile ($(includedir)/rpc/netdb.h): There is no make
6118	variable `top_srcdir' in libc; use $(..) instead.
6119
6120	* sysdeps/mach/hurd/Makefile (rtld-installed-name): Delete special
6121	definition.  It was a *Mistake*.  (With a capital M.)
6122
6123	* sysdeps/mach/getsysstats.c (__get_nprocs): Renamed from
6124	__get_nproc.
6125	(__get_nprocs_conf): Renamed from __get_nproc_conf.
6126
6127Sun Sep 22 15:18:41 1996  Ulrich Drepper  <drepper@cygnus.com>
6128
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.
6132
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.
6138
6139Sat Sep 21 23:42:39 1996  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
6140
6141	* sysdeps/mach/getsysstats.c: Include <sys/sysinfo.h>.
6142	(__get_nproc_conf): New function.
6143
6144Sun Sep 22 03:40:52 1996  Ulrich Drepper  <drepper@cygnus.com>
6145
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.
6263
6264	* sysdeps/posix/cuserid.h: Remove prototype for geteuid().
6265	De-ANSI-fy.
6266
6267	* MakeTAGS ($P/libc.pot): Generate correctly formed header.
6268	* po/header.pot: Correct title line.
6269	* po/nl.po: Update.
6270
6271Thu Sep 19 18:59:55 1996  Ulrich Drepper  <drepper@cygnus.com>
6272
6273	* Makeconfig (soversions.mk): Prefer shared lib version numbers
6274	is add ons over version in libc itself.
6275
6276	* sysdeps/unix/sysv/linux/i386/sysdep.S: Include <sysdep.h>.
6277	* sysdeps/unix/sysv/linux/i386/sysdep.h: Prevent multiple
6278	inclusion.
6279
6280	* libio/iofgets.c: Use __flockfile and __funlockfile instead of
6281	_IO_flockfile and _IO_funlockfile resp.
6282
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.
6288
6289	* malloc/memalign.c: Don't use goto, not necessary anymore.
6290
62911996-09-18  Paul Eggert  <eggert@twinsun.com>
6292
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.
6297
6298Tue Sep 17 16:14:34 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6299
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.
6305
6306Wed Sep 18 00:25:41 1996  Ulrich Drepper  <drepper@cygnus.com>
6307
6308	* time/strftime.c (strftime): The T_FMT_AMPM string may be empty.
6309
6310Tue Sep 17 20:27:18 1996  Ulrich Drepper  <drepper@cygnus.com>
6311
6312	* math/Makefile (extra-libs-others): Use $(extra-libs) instead
6313	of $(extra-libc).
6314
6315Tue Sep 17 17:09:44 1996  Ulrich Drepper  <drepper@cygnus.com>
6316
6317	* sysdeps/stub/fpu_control.h: Correct end of file comment.
6318
6319Tue Sep 17 05:39:18 1996  Ulrich Drepper  <drepper@cygnus.com>
6320
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.
6325
6326	* stdio-common/bug5.c: Create string for `system' argument to
6327	make sure the input and output file names are really correct.
6328
6329Sun Sep 15 12:46:44 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6330
6331	* configure.in: If $os contains a hyphen add the part before the
6332	hyphen to $ostry.
6333
6334Sun Sep 15 18:14:02 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6335
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.
6428
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.
6434
6435Thu Sep 12 19:59:24 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6436
6437	* sysdeps/libm-ieee754/e_acoshl.c: Fix typos.
6438	* sysdeps/libm-ieee754/s_cbrtl.c: Remove unused variable.
6439
6440Thu Sep 12 19:59:24 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6441
6442	* sysdeps/libm-ieee754/e_acoshl.c: Fix typos.
6443	* sysdeps/libm-ieee754/s_cbrtl.c: Remove unused variable.
6444
6445Thu Sep 12 19:56:07 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6446
6447	* inet/herrno.c (__h_errno_location): Fix return type.
6448
6449Thu Sep 19 23:36:19 1996  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
6450
6451	* hurd/hurdinit.c (__libc_argv): Provide common decl.
6452	(_hurd_setproc): Don't declare __libc_argv here.
6453
6454Tue Sep 17 10:51:58 1996  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
6455
6456	* malloc/memalign.c (memalign): Only acquire __libc_malloc_lock
6457	for actual modifications to global state.
6458
6459Fri Sep 13 01:21:36 1996  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
6460
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.
6464
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.
6471
6472Thu Sep 12 23:58:25 1996  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
6473
6474	* sysdeps/mach/libc-lock.h (__libc_cleanup_region_start): Fix
6475	syntax error.
6476
6477	* stdio-common/Makefile: Put lockfile in routines
6478	unconditionally.
6479	Define _MT_SAFE_IO if using for libio and compiling reentrant
6480	libc.
6481
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.
6488
6489Fri Sep 13 04:33:08 1996  Ulrich Drepper  <drepper@cygnus.com>
6490
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.
6494
6495Thu Sep 12 20:12:40 1996  Ulrich Drepper  <drepper@cygnus.com>
6496
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.
6502
65031996-09-12  Paul Eggert  <eggert@twinsun.com>
6504
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.
6508
6509Thu Sep 12 14:03:29 1996  Ulrich Drepper  <drepper@cygnus.com>
6510
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.
6515
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.
6519
6520Thu Sep 12 12:33:52 1996  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
6521
6522	* sysdeps/mach/hurd/dl-cache.c: Delete second copy of file
6523	accidentally added on.
6524
6525	* sysdeps/stub/intr-msg.h: New file.
6526
6527	* stdio-common/vfprintf.c: Include <libc-lock.h>.
6528	* stdio-common/vfscanf.c: Include <libc-lock.h>.
6529
6530	* sysdeps/mach/libc-lock.h (__libc_cleanup_region_start): New
6531	macro.
6532	(__libc_cleanup_region_end): New macro.
6533
6534Thu Sep 12 03:35:27 1996  Ulrich Drepper  <drepper@cygnus.com>
6535
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.
6539
65401996-09-11  Paul Eggert  <eggert@twinsun.com>
6541
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
6598	library.
6599	(common-generated): Add interp.so.
6600	(CFLAGS-interp.c): Pass name of interpreter.
6601
6602Tue Sep 10 21:09:35 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6603
6604	* db/Makefile: Fix typo.
6605
6606Tue Sep 10 19:29:53 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6607
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.
6611
6612Tue Sep 10 03:14:59 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6613
6614	* sysdeps/unix/sysv/linux/system.c: New file, to override
6615	sysdeps/unix/system.c.
6616
6617Tue Sep 10 15:05:40 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6618
6619	* Makefile (before-compile): Add version-info.h, needed to build
6620	version.d.
6621
6622Tue Sep 10 14:14:33 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6623
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.
6630
6631Tue Sep 10 13:27:49 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6632
6633	* elf/Makefile (extra-objs): Add eval.so to get dependencies.
6634
6635Wed Sep 11 04:40:57 1996  Ulrich Drepper  <drepper@cygnus.com>
6636
6637	* time/tzset.c (__tzname_cur_max): Use type `size_t' to avoid
6638	warning.
6639	* time/tzfile.c (compute_tzname_max): Likewise.
6640
6641Wed Sep 11 02:57:31 1996  Ulrich Drepper  <drepper@cygnus.com>
6642
6643	* configure.in: Quote $add_ons argument in loop to generated
6644	prefices.
6645
6646Tue Sep 10 20:43:45 1996  Ulrich Drepper  <drepper@cygnus.com>
6647
6648	* db/makedb.c: Include <locale.h>.  Reported by Fila Kolodny.
6649
6650Tue Sep 10 14:42:39 1996  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
6651
6652	* elf/dl-cache.c: Rename to ...
6653	* sysdeps/generic/dl-cache.c:  ... here.
6654	* sysdeps/mach/hurd/dl-cache.c: New file.
6655
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.
6668
6669Tue Sep 10 13:49:08 1996  Ulrich Drepper  <drepper@cygnus.com>
6670
6671	* inet/herrno.c: Initialize `h_errno' so that we can provide
6672	alias.
6673
6674	* Makefile (version-info.h): Fix typo in shell script.
6675
6676	* sysdeps/i386/i586/strlen.S: Optimize startup code a bit.
6677	* sysdeps/i386/i586/strchr.S: Likewise.
6678
6679Mon Sep  9 20:31:27 1996  Ulrich Drepper  <drepper@cygnus.com>
6680
6681	* version.c (banner): Report to bug-glibc@prep not @gnu.
6682	Reported by Andreas Jaeger.
6683
6684	* libio/stdio.h [!__USE_REENTRANT]: Don't define getc as
6685	_IO_getc_unlocked.
6686	[__USE_REENTRANT]: Don't define
6687
6688Mon Sep  9 15:59:32 1996  Ulrich Drepper  <drepper@cygnus.com>
6689
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.
6695
6696Fri Sep  6 21:23:33 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6697
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.
6704
6705	* sysdeps/m68k/fpu/k_sin.c: Remove uneeded indirection of
6706	__m81_u.
6707	* sysdeps/m68k/fpu/k_tan.c: Likewise.
6708
6709Sun Sep  1 18:01:35 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6710
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.
6728
6729Mon Sep  9 12:55:14 1996  Ulrich Drepper  <drepper@cygnus.com>
6730
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.
6734
6735Fri Sep  6 22:09:08 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6736
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.
6742
6743Fri Sep  6 22:05:32 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6744
6745	* configure.in: Remove unneeded sysnames frobbing.
6746
6747Mon Sep  9 05:29:09 1996  Ulrich Drepper  <drepper@cygnus.com>
6748
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.
6827
6828	* sysdeps/unix/sysv/linux/alpha/Dist: Add llseek.S.
6829
6830	* inet/rcmd.c (rcmd): Make messages more uniform.
6831
6832Sun Sep  8 14:15:42 1996  Ulrich Drepper  <drepper@cygnus.com>
6833
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.
6918
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.
6938
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.
6982
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.
6993
6994	* libio/feof_u.c: Undefine macro with name of function before
6995	definition of function itself.
6996
6997	* libio/ioflockfile.c: New file.  Implementation of flockfile and
6998	funlockfile.
6999
7000	* libio/putchar_u.c: Fix typo.  Use stdout instead of fp.
7001
7002	* malloc/malloc.h: Don't include <libc-lock.h> and don't declare
7003	_malloc_loc.
7004
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.
7029
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.
7035
7036	* db/Makefile (makedb): Choose dependecies based on build-shared.
7037	Patch by Andres Schwab.
7038
7039	* sysdeps/posix/sysconf.c: Don't use PTHREAD_DESTRUCTOR_ITERATIONS
7040	but _POSIX_THREAD_DESTRUCTOR_ITERATIONS.
7041
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.
7045
7046	* sysdeps/unix/sysv/linux/gnu/types.h: Add definition of `key_t'.
7047
7048Fri Sep  6 08:26:31 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7049
7050	* rpm/template: Fix typo in %build section.
7051
7052Fri Sep  6 03:31:07 1996  Ulrich Drepper  <drepper@cygnus.com>
7053
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.
7057
7058Thu Sep  5 23:01:48 1996  Ulrich Drepper  <drepper@cygnus.com>
7059
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__.
7063
7064Thu Sep  5 22:55:49 1996  Richard Henderson  <rth@tamu.edu>
7065
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.
7077
7078Thu Sep  5 21:08:44 1996  Ulrich Drepper  <drepper@cygnus.com>
7079
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.
7084
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.
7089
7090Thu Sep  5 08:58:47 1996  Richard Henderson  <rth@tamu.edu>
7091
7092	* sysdeps/alpha/elf/start.S: Make _start global again.
7093
7094Thu Sep  5 13:18:25 1996  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
7095
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.
7101
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.
7111
7112	* sysdeps/mach/hurd/sendto.c (sendto): Use prototype definition
7113	syntax.
7114
7115	* Rules (generated): Restore reference to $(generated).
7116
7117	* mach/Machrules (mig.uh, mig.__h): Don't include $(user-MIGFLAGS)
7118	here.
7119
7120	* malloc/free.c (free): __lib_malloc_lock -> __libc_malloc_lock.
7121
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.
7146
7147Wed Sep  4 01:32:21 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7148
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.
7152
7153Thu Sep  5 01:06:09 1996  Richard Henderson  <rth@tamu.edu>
7154
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'.
7166
7167Mon Sep  2 22:42:59 1996  Richard Henderson  <rth@tamu.edu>
7168
7169	* sysdeps/alpha/elf/start.S: Use weak_alias for __start
7170	instead of the hard definition.
7171
7172	* sysdeps/alpha/dl-machine.h (RTLD_START): Add type info for
7173	_start and _dl_start_user.
7174
7175	* sysdeps/unix/sysv/linux/alpha/init-first.h (SYSDEP_CALL_INIT):
7176	Make _dl_starting_up weak.  Add type info for NAME.
7177
7178Mon Sep  2 22:15:14 1996  Richard Henderson  <rth@tamu.edu>
7179
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.
7186
7187Sun Sep  1 15:41:22 1996  Richard Henderson  <rth@tamu.edu>
7188
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.
7194
7195	* sysdeps/unix/alpha/sysdep.S: Align errno.
7196
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.
7203
7204Sat Aug 31 18:14:54 1996  Richard Henderson  <rth@tamu.edu>
7205
7206	* elf/dl-close.c (_dl_close): In static executables, map->l_prev
7207	can be NULL when unloading a library.
7208
7209	* elf/dl-open.c (_dl_open): Pass __environ instead of __libc_envp
7210	to the library .init function.
7211
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.
7215
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.
7221
7222Thu Aug 29 20:26:40 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7223
7224	* sysdeps/posix/profil.c (profil): Don't clobber saved timer and
7225	signal settings when profiling was already turned on.
7226
7227	* csu/gmon-start.c (__gmon_start__) [HAVE_INITFINI]: Protect from
7228	being called twice.
7229
7230Wed Sep  4 01:31:50 1996  Ulrich Drepper  <drepper@cygnus.com>
7231
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.
7235
7236Tue Sep  3 19:04:05 1996  Ulrich Drepper  <drepper@cygnus.com>
7237
7238	* stdio-common/vfscanf.c (__vfscanf): Don't count EOF char
7239	in %c format.
7240
7241Sat Aug 31 18:10:51 1996  Ulrich Drepper  <drepper@cygnus.com>
7242
7243	* wcsmbs/wchar.h: Define prototypes for wcstoq and wcstouq only
7244	#ifdef __USE_GNU.
7245
7246Sat Aug 31 12:34:29 1996  Ulrich Drepper  <drepper@cygnus.com>
7247
7248	* version.c: Add missing newline character in banner.
7249
7250	* sysdeps/unix/sysv/linux/alpha/Dist: Correct typo.
7251	* sysdeps/unix/sysv/linux/i386/Dist: Likewise.
7252
7253Sat Aug 31 03:07:39 1996  Ulrich Drepper  <drepper@cygnus.com>
7254
7255	* intl/l10nflist.c (_nl_normalize_codeset): We convert to lower
7256	case, so don't prepend uppercase `ISO' for only numeric arg.
7257
7258Wed Sep  4 16:16:13 1996  Ulrich Drepper  <drepper@cygnus.com>
7259
7260	* sysdeps/mach/hurd/send.c (__send): De-ANSI-fy.
7261	* sysdeps/mach/hurd/sendto.c (sendto): Likewise.
7262
7263Tue Sep  3 11:16:07 1996  Thomas Bushnell/ n/BSG  <thomas@gnu.ai.mit.edu>
7264
7265	* shadow/lckpwdf.c (__ulckpwdf): Don't take address of LOCK in
7266	call to __libc_lock_lock.
7267
7268	* sysdeps/mach/hurd/send.c (__send): Declare BUF const.
7269	* sysdeps/mach/hurd/sendto.c (sendto): Likewise.
7270
7271	* sysdeps/stub/ustat.c: Include <sys/ustat.h>.
7272
7273	* misc/syslog.c (vsyslog): Fix typo (`mow_tm' -> `now_tm').
7274
7275Fri Aug 30 19:55:27 1996  Ulrich Drepper  <drepper@cygnus.com>
7276
7277	* libio/genops.c: Make _cleanup an alias of _IO_cleanup.
7278	Reported by Erik Troan.
7279
7280Fri Aug 30 15:40:04 1996  Ulrich Drepper  <drepper@cygnus.com>
7281
7282	* sysdeps/unix/sysv/linux/Dist: Add sys/procfs.h and
7283	sys/sysmacros.h.  Reported by Curtiss <1CMC3466@IBM.MTSAC.EDU>.
7284
7285Fri Aug 30 13:53:32 1996  Andreas Jaeger  <aj@arthur.pfalz.de>
7286
7287	* sysdeps/unix/mman/syscalls.list: `mmap' has 6 arguments, not 5.
7288
7289Fri Aug 30 13:01:10 1996  NIIBE Yutaka  <gniibe@mri.co.jp>
7290
7291	* sysdeps/i386/fpu/__math.h (tan): Pop 1.0 in ST to get
7292	real result.
7293
7294Fri Aug 30 03:33:33 1996  Ulrich Drepper  <drepper@cygnus.com>
7295
7296	* sysdeps/libm-ieee754/s_cbrtl.c: New file.  `long double'
7297	implementation.
7298
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.
7405
7406Thu Aug 29 00:28:08 1996  Ulrich Drepper  <drepper@cygnus.com>
7407
7408	* stdio-common/printf_fp.c (__printf_fp): Use default value '.' if
7409	`decimal' char is 0.
7410
7411	* C-numeric.c (not_available): New constant.
7412	(_nl_C_LC_NUMERIC): Use `not_available' for grouping value.
7413
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.
7418
74191996-08-28  Paul Eggert  <eggert@twinsun.com>
7420
7421	* C-messages.c (_nl_C_LC_MESSAGES): Set yesexpr to "^[yY]" and
7422	noexpr to "^[nN]"; this conforms to POSIX.2.
7423
7424	* C-time.c (_nl_C_LC_TIME): Change %d to %e in d_t_format, to
7425	conform to POSIX.2.
7426
74271996-08-28  Paul Eggert  <eggert@twinsun.com>
7428
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.
7434
7435Wed Aug 28 23:12:28 1996  Ulrich Drepper  <drepper@cygnus.com>
7436
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.
7444
7445Tue Aug 27 09:56:13 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7446
7447	* MakeTAGS ($P/subdirs.pot): Prefix all file names, not only the
7448	first one.
7449
7450Tue Aug 27 17:45:21 1996  Ulrich Drepper  <drepper@cygnus.com>
7451
7452	* Makerules: Add some test for correct version of GNU Make.
7453
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.
7456
7457	* sysdeps/generic/dl-sysdep.c: Initialize break address to
7458	avoid overwriting last page (OK, Roland).
7459
7460Tue Aug 27 16:20:37 1996  Ulrich Drepper  <drepper@cygnus.com>
7461
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.
7467
7468Tue Aug 27 15:47:04 1996  Ulrich Drepper  <drepper@cygnus.com>
7469
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'.
7474
7475	* elf/dl-load.c (_dl_map_object): Use separate variable for
7476	copied NAME to avoid `const' warning.
7477
7478	* elf/dlerror.c: Make `last_errstring' variable not const pointer.
7479
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.
7483
7484Tue Aug 27 15:40:28 1996  NIIBE Yutaka  <gniibe@mri.co.jp>
7485
7486	* posix/sys/types.h: Define loff_t.
7487	* sysdeps/unix/sysv/linux/gnu/types.h: Define __loff_t.
7488
7489Mon Aug 26 22:22:17 1996  Ulrich Drepper  <drepper@cygnus.com>
7490
7491	* io/fcntl.h: Add definition for BSD F* macros.
7492
7493	* misc/init-misc.c (__init_misc): Make static.
7494	* misc/Makefile: Pass -fkeep-inline-functions flag for init-misc.c.
7495
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.
7501
7502Mon Aug 26 17:16:48 1996  Richard Henderson  <rth@tamu.edu>
7503
7504	* sysdeps/alpha/dl-machine.h: Clear startup flag.
7505
7506Fri Aug 16 21:17:50 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7507
7508	* Makerules (o-iterator-doit): Simplify reference to autolock
7509	script.
7510
7511Sat Aug 24 15:27:41 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7512
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.
7517
7518Mon Aug 26 15:49:59 1996  Ulrich Drepper  <drepper@cygnus.com>
7519
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.
7524
7525Sun Aug 25 18:25:52 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7526
7527	* gmon/gmon.c (ERR): Don't write the terminating NUL.
7528
7529	* sysdeps/posix/profil.c (profil): Disable the profiling timer at
7530	first.
7531	(profil_count): Use 64 bit arithmethic to avoid overflow.
7532
7533	* sysdeps/generic/machine-gmon.h (MCOUNT): Fix argument order.
7534
7535Mon Aug 26 16:31:33 1996  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
7536
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).
7540
7541Mon Aug 26 13:35:16 1996  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
7542
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.
7547
7548Mon Aug 26 02:01:37 1996  Ulrich Drepper  <drepper@cygnus.com>
7549
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.
7554
7555Sun Aug 25 19:15:46 1996  Ulrich Drepper  <drepper@cygnus.com>
7556
7557	* shadow/Makefile (routines): Add lckpwdf.
7558	* shadow/lckpwdf.c: New file.
7559
7560	* sysdeps/i386/fpu_control.h (_FPU_GETCW, _FPU_SETCW): Force
7561	argument `cw' to be placed in memory.  Patch by Torbjorn Granlund.
7562
7563Sun Aug 25 12:53:37 1996  Ulrich Drepper  <drepper@cygnus.com>
7564
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.
7569
7570Sun Aug 25 01:31:33 1996  Ulrich Drepper  <drepper@cygnus.com>
7571
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.
7580
7581Sat Aug 24 03:16:47 1996  Ulrich Drepper  <drepper@cygnus.com>
7582
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.
7590
7591	* time/gmtime.c: De-ANSI-fy.
7592	* time/strftime.c: Don't call non-reentrant functions which change
7593	state.
7594
7595Wed Aug 21 10:14:59 1996  Richard Henderson  <rth@tamu.edu>
7596
7597	* elf/dl-lookup.c (_dl_lookup_symbol): Malloc the error string rather
7598	than putting it on the stack.
7599
7600Wed Aug 21 10:12:42 1996  Richard Henderson  <rth@tamu.edu>
7601
7602	* elf/rtld.c (dl_main): When looking up symbols in response to --list,
7603	don't find .plt entries.
7604
7605Mon Aug 19 23:18:12 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7606
7607	* sysdeps/m68k/dl-machine.h (RTLD_START): Optimize clearing
7608	_dl_starting_up.
7609
7610Tue Aug 20 17:42:10 1996  Miles Bader  <miles@gnu.ai.mit.edu>
7611
7612	* stdio/linewrap.c (line_wrap_stream): Initialize D->seek.
7613
7614Sat Aug 17 12:19:37 1996  David Mosberger-Tang  <davidm@azstarnet.com>
7615
7616	* login/pututline_r.c (__pututline_r): Fix handling of case where
7617	getutid_r() fails with ESRCH.  Reported by Miquel van Smoorenburg.
7618
7619Wed Aug 14 14:10:54 1996  David Mosberger-Tang  <davidm@azstarnet.com>
7620
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.
7624
7625	* sysdeps/unix/sysv/linux/sys/io.h: Enclose #include <asm/io.h>
7626	and declarations in __BEGIN_DECLS/__END_DECLS.
7627
7628Sun Aug 18 13:37:09 1996  Ulrich Drepper  <drepper@cygnus.com>
7629
7630	* err.h: New file.  Wrapper around misc/err.h.
7631
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.
7651
7652Fri Aug 16 04:59:01 1996  Ulrich Drepper  <drepper@cygnus.com>
7653
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.
7658
7659Fri Aug 16 01:24:33 1996  Ulrich Drepper  <drepper@cygnus.com>
7660
7661	* inet/ruserpass.c (userpass): Allocate buffer for .netrc file
7662	name dynamically.  Reported by Alan Cox.
7663	Uncomment warnings and mark as translatable.
7664
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.
7670
7671Thu Aug 15 18:02:51 1996  Ulrich Drepper  <drepper@cygnus.com>
7672
7673	* elf/rtld.c (dl_main): Loaded object has type lt_executable,
7674	not lt_library.
7675
7676	* misc/sys/select.h: Define fd_set using typedef, not #define.
7677	Proposed by David Mosberger-Tang.
7678
7679Thu Aug 15 12:48:21 1996  Ulrich Drepper  <drepper@cygnus.com>
7680
7681	* po/header.pot: Use real description line.
7682
7683Thu Aug 15 04:42:44 1996  Ulrich Drepper  <drepper@cygnus.com>
7684
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.
7689
7690Thu Aug 15 02:08:59 1996  Ulrich Drepper  <drepper@cygnus.com>
7691
7692	* manual/nss.texi: New file.  Document NSS.
7693	* manual/nsswitch.texi: New file.  Example configuration.
7694
7695	* manual/string.texi: Document stpncpy, strdupa, and strndupa.
7696	* manual/example/strdupa.c: New file.  Example for strdupa.
7697
7698Wed Aug 14 21:36:16 1996  Ulrich Drepper  <drepper@cygnus.com>
7699
7700	* stdlib/strtod.c (STRTOD): Correct assertion about size of
7701	wint_t and wchar_t.  Reported by David Mosberger-Tang.
7702
7703Mon Aug 12 22:40:16 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7704
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.
7724
7725Wed Aug 14 17:57:08 1996  Ulrich Drepper  <drepper@cygnus.com>
7726
7727	* MakeTAGS: Clean up use of --omit-header and -n for xgettext.
7728	* po/header.pot: Add empty line at end.
7729
7730Sun Aug 11 13:45:33 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7731
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.
7735
7736Mon Aug 12 19:25:03 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7737
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.
7741
7742Wed Aug 14 13:20:02 1996  Ulrich Drepper  <drepper@cygnus.com>
7743
7744	* sysdeps/unix/sysv/linux/i386/close.S: Push return value of thread
7745	on stack as argument for `_exit'.  Reported by Andreas Schwab.
7746
7747Mon Aug 12 19:36:25 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7748
7749	* sysdeps/unix/sysv/linux/m68k/clone.S: New file.
7750
7751Wed Aug 14 04:22:35 1996  Richard Henderson  <rth@tamu.edu>
7752
7753	* elf/dl-load.c (_dl_map_object): Save name in malloced memory.
7754	(_dl_map_object_from_fd): Free name on error.
7755
7756Wed Aug 14 13:00:09 1996  Ulrich Drepper  <drepper@cygnus.com>
7757
7758	* string/strdup.c: Use result of memcpy to avoid reloading.
7759
7760Tue Aug 13 00:55:03 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7761
7762	* shadow/sgetspent_r.c (__sgetspent_r): Copy string to buffer, not
7763	the other way round.
7764
7765Tue Aug 13 20:51:21 1996  Ulrich Drepper  <drepper@cygnus.com>
7766
7767	* stdlib/canonicalize.c (canonicalize): Add cast to prevent
7768	warning.
7769
7770	* Makerules (o-iterator-doit): Use autolock.sh when running ranlib.
7771
7772Tue Aug 13 18:26:45 1996  Ulrich Drepper  <drepper@cygnus.com>
7773
7774	* nss/nsswitch.c (__nss_configure_lookup): Use fact that list is
7775	sorted.
7776
7777	Update from bind-4.9.5-T1A.
7778	* resolv/Makefile (libresolv-routines): Add base64, inet_net_ntop,
7779	inet_net_pton, inet_net.
7780
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.
7792
7793	* resolv/gethnamaddr.c [! SPRINTF_CHAR] (SPRINTF): Cast return
7794	value of sprintf.
7795	* resolv/inet_ntop.c: Likewise.
7796
7797	* resolv/gethnamaddr.c [BSD]: Include <stdlib.h>.
7798	Remove prototype of gethostbyname_ipv4.
7799
7800	* resolv/inet_ntop.c, resolv/inet_pton.c: Use ISO C `mem*'
7801	functions instead of BSD `b*' functions.
7802
7803	* resolv/nsap_addr.c: Add copyright message.
7804
7805	* resolv/res_comp.c: Remove comment explaining label format.
7806	(res_mailok): Correct check.
7807
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.
7817
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.
7823
7824	* resolv/arpa/nameser.h (__BIND): Update version number.
7825	Add KEYFLAG_* and ALGORITHM_* symbols.
7826	(HEADER): Add `ad' and `cd' flags.
7827
7828	* inet/ient.h: Add prototypes for inet_neta, inet_net_ntop,
7829	and inet_net_pton.
7830
7831	* manual/maint.texi: Document that we use bind-4.9.5.
7832	* INSTALL: Ditto.
7833
7834Mon Aug 12 19:03:22 1996  Thomas Bushnell n/BSG  <thomas@psilocin.gnu.ai.mit.edu>
7835
7836	* sysdeps/generic/gnu/types.h: Declare __fd_mask as `unsigned long'.
7837
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.)
7843
7844Mon Aug 12 16:41:52 1996  Thomas Bushnell n/BSG  <thomas@gnu.ai.mit.edu>
7845
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.
7850
7851Mon Aug 12 04:33:09 1996  Ulrich Drepper  <drepper@cygnus.com>
7852
7853	* nss/nsswitch.c (__nss_database_lookup): Always release locks
7854	before returning.  Reported by Miles Bader.
7855
7856Mon Aug 12 03:31:58 1996  Ulrich Drepper  <drepper@cygnus.com>
7857
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.
7862
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.
7867
7868	* nss/Makefile (headers): Add nss.h.
7869	(distributes): Add databases.def.
7870
7871Sun Aug 11 16:19:42 1996  Ulrich Drepper  <drepper@cygnus.com>
7872
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.
7882
7883	* string/Makefile: Add -fno-builtin for tst-strlen.c, too.
7884
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.
7888
7889Sun Aug 11 01:12:38 1996  Richard Henderson  <rth@tamu.edu>
7890
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.
7895
7896	* sysdeps/alpha/divrem.h: Update comment to reflect the actual
7897	calling conventions.  The code is already correct.
7898
7899Sun Aug 11 01:06:42 1996  Richard Henderson  <rth@tamu.edu>
7900
7901	* string/Makefile: Compile tester with -fno-builtin as we want to
7902	test our implementations, not gcc's.
7903
7904Sat Aug 10 13:17:27 1996  David Mosberger-Tang  <davidm@azstarnet.com>
7905
7906	* shadow.h: New file.
7907
7908	* sysdeps/unix/sysv/linux/netinet/in.h: Move
7909	__BEGIN_DECLS/__END_DECLS up so ntohl() et al are bracketed as
7910	well.
7911
7912	* socket/sys/socket.h [__cplusplus]: Use old-style __SOCKADDR_ARG.
7913	g++ 2.7.2 (and earlier) has no transparent unions support.
7914
7915Fri Aug  9 18:50:06 1996  David Mosberger-Tang  <davidm@azstarnet.com>
7916
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.
7923
7924Tue Aug  6 10:23:18 1996  David Mosberger-Tang  <davidm@azstarnet.com>
7925
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.)
7929
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.
7934
7935Wed Jul 17 10:54:20 1996  David Mosberger-Tang  <davidm@azstarnet.com>
7936
7937	* sysdeps/unix/getlogin.c (getlogin): Add static variable NAME,
7938	change utmp_data from static to auto.
7939
7940Sun Aug 11 02:56:08 1996  Ulrich Drepper  <drepper@cygnus.com>
7941
7942	* posix/unistd.h [__USE_MISC]: Add prototype for `nice'.
7943	Reported by David Mosberger-Tang.
7944
7945Sat Aug 10 02:05:28 1996  Richard Henderson  <richard@twiddle.tamu.edu>
7946
7947	* sysdeps/libm-ieee754/s_isnan.c [NO_LONG_DOUBLE]: Add strong
7948	alias to `__isnanl'.
7949
7950Fri Aug  9 17:38:58 1996  Ulrich Drepper  <drepper@cygnus.com>
7951
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.
7963
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>.
7967
7968Wed Aug  7 19:38:47 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7969
7970	* sysdeps/unix/sysv/linux/m68k/resourcebits.h: Add RLIMIT_AS.
7971
7972Thu Aug  8 16:17:38 1996  Ulrich Drepper  <drepper@cygnus.com>
7973
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.
7980
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.
7986
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.
7991
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.
7996
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.
8012
8013Thu Aug  8 13:33:45 1996  Ulrich Drepper  <drepper@cygnus.com>
8014
8015	* sysdeps/unix/sysv/linux/ftime.c: New file.  Available system
8016	call is only a stub.
8017	Reported by Matthias Urlichs.
8018
8019	* Makeconfig [!default_cflags]: Change default value from `-g'
8020	to `-g -O'.
8021
8022	* configure.in: Recognize i686.
8023	* sysdeps/i386/i686/Implies: Default on i586 optimized code.
8024
8025Thu Aug  8 12:40:20 1996  Matthias Urlichs  <smurf@smurf.noris.de>
8026
8027	* Makeconfig [$(build-omitfp) == yes]: Add to CFLAGS-.so
8028	value of CFLAGS-.o, not CFLAGS-o.
8029
8030	* sysdeps/unix/sysv/linux/init-first.c (init): Add volatile
8031	pointer to ourself.  Otherwise `gcc -O3' optimized init away.
8032
8033Thu Aug  8 01:41:43 1996  Ulrich Drepper  <drepper@cygnus.com>
8034
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'.
8037
8038Thu Aug  8 01:15:59 1996  Ulrich Drepper  <drepper@cygnus.com>
8039
8040	* sysdeps/i386/fpu_control.h (_FPU_DEFAULT, _FPU_IEEE): Set
8041	to 0x137f to allow long double operations.
8042
8043Sun Aug  4 13:12:05 1996  Richard Henderson  <rth@tamu.edu>
8044
8045	Bug Fixes:
8046
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.
8051
8052	* sysdeps/unix/sysv/linux/alpha/brk.S: When PIC, define __curbrk as
8053	a .bss object not a COMMON symbol.
8054
8055	* sysdeps/alpha/bsd-_setjmp.S, sysdeps/alpha/bsd-setjmp.S: Must load
8056	$gp before referencing __sigsetjmp symbol.  Retain LITUSE for same.
8057
8058	Optimizations:
8059
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.
8063
8064	Cosmetic Changes:
8065
8066	* time/localtime.c (localtime_r): Move lock declaration back next to
8067	the comment where it was before the 960724 change.
8068
8069	* INSTALL, manual/maint.texi: alpha-gnu-linux -> alpha-ANYTHING-linux.
8070	The second word is supposed to be the hardware manufacturer.
8071
8072	* sysdeps/alpha/_mcount.S: Retain LITUSE for __mcount.
8073	* sysdeps/alpha/setjmp.S: Retain LITUSE for __sigsetjmp_aux.
8074
8075	* sysdeps/alpha/divrem.h: More local labels, retain LITUSE for _mcount.
8076
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.
8080
8081Tue Jul 25 03:30:56 1996  Richard Henderson  <rth@tamu.edu>
8082
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.
8086
8087Sun Aug  4 00:12:41 1996  David Mosberger-Tang  <davidm@azstarnet.com>
8088
8089	* sysdeps/unix/sysv/linux/gnu/types.h: Declare __fd_mask as
8090	`unsigned long'.
8091
8092	* misc/sys/select.h: Declare fd_mask as alias of __fd_mask.
8093
8094Sat Aug  3 16:20:02 1996  David Mosberger-Tang  <davidm@azstarnet.com>
8095
8096	* sysdeps/unix/sysv/linux/alpha/ioperm.c (platform): Add entry for
8097	Mikasa.
8098
8099	* socket/sys/socket.h (send, __send, sendto): Declare buffer
8100	pointer as __const.
8101
8102	* string/tester.c (main): Test stpncpy.
8103
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'.
8107
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.
8115
8116Wed Aug  7 15:15:14 1996  Ulrich Drepper  <drepper@cygnus.com>
8117
8118	* elf/dl-open (_dl_open): Add cast to avoid warning.
8119
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'.
8123
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.
8129
8130Tue Aug  6 14:27:11 1996  Ulrich Drepper  <drepper@cygnus.com>
8131
8132	* elf/Makefile (routines): Move dl-sysdep to here...
8133	(rtld-routines): ...from here.  This should make static linking
8134	work again.
8135
8136	* locale/setlocale.c: Add local variable `lock' and add code to
8137	`setlocale' to avoid simultaneous changing of global data.
8138
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.
8143
8144Tue Aug  6 01:13:56 1996  Ulrich Drepper  <drepper@cygnus.com>
8145
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.
8162
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.
8242
8243	* sysdeps/posix/sigsetmask.c (__sigsetmask): Call `__sigprocmask'
8244	instead of `sigprocmask'.
8245
8246
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.
8253
8254
8255	* misc/error.c (private_strerror): Translate messages from table,
8256	too.
8257
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.
8264
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.
8274
8275	* sunrpc/rpc/xdr.h: Move definition of type `xdrproc_t' to
8276	have real prototype.
8277
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.
8288
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.
8293
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'.
8300
8301Sat Aug  3 18:41:36 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8302
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.
8307
8308Sat Aug  3 12:31:06 1996  Richard Henderson  <rth@tamu.edu>
8309
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.
8314
8315Fri Aug  2 03:12:40 1996  Ulrich Drepper  <drepper@cygnus.com>
8316
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.
8320
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.
8325
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.
8329
8330Fri Aug  2 14:40:22 1996  Roland McGrath  <roland@fast.cs.utah.edu>
8331
8332	* Version 1.93 test release.
8333
8334	* manual/Makefile: Use -include for chapters-incl too.
8335
8336	* Makeconfig (+link): Add back start.o, mistakenly removed in last
8337	change.
8338
8339Fri Aug  2 01:04:02 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
8340
8341	* nss/Makefile (generated): Add db-*.c.
8342
8343	* sysdeps/i386/sysdep.h: Get generic/sysdep.h explicitly instead of
8344	using #include_next.
8345
8346	* configure.in (--enable-add-ons): Quote m4 macro args.
8347
8348	* elf/rtld.c (dl_main): For --verify, fail if no dynamic section.
8349
8350Thu Aug  1 14:40:03 1996  Roland McGrath  <roland@fast.cs.utah.edu>
8351
8352	* sunrpc/Makefile [$(cross-compile)=no]: Test before making librpcsvc.
8353
8354	* Makerules (build-shlib): Add -B$(csu-objpfx) to find crt[in].o there.
8355
8356	* Makeconfig (+preinit, +postinit): Prepend $(csu-objpfx) here.
8357	(+link): Not here.
8358
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.
8366
8367	* catgets/gencat.c: Include <locale.h>.
8368
8369	* sysdeps/unix/mk-local_lim.c (param): Add SYMLOOP_MAX/MAXSYMLINKS.
8370
8371	* login/logwtmp.c (logwtmp): Call time, not __time.
8372
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.
8376
8377	* sysdeps/generic/ioctl-types.h (sizeof): Define to 0 around #if
8378	comparing ioctl macro values.
8379
8380	* sysdeps/i386/sysdep.h: Do `#include_next <sysdep.h>'.
8381
8382	* manual/Makefile: Use -include for chapters to suppress warning.
8383
8384	* sysdeps/stub/socket.c: Fix type of TYPE arg.
8385	* sysdeps/stub/socketpair.c: Likewise.
8386
8387	* sysdeps/stub/_exit.c (_exit): Remove obsolete __NORETURN keyword.
8388
8389	* sysdeps/generic/sysdep.h: New file, broken out of ...
8390	* sysdeps/unix/sysdep.h: ... here.
8391	(C_LABEL): Moved out.
8392
8393	* Makeconfig (soversions.mk): Don't use newfangled ${x%%y} syntax;
8394	stick to sed.  Do `exit 0' at end because while returns nonzero.
8395
8396	* sysdeps/i386/sysdep.h: New file, broken out of ...
8397	* sysdeps/unix/i386/sysdep.h: ... here.  Generic asm macros moved out.
8398
8399	* sysdeps/stub/stdio_lim.h (L_ctermid, L_cuserid): Macros removed.
8400	They are defined unconditionally in libio/stdio.h.
8401
8402	* elf/dl-runtime.c: Include <stddef.h> for `NULL' defn.
8403	* elf/dl-cache.c: Likewise.
8404
8405Mon Jul 29 19:20:05 1996  Ulrich Drepper  <drepper@cygnus.com>
8406
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.
8410
8411Wed Jul 31 14:21:36 1996  Ulrich Drepper  <drepper@cygnus.com>
8412
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.
8417
8418Mon Jul 29 20:33:42 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8419
8420	* sysdeps/unix/sysv/linux/netinet/in.h (ntohl, ntohs, htonl,
8421	htons) [__BIG_ENDIAN]: #undef them before defining to avoid
8422	redefinition warning.
8423
8424Mon Jul 29 20:28:27 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8425
8426	* time/time.h: Don't optimize tzset() to __tzset() which bypasses
8427	the __tzset_lock.
8428
8429Tue Jul 30 15:14:50 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
8430
8431	* sunrpc/rpc/pmap_clnt.h: Fix botched patch for multiple inclusion
8432	protection.
8433
8434Tue Jul 30 02:48:28 1996  Ulrich Drepper  <drepper@cygnus.com>
8435
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>.
8439
8440Tue Jul 30 15:04:50 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
8441
8442	* locale/programs/ld-collate.c (collate_output): Fix typo reported by
8443	David Miller.
8444
8445Tue Jul 30 13:23:13 1996  Ulrich Drepper  <drepper@cygnus.com>
8446
8447	* locale/setlocale.c (setlocale): Don't try to free C locale
8448	data.
8449	Reported by Matthias Urlichs.
8450
8451Tue Jul 30 14:35:17 1996  Miles Bader  <miles@gnu.ai.mit.edu>
8452
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.
8456
8457Sat Jul 27 11:23:59 1996  Miles Bader  <miles@gnu.ai.mit.edu>
8458
8459	* sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Quote
8460	`..' dots in sed search string.
8461
8462Mon Jul 29 01:27:07 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
8463
8464	* sunrpc/rpc/rpc_msg.h: Fix botched patch for multiple inclusion
8465	protection.
8466
8467Sun Jul 28 23:46:14 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
8468
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.
8473
8474	* time/strftime.c (strftime: do_number): Initialize PRINTED to
8475	MAXDIGITS in case P is null and so sprintf is never actually called.
8476
8477Mon Jul 29 02:46:23 1996  Ulrich Drepper  <drepper@cygnus.com>
8478
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.
8512
8513	* locale/programs/ld-ctype.c (ctype_output): Add code to make
8514	sure that all tables in binary file are word-aligned.
8515
8516	* locale/programs/locfile.c (write_locale_data): Correct handling
8517	of LC_MESSAGES locale.  Create directory if necessary.
8518
8519	* locale/setlocale.c (setlocale): Add cast to avoid warning.
8520
8521	* string/string.h: Add prototype for `__strndup'.
8522
8523Wed Jul 24 19:10:00 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8524
8525	* wcsmbs/mbrtowc.c: Remove unused variable.
8526
8527Sun Jul 28 22:40:25 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
8528
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.
8532
8533	* sysdeps/generic/dl-sysdep.c (__libc_enable_secure): New variable.
8534	* sysdeps/mach/hurd/dl-sysdep.c: Likewise.
8535
8536Sat Jul 27 13:02:09 1996  Ulrich Drepper  <drepper@cygnus.com>
8537
8538	* elf/rtld.c (dl_main): Ignore arguments when environment variable
8539	LD_TRACE_LOADED_OBJECTS is set.
8540
8541Sun Jul 28 19:42:51 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
8542
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.
8554
8555Sun Jul 28 19:26:40 1996  David S. Miller  <dm@neteng.engr.sgi.com>
8556
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.
8561
8562Sat Jul 27 02:58:49 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
8563
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.
8569
8570Fri Jul 26 22:49:58 1996  Ulrich Drepper  <drepper@cygnus.com>
8571
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.
8575
8576	* elf/ldd.sh.in: Don't use `rtld --list' but instead
8577	LD_TRACE_LOADED_OBJECTS environment variable to print needed
8578	objects.
8579
8580Sat Jul 27 02:03:26 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
8581
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).
8586
8587Sat Jul 27 04:32:31 1996  Ulrich Drepper  <drepper@cygnus.com>
8588
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.
8591
8592Sat Jul 27 01:24:05 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
8593
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.
8599
8600Sat Jul 27 04:37:34 1996  Ulrich Drepper  <drepper@cygnus.com>
8601
8602	* string/string.h (strndupa): Change to use return value of
8603	`memcpy' for more performance.
8604	* string/strndup.c: Likewise.
8605
8606	* string/string.h (strdupa): Don't call __builtin_alloca in argument.
8607	This might lead to problems.
8608	(strndupa): Likewise.
8609
8610Fri Jul 26 15:24:25 1996  Ulrich Drepper  <drepper@cygnus.com>
8611
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.
8623
8624Fri Jul 26 20:39:42 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
8625
8626	* ctype/test_ctype.c: Test EOF too.
8627
8628Fri Jul 26 18:06:58 1996  Ulrich Drepper  <drepper@cygnus.com>
8629
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>
8658
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>
8666
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.
8670
8671Fri Jul 26 03:46:08 1996  Ulrich Drepper  <drepper@cygnus.com>
8672
8673	* catgets/gencat.c: Use "libc" instead of PACKAGE.
8674	* locale/localedef.c: Ditto.
8675	* locale/locale.c: Ditto.
8676
8677	* locale/findlocale.c (_nl_find_locale): Little optimization.
8678	Use new function `strndup'.
8679
8680	* locale/loadlocale.c: Little optimization.  Use constant value
8681	from `_nl_category_num_items' instead of byte-order dependend
8682	value from file.
8683
8684	* locale/programs/ld-time.c (time_add): Correct string constant.
8685
8686	* locale/programs/locale-spec.c: New file.
8687	* locale/programs/locale.c: Call `locale_special' function if
8688	no other field matches.
8689
8690	* locale/programs/localedef.c: No need to define `program_name'.
8691	Use global variable `__progname'.
8692
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.
8697
8698	* locale/programs/stringtrans.c (ADDC): Correctly use `encode_char'
8699	function instead of writing single bytes.
8700	(encode_char): Also handle little endian.
8701
8702	* locale/setlocale.c (new_composite_name): Little optimization.
8703	Use return value of `memcpy'.
8704
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.
8711
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.
8720
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.
8725
8726	* sysdeps/generic/confname.h: Add _SC_PAGE_SIZE as alias for
8727	_SC_PAGESIZE for buggy systems (= HP UX) out there.
8728
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.
8734
8735Thu Jul 25 00:25:54  Richard Henderson  <rth@tamu.edu>
8736
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.
8745
8746Thu Jul 25 00:53:06 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
8747
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.
8754
8755	* Makerules ($(libdir)/libc.so): Fix typos in generated comment.
8756
8757Wed Jul 24 17:02:30 1996  Ulrich Drepper  <drepper@cygnus.com>
8758
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.
8762
8763	* time/tzset.c: Undefine `tzset' before function declaration.
8764	Use `weak_function' macro instead of `weak_symbol'.
8765
8766Wed Jul 24 18:57:33 1996  Ulrich Drepper  <drepper@cygnus.com>
8767
8768	* stdlib/strtouq.c: Additional weak alias is `strtoull', not
8769	`strotull'.
8770
8771Wed Jul 24 18:26:23 1996  Ulrich Drepper  <drepper@cygnus.com>
8772
8773	* locale/C-ctype.c: Increment number of fields after change
8774	from Wed Jun 19 03:24:58 1996.
8775
8776Tue Jul 23 18:13:37 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
8777
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).
8784
8785Thu Jul 18 21:41:25 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8786
8787	* sysdeps/generic/stpncpy.c: Fix semantics to make `stpncpy (d, s,
8788	n)' equivalent to `strncpy (d, s, n), d += strnlen (d, n)'.
8789
8790Tue Jul 23 02:49:58 1996  Ulrich Drepper  <drepper@cygnus.com>
8791
8792	* locale/iso-4217.def: Add India to comment for symbol "INR ".
8793	Reported by Raja R Harinath  <harinath@cs.umn.edu>.
8794
8795Sat Jul 20 14:03:45 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8796
8797	* sysdeps/m68k/dl-machine.h (elf_machine_rela): Remove bogus
8798	#undef RESOLVE.
8799
8800Sun Jul 21 06:48:38 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
8801
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.
8808
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.
8814
8815Sun Jul 21 01:44:39 1996  Miles Bader  <miles@gnu.ai.mit.edu>
8816
8817	* locale/programs/locfile.c (write_locale_data): Deal with missing
8818	UIO_MAXIOV.
8819
8820	* sysdeps/mach/hurd/socket.c (socket): Make TYPE an int.
8821	* sysdeps/mach/hurd/socketpair.c (socketpair): Likewise.
8822
8823Sat Jul 20 21:55:31 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
8824
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.
8831
8832Sat Jul 20 13:28:52 1996  Miles Bader  <miles@gnu.ai.mit.edu>
8833
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.
8839
8840	* sysdeps/mach/hurd/uname.c (uname): Deref UNAME to get nodename.
8841	<unistd.h>: New include.
8842
8843	* sysdeps/mach/libc-lock.h (__libc_lock_define): Backslashify
8844	continuation line.
8845
8846Sat Jul 20 07:15:33 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
8847
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.
8854
8855Fri Jul 19 15:45:20 1996  Ulrich Drepper  <drepper@cygnus.com>
8856
8857	* locale/C-messages.c (_nl_C_LC_MESSAGES): Add missing Kleene
8858	operator to yesexpr and noexpr string.
8859
8860Fri Jul 19 15:10:37 1996  David Mosberger-Tang  <davidm@azstarnet.com>
8861
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.
8865
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.
8870
8871	* sunrpc/svc.c (svc_getreqset): Increment SOCK by 32, not NFDBITS.
8872
8873	* sunrpc/portmap.c (reg_service): Declare ANS and PORT as long,
8874	not int.
8875
8876Fri Jul 19 16:56:41 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
8877
8878	* dlfcn.h, db.h: New wrapper headers.
8879
8880	* posix/glob.h [!_AMIGA && !VMS]: Check this instead of just [!_AMIGA]
8881	for `struct stat;' forward decl.
8882
8883Fri Jul 19 22:25:19 1996  Ulrich Drepper  <drepper@cygnus.com>
8884
8885	* locale/iso-4217.def: Add some more standardized currency
8886	symbols.
8887
8888Fri Jul 19 13:18:02 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
8889
8890	* hurd/report-wait.c (describe_number): Use unsigned long int for J.
8891
8892Thu Jul 18 12:33:57 1996  Roland McGrath  <roland@baalperazim.frob.com>
8893
8894	* Rules (dummy.o, empty.o): Targets removed.
8895	(dummy.c, empty.c): New targets replace them.
8896
8897Thu Jul 18 11:42:39 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
8898
8899	* crypt/Makefile (lib-noranlib): Depend on
8900	$(objpfx)libcrypt.so$(libcrypt.so-version).
8901	(subdir): Fix name.
8902
8903Thu Jul 18 04:33:21 1996  Roland McGrath  <roland@baalperazim.frob.com>
8904
8905	* sysdeps/mach/hurd/errnos.awk: Move EWOULDBLOCK check before errno==0
8906	check.  mib's clueless hacking broke it.
8907
8908Thu Jul 18 04:27:21 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
8909
8910	* Makerules ($(libdir)/libc.so): Add missing / after $(cryptobjdir).
8911
8912Wed Jul 17 10:54:20 1996  David Mosberger-Tang  <davidm@azstarnet.com>
8913
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.
8922
8923	* sysdeps/unix/sysv/linux/alpha/start.S: Move to ...
8924	* sysdeps/alpha/elf/start.S: here.
8925
8926	* sysdeps/unix/sysv/linux/syscalls.list: Mention klogctl in
8927	alphabetically correct place.  Mention ustat.
8928
8929	* sysdeps/unix/alpha/sysdep.S: Make errno a bss symbol, not a
8930	common symbol (makes errno accessible from gdb).
8931
8932	* login/pututline_r.c (pututline_r): Test ut_id in repositioning
8933	test, not ut_type.
8934
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.
8938
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.
8942
8943	* login/getutline_r.c (getutline_r): Stop searching only if
8944	ut_line matches and type is either USER_PROCESS or LOGIN_PROCESS.
8945
8946Tue Jul 16 15:06:18 1996  David Mosberger-Tang  <davidm@azstarnet.com>
8947
8948	* sysdeps/unix/sysv/linux/netinet/in.h: Base on <linux/in.h> to
8949	avoid duplicate declarations.
8950
8951Sun Jul 14 19:08:55 1996  David Mosberger-Tang  <davidm@azstarnet.com>
8952
8953	* manual/maint.texi (Supported Configurations): Add alpha-gnu-linux
8954	and alpha-gnu-linuxecoff targets.
8955
8956Fri Jul 12 16:58:44 1996  David Mosberger-Tang  <davidm@azstarnet.com>
8957
8958	* sysdeps/unix/sysv/linux/netinet/in.h: Declare bindresvport().
8959
8960Sat Jun 22 23:30:07 1996  David Mosberger-Tang  <davidm@azstarnet.com>
8961
8962	* resolv/res_send.c (res_send): Declare FROMLEN as size_t instead
8963	of int.
8964
8965	* resolv/res_comp.c (res_hnok): Use empty statement in place
8966	of NULL (which generates a "useless expression" warning in
8967	gcc).
8968
8969Wed Jul 17 23:56:35 1996  Roland McGrath  <roland@baalperazim.frob.com>
8970
8971	* sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Replace ../
8972	with $(..) in output.
8973
8974Wed Jul 17 21:53:45 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
8975
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.
8979
8980Wed Jul 17 20:41:30 1996  Ulrich Drepper  <drepper@cygnus.com>
8981
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>
8986
8987	* stdio-common/tstscanf.c: Change test program so that return
8988	value is != 0 if one test failed.
8989
8990Wed Jul 17 17:08:48 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
8991
8992	* sysdeps/m68k/Makefile (crypt): Variable removed.
8993	* sysdeps/sparc/Makefile: Likewise.
8994
8995	* version.h (VERSION): Update to 1.93.
8996
8997	* Makerules ($(libdir)/libc.so): Depend on
8998	$(common-objpfx)libcrypt.so$(libcrypt.so-version).
8999
9000	* crypt/nocrypt.c: New file.
9001	* Makefile (subdirs): Add crypt.
9002	* crypt/Makefile: New file.
9003
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.
9008
9009	* shlib-versions (*-*-*): Set libcrypt=0.
9010
9011Wed Jul 17 11:29:26 1996  Miles Bader  <miles@gnu.ai.mit.edu>
9012
9013	* stdio/linewrap.c (lwupdate): Fix boundary condition where a
9014	word extends right up to rmargin.
9015
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.
9025
9026Wed Jul 17 02:43:28 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
9027
9028	* shlib-versions (*-*-gnu*): Set libc=0.0
9029
9030Tue Jul 16 01:52:42 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9031
9032	* sysdeps/m68k/dl-machine.h: Follow Jul 14 change in
9033	sysdeps/i386/dl-machine.h.
9034
9035Tue Jul 16 00:18:19 1996  Miles Bader  <miles@gnu.ai.mit.edu>
9036
9037	* stdio/linewrap.c (__line_wrap_update): Add hackery from flshfp
9038	to fiddle __put_limit in conjunction with __linebuf_active.
9039
9040Tue Jul 16 00:14:07 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9041
9042	* sysdeps/unix/inet/syscalls.list (connect, send): Add underscores
9043	to the strong name, not the file name.
9044
9045Tue Jul 16 16:43:58 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
9046
9047	* csu/initfini.c: More magic.  Detect if .end is produced and put it
9048	in the output iff the compiler does.
9049
9050	* elf/dl-lookup.c (_dl_lookup_symbol): Avoid sizeof dynamic auto array
9051	because that is broken on alpha.
9052
9053	* sysdeps/mach/hurd/mmap.c: Use same inheritance arg in second vm_map
9054	call as in first.
9055
9056	* Makerules (make-link): Install the new link with atomic mv -f in
9057	case ln itself requires the library being installed.
9058
9059Tue Jul 16 00:31:31 1996  Richard Henderson  <rth@tamu.edu>
9060
9061	* sysdeps/alpha/dl-machine.h: Mirror Roland's changes to
9062	i386/dl-machine.h of 960713.
9063
9064	* sysdeps/generic/dl-sysdep.c:  Include <sys/mman.h>.
9065	(_dl_sysdep_read_whole_file): Fix result variable declaration.
9066
9067Tue Jul 16 00:53:57 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
9068
9069	* sysdeps/mach/hurd/uname.c: Call __gethostname to fill in the
9070	`nodename' member.
9071
9072Mon Jul 15 17:23:53 1996  Ulrich Drepper  <drepper@cygnus.com>
9073
9074	* stdio-common/vfprintf.c (vfprintf): Call parse_one_spec
9075	with pointer to local variable instead of NULL.
9076
90771996-07-15  Paul Eggert  <eggert@twinsun.com>
9078
9079	* time/strftime.c (strftime): Don't pass empty macro argument to `add'.
9080
9081Sat Jul 13 09:53:39 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9082
9083	* sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove names
9084	that are already added by other means.
9085
9086	* sysdeps/unix/sysv/linux/syscalls.list: Add more EXTRA's in the
9087	caller column to get those syscalls added automagically.
9088
9089Mon Jul 15 12:24:54 1996  Miles Bader  <miles@gnu.ai.mit.edu>
9090
9091	* login/logout.c (logout): Initialize DATA to a state that will
9092	make setutent_r happy.
9093
9094Sun Jul 14 01:51:39 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
9095
9096	* elf/rtld.c (dl_main) [ELF_MACHINE_DEBUG_SETUP]: Use this macro
9097	instead of setting the DT_DEBUG pointer.
9098
9099	* csu/initfini.c (_init, _fini): Generate .end directives after
9100	standalone prologues and filter them out from epilogues.
9101
9102	* Makeconfig (rtld-installed-name): Set to ld.so.1.
9103	* sysdeps/unix/sysv/linux/Makefile (rtld-installed-name): Variable
9104	removed.
9105
9106	* manual/Makefile (glibc-targets): Remove subdir_ from elts.
9107
9108	* sysdeps/generic/dl-sysdep.c (_dl_sysdep_read_whole_file): New fn.
9109
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.
9113
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.
9118
9119	* elf/dl-reloc.c: Include "dynamic-link.h" at file scope.
9120
9121	* elf/rtld.c: Include <string.h>.
9122
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.
9134
9135	* elf/dl-deps.c (_dl_map_object_deps): Start TAILP at last preload.
9136
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.
9140
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.
9147
9148	* manual/Makefile ($(objpfx)stamp%-$(subdir)): Separate rule from
9149	other targets.
9150
9151Sat Jul 13 23:50:17 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
9152
9153	* manual/Makefile (lib): New phony target.  Depend on stamp files.
9154	($(objpfx)stamp%-$(subdir)): New rule to create them when necessary.
9155
91561996-07-13  Paul Eggert  <eggert@twinsun.com>
9157
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.
9161
9162Sat Jul 13 20:17:38 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
9163
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.
9174
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.
9185
9186	* elf/dl-fini.c (_dl_fini): Skip finalizer for executable itself.
9187
9188Sat Jul 13 02:47:53 1996  David Mosberger-Tang  <davidm@azstarnet.com>
9189
9190	* stdlib/random.c (__random): Declare as int32_t to be in sync
9191	with declaration.
9192
9193	* socket/Makefile (headers): Add socketbits.h.
9194
9195	* misc/mntent.c (endmntent): Allow for NULL stream.  SunOS does
9196	it that way.
9197
9198	* grp/initgroups.c (initgroups): Add groups that user is a member
9199	of, not the ones he is _not_ a member of.
9200
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.
9204
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.
9208
9209	* sysdeps/unix/getlogin.c (getlogin): Initialize ut_fd with -1.
9210
9211Thu Jul 11 16:59:10 1996  David Mosberger-Tang  <davidm@azstarnet.com>
9212
9213	* misc/mntent.c (addmntent): Seek to end of file before writing
9214	entry.  Return 1 on error, not -1.
9215
9216Tue Jul  9 19:08:05 1996  David Mosberger-Tang  <davidm@azstarnet.com>
9217
9218	* sysdeps/unix/sysv/linux/syscalls.list: Mark bdflush as EXTRA
9219	syscall.
9220
9221Fri Jul  5 18:44:55 1996  David Mosberger-Tang  <davidm@azstarnet.com>
9222
9223	* sysdeps/unix/sysv/linux/alpha/ioperm.c (port_to_cpu_addr): Size
9224	shift amount for Jensen must be 5 not 4.
9225
9226Sat Jul 13 20:04:28 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
9227
9228	* socket/sys/socket.h (struct osockaddr): New type.
9229
9230Sat Jul 13 03:50:53 1996  Ulrich Drepper  <drepper@cygnus.com>
9231
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.
9240
9241	* manual/startup.texi: Document new getsubopt function.
9242	* manual/examples/subopt.c: New example program for documenting
9243	getsubopt function.
9244
9245Fri Jul 12 23:58:37 1996  Ulrich Drepper  <drepper@cygnus.com>
9246
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.
9251
9252Thu Jul 11 20:09:55 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
9253
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.
9260
9261	* sysdeps/generic/pselect.c: Include <sys/time.h>.
9262
9263	* misc/sys/select.h: Include <time.h> instead of <sys/time.h> for
9264	`struct timespec'.
9265
9266	* math/Makefile (calls): Add s_frexp, s_ldexp.
9267	(routines): Remove them and &f from here.
9268
9269	* sys/socket.h: New file, wrapper for socket/sys/socket.h.
9270
9271	* nss/nss_files/files-service.c (getservbyname): Take second arg PROTO
9272	and check it.
9273
9274	* nss/nss_files/files-XXX.c: Comment fix.
9275
9276Fri Jul 12 01:28:35 1996  Ulrich Drepper  <drepper@cygnus.com>
9277
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.
9284
9285	* nss/getXXent.c (GETFUNC_NAME): RESULT must be static because
9286	we return a pointer.
9287
9288Thu Jul 11 18:20:44 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
9289
9290	* nss/nss_files/files-parse.c: Add comment about things to #define.
9291
9292	* nss/nss_files/files-hosts.c (NEED_H_ERRNO): Define it.
9293
9294	* nss/nss_files/files-parse.c (STRING_FIELD): Don't flag NUL before
9295	terminator char as an error.
9296
9297	* nss/getXXbyYY_r.c (REENTRANT_NAME): Set *H_ERRNOP, not h_errno.
9298
9299Thu Jul 11 03:21:10 1996  Ulrich Drepper  <drepper@cygnus.com>
9300
9301	* catgets/gencat.c (write_out): Move code to determine new
9302	best size out of inner loop.
9303
9304Thu Jul 11 00:22:40 1996  Ulrich Drepper  <drepper@cygnus.com>
9305
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.
9310
9311	* sysdeps/libm-i387/s_isnanl.c (isnanl): Mask explicit one
9312	out before or'ing.
9313
9314Wed Jul 10 05:24:40 1996  David Mosberger-Tang  <davidm@azstarnet.com>
9315
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.
9319
9320Mon Jul  8 21:18:40 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9321
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.
9325
9326Tue Jul  9 09:37:55 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
9327
9328	* posix/glob.h (__glob_opendir_hook, __glob_readdir_hook,
9329	__glob_closedir_hook): Remove decls.
9330
9331	* sysdeps/generic/machine-gmon.h: Declare mcount_internal.
9332
9333	* sysdeps/unix/inet/syscalls.list: Define __ names with weak aliases
9334	for send and connect syscalls.
9335
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.
9343
9344	* sysdeps/mach/hurd/connect.c: Define __ name and weak alias.
9345	* sysdeps/mach/hurd/send.c: Likewise.
9346
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.
9361
9362	* sysdeps/stub/libc-lock.h (__libc_lock_fini): New macro.
9363
9364	* stdlib/mbstowcs.c: Pass address of pointer to mbsrtowcs.
9365
9366	* stdlib/wcstombs.c: Use wcsrtombs instead of mbsrtowcs.
9367
9368Thu Jul  4 01:34:04 1996  Ulrich Drepper  <drepper@cygnus.com>
9369
9370	* locale/programs/stringtrans.c: Fix typo in copyright.
9371
9372	* stdio-common/printf-prs.c: Add casts to prevent
9373	signed<->unsigned warnings.
9374
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.
9382
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.
9408
9409Tue Jul  9 06:19:29 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
9410
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.
9414
9415	* sysdeps/unix/sysv/linux/direntry.h: New file from David Mosberger.
9416
9417	* sysdeps/unix/sysv/linux/configure.in: Check for Linux 2.0.1 headers,
9418	instead of 2.0 headers.
9419
9420	* sysdeps/mach/hurd/Makefile (stamp-errnos): Uncomment CVS commit cmds.
9421
9422	* sysdeps/gnu/errlist.awk: Undo mib's bogus changes.  The
9423	sysdeps/mach/hurd/errnos.awk bug fix was the only correct change.
9424
9425	* sysdeps/generic/machine-gmon.h [NO_UNDERSCORES]: Declare _mcount
9426	before using it in lhs of weak_alias.
9427
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.
9432
9433Tue Jul  9 00:14:52 1996  Michael I. Bushnell p/BSG  <mib@gnu.ai.mit.edu>
9434
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.
9440
9441Mon Jul  8 13:37:40 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
9442
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.
9448
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.
9453
9454Mon Jul  8 13:10:50 1996  Michael I. Bushnell p/BSG  <mib@gnu.ai.mit.edu>
9455
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.
9460
9461	* sysdeps/stub/setdomain.c (setdomainname): Declare NAME parm
9462	__const to conform with unistd.h.
9463
9464	* stdlib/stdlib.h (random): Declare return type to be int32_t.
9465
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.
9502
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].
9508
9509Sun Jul  7 18:42:06 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
9510
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.
9517
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.
9522
9523	* io/Makefile (headers): Add sys/vfs.h.
9524	* io/sys/vfs.h: New file.
9525
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).
9529
9530Sun Jun  2 22:28:43 1996  Miles Bader  <miles@gnu.ai.mit.edu>
9531
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).
9536
9537Fri May 31 11:48:46 1996  Miles Bader  <miles@gnu.ai.mit.edu>
9538
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.
9546
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.
9552
9553Fri Jul  5 17:34:47 1996  Miles Bader  <miles@gnu.ai.mit.edu>
9554
9555	* login/logout.c (logout): Do nothing if getutline_r returns ESRCH.
9556
9557	* login/pututline_r.c (pututline_r): Since we assign RESULT from
9558	lseek now, check that it's >= 0, not == 0.
9559
9560Wed Jul  3 13:28:04 1996  Miles Bader  <miles@gnu.ai.mit.edu>
9561
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.
9565
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).
9568
9569Fri Jul  5 12:22:51 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
9570
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.
9576
9577	* extra-lib.mk: Fix typo in $(extra-libs-others) conditional.
9578
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.
9582
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.
9586
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.
9592
9593	* misc/sys/select.h: #define __need_timespec before <sys/time.h> incl.
9594	(struct timeval): Add bodiless decl for scope.
9595
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.
9599
9600	* time/sys/time.h (TIMEVAL_TO_TIMESPEC): Use `tv_*' instead of `ts_*'
9601	for `struct timespec' member names.
9602	(TIMESPEC_TO_TIMEVAL): Likewise.
9603
9604	* nss/Makefile (extra-libs-others): New variable.
9605
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.
9610
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.
9618
9619	* posix/unistd.h [__USE_BSD]: Declare getdomainname, setdomainname.
9620
9621Thu Jul  4 05:21:59 1996  David Mosberger-Tang  <davidm@azstarnet.com>
9622
9623	* login/utmp.h: Fix typos.
9624
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).
9628
9629Wed Jul  3 16:29:41 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
9630
9631	* nss/getXXbyYY_r.c (REENTRANT_NAME): Cast FCT in __nss_next call.
9632
9633	* sysdeps/generic/sbrk.c: Always call __brk (0) to update __curbrk.
9634
9635	* malloc/malloc-size.c (malloc_usable_size): Renamed from
9636	malloc_object_allocation_size.
9637	* malloc/malloc.h: Fix decl.
9638
9639	* sys/select.h: New file, wrapper header.
9640
9641	* posix/sys/types.h [__USE_BSD]: Include <sys/select.h>; remove
9642	fd_set, associated macros, and select decl.
9643
9644	* sysdeps/posix/isfdtype.c: New file.
9645
9646Tue Jul  2 23:45:14 1996  Ulrich Drepper  <drepper@cygnus.com>
9647
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.
9658
9659	* locale/weight.h (get_weight): Cast constants to prevent
9660	warnings.
9661
9662	* stdlib/strtod.c, stdlib/strtol.c, string/strcoll.c,
9663	string/strxfrm.c: Add some more casts to prevent signed<->unsigned
9664	warnings.
9665
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().
9673
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.
9688
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.
9693
9694	* wcsmbs/wcrtomb.c (wcrtomb): Fix typo.
9695
9696Wed Jul  3 11:26:28 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
9697
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.
9702
9703	* time/strftime.c (strftime: do_number): Adjust P and I after sprintf
9704	in case it wrote fewer than MAXDIGITS chars.
9705
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.
9709
9710	* nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Depend on libc.so.
9711
9712	* sysdeps/mach/hurd/Makefile (LDLIBS-c.so): Variable removed.
9713	(libc.so): Instead, give this deps on lib{mach,hurd}user.so.
9714
9715	* elf/dl-debug.c (_dl_debug_initialize): Use LDBASE arg instead of
9716	extracting _dl_rtld_map.l_addr.
9717
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.
9740
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.
9748
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.
9763
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.
9767
9768	* sunrpc/xdr.c: Remove malloc decl.
9769	* sunrpc/portmap.c: Likewise.
9770
9771	* sunrpc/svc_tcp.c (abort): Don't declare.  Instead define as macro
9772	casting abort to fn returning bool_t.
9773
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.
9779
9780	* Makeconfig (BUILD_CC): If undefined, define to $(CC).
9781
9782	* sunrpc/rpc/types.h: Include stdlib.h instead of declaring malloc.
9783
9784	* Makeconfig (built-program-cmd): Use $(rtld-installed-name) in place
9785	of ld.so so lookups for that soname find it.
9786
9787	* nss/Makefile (libnss_dns.so): Depend on libresolv.so.
9788	(resobjdir, LDLIBS-nss_dns.so): Variables removed.
9789
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.
9794
9795	* nss/nss_files/files-XXX.c (internal_getent): Return
9796	NSS_STATUS_TRYAGAIN for ERANGE error.
9797
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.
9801
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.
9819
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.
9823
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.
9827
9828	* time/europe, time/northamerica: Updated from ADO 96i.
9829
9830Mon Jul  1 15:44:34 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
9831
9832	* stdio-common/tst-ungetc.c: Include unistd.h.
9833
9834	* inet/Makefile (routines): Change getnetbypt to getnetbyad.
9835
9836Mon Jul  1 13:32:42 1996  Miles Bader  <miles@gnu.ai.mit.edu>
9837
9838	* hurd/report-wait.c (describe_number): Make I unsigned long.
9839
9840	* login/login.c (login): Only Frob OLD->ut_type if getutline_r
9841	actually found any entry.
9842
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.
9846
9847Mon Jul  1 12:29:50 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
9848
9849	* nss/Makefile (databases): Change host to hosts.
9850	* nss/host-lookup.c: Renamed to nss/hosts-lookup.c.
9851
9852	* nss/nsswitch.c (nss_parse_service_list): Use const for NAME.
9853
9854	* nss/nss_files/files-parse.c (parse_list): Correct alignment fixup.
9855
9856	* string/string.h (strndupa): Pass missing arg to strnlen.
9857
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.
9862
9863Sat Jun 29 01:08:35 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9864
9865	* grp/getgrgid_r.c (LOOKUP_TYPE): Define to struct group, not
9866	struct passwd.
9867
9868Fri Jun 28 23:25:35 1996  Miles Bader  <miles@gnu.ai.mit.edu>
9869
9870	* login/login.c (login): Initialize DATA so that setutent_r will
9871	actually do something.
9872
9873Fri Jun 28 16:53:01 1996  David Mosberger-Tang  <davidm@azstarnet.com>
9874
9875	* resolv/res_hconf.c (strndup): Remove function.
9876
9877	* nss/nsswitch.c (nss_lookup_function): Declare loadbase and ref
9878	using ElfW() instead of Elf32_*.
9879
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.
9886
9887	* sysdeps/unix/alpha/sysdep.h: Undo PIC-optimization of syscall
9888	error handling.  It's safer that way.
9889
9890	* sysdeps/unix/alpha/sysdep.S: Make ldgp part of the prologue.
9891	Fix by Richard Henderson.
9892
9893	* sysdeps/alpha/dl-machine.h (elf_alpha_fix_plt): Fix
9894	typo/extraneous whitespace.
9895
9896	* sunrpc/xdr.c (xdr_int, xdr_u_int): Use <limits.h> to test
9897	determine what integer sizes we're dealing with.
9898
9899Fri Jun 28 15:46:02 1996  Michael I. Bushnell, p/BSG  <mib@gnu.ai.mit.edu>
9900
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.
9904
9905	* hurd/hurdsig.c (_hurd_internal_post_signal): In
9906	check-for-pending signals code, release _hurd_siglock before
9907	jumping to deliver_pending.
9908
9909Thu Jun 27 04:04:27 1996  David Mosberger-Tang  <davidm@azstarnet.com>
9910
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.
9914
9915Fri Jun 28 07:27:10 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
9916
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.
9929
9930	* string/strndup.c: Add missing arg.
9931
9932	* string/string.h (strndupa): Likewise.
9933	* string/strndup.c (strndup): Always terminate the string.
9934
9935Thu Jun 27 14:22:31 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9936
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.
9941
9942	* rpm/Makefile (headers, install-lib, install-lib.so,
9943	versioned, install-bin, install-sbin, install-data,
9944	install-others): Add $(-VARIABLE).
9945
9946Fri Jun 28 02:41:08 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
9947
9948	* nss/Makefile (databases): New variable.
9949	(routines, libnss_files-routines): Use it.
9950	(subdir-dirs): Compute from $(services).
9951
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.
9955
9956	* string/Makefile (routines): Add strndup.
9957	* string/strndup.c: New file.
9958	* string/string.h: Declare strndup.
9959	(strndupa): New macro.
9960
9961	* string/string.h: Declare __strdup.
9962	* string/strdup.c: Deansideclized.  Define __ name and weak alias.
9963
9964	* string/string.h: Don't define memccpy as macro for [__OPTIMIZE__].
9965
9966Thu Jun 27 02:49:28 1996  Ulrich Drepper  <drepper@cygnus.com>
9967
9968	* catgets/gencat.c: Add casts to avoid signed<->unsigned warnings.
9969
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.
9973
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.
9987
9988	* nss/getXXent_r.c: Don't define set*ent and end*ent function
9989	with _r suffix.
9990
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.
9998
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().
10006
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'.
10014
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>
10023
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.
10028
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.
10036
10037Wed Jun 26 01:58:49 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
10038
10039	* nss/nss_files/files-parse.c (parse_list): Count null in EOL calc.
10040
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.
10045
10046	* nss/network-lookup.c (DEFAULT_CONFIG): New macro.
10047	* nss/host-lookup.c (DEFAULT_CONFIG): New macro.
10048
10049	* nss/nsswitch.c (nss_parse_service_list): Use __strncasecmp instead
10050	of strncasecmp.  Extend syntax to grok [!foo=bar].
10051
10052	* sysdeps/generic/strncase.c: Define __strncasecmp with strncasecmp as
10053	weak alias.
10054	* string/string.h: Declare __strncasecmp.
10055
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.
10065
10066	* grp/initgroups.c: Rewritten using getgrent.  Handle unlimited group
10067	list size.
10068
10069	* sunrpc/xdr.c (xdr_int): #if 0 out unresolved references in dead code.
10070
10071Wed Jun 26 01:56:50 1996  Ulrich Drepper  <drepper@cygnus.com>
10072
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'.
10079
10080Tue Jun 25 17:22:55 1996  Miles Bader  <miles@gnu.ai.mit.edu>
10081
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.
10085
10086Tue Jun 25 10:58:23 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
10087
10088	* inet/getrpcent.c: Fix macros.
10089	* inet/getrpcent_r.c: Fix macros.
10090
10091	* elf/dlsym.c (dlsym): Search the global scope if HANDLE is null.
10092
10093	* elf/dl-load.c (_dl_map_object_from_fd): Initialize L.
10094
10095Tue Jun 25 09:55:47 1996  David Mosberger-Tang  <davidm@AZStarNet.com>
10096
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.
10102
10103Sat Jun 22 13:05:25 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10104
10105	* locale/Makefile (distribute): Add `programs/' prefix to all
10106	files in that directory.
10107
10108	* Makerules (distinfo-vars): Assign subdir directly so that `ifdef
10109	subdir' works.
10110
10111	* MakeTAGS (sources, headers): Make them simply expanded variables
10112	so that all-dist is expanded before it is changed.
10113
10114Tue Jun 25 02:59:11 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
10115
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.
10120
10121	* Makefile (distribute): Add rpm/{Makefile,teplate,rpmrc}.
10122
10123	* inet/getrpcent_r.c (DATABASE_NAME): New macro.
10124
10125	* inet/getrpcbynumber.c (BUFLEN): New macro.
10126
10127	* configure.in (--no-whole-archive check): Remove backslashes in cmd.
10128
10129	* Makefile (headers): Add libc-lock.h.
10130	* sysdeps/stub/libc-lock.h: New file.
10131
10132	* inet/getrpcbynumber.c: Remove _r typo.
10133
10134	* elf/dl-load.c (_dl_map_object): Fix typo in last change.
10135
10136	* nss/nss_files/files-parse.c (parse_list): Reset ELT for elements
10137	after the first!
10138
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.
10144
10145	* grp/fgetgrent.c (LINE_PARSER): Pass zero SWALLOW arg for fields.
10146	* pwd/fgetpwent.c: Likewise.
10147
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.
10152
10153	* malloc/malloc-find.c (malloc_find_object_address): Return null if
10154	PTR is outside the heap.
10155
10156	* elf/dl-load.c (_dl_map_object): If the requested name matches the
10157	soname of a loaded object, use that object.
10158
10159Mon Jun 24 19:57:01 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
10160
10161	* Makefile (subdirs): Add nss.
10162
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.
10177
10178	* nss/getXXent_r.c (REENTRANT_GETNAME): Clear NO_MORE when NIP is
10179	non-null on entry.
10180
10181	* Makeconfig (rpath-link): Add $(nssobjdir).
10182	(nssobjdir): New variable.
10183
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.
10187
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.
10208
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.
10213
10214	* nss/Makefile (subdir-dirs): New variable; use it in vpath.
10215
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.
10221
10222	* nss/Makefile (libnss_files-routines): Remove files-host.
10223	Add files-hosts, files-grp, files-pwd.
10224
10225	* nss/nss_dns/dns-network.c: Don't include <pthread.h>.
10226
10227Mon Jun 24 22:39:12 1996  Richard Henderson  <rth@tamu.edu>
10228
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.
10232
10233Sun Jun 23 15:24:05 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
10234
10235	* time/Makefile ($(installed-localtime-file) rule): Do
10236	$(make-target-directory) first.
10237
10238	* resolv.h: Fix wrapper for resolv/resolv.h.
10239
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.
10243
10244	* shlib-versions (*-*-*): Set libresolv=2, libnss_files=1,
10245	libnss_dns=1.
10246
10247Sun Jun 23 19:42:05 1996  Ulrich Drepper  <drepper@cygnus.com>
10248
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*.
10255
10256	* resolv/netdb.h (_PATH_NSSWITCH_CONF): New macro.
10257
10258	* inet/herrno.c: New file.
10259
10260	* resolv/res_init.c: Remove res_hconf calls.
10261
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.
10276
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.
10288
10289	* resolv/getnetbyaddr.c, resolv/getnetbyname.c, resolv/getnetent.c,
10290	resolv/sethostent.c: Removed:  Obsoleted by NSS.
10291
10292	* resolv/mapv4v6addr.h, resolv/mapv4v6hostent.h: Extracted from
10293	gethnamaddr.c.  These private functions are now used in more
10294	than one file.
10295
10296	* resolv/inet_pton.c, resolv/gethnamaddr.c: Updated to bind-4.9.4-T5B.
10297
10298Sat Jun 22 16:49:47 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10299
10300	* rpm/Makefile ($(config)): Make sure the word list in the for
10301	loop is syntactically non-empty.
10302
10303Sat Jun 22 21:29:52 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
10304
10305	* Version 1.92 test release.
10306
10307Sat Jun 22 23:30:07 1996  David Mosberger-Tang  <davidm@azstarnet.com>
10308
10309	* sysdeps/unix/sysv/linux/syscalls.list (ksyslog_ctl): Rename
10310	to klogctl to match prototype in sys/klog.h.
10311
10312	* sysdeps/posix/libc_fatal.c: Add include of <string.h>.
10313	* sysdeps/unix/sysv/linux/gethostid.c: Ditto.
10314
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==".".
10318
10319	* sysdeps/alpha/Makefile (CFLAGS-rtld.c): Add -mbuild-constants
10320	only when building ELF version of library.
10321
10322	* libio/libioP.h (_IO_vscanf): Add prototype.
10323
10324	* posix/unistd.h (syscall): Change sysno arg and return value
10325	to int long.
10326
10327Sat Jun 22 10:44:09 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
10328
10329	* version.h (VERSION): Updated to 1.92.
10330
10331	* misc/Makefile (headers): Add ar.h.
10332	* misc/ar.h: New file.
10333
10334	* config.make.in (BUILD_CC): New variable.
10335	* configure.in: Check for BUILD_CC if $host != $build.
10336
10337	* posix/glob.c: Include <alloca.h> only [HAVE_ALLOCA_H], not [sparc].
10338
10339	* Makerules [! objects] (subdir_lib): Depend on the stamp$o files.
10340	(stamp$o files): New targets, create them empty, no deps.
10341
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.
10346
10347Fri Jun 21 00:27:51 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
10348
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.
10351
10352	* sysdeps/sparc/elf/start.S: New file.
10353	* sysdeps/sparc/dl-machine.h: New file.
10354
10355	* posix/fnmatch.c (fnmatch): Fix \*[*?]+ case to increment name ptr
10356	only for ?s, not for *s.  Fix from Chet Ramey.
10357
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.
10369
10370	* misc/tsearch.c (tdelete): Define as weak alias to __tdelete.
10371
10372	* version.c (banner): Add trailing newline.
10373
10374	* login/utmp.h: Declare login_tty.
10375
10376Thu Jun 20 21:19:07 1996  Richard Henderson  <rth@tamu.edu>
10377
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.
10384
10385Thu Jun 20 12:18:21 1996  Miles Bader  <miles@gnu.ai.mit.edu>
10386
10387	* sysdeps/mach/hurd/brk.c (_hurd_brk): Initialize to 0.
10388
10389	* hurd/getuids.c (getuids): New weak link to __getuids.
10390
10391Wed Jun 19 10:21:24 1996  Miles Bader  <miles@gnu.ai.mit.edu>
10392
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.
10410
10411Mon Jun 17 19:09:49 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10412
10413	* Make-dist (+sysdeps): Move wildcard inside loop to avoid consing
10414	up a huge list just to discard most of it.
10415
10416	* configure.in (sysnames): Avoid fgrep by using the case shell
10417	builtin.
10418
10419	* Makeconfig (config.status): Fix dependency on Implies files.
10420
10421Wed Jun 19 01:27:57 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
10422
10423	* math/Makefile (distribute): Add ieee-math.c.
10424
10425Wed Jun 19 03:24:58 1996  Ulrich Drepper  <drepper@cygnus.com>
10426
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'.
10435
10436	* locale/programs/locfile.c: Don't depend in pre-2.0 Linux specific
10437	name `MAX_IOVEC'.  Instead use standard name `UIO_MAXIOV'.
10438
10439	* locale/setlocale.c (setlocale): Initialize local variables to
10440	prevent warnings.
10441
10442Thu Jun 13 17:25:11 1996  David Mosberger-Tang  <davidm@azstarnet.com>
10443
10444	* sysdeps/generic/memcmp.c: Add prototype decls for internal fns.
10445
10446	* locale/programs/locale.c: Include string.h.
10447
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.
10452
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.
10456
10457	* locale/programs/ld-numeric.c: Include <alloca.h>
10458
10459	* libio/stdio.h (__libc_fatal): Add prototype.
10460
10461	* libio/cleanup.c: Use __P() to declare prototype when __STDC__ is
10462	in efect.
10463
10464	* libio/iopopen.c (read_or_write, parent_end, child_end): Declare
10465	volatile to avoid "might get clobbered by longjmp" warning.
10466
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.
10471
10472	* sysdeps/unix/bsd/osf/alpha/start.S (errno): Removed.
10473	* sysdeps/unix/sysv/linux/alpha/start.S: Ditto.
10474
10475	* misc/paths.h (_PATH_MAN): Change from /usr/share/man to /usr/man
10476	to be Linux FSSTND compliant.
10477
10478Mon Jun 10 17:50:31 1996  David Mosberger-Tang  <davidm@azstarnet.com>
10479
10480	* sysdeps/unix/sysv/linux/alpha/pipe.S: Use PSEUDO.
10481
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.
10490
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.
10494
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.
10499
10500	* sysdeps/unix/make-syscalls.sh, sysdeps/unix/sysdep.h
10501	(PSEUDO_END): Rename END() to PSEUDO_END().
10502
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.
10507
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.
10511
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).
10518
10519	* sysdeps/alpha/divrem.h: Use retaddr instead of ra as the return
10520	address register in the .frame directive.
10521
10522	* sysdeps/alpha/copysign.c: Remove.
10523
10524	* sunrpc/rpc/types.h: Include <sys/param.h> and <netinet/in.h> to
10525	avoid RPC definitions of INADDR_LOOPBACK and/or MAXHOSTNAMELEN.
10526
10527	* errno.h: Move __END_DECLS to correct place to make file
10528	compilable under c++.
10529
10530	* dirent/dirent.h: Document _DIRENT_HAVE_D_OFF macro.  Define
10531	d_ino only if <direntry.h> hasn't defined d_fileno.
10532
10533	* configure.in (HAVE_ASM_WEAKEXT_DIRECTIVE): Reverse order of
10534	arguments to weakext to make .weakext detection work on ECOFF systems.
10535
10536	* FAQ: Add Linux/Alpha to list of supported platforms.  Mention
10537	that _validuser() has been replaced by __ivaliduser().
10538
10539Thu Jun  6 21:39:38 1996  David Mosberger-Tang  <davidm@azstarnet.com>
10540
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).
10544
10545
10546
10547See ChangeLog.5 for earlier changes.
10548