1 Sun Oct 6 02:05:52 1996 Ulrich Drepper <drepper@cygnus.com>
3 * posix/getopt.c: Add casts to prevent warnings.
4 * posix/regex.c: Likewise.
6 * math/Makefile (long-m-routines, long-m-yes): Define to correct
7 values to make `long double' functions available.
8 (distribute): Add $(long-m-yes:=.c).
10 * sysdeps/libm-i387/s_ceill.S: Correct loading of return value.
11 Use long double instruction.
13 * sysdeps/libm-ieee754/e_atanhl.c (huge): Correct constant.
14 * sysdeps/libm-ieee754/e_asinhl.c: Likewise.
15 * sysdeps/libm-ieee754/s_tanhl.c: Likewise.
17 * sysdeps/libm-ieee754/e_coshl.c: New file.
19 * sysdeps/libm-ieee754/s_asinh.c [!NO_LONG_DOUBLE]: Define names
20 for `long double' version as alias.
21 * sysdeps/libm-ieee754/s_atan.c: Likewise.
22 * sysdeps/libm-ieee754/s_cbrt.c: Likewise.
23 * sysdeps/libm-ieee754/s_ceil.c: Likewise.
24 * sysdeps/libm-ieee754/s_copysign.c: Likewise.
25 * sysdeps/libm-ieee754/s_cos.c: Likewise.
26 * sysdeps/libm-ieee754/s_erf.c: Likewise.
27 * sysdeps/libm-ieee754/s_expm1.c: Likewise.
28 * sysdeps/libm-ieee754/s_fabs.c: Likewise.
29 * sysdeps/libm-ieee754/s_finite.c: Likewise.
30 * sysdeps/libm-ieee754/s_floor.c: Likewise.
31 * sysdeps/libm-ieee754/s_frexp.c: Likewise.
32 * sysdeps/libm-ieee754/s_ilogb.c: Likewise.
33 * sysdeps/libm-ieee754/s_ldexp.c: Likewise.
34 * sysdeps/libm-ieee754/s_log1p.c: Likewise.
35 * sysdeps/libm-ieee754/s_logb.c: Likewise.
36 * sysdeps/libm-ieee754/s_modf.c: Likewise.
37 * sysdeps/libm-ieee754/s_nextafter.c: Likewise.
38 * sysdeps/libm-ieee754/s_rint.c: Likewise.
39 * sysdeps/libm-ieee754/s_scalbn.c: Likewise.
40 * sysdeps/libm-ieee754/s_significand.c: Likewise.
41 * sysdeps/libm-ieee754/s_sin.c: Likewise.
42 * sysdeps/libm-ieee754/s_tan.c: Likewise.
43 * sysdeps/libm-ieee754/s_tanh.c: Likewise.
44 * sysdeps/libm-ieee754/w_acos.c: Likewise.
45 * sysdeps/libm-ieee754/w_acosh.c: Likewise.
46 * sysdeps/libm-ieee754/w_sin.c: Likewise.
47 * sysdeps/libm-ieee754/w_atan2.c: Likewise.
48 * sysdeps/libm-ieee754/w_atanh.c: Likewise.
49 * sysdeps/libm-ieee754/w_cabs.c: Likewise.
50 * sysdeps/libm-ieee754/w_cosh.c: Likewise.
51 * sysdeps/libm-ieee754/w_drem.c: Likewise.
52 * sysdeps/libm-ieee754/w_exp.c: Likewise.
53 * sysdeps/libm-ieee754/w_fmod.c: Likewise.
54 * sysdeps/libm-ieee754/w_gamma.c: Likewise.
55 * sysdeps/libm-ieee754/w_gamma_r.c: Likewise.
56 * sysdeps/libm-ieee754/w_hypot.c: Likewise.
57 * sysdeps/libm-ieee754/w_j0.c: Likewise.
58 * sysdeps/libm-ieee754/w_j1.c: Likewise.
59 * sysdeps/libm-ieee754/w_jn.c: Likewise.
60 * sysdeps/libm-ieee754/w_lgamma.c: Likewise.
61 * sysdeps/libm-ieee754/w_lgamma_r.c: Likewise.
62 * sysdeps/libm-ieee754/w_log.c: Likewise.
63 * sysdeps/libm-ieee754/w_log10.c: Likewise.
64 * sysdeps/libm-ieee754/w_pow.c: Likewise.
65 * sysdeps/libm-ieee754/w_remainder.c: Likewise.
66 * sysdeps/libm-ieee754/w_scalb.c: Likewise.
67 * sysdeps/libm-ieee754/w_sinh.c: Likewise.
68 * sysdeps/libm-ieee754/w_sqrt.c: Likewise.
70 Stub files for missing long double math functions.
71 * sysdeps/stub/e_acoshl.c: New file.
72 * sysdeps/stub/e_hypotl.c: New file.
73 * sysdeps/stub/e_j0l.c: New file.
74 * sysdeps/stub/e_j1l.c: New file.
75 * sysdeps/stub/e_jnl.c: New file.
76 * sysdeps/stub/e_lgammal_r.c: New file.
77 * sysdeps/stub/e_powl.c: New file.
78 * sysdeps/stub/e_rem_pio2l.c: New file.
79 * sysdeps/stub/e_sinhl.c: New file.
80 * sysdeps/stub/k_cosl.c: New file.
81 * sysdeps/stub/k_rem_pio2l.c: New file.
82 * sysdeps/stub/k_sinl.c: New file.
83 * sysdeps/stub/k_tanl.c: New file.
84 * sysdeps/stub/s_erfl.c: New file.
85 * sysdeps/stub/s_expm1l.c: New file.
87 * sysdeps/i386/__longjmp.S: Use PSEUDO_END macro to provide
89 * sysdeps/i386/bsd-_setjmp.S: Likewise.
90 * sysdeps/i386/bsd-setjmp.S: Likewise.
91 * sysdeps/i386/memchr.S: Likewise.
92 * sysdeps/i386/memcmp.S: Likewise.
93 * sysdeps/i386/setjmp.S: Likewise.
94 * sysdeps/i386/stpcpy.S: Likewise.
95 * sysdeps/i386/stpncpy.S: Likewise.
96 * sysdeps/i386/strchr.S: Likewise.
97 * sysdeps/i386/strcspn.S: Likewise.
98 * sysdeps/i386/strpbrk.S: Likewise.
99 * sysdeps/i386/strrchr.S: Likewise.
100 * sysdeps/i386/strspn.S: Likewise.
101 * sysdeps/i386/strtok.S: Likewise.
102 * sysdeps/i386/i486/strcat.S: Likewise.
103 * sysdeps/i386/i486/strlen.S: Likewise.
104 * sysdeps/i386/i586/memset.S: Likewise.
105 * sysdeps/i386/i586/strchr.S: Likewise.
106 * sysdeps/i386/i586/strlen.S: Likewise.
107 * sysdeps/libm-i387/e_acos.S: Likewise.
108 * sysdeps/libm-i387/e_acosl.S: Likewise.
109 * sysdeps/libm-i387/e_asin.S: Likewise.
110 * sysdeps/libm-i387/e_asinl.S: Likewise.
111 * sysdeps/libm-i387/e_atan2.S: Likewise.
112 * sysdeps/libm-i387/e_atan2l.S: Likewise.
113 * sysdeps/libm-i387/e_exp.S: Likewise.
114 * sysdeps/libm-i387/e_expl.S: Likewise.
115 * sysdeps/libm-i387/e_fmod.S: Likewise.
116 * sysdeps/libm-i387/e_fmodl.S: Likewise.
117 * sysdeps/libm-i387/e_log.S: Likewise.
118 * sysdeps/libm-i387/e_log10.S: Likewise.
119 * sysdeps/libm-i387/e_log10l.S: Likewise.
120 * sysdeps/libm-i387/e_logl.S: Likewise.
121 * sysdeps/libm-i387/e_remainder.S: Likewise.
122 * sysdeps/libm-i387/e_remainderf.S: Likewise.
123 * sysdeps/libm-i387/e_remainderl.S: Likewise.
124 * sysdeps/libm-i387/e_scalb.S: Likewise.
125 * sysdeps/libm-i387/e_scalbl.S: Likewise.
126 * sysdeps/libm-i387/e_sqrt.S: Likewise.
127 * sysdeps/libm-i387/e_sqrtf.S: Likewise.
128 * sysdeps/libm-i387/e_sqrtl.S: Likewise.
129 * sysdeps/libm-i387/s_atan.S: Likewise.
130 * sysdeps/libm-i387/s_atanf.S: Likewise.
131 * sysdeps/libm-i387/s_atanl.S: Likewise.
132 * sysdeps/libm-i387/s_ceil.S: Likewise.
133 * sysdeps/libm-i387/s_ceilf.S: Likewise.
134 * sysdeps/libm-i387/s_ceill.S: Likewise.
135 * sysdeps/libm-i387/s_copysign.S: Likewise.
136 * sysdeps/libm-i387/s_copysignf.S: Likewise.
137 * sysdeps/libm-i387/s_copysignl.S: Likewise.
138 * sysdeps/libm-i387/s_cos.S: Likewise.
139 * sysdeps/libm-i387/s_cosf.S: Likewise.
140 * sysdeps/libm-i387/s_cosl.S: Likewise.
141 * sysdeps/libm-i387/s_finite.S: Likewise.
142 * sysdeps/libm-i387/s_finitef.S: Likewise.
143 * sysdeps/libm-i387/s_finitel.S: Likewise.
144 * sysdeps/libm-i387/s_floor.S: Likewise.
145 * sysdeps/libm-i387/s_floorf.S: Likewise.
146 * sysdeps/libm-i387/s_floorl.S: Likewise.
147 * sysdeps/libm-i387/s_ilogb.S: Likewise.
148 * sysdeps/libm-i387/s_ilogbf.S: Likewise.
149 * sysdeps/libm-i387/s_ilogbl.S: Likewise.
150 * sysdeps/libm-i387/s_log1p.S: Likewise.
151 * sysdeps/libm-i387/s_log1pf.S: Likewise.
152 * sysdeps/libm-i387/s_log1pl.S: Likewise.
153 * sysdeps/libm-i387/s_logb.S: Likewise.
154 * sysdeps/libm-i387/s_logbf.S: Likewise.
155 * sysdeps/libm-i387/s_logbl.S: Likewise.
156 * sysdeps/libm-i387/s_rint.S: Likewise.
157 * sysdeps/libm-i387/s_rintf.S: Likewise.
158 * sysdeps/libm-i387/s_rintl.S: Likewise.
159 * sysdeps/libm-i387/s_scalbn.S: Likewise.
160 * sysdeps/libm-i387/s_scalbnf.S: Likewise.
161 * sysdeps/libm-i387/s_scalbnl.S: Likewise.
162 * sysdeps/libm-i387/s_significand.S: Likewise.
163 * sysdeps/libm-i387/s_significandf.S: Likewise.
164 * sysdeps/libm-i387/s_significandl.S: Likewise.
165 * sysdeps/libm-i387/s_sin.S: Likewise.
166 * sysdeps/libm-i387/s_sinf.S: Likewise.
167 * sysdeps/libm-i387/s_sinl.S: Likewise.
168 * sysdeps/libm-i387/s_tan.S: Likewise.
169 * sysdeps/libm-i387/s_tanf.S: Likewise.
170 * sysdeps/libm-i387/s_tanl.S: Likewise.
172 * sysdeps/unix/sysv/linux/i386/clone.S: Add .size directive.
173 * sysdeps/unix/sysv/linux/i386/mmap.S. Likewise.
174 * sysdeps/unix/sysv/linux/i386/socket.S. Likewise.
175 * sysdeps/unix/sysv/linux/i386/sysdep.S. More compact .size line.
177 * sysdeps/i386/sysdep.h (ASM_SIZE_DIRECTIVE): New macro. Used
178 to provide .size directive on ELF systems.
180 * sysdeps/unix/sysv/linux/i386/profil-counter.h: Include
181 <sigcontext.h> and rename parameter type to sigcontext.
182 * sysdeps/unix/sysv/linux/i386/sigcontext.h New file.
184 * sysdeps/unix/sysv/linux/i386/syscall.S: From Linux 2.1 on
185 negative values might occur as positive results. Test against
186 -125 to decide for error or not.
187 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise for system calls.
189 Thu Oct 3 21:07:58 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
191 * elf/dl-open.c: Use _DYNAMIC instead of _dl_start to decide
192 whether this is a statically linked program. The latter is now
195 Fri Oct 4 02:08:10 1996 Bang Jun-Young <bangjy@nownuri.nowcom.co.kr>
199 Fri Oct 4 02:07:46 1996 Michel Robitaille <robitail@IRO.UMontreal.CA>
201 * po/fr.po: New file.
203 Fri Oct 4 05:04:52 1996 Ulrich Drepper <drepper@cygnus.com>
205 * sysdeps/unix/sysv/linux/i386/sigcontext.h: New file.
207 Add support for MD5 crypt replacement.
208 * Makefile (subdirs): Add crypt.
209 * shlib-versions: Add entry for libcrypt.
210 * crypt/md5-crypt.c: New file.
211 * crypt/md5.c: New file.
212 * crypt/md5.h: New file.
213 * sysdeps/generic/crypt-entry.c: New file.
214 * sysdeps/generic/crypt.h: New file.
216 Thu Oct 3 20:53:23 1996 Andreas Jaeger <aj@arthur.pfalz.de>
218 * dirent/tst-seekdir.c: Provide correct prototypes.
219 * io/test-utime.c: Likewise.
220 * malloc/mallocbug.c: Likewise.
221 * posix/testfnm.c: Likewise.
222 * stdio-common/xbug.c: Likewise.
223 * sysdeps/posix/cuserid.c: Likewise.
225 Wed Oct 2 13:33:48 1996 Richard Henderson <rth@tamu.edu>
227 Provide optimized string functions for Alpha processors.
228 * sysdeps/alpha/bzero.S: New file.
229 * sysdeps/alpha/memset.S: New file.
230 * sysdeps/alpha/stpcpy.S: New file.
231 * sysdeps/alpha/stpncpy.S: New file.
232 * sysdeps/alpha/strcat.S: New file.
233 * sysdeps/alpha/strchr.S: New file.
234 * sysdeps/alpha/strcpy.S: New file.
235 * sysdeps/alpha/strncat.S: New file.
236 * sysdeps/alpha/strncpy.S: New file.
237 * sysdeps/alpha/strrchr.S: New file.
238 * sysdeps/alpha/stxcpy.S: New file.
239 * sysdeps/alpha/stxncpy.S: New file.
241 * sysdeps/alpha/Makefile [$(sudir)==string]: Add stxcpy and
242 stxncpy to sysdep_routines.
245 Wed Oct 2 13:41:48 1996 Ulrich Drepper <drepper@cygnus.com>
247 * sysdeps/generic/strtok.c: Don't set stored pointer to NULL when
248 notheing is found. This guarantees all subsequent calls behave
250 * sysdeps/generic/strtok_r.c: Likewise.
252 Mon Sep 30 22:27:36 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
254 * sysdeps/posix/tempname.c (__stdio_gen_tempname): Don't declare
257 Mon Sep 30 22:38:29 1996 Richard Henderson <rth@tamu.edu>
259 * sysdeps/generic/strtok.c: When we hit EOS, don't set olds to
260 NULL immediately; we're going to get called one more time.
261 * sysdeps/generic/strtok_r.c: Likewise.
263 Tue Oct 1 09:12:21 1996 Ulrich Drepper <drepper@cygnus.com>
265 * locale/programs/ld-time.c: Always write some bytes at the end of
266 the file even if no `era's are specified.
268 * stdio-common/tmpname.c (tmpbuf): Don't define as array of
271 Tue Oct 1 01:43:11 1996 Ulrich Drepper <drepper@cygnus.com>
273 * libio/iofclose.c: Move unlocking to right position.
275 Mon Sep 30 03:08:34 1996 Richard Henderson <rth@tamu.edu>
277 * misc/Makefile: Kill force-wrapper.
278 * misc/force-wrapper.c: Delete.
280 * elf/eval.c: Add <string.h>.
282 * gmon/sys/gmon_out.h: Nonsense like `char foo[sizeof(char*)]'
283 followed by `bcopy(&ptr, &foo, sizeof(foo))' helps portability
284 and binary compatibility not at all. Better to do `char *foo'
285 followed by `foo = ptr' as it is much cleaner.
286 (struct gmon_hdr): Fix version.
287 (struct gmon_hist_hdr): Fix low_pc, high_pc, hist_size, prof_rate.
288 (struct gmon_cg_arc_record): Fix from_pc, self_pc, count.
289 * gmon/gmon.c: De-ansidecl-ify.
290 (write_hist): De-bcopy-fy.
291 (write_call_graph): Likewise.
293 * gmon/mcount.c: Assume _MCOUNT_DECL does the entire declaration.
294 * sysdeps/alpha/machine-gmon.h: Update _MCOUNT_DECL.
295 * sysdeps/generic/machine-gmon.h: Likewise.
297 * resolv/netdb.h: Add __set_h_errno to mimic __set_errno.
298 * nss/getXXent_r.c: Use __set_h_errno to set h_errno in all funcs.
299 * nss/nss_dns/dns-network.c: Likewise.
300 * resolv/getunamaddr.c: Likewise. Also use __set_errno where needed.
301 * resolv/getnetnamadr.c: Likewise.
302 * resolv/res_debug.c: Likewise.
303 * resolv/res_mkquery.c: Likewise.
304 * resolv/res_query.c: Likewise.
306 * libio/clearerr_u.c: It's not necessary to define __ protected
307 function so don't do it.
308 * libio/feof_u.c, libio/ferror_u.c, libio/fputc_u.c,
309 libio/getc_u.c, libio/getchar_u.c, libio/iofflush_u.c: Likewise.
311 * libio/fgetc.c: Avoid a warning by casting _IO_funlockfile for
312 the cleanup registrar.
313 * libio/fputc.c, libio/freopen.c, libio/fseek.c, libio/getc.c,
314 libio/getchar.c, libio/iofclose.c, libio/iofflush.c,
315 libio/iofgetpos.c, libio/iofgets.c, libio/iofputs.c,
316 libio/iofread.c, libio/iofsetpos.c, libio/ioftell.c,
317 libio/iofwrite.c, libio/iogetdelim.c, libio/iogets.c,
318 libio/ioputs.c, libio/iosetbuffer.c, libio/iosetvbuf.c,
319 libio/ioungetc.c, libio/putc.c, libio/putchar.c, libio/rewind.c:
322 * locale/programs/ld-ctype.c: Include <alloca.h>.
324 * login/login_tty.c: Get login_tty prototype from <utmp.h>.
326 * posix/sys/types.h: Change #defines to typedefs. This is looking
327 forward to more comprehensive namespace cleanups for C++.
328 * posix/unistd.h: Likewise for ssize_t.
330 * pwd/getpw.c: Prototype and rename getpw -> __getpw and add a
333 * resolv/base64.c: Don't do `for (NULL; ...)' as it causes
334 `statement with no effect' warnings.
335 * resolv/inet_neta.c: Include <string.h> for strlen.
337 * stdio-common/getline.c: Undef ssize_t before libio redefinition.
338 * stdio-common/tstgetln.c: Same. De-ansidecl-ify.
339 * stdio-common/vfprintf.c: Same for va_list.
340 * stdio-common/vfscanf.c: Same.
341 * stdio-common/reg-printf.c: Prototype the __ function.
342 * stdio-common/scanf.c [USE_IN_LIBIO]: Include <libioP.h> for
343 _IO_vscanf declaration.
345 * string/tester.c: Tsk, tsk. Don't cast pointers to int,
346 but to unsigned long for the health of 64-bit systems.
348 * sunrpc/svc_udp.c: Define MAX only if we don't have it yet.
349 Many system's <sys/param.h> pulls this in.
351 * sysdeps/generic/dl-cache.c: Kill the bottom half of the
354 * sysdeps/generic/pty.c (forkpty): Get login_tty decl from <utmp.h>
355 instead of defining it locally.
357 * sysdeps/posix/sigvec.c: Prototype wrapper_handler and convert_mask.
358 * sysdeps/stub/chflags.c: Prototype chflags.
359 * sysdeps/stub/fchflags.c: Prototype fchflags.
360 * sysdeps/stub/sstk.c: Prototype sstk.
362 * sysdeps/unix/alpha/sysdep.S: Add strong alias from errno
363 variable to __errno. Update __syscall_error to store to both
364 the global and per-thread variables.
366 * sysdeps/unix/sysv/linux/init-first.c: Change include of
367 init-first.h from "" to <> as "" does not search the include path.
370 Sun Sep 29 14:41:17 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
372 * sysdeps/unix/Makefile ($(common-objpfx)s-proto.d): Make it a
373 pattern rule to get the right stem.
375 Sat Sep 28 01:30:06 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
377 * Makefile ($(objpfx)version-info.h): Fix typo in previous change.
379 Sat Sep 28 00:44:38 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
381 * sysdeps/posix/euidaccess.c (__set_errno): Fix typo.
383 Sat Sep 28 00:40:38 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
385 * malloc/free.c (_free_internal): Don't call free recursively, use
386 the internal functions instead.
388 Sat Sep 28 00:23:20 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
390 * sysdeps/posix/tempname.c (__stdio_gen_tempname) [USE_IN_LIBIO &&
391 _IO_MTSAFE_IO]: Allocate and initialize the file lock.
393 Fri Sep 27 23:58:17 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
395 * catgets/gencat.c (main): Print version information on stdout,
397 * db/makedb.c: Likewise.
398 * locale/programs/locale.c: Likewise.
399 * locale/programs/localedef.c: Likewise.
401 Mon Sep 30 00:14:26 1996 Ulrich Drepper <drepper@cygnus.com>
403 Add implementation of netgroup.
404 * inet/Makefile (distributes): Add netgroup.h.
405 (routines): Add getnetgrent.c and getnetgrent_r.c.
406 * inet/getnetgrent.c: New file.
407 * inet/getnetgrent_r.c: New file.
408 * inet/netgroup.h: New file.
409 * netgroup.h: New file.
410 * nsswitch.h: New file.
411 * nss/Makefile (databases): Add getgrp.
412 * nss/databases.def: Add netgroup.
413 * nss/db-Makefile: Add rules for netgroup.
414 * nss/netgrp-lookup.c: New file.
415 * nss/nss.h: Add new status value NSS_STATUS_RETURN which will
416 always return without a check of the transition table.
417 * nss/nsswitch.h (struct service_user): Extend actions array to
419 * nss/nsswitch.c (__nss_next): Allow NSS_STATUS_RETURN as legal
421 (nss_parse_service_list): Initialize action for NSS_STATUS_RETURN
422 to NSS_ACTION_RETURN.
423 * nss/nss_db/db-netgrp.c: New file.
424 * nss/nss_files/files-netgrp.c: New file.
425 * nss/nsswitch.conf: Add entry for netgroup.
426 * resolv/netdb.h: Add prototypes for netgroup functions.
428 * nss/nss_db/db-XXX.c: Use `enum nss_status' type when status
431 Sun Sep 29 12:55:58 1996 Ulrich Drepper <drepper@cygnus.com>
433 * sysdeps/unix/sysv/linux/syscalls.list: Change funciton name for
434 _llseek to _llseek (not llseek).
435 Reported by Matthias Urlichs <smurf@smurf.noris.de>.
437 Sun Sep 29 05:34:32 1996 Ulrich Drepper <drepper@cygnus.com>
439 * inet/rcmd.c: Remove definition of MIN.
441 Sat Sep 28 14:22:51 1996 Ulrich Drepper <drepper@cygnus.com>
443 * dirent/readdir_r.c: Removed. We indeed need a real implementation.
444 * sysdeps/unix/readdir_r.c: New file.
445 * sysdeps/unix/readdir.c: Remove check for correct parameter
446 values. Let them simply die.
447 * manual/filesys.texi: Document readdir_r.
449 * sysdeps/gnu/errlist.awk: Define _sys_errlist as `const char* const'.
450 Proposed by Per Abrahamsen <abraham@dina.kvl.dk>.
452 Sat Sep 28 03:02:49 1996 Ulrich Drepper <drepper@cygnus.com>
454 * dirent/Makefile (routines): Add readdir_r.
455 * dirent/readdir_r.c: New file. Wrapper around readdir.c.
456 * dirent/dirent.h: Add prototype for readdir_r.
458 * misc/hsearch_r.c (ENTRY): Make field `used' of type `unsigned int'
461 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path):
464 Sat Sep 28 01:16:42 1996 Ulrich Drepper <drepper@cygnus.com>
466 * sysdeps/generic/strsep.c: Rename to __strsep and make strsep
468 * string/string.h: Add prototype for __strsep.
469 * misc/mntent_r.c: Use __strsep instead of strsep to keep
472 * sysdeps/stub/nanosleep.c: Rename to __libc_nanosleep and make
473 __nanosleep and nanosleep weak aliases.
474 * sysdeps/unix/sysv/linux/syscalls.list: Add __nanosleep as weak
476 * sysdeps/unix/sysv/linux/sleep.c: Call __nanosleep instead of
477 nanosleep to keep namespace clean.
479 * sysdeps/posix/ttyname.c (ttyname): Add cast to prevent warning.
480 * sysdeps/posix/ttyname_r.c (ttyname_r): Likewise.
481 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
483 * sysdeps/unix/nlist.c: Use ISO C definition since we don't always
486 * login/Makefile (headers): Add pty.h.
487 * login/pty.h: New file.
488 * sysdeps/generic/pty.h: Include <pty.h>.
489 * login/pututline_r.c: Add cast to prevent warning.
491 * gmon/gmon.c: Add prototype for __profile_frequency.
492 (monstartup): Add cast to prevent warning.
493 * sysdeps/generic/prof-freq.c: Change to use ISO C style definition.
495 * locale/programs/ld-time.c (time_output): Write `era' information
498 Sat Sep 28 00:11:08 1996 Ulrich Drepper <drepper@cygnus.com>
500 * sysdeps/unix/sysv/linux/syscalls.list: Add weak alias
502 Set caller for mlock, mlockall, mremap, munlock, and munlockall
504 Reported by Matthias Urlichs <smurf@smurf.noris.de>.
506 1996-09-27 Paul Eggert <eggert@twinsun.com>
508 * strftime.c (strftime): Output incomplete formats like %E
511 1996-09-27 Paul Eggert <eggert@twinsun.com>
513 * strftime.c (strftime): Add support for %EC and %Ey.
514 Fix support for %EY. This uses the new _nl_get_era_entry function.
516 Fri Sep 27 14:12:27 1996 Ulrich Drepper <drepper@cygnus.com>
518 Security related patch by Elliot Lee <sopwith@redhat.com> and
519 David Holland <dholland@eecs.harvard.edu>.
521 * inet/rexec.c (rexec): Increase size of `num' array from 8 to 32.
522 * inet/ruserpass.c (ruserpass): Don't allow $HOME envvar to not exist.
524 * sysdeps/generic/getenv.c (__secure_getenv): New function. Return
525 NULL when programs runs with SUID or SGID enabled.
526 * sysdeps/stub/getenv.c: Make __secure_getenv an alias of getenv.
527 * stdlib/stdlib.h: Add prototype for __secure_getenv.
529 * locale/setlocale.c: Use __secure_getenv.
530 * resolv/res_init.c: Likewise.
531 * resolv/res_query.c: Likewise.
532 * inet/ruserpass.c: Likewise.
533 * sysdeps/posix/tempname.c: Likewise.
534 * malloc/mtrace.c: Likewise.
535 * catgets/catgets.c: Likewise.
537 Make temporary file handling functions reentrant.
539 * stdio-common/tmpnam.c: Rewrite to have own buffer to write
540 result to. The called __stdio_gen_tempname function must be
542 * stdio-common/tmpnam_r.c: New file.
543 * stdio/stdio.h: Add prototype for `tmpnam_r'.
544 Change prototype for __stdio_gen_tempname.
545 * stdio/libio.h: Likewise.
546 * sysdeps/posix/tempname.c: Add new parameters and use them instead
548 Don't reset `indeces' when PID changed between calls.
549 Don't fail for long running programs when index counter once
551 * sysdeps/stub/tempname.c: Likewise.
552 * stdio-common/tempnam.c: Provide local buffer as extra argument
553 to __stdio_gen_tempname. This makes this function reentrant.
554 * stdio-common/tmpfile.c: Likewise.
555 * stdio-common/temptest.c: Provide extra argument to
556 __stdio_gen_tempname.
557 * manual/filesys.texi: Describe tmpnam_r and add comments about
558 reentrancy of the functions.
560 * inet/rcmd.c: Fixed address length handling.
562 * sysdeps/posix/mk-stdiolim.c: Count final \0 byte in L_tmpnam value.
564 * time/strftime.c: Remove unused variables alt_digits and
567 * sysdeps/unix/sysv/linux/sys/sysinfo.h: Correct prototype names
568 for get_nprocs and get_nprocs_conf.
569 * sysdeps/generic/sys/sysinfo.h: Likewise.
571 * stdlib/test-canon.c: Finally do the right fix.
573 * misc/Makefile: Only compile force-wrapper when compiling
576 Fri Sep 27 03:49:56 1996 Ulrich Drepper <drepper@cygnus.com>
578 Add support for cancelable system calls.
580 * csu/initfini.c: Make in crti.o reference to symbol
581 __libc_force_cancel_wrapper when compiling reentrant version.
582 * misc/Makefile (routines): Add force-wrapper.
583 * misc/force-wrapper.c: New file.
585 * posix/system.c: Rename function to __libc_system and make system
587 * sysdeps/stub/system.c: Likewise.
588 * posix/wait.c: Rename function to __libc_wait and make __wait a
589 weak alias. De-ANSI-fy.
590 * sysdeps/standalone/read.c: Rename function to __libc_read and
591 make __read a weak alias.
592 * sysdeps/stub/read.c: Likewise.
593 * sysdeps/standalone/write.c: Rename function to __libc_write and
594 make __write a weak alias.
595 * sysdeps/stub/write.c: Likewise.
596 * sysdeps/stub/tcdrain.c: Rename function to __libc_tcdrain and
597 make tcdrain a weak alias.
598 * sysdeps/unix/bsd/tcdrain.c: Likewise.
599 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Likewise.
600 * sysdeps/unix/sysv/tcdrain.c: Likewise.
601 * sysdeps/unix/sysv/linux/tcdrain.c: Likewise.
602 * sysdeps/unix/bsd/bsd4.4/wait.c: Rename function to __libc_wait
603 and make __wait a weak alias.
604 * sysdeps/stub/waitpid.c: Rename function to __libc_waitpid and
605 make __waitpid a weak alias.
606 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Likewise.
607 * sysdeps/unix/sysv/linux/waitpid.c: Likewise.
608 * sysdeps/unix/sysv/sysv4/waitpid.c: Likewise.
609 * sysdeps/unix/common/pause.c: Rename function to __libc_pause
610 and make pause a weak alias. De-ANSI-fy.
612 * sysdeps/unix/syscalls.list: Change name for close, fcntl, fsync,
613 lseek, open, read, and write to have __libc_ prefix and make old
615 * sysdeps/unix/mman/syscalls.list: Likewise for msync.
616 * sysdeps/unix/sysv/linux/syscalls.list: Likewise for nanosleep.
618 * io/creat.c: De-ANSI-fy.
620 * sysdeps/unix/sysv/linux/syscalls.list: Add pause.
622 Thu Sep 26 19:15:55 1996 Ulrich Drepper <drepper@cygnus.com>
624 * misc/mntent.h: Add MNTTYPE_* and MNTOPT_* macros.
625 Reported by Hans Grobler <grobh@nolian.ee.sun.ac.za>.
627 Thu Sep 26 14:40:10 1996 Ulrich Drepper <drepper@cygnus.com>
629 * sysdeps/posix/pathconf.c: Pass descriptor for just opened file
631 Reported by Martin von Loewis <martin@mira.isdn.cs.tu-berlin.de>.
633 Thu Sep 26 04:02:43 1996 Ulrich Drepper <drepper@cygnus.com>
635 * locale/programs/locfile.c (write_locale_data): Allocate room
636 even for file name for LC_MESSAGES locale.
637 (locafile_read): `tok_era' must be handled as a string list.
638 * locale/programs/ld-time.c: Finish correction of handling `era'.
639 * locale/C-time.c (_nl_C_LC_TIME): Add initializer for new fields.
640 * locale/categories.def: Add postload function for LC_TIME.
641 * locale/setlocale.c: Make lock global and rename to
642 __libc_setlocale_lock.
643 * locale/localeinfo.h (struct era_entry): New type. Used in strftime.
644 Add prototypes for _nl_get_era_entry and _nl_get_alt_digit.
645 * locale/lc-time.c (_nl_postload_time): New function. Initialize
647 (_nl_get_era_entry): New function. Return era entry which corresponds
649 (_nl_get_alt_digit): New function. Return string with alternate
650 digit representation for given number.
652 * time/strftime.c (strftime): Use _nl_get_alt_digit to get
653 string representing alternate digit notation.
655 Wed Sep 25 17:31:55 1996 Ulrich Drepper <drepper@cygnus.com>
657 * sysdeps/generic/waitstatus.h (union wait): Add w_status field.
658 Reported by Hans Grobler <grobh@nolian.ee.sun.ac.za>.
660 * elf/rtld.c (dl_main): Process LD_PRELOAD before loading
661 ld.so.preload. Suggested by David Engel <david@elo.ods.com>.
663 Wed Sep 25 13:10:57 1996 Ulrich Drepper <drepper@cygnus.com>
665 * catgets/gencat.c (main): Change --version again because RMS wants
666 the package name in parentheses.
667 * db/makedb.c: Likewise.
668 * locale/programs/locale.c: Likewise.
669 * locale/programs/localedef.c: Likewise.
671 Tue Sep 24 01:28:05 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
673 * Makefile ($(objpfx)sysd-dirs): Depend on Subdirs files, command
675 ($(objpfx)version-info.h): Depend on Banner files, command
678 Wed Sep 25 02:44:41 1996 Ulrich Drepper <drepper@cygnus.com>
680 * sysdeps/unix/sysv/linux/sleep.c: New file. Based on nanosleep.
682 Tue Sep 24 21:46:02 1996 Ulrich Drepper <drepper@cygnus.com>
684 * shadow/lckpwdf.c (PWD_LOCKFILE): Change to /etc/lock.pwd to be
685 on the same device as the password file.
686 * shadow/shadow.h (struct spwd): Change type of numeric fields
687 to `long int' since there value are days, not seconds.
688 * shadow/putspent.c: Change casts from time_t to `long int'.
689 * shadow/sgetspent_r.c (LINE_READER): Likewise.
691 Mon Sep 23 23:05:24 1996 Ulrich Drepper <drepper@cygnus.com>
693 * sysdeps/unix/sysv/linux/errnos.h: Define __set_errno to make
694 sure the thread specific variable is set as well as the global
696 * sysdeps/mach/hurd/errnos.awk: Define macro for source code
698 * sysdeps/stub/errnos.h: Likewise.
699 * sysdeps/unix/bsd/bsd4.4/errnos.h: Likewise.
701 * shadow/putspent.c: Don't include <errno.h>.
703 * dirent/scandir.c (scandir): Use __set_errno to set errno
705 * elf/dl-load.c (open_path): Likewise.
706 * inet/rcmd.c (rcmd): Likewise.
707 (rresvport): Likewise.
708 * intl/dcgettext.c [!__set_errno]: Define __set_errno.
709 (DCGETTEXT): Use __set_errno to set errno variable.
710 * io/fts.c (fts_open): Likewise.
711 (fts_close): Likewise.
712 (fts_read): Likewise.
714 (fts_children): Likewise.
715 (fts_build): Likewise.
716 (fts_stat): Likewise.
717 * io/ftw.c (ftw_dir): Likewise.
719 * io/getwd.c (getwd): Likewise.
720 * io/lockf.c (lockf): Likewise.
721 * libio/libioP.h [EINVAL]: Use __set_errno to define MAYBE_SET_EINVAL.
722 * libio/iofdopen.c (_IO_fdopen): Use MAYBE_SET_EINVAL to errno.
723 * libio/iogetdelim.c (_IO_getdelim): Likewise.
724 * libio/fileops.c (_IO_file_open): Use __set_errno to set errno
726 * libio/iofgetpos.c (_IO_fgetpos): Likewise.
727 * libio/iofsetpos.c (_IO_fsetpos): Likewise.
728 * libio/ioftell.c (_IO_ftell): Likewise.
729 * locale/loadlocale.c (_nl_load_locale): Likewise.
730 * locale/nl_langinfo.c (nl_langinfo): Likewise.
731 * locale/setlocale.c (ERROR_RETURN): Likewise.
732 * login/getutid_r (__getutid_r): Likewise.
733 * login/getutline_r (__getutline_r): Likewise.
734 * login/login.c (tty_name): Likewise.
735 * login/oututline_r.c (__pututline_r): Likewise.
736 * malloc/malloc.c (morecore): Likewise.
737 * misc/efgcvt_r.c (fcvt_r): Likewise.
738 * misc/hsearch_r.c (hcreate_r): Likewise.
739 (hdestroy_r): Likewise.
740 (hsearch_r): Likewise.
741 * nss/nsswitch.c (__nss_configure_lookup): Likewise.
742 * nss/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): Likewise.
743 (_nss_dns_gethostbyaddr_r): Likewise.
744 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
745 * nss/nss_files/files-parse.c (parse_list): Likewise.
746 * posix/confstr.c (confstr): Likewise. De-ANSI-fy.
747 * posix/execvp.c (execvp): Likewise.
748 * posix/glob.c: Define __set_errno.
749 (glob): Use __set_errno to set errno variable.
750 (glob_in_dir): Likewise.
751 * pwd/getpw.c: Likewise. De-ANSI-fy.
752 * pwd/putpwent.c: Likewise.
753 * resolv/inet_net_ntop.c: Likewise.
754 * resolv/inet_net_pton.c: Likewise.
755 * resolv/inet_neta.c: Likewise.
756 * resolv/inet_ntop.c: Likewise.
757 * resolv/inet_pton.c: Likewise.
758 * resolv/res_query.c (res_search): Likewise.
759 * resolv/res_send.c (Aerror): Likewise.
761 (res_send): Likewise.
762 * signal/sigaddset.c: Likewise. De-ANSI-fy.
763 * signal/sigdelset.c: Likewise.
764 * signal/sigempty.c: Likewise.
765 * signal/sigfillset.c: Likewise.
766 * signal/sigismem.c: Likewise.
767 * stdio/fclose.c: Likewise.
768 * stdio/feof.c: Likewise.
769 * stdio/ferror.c: Likewise.
770 * stdio/fflush.c: Likewise.
771 * stdio/fgetc.c: Likewise.
772 * stdio/fgetpos.c: Likewise.
773 * stdio/fgets.c: Likewise.
774 * stdio/fileno.c: Likewise.
775 * stdio/fmemopen.c: Likewise.
776 * stdio/fopen.c: Likewise.
777 * stdio/fputc.c: Likewise.
778 * stdio/fread.c: Likewise.
779 * stdio/freopen.c: Likewise.
780 * stdio/fseek.c: Likewise.
781 * stdio/fsetpos.c: Likewise.
782 * stdio/ftell.c: Likewise.
783 * stdio/fwrite.c: Likewise.
784 * stdio/getdelim.c: Likewise.
785 * stdio/gets.c: Likewise.
786 * stdio/glue.c: Likewise.
787 * stdio/internals.c: Likewise.
788 * stdio/memstream.c: Likewise.
789 * stdio/setvbuf.c: Likewise.
790 * stdio/ungetc.c: Likewise.
791 * stdio/vsscanf.c: Likewise.
792 * stdio-common/reg-printf.c: Likewise.
793 * stdio-common/vfprintf.c: Likewise.
794 * stdio-common/vfscanf.c: Likewise.
795 * stdlib/canonicalize.c: Likewise.
796 * stdlib/msort.c: Likewise.
797 * stdlib/random_r.c: Likewise.
798 * stdlib/strfmon.c: Likewise.
799 * stdlib/strtod.c: Likewise.
800 * stdlib/strtol.c: Likewise.
801 * sunrpc/bindrsvprt.c: Likewise.
802 * time/asctime.c: Likewise.
803 * time/localtime.c: Likewise.
804 * wcsmbs/mbrtowc.c: Likewise.
805 * wcsmbs/mbsnrtowcs.c: Likewise.
806 * wcsmbs/mbsrtowcs.c: Likewise.
807 * wcsmbs/wcrtomb.c: Likewise.
808 * wcsmbs/wcsnrtombs.c: Likewise.
809 * wcsmbs/wcsrtombs.c: Likewise.
810 * wcsmbs/wcstok.c: Likewise.
811 * sysdeps/generic/ftime.c: Likewise.
812 * sysdeps/generic/pty.c: Likewise.
813 * sysdeps/generic/setenv.c: Likewise.
814 * sysdeps/generic/speed.c: Likewise.
815 * sysdeps/generic/sysd-stdio.c: Likewise.
816 * sysdeps/generic/uname.c: Likewise.
817 * sysdeps/generic/vlimit.c: Likewise.
818 * sysdeps/libm-ieee754/k_standard.c: Likewise.
819 * sysdeps/libm-ieee754/s_ldexp.c: Likewise.
820 * sysdeps/libm-ieee754/s_ldexpf.c: Likewise.
821 * sysdeps/libm-ieee754/s_ldexpl.c: Likewise.
822 * sysdeps/libm-ieee754/w_scalb.c: Likewise.
823 * sysdeps/libm-ieee754/w_scalbf.c: Likewise.
824 * sysdeps/libm-ieee754/w_scalbl.c: Likewise.
825 * sysdeps/posix/dup2.c: Likewise.
826 * sysdeps/posix/euidaccess.c: Likewise.
827 * sysdeps/posix/fdopen.c: Likewise.
828 * sysdeps/posix/flock.c: Likewise.
829 * sysdeps/posix/fpathconf.c: Likewise.
830 * sysdeps/posix/getcwd.c: Likewise.
831 * sysdeps/posix/gettimeofday.c: Likewise.
832 * sysdeps/posix/isatty.c: Likewise.
833 * sysdeps/posix/isfdtype.c: Likewise.
834 * sysdeps/posix/killpg.c: Likewise.
835 * sysdeps/posix/mkstemp.c: Likewise.
836 * sysdeps/posix/mktemp.c: Likewise.
837 * sysdeps/posix/pathconf.c: Likewise.
838 * sysdeps/posix/pipestream.c: Likewise.
839 * sysdeps/posix/remove.c: Likewise.
840 * sysdeps/posix/rename.c: Likewise.
841 * sysdeps/posix/sigintr.c: Likewise.
842 * sysdeps/posix/signal.c: Likewise.
843 * sysdeps/posix/sigsuspend.c: Likewise.
844 * sysdeps/posix/sigvec.c: Likewise.
845 * sysdeps/posix/sleep.c: Likewise.
846 * sysdeps/posix/sysconf.c: Likewise.
847 * sysdeps/posix/system.c: Likewise.
848 * sysdeps/posix/tempname.c: Likewise.
849 * sysdeps/posix/truncate.c: Likewise.
850 * sysdeps/posix/ttyname.c: Likewise.
851 * sysdeps/posix/ttyname_r.c: Likewise.
852 * sysdeps/posix/wait3.c: Likewise.
853 * sysdeps/standalone/close.c: Likewise.
854 * sysdeps/standalone/open.c: Likewise.
855 * sysdeps/standalone/read.c: Likewise.
856 * sysdeps/standalone/write.c: Likewise.
857 * sysdeps/stub/__longjmp.c: Likewise.
858 * sysdeps/stub/accept.c: Likewise.
859 * sysdeps/stub/access.c: Likewise.
860 * sysdeps/stub/acct.c: Likewise.
861 * sysdeps/stub/adjtime.c: Likewise.
862 * sysdeps/stub/alarm.c: Likewise.
863 * sysdeps/stub/bind.c: Likewise.
864 * sysdeps/stub/brk.c: Likewise.
865 * sysdeps/stub/chdir.c: Likewise.
866 * sysdeps/stub/chflags.c: Likewise.
867 * sysdeps/stub/chmod.c: Likewise.
868 * sysdeps/stub/chown.c: Likewise.
869 * sysdeps/stub/chroot.c: Likewise.
870 * sysdeps/stub/clock.c: Likewise.
871 * sysdeps/stub/close.c: Likewise.
872 * sysdeps/stub/closedir.c: Likewise.
873 * sysdeps/stub/connect.c: Likewise.
874 * sysdeps/stub/ctermid.c: Likewise.
875 * sysdeps/stub/cuserid.c: Likewise.
876 * sysdeps/stub/dirfd.c: Likewise.
877 * sysdeps/stub/dup.c: Likewise.
878 * sysdeps/stub/dup2.c: Likewise.
879 * sysdeps/stub/euidaccess.c: Likewise.
880 * sysdeps/stub/execve.c: Likewise.
881 * sysdeps/stub/fchdir.c: Likewise.
882 * sysdeps/stub/fchflags.c: Likewise.
883 * sysdeps/stub/fchmod.c: Likewise.
884 * sysdeps/stub/fchown.c: Likewise.
885 * sysdeps/stub/fcntl.c: Likewise.
886 * sysdeps/stub/fdopen.c: Likewise.
887 * sysdeps/stub/fexecve.c: Likewise.
888 * sysdeps/stub/flock.c: Likewise.
889 * sysdeps/stub/fork.c: Likewise.
890 * sysdeps/stub/fpathconf.c: Likewise.
891 * sysdeps/stub/fstatfs.c: Likewise.
892 * sysdeps/stub/fsync.c: Likewise.
893 * sysdeps/stub/ftruncate.c: Likewise.
894 * sysdeps/stub/fxstat.c: Likewise.
895 * sysdeps/stub/getcwd.c: Likewise.
896 * sysdeps/stub/getdents.c: Likewise.
897 * sysdeps/stub/getdomain.c: Likewise.
898 * sysdeps/stub/getdtsz.c: Likewise.
899 * sysdeps/stub/getegid.c: Likewise.
900 * sysdeps/stub/getenv.c: Likewise.
901 * sysdeps/stub/geteuid.c: Likewise.
902 * sysdeps/stub/getgid.c: Likewise.
903 * sysdeps/stub/getgroups.c: Likewise.
904 * sysdeps/stub/gethostid.c: Likewise.
905 * sysdeps/stub/gethostname.c: Likewise.
906 * sysdeps/stub/getitimer.c: Likewise.
907 * sysdeps/stub/getlogin.c: Likewise.
908 * sysdeps/stub/getlogin_r.c: Likewise.
909 * sysdeps/stub/getpagesize.c: Likewise.
910 * sysdeps/stub/getpeername.c: Likewise.
911 * sysdeps/stub/getpid.c: Likewise.
912 * sysdeps/stub/getppid.c: Likewise.
913 * sysdeps/stub/getpriority.c: Likewise.
914 * sysdeps/stub/getrlimit.c: Likewise.
915 * sysdeps/stub/getrusage.c: Likewise.
916 * sysdeps/stub/getsid.c: Likewise.
917 * sysdeps/stub/getsockname.c: Likewise.
918 * sysdeps/stub/getsockopt.c: Likewise.
919 * sysdeps/stub/getsysstats.c: Likewise.
920 * sysdeps/stub/gettimeofday.c: Likewise.
921 * sysdeps/stub/getuid.c: Likewise.
922 * sysdeps/stub/gtty.c: Likewise.
923 * sysdeps/stub/ioctl.c: Likewise.
924 * sysdeps/stub/isatty.c: Likewise.
925 * sysdeps/stub/isfdtype.c: Likewise.
926 * sysdeps/stub/kill.c: Likewise.
927 * sysdeps/stub/killpg.c: Likewise.
928 * sysdeps/stub/link.c: Likewise.
929 * sysdeps/stub/listen.c: Likewise.
930 * sysdeps/stub/lseek.c: Likewise.
931 * sysdeps/stub/lxstat.c: Likewise.
932 * sysdeps/stub/madvice.c: Likewise.
933 * sysdeps/stub/mkdir.c: Likewise.
934 * sysdeps/stub/mkfifo.c: Likewise.
935 * sysdeps/stub/mkstemp.c: Likewise.
936 * sysdeps/stub/mktemp.c: Likewise.
937 * sysdeps/stub/mmap.c: Likewise.
938 * sysdeps/stub/morecore.c: Likewise.
939 * sysdeps/stub/mprotect.c: Likewise.
940 * sysdeps/stub/msgctl.c: Likewise.
941 * sysdeps/stub/msgget.c: Likewise.
942 * sysdeps/stub/msgrcv.c: Likewise.
943 * sysdeps/stub/msgsnd.c: Likewise.
944 * sysdeps/stub/msync.c: Likewise.
945 * sysdeps/stub/munmap.c: Likewise.
946 * sysdeps/stub/nanosleep.c: Likewise.
947 * sysdeps/stub/nice.c: Likewise.
948 * sysdeps/stub/nlist.c: Likewise.
949 * sysdeps/stub/open.c: Likewise.
950 * sysdeps/stub/opendir.c: Likewise.
951 * sysdeps/stub/pathconf.c: Likewise.
952 * sysdeps/stub/pause.c: Likewise.
953 * sysdeps/stub/pipe.c: Likewise.
954 * sysdeps/stub/pipestream.c: Likewise.
955 * sysdeps/stub/poll.c: Likewise.
956 * sysdeps/stub/profil.c: Likewise.
957 * sysdeps/stub/ptrace.c: Likewise.
958 * sysdeps/stub/putenv.c: Likewise.
959 * sysdeps/stub/raise.c: Likewise.
960 * sysdeps/stub/read.c: Likewise.
961 * sysdeps/stub/readdir.c: Likewise.
962 * sysdeps/stub/readlink.c: Likewise.
963 * sysdeps/stub/readv.c: Likewise.
964 * sysdeps/stub/reboot.c: Likewise.
965 * sysdeps/stub/recv.c: Likewise.
966 * sysdeps/stub/recvfrom.c: Likewise.
967 * sysdeps/stub/recvmsg.c: Likewise.
968 * sysdeps/stub/remove.c: Likewise.
969 * sysdeps/stub/rename.c: Likewise.
970 * sysdeps/stub/revoke.c: Likewise.
971 * sysdeps/stub/rewinddir.c: Likewise.
972 * sysdeps/stub/rmdir.c: Likewise.
973 * sysdeps/stub/sbrk.c: Likewise.
974 * sysdeps/stub/sched_getp.c: Likewise.
975 * sysdeps/stub/sched_gets.c: Likewise.
976 * sysdeps/stub/sched_primax.c: Likewise.
977 * sysdeps/stub/sched_primin.c: Likewise.
978 * sysdeps/stub/sched_rr_gi.c: Likewise.
979 * sysdeps/stub/sched_setp.c: Likewise.
980 * sysdeps/stub/sched_sets.c: Likewise.
981 * sysdeps/stub/sched_yield.c: Likewise.
982 * sysdeps/stub/seekdir.c: Likewise.
983 * sysdeps/stub/select.c: Likewise.
984 * sysdeps/stub/semctl.c: Likewise.
985 * sysdeps/stub/semget.c: Likewise.
986 * sysdeps/stub/semop.c: Likewise.
987 * sysdeps/stub/send.c: Likewise.
988 * sysdeps/stub/sendmsg.c: Likewise.
989 * sysdeps/stub/sendto.c: Likewise.
990 * sysdeps/stub/setdomain.c: Likewise.
991 * sysdeps/stub/setegid.c: Likewise.
992 * sysdeps/stub/setenv.c: Likewise.
993 * sysdeps/stub/seteuid.c: Likewise.
994 * sysdeps/stub/setgid.c: Likewise.
995 * sysdeps/stub/setgroups.c: Likewise.
996 * sysdeps/stub/sethostid.c: Likewise.
997 * sysdeps/stub/sethostname.c: Likewise.
998 * sysdeps/stub/setitimer.c: Likewise.
999 * sysdeps/stub/setjmp.c: Likewise.
1000 * sysdeps/stub/setlogin.c: Likewise.
1001 * sysdeps/stub/setpgid.c: Likewise.
1002 * sysdeps/stub/setpriority.c: Likewise.
1003 * sysdeps/stub/setregid.c: Likewise.
1004 * sysdeps/stub/setreuid.c: Likewise.
1005 * sysdeps/stub/setrlimit.c: Likewise.
1006 * sysdeps/stub/setsid.c: Likewise.
1007 * sysdeps/stub/setsockopt.c: Likewise.
1008 * sysdeps/stub/settimeofday.c: Likewise.
1009 * sysdeps/stub/setuid.c: Likewise.
1010 * sysdeps/stub/shmat.c: Likewise.
1011 * sysdeps/stub/shmctl.c: Likewise.
1012 * sysdeps/stub/shmdt.c: Likewise.
1013 * sysdeps/stub/shmget.c: Likewise.
1014 * sysdeps/stub/shutdown.c: Likewise.
1015 * sysdeps/stub/sigaction.c: Likewise.
1016 * sysdeps/stub/sigaltstack.c: Likewise.
1017 * sysdeps/stub/sigblock.c: Likewise.
1018 * sysdeps/stub/sigintr.c: Likewise.
1019 * sysdeps/stub/signal.c: Likewise.
1020 * sysdeps/stub/sigpause.c: Likewise.
1021 * sysdeps/stub/sigpending.c: Likewise.
1022 * sysdeps/stub/sigprocmask.c: Likewise.
1023 * sysdeps/stub/sigreturn.c: Likewise.
1024 * sysdeps/stub/sigsetmask.c: Likewise.
1025 * sysdeps/stub/sigstack.c: Likewise.
1026 * sysdeps/stub/sigsuspend.c: Likewise.
1027 * sysdeps/stub/sigvec.c: Likewise.
1028 * sysdeps/stub/sleep.c: Likewise.
1029 * sysdeps/stub/socket.c: Likewise.
1030 * sysdeps/stub/socketpair.c: Likewise.
1031 * sysdeps/stub/sstk.c: Likewise.
1032 * sysdeps/stub/statfs.c: Likewise.
1033 * sysdeps/stub/stime.c: Likewise.
1034 * sysdeps/stub/stty.c: Likewise.
1035 * sysdeps/stub/swapoff.c: Likewise.
1036 * sysdeps/stub/swapon.c: Likewise.
1037 * sysdeps/stub/symlink.c: Likewise.
1038 * sysdeps/stub/sync.c: Likewise.
1039 * sysdeps/stub/syscall.c: Likewise.
1040 * sysdeps/stub/sysconf.c: Likewise.
1041 * sysdeps/stub/sysd-stdio.c: Likewise.
1042 * sysdeps/stub/system.c: Likewise.
1043 * sysdeps/stub/tcdrain.c: Likewise.
1044 * sysdeps/stub/tcflow.c: Likewise.
1045 * sysdeps/stub/tcflush.c: Likewise.
1046 * sysdeps/stub/tcgetattr.c: Likewise.
1047 * sysdeps/stub/tcgetpgrp.c: Likewise.
1048 * sysdeps/stub/tcsendbrk.c: Likewise.
1049 * sysdeps/stub/tcsetattr.c: Likewise.
1050 * sysdeps/stub/tcsetpgrp.c: Likewise.
1051 * sysdeps/stub/telldir.c: Likewise.
1052 * sysdeps/stub/tempname.c: Likewise.
1053 * sysdeps/stub/time.c: Likewise.
1054 * sysdeps/stub/times.c: Likewise.
1055 * sysdeps/stub/truncate.c: Likewise.
1056 * sysdeps/stub/ttyname.c: Likewise.
1057 * sysdeps/stub/ttyname_r.c: Likewise.
1058 * sysdeps/stub/ualarm.c: Likewise.
1059 * sysdeps/stub/ulimit.c: Likewise.
1060 * sysdeps/stub/umask.c: Likewise.
1061 * sysdeps/stub/unlink.c: Likewise.
1062 * sysdeps/stub/usleep.c: Likewise.
1063 * sysdeps/stub/ustat.c: Likewise.
1064 * sysdeps/stub/utime.c: Likewise.
1065 * sysdeps/stub/utimes.c: Likewise.
1066 * sysdeps/stub/vhangup.c: Likewise.
1067 * sysdeps/stub/wait.c: Likewise.
1068 * sysdeps/stub/wait3.c: Likewise.
1069 * sysdeps/stub/wait4.c: Likewise.
1070 * sysdeps/stub/waitpid.c: Likewise.
1071 * sysdeps/stub/write.c: Likewise.
1072 * sysdeps/stub/writev.c: Likewise.
1073 * sysdeps/stub/xmknod.c: Likewise.
1074 * sysdeps/stub/xstat.c: Likewise.
1075 * sysdeps/unix/closedir.c: Likewise.
1076 * sysdeps/unix/fxstat.c: Likewise.
1077 * sysdeps/unix/getlogin.c: Likewise.
1078 * sysdeps/unix/getlogin_r.c: Likewise.
1079 * sysdeps/unix/mkdir.c: Likewise.
1080 * sysdeps/unix/nice.c: Likewise.
1081 * sysdeps/unix/nlist.c: Likewise.
1082 * sysdeps/unix/opendir.c: Likewise.
1083 * sysdeps/unix/readdir.c: Likewise.
1084 * sysdeps/unix/rmdir.c: Likewise.
1085 * sysdeps/unix/stime.c: Likewise.
1086 * sysdeps/unix/xmknod.c: Likewise.
1087 * sysdeps/unix/xstat.c: Likewise.
1088 * sysdeps/unix/bsd/isatty.c: Likewise.
1089 * sysdeps/unix/bsd/setegid.c: Likewise.
1090 * sysdeps/unix/bsd/seteuid.c: Likewise.
1091 * sysdeps/unix/bsd/setsid.c: Likewise.
1092 * sysdeps/unix/bsd/sigaction.c: Likewise.
1093 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
1094 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
1095 * sysdeps/unix/bsd/tcflow.c: Likewise.
1096 * sysdeps/unix/bsd/tcflush.c: Likewise.
1097 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
1098 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
1099 * sysdeps/unix/bsd/times.c: Likewise.
1100 * sysdeps/unix/bsd/ulimit.c: Likewise.
1101 * sysdeps/unix/common/lxstat.c: Likewise.
1102 * sysdeps/unix/common/tcsendbrk.c: Likewise.
1103 * sysdeps/unix/sysv/setrlimit.c: Likewise.
1104 * sysdeps/unix/sysv/settimeofday.c: Likewise.
1105 * sysdeps/unix/sysv/sigaction.c: Likewise.
1106 * sysdeps/unix/sysv/tcflow.c: Likewise.
1107 * sysdeps/unix/sysv/tcflush.c: Likewise.
1108 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
1109 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
1110 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
1111 * sysdeps/unix/bsd/ultrix4/sysconf.c: Likewise.
1112 * sysdeps/unix/sysv/irix4/getpriority.c: Likewise.
1113 * sysdeps/unix/sysv/irix4/setpriority.c: Likewise.
1114 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
1115 * sysdeps/unix/sysv/linux/gethostid.c: Likewise.
1116 * sysdeps/unix/sysv/linux/gethostname.c: Likewise.
1117 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
1118 * sysdeps/unix/sysv/linux/ptrace.c: Likewise.
1119 * sysdeps/unix/sysv/linux/speed.c: Likewise.
1120 * sysdeps/unix/sysv/linux/ulimit.c: Likewise.
1121 * sysdeps/unix/sysv/sysv4/sigaction.c: Likewise.
1122 * sysdeps/unix/sysv/sysv4/sysconf.c: Likewise.
1123 * sysdeps/unix/bsd/sun/m68k/sigtramp.c: Likewise.
1124 * sysdeps/unix/bsd/sun/sparc/sigtramp.c: Likewise.
1125 * sysdeps/unix/bsd/sun/sunos4/speed.c: Likewise.
1126 * sysdeps/unix/bsd/sun/sunos4/tcsetattr.c: Likewise.
1127 * sysdeps/unix/sysv/linux/alpha/ioperm.c: Likewise.
1128 * sysdeps/unix/sysv/linux/i386/brk.c: Likewise.
1129 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
1130 * sysdeps/unix/sysv/linux/m68k/brk.c: Likewise.
1132 * sunrpc/clnt_tcp.c: Protect declaration of errno by #ifndef.
1133 * sunrpc/clnt_udp.c: Likewise.
1134 * sunrpc/bindrsvprt.c: Likewise.
1135 * sunrpc/pm_getmaps.c: Likewise.
1136 * sunrpc/pmap_rmt.c: Likewise.
1137 * sunrpc/svc.c: Likewise.
1138 * sunrpc/svc_run.c: Likewise.
1139 * sunrpc/svc_tcp.c: Likewise.
1140 * sunrpc/svc_udp.c: Likewise.
1142 * sysdeps/generic/strtok.c: Don't check argument, just crash.
1143 * sysdeps/generic/strtok_r.c: Likewise.
1145 * sysdeps/stub/start.c: Make __errno a strong alias of errno.
1146 * sysdeps/unix/start.c: Likewise. De-ANSI-fy.
1147 * sysdeps/unix/sparc/start.c: Likewise.
1148 * sysdeps/standalone/m68k/m68020/start.S: Likewise.
1149 * sysdeps/unix/sysv/irix4/start.c: Likewise.
1150 * sysdeps/unix/bsd/ultrix4/mips/start.S: Likewise.
1151 * sysdeps/unix/sysv/linux/i386/sysdep.S: Likewise.
1152 * sysdeps/unix/sysv/linux/m68k/sysdep.S: Likewise.
1154 Mon Sep 23 17:54:57 1996 Ulrich Drepper <drepper@cygnus.com>
1156 * catgets/gencat.c (main): Put package name in --version message
1157 in parantheses. Reported by Jim Meyering.
1158 * db/makedb.c: Likewise.
1159 * locale/programs/locale.c: Likewise.
1160 * locale/programs/localedef.c: Likewise.
1162 * sysdeps/i386/fpu/__math.h (tan): Make sure gcc knows we use
1163 two registers. Patch by John Bowman.
1165 Sat Sep 21 15:08:25 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1167 * sysdeps/mach/libc-lock.h: Fix comment.
1168 * sysdeps/stubs/libc-lock.h: Likewise.
1170 Sat Sep 21 13:50:40 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1172 * libio/genops.c (_IO_init) [_IO_MTSAFE_IO]: Dereference pointer
1173 to lock when passing it to __libc_lock_init macro.
1174 (_IO_default_finish) [_IO_MTSAFE_IO]: Dereference pointer to lock
1175 when passing it to __libc_lock_fini macro.
1177 Sat Sep 21 14:35:40 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1179 * sysdeps/unix/sysv/linux/m68k/sysdep.h (SYSCALL_ERROR_HANDLER)
1180 [_LIBC_REENTRANT]: Add missing semicolon.
1182 * sysdeps/unix/sysv/linux/m68k/sysdep.S: Move inclusion of
1183 sysdep.h to the top outside of #ifndef PIC. Don't include errnos.h.
1184 Use the ENTRY macro.
1186 Sat Sep 21 14:33:41 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1188 * libio/Makefile: Make `all' the default target.
1189 * po/Makefile: Likewise.
1191 Mon Sep 23 15:49:47 1996 Ulrich Drepper <drepper@cygnus.com>
1193 * stdlib/test-canon.c: Correct patch from Thu Sep 12 23:01:16 1996.
1194 I applied it incorrectly.
1195 * sysdeps/m68k/fpu/s_scalbn.c: Likewise.
1196 * sysdeps/m68k/fpu/s_scalbnf.c: Likewise.
1197 * sysdeps/m68k/fpu/s_scalbnl.c: Likewise.
1199 Mon Sep 23 03:00:10 1996 Ulrich Drepper <drepper@cygnus.com>
1201 * shadow/sgetspent_r.c (LINE_PARSER): Accept empty 9th field.
1202 Patch by NIIBE Yutaka <gniibe@mri.co.jp>.
1204 * shadow/sgetspent_r.c (LINE_PARSER): Don't accept any chars after
1207 * sysdeps/unix/sysv/linux/Makefile [$(subdir)==misc]
1208 (sysdep_headers): Add sys/debugreg.h, sys/kd.h, sys/soundcard.h,
1210 * sysdeps/unix/sysv/linux/sys/debugreg.h: New file.
1211 * sysdeps/unix/sysv/linux/sys/kd.h: New file.
1212 * sysdeps/unix/sysv/linux/sys/soundcard.h: New file.
1213 * sysdeps/unix/sysv/linux/sys/vt.h: New file.
1214 Reported by NIIBE Yutaka <gniibe@mri.co.jp>.
1216 Thu Sep 26 13:44:29 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
1218 * hurd/Makefile (installed-sunrpc-headers): New variable.
1219 (sunrpc-headers): New variable.
1220 (install-headers-nosubir): Depend on $(installed-sunrpc-headers),
1221 not just <rpc/netdb.h>.
1222 ($(installed-sunrpc-headers)): Provide rule for all of these.
1224 Mon Sep 23 15:31:04 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
1226 * hurd/Makefile ($(includedir)/rpc/netdb.h): There is no make
1227 variable `top_srcdir' in libc; use $(..) instead.
1229 * sysdeps/mach/hurd/Makefile (rtld-installed-name): Delete special
1230 definition. It was a *Mistake*. (With a capital M.)
1232 * sysdeps/mach/getsysstats.c (__get_nprocs): Renamed from
1234 (__get_nprocs_conf): Renamed from __get_nproc_conf.
1236 Sun Sep 22 15:18:41 1996 Ulrich Drepper <drepper@cygnus.com>
1238 * sysdeps/unix/sysv/linux/init-first.c: Define dummy function
1239 `_dl_start' so that linking fails if this file should ever be used
1242 * catgets/gencat.c (main): Change --version message according to
1243 RMS' last standard revision.
1244 * db/makedb.c: Likewise.
1245 * locale/programs/locale.c: Likewise.
1246 * locale/programs/localedef.c: Likewise.
1248 Sat Sep 21 23:42:39 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
1250 * sysdeps/mach/getsysstats.c: Include <sys/sysinfo.h>.
1251 (__get_nproc_conf): New function.
1253 Sun Sep 22 03:40:52 1996 Ulrich Drepper <drepper@cygnus.com>
1255 * resolv/resolv.h: Update to bind-4.9.5-T4B.
1256 * resolv/base64.c: Likewise.
1257 * resolv/res_debug.c: Likewise.
1258 * resolv/res_query.c: Likewise.
1259 * resolv/gethnamaddr.c: Likewise.
1260 * nss/nss_dns/dns-host.c: Likewise.
1261 * resolv/res_comp.c: Likewise.
1262 * resolv/res_send.c: Likewise.
1263 * resolv/arpa/nameser.h: Likewise. Attention: MAXDNAME is much
1266 * resolv/Banner: New file.
1267 * resolv/Makefile (distribute): Add Banner.
1269 Sat Sep 21 19:15:24 1996 Ulrich Drepper <drepper@cygnus.com>
1271 * sysdeps/stub/getsysstats.c: New file.
1272 * sysdeps/unix/sysv/linux/getsysstats.c: New file.
1274 * misc/Makefile (headers): Add sys/sysinfo.h.
1275 (routines): Add getsysstats.
1276 * sysdeps/unix/sysv/linux/Makefile [$(subdir)==misc]
1277 (sysdep_headers): Remove sys/sysinfo.h.
1278 * sysdeps/generic/sys/sysinfo.h: New file.
1279 * sysdeps/unix/sysv/linux/sys/sysinfo.h: Add prototype for get_nprocs,
1280 get_phys_pages, and get_avphys_pages.
1282 * misc/Makefile (routines): Add mntent_r.
1283 * misc/mntent_r.c: New file.
1284 * misc/mntent.c: Remove all functions but getmntent and use
1286 * misc/mntent.h: Add prototype for __getmntent_r.
1287 * misc/fstab.c: Use __getmntent_r function instead of getmntent.
1288 This will not clobber the state in getmntent.
1290 * sysdeps/generic/confname.h: Add _SC_PROCESSORS_CONF,
1291 _SC_NPROCESSORS_ONLN, _SC_PHYS_PAGES, _SC_AVPHYS_PAGES,
1292 _SC_ATEXIT_MAX, and _SC_PASS_MAX.
1293 * sysdeps/stub/sysconf.c: Add handling _SC_PROCESSORS_CONF and
1294 _SC_NPROCESSORS_ONLN by calling __get_nprocs, _SC_PHYS_PAGES by
1295 calling __get_phys_pages, _SY_AVPHYS_PAGES by calling
1296 __get_avphys_pages, _SC_ATEXIT_MAX and _SC_PASS_MAX.
1297 * sysdeps/posix/sysconf.c: Likewise.
1298 * posix/getconf.c (vars): Add _NPROCESSORS_CONF, _NPROCESSORS_ONLN,
1299 _PHYS_PAGES, _AVPHYS_PAGES, ATEXIT_MAX, and PASS_MAX entries.
1301 Sat Sep 21 05:20:36 1996 Ulrich Drepper <drepper@cygnus.com>
1303 * version.h (VERSION): Bump to 1.95.
1305 * Make-dist (+tsrcs): Don't filter out files in subdirs which
1306 match files in the sysdeps hierachy (welcome back,
1309 * resolv/Makefile (libresolv-routines): Remove getnetnamad.
1311 Sat Sep 21 03:00:19 1996 Ulrich Drepper <drepper@cygnus.com>
1313 * locale/loadlocale.c (_nl_free_locale): Remove function.
1314 * locale/localeinfo.h: Remove prototype for _nl_free_locale.
1315 * locale/setlocale.c (setlocale): Don't free locale data of
1316 categories which succeeded to load after a wrong or missing data
1319 * locale/setlocale (setlocale): Initialize NEWNAME correctly so
1320 that it works even when the locale data is not used.
1322 * stdlib/random_r.c: Fix typo in comment.
1323 * stdlib/drand48-iter.c: Likewise.
1324 * stdlib/drand48.c: Likewise.
1325 * stdlib/erand48.c: Likewise.
1326 * stdlib/jrand48.c: Likewise.
1327 * stdlib/lcong48.c: Likewise.
1328 * stdlib/lrand48.c: Likewise.
1329 * stdlib/mrand48.c: Likewise.
1330 * stdlib/nrand48.c: Likewise.
1331 * stdlib/random.c: Likewise.
1332 * stdlib/seed48.c: Likewise.
1333 * stdlib/srand48.c: Likewise.
1334 * misc/search.h: Likewise.
1335 * misc/hsearch.c: Likewise.
1336 * misc/hsearch_r.c: Likewise.
1338 Sat Sep 21 14:59:22 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
1340 * sysdeps/mach/getsysstats.c: New file.
1342 * shlib-versions (*-*-gnu*): Increment libc to 0.2 for upcoming
1343 binary distribution.
1345 * sysdeps/mach/hurd/Makefile (rtld-installed-name): Provide
1346 definition to override dangerous one in Makeconfig.
1348 * hurd/Makefile (install-headers-nosubdir): Install <rpc/netdb.h>.
1349 ($(includedir)/rpc/netdb.h): New rule.
1350 [ This is XXX until sunrpc can be built; <rpc/netdb.h> is
1353 Fri Sep 20 16:06:06 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
1355 * sysdeps/mach/hurd/i386/init-first.c (_dl_start): Add definition,
1356 to guarantee link errors if this is included in ld.so.
1358 Thu Sep 19 23:36:19 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
1360 * hurd/hurdinit.c (__libc_argv): Provide common decl.
1361 (_hurd_setproc): Don't declare __libc_argv here.
1363 Tue Sep 17 10:51:58 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
1365 * malloc/memalign.c (memalign): Only acquire __libc_malloc_lock
1366 for actual modifications to global state.
1368 Fri Sep 13 01:21:36 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
1370 * sysdeps/mach/Makefile (includes): Add -I$(common-objpfx)mach/.
1371 * sysdeps/mach/hurd/Makefile (includes): Add
1372 -I$(common-objpfx)hurd/. Reported by Marcus Daniels.
1374 * sysdeps/generic/schedbits.h (struct sched_param): Renamed from
1375 struct sched_params.
1376 * sysdeps/stub/sched_setp.c (__sched_setparam): struct
1377 sched_params -> struct sched_param.
1378 * sysdeps/stub/sched_getp.c (__sched_getparam): Likewise.
1379 * sysdeps/stub/sched_sets.c (__sched_setscheduler): Likewise.
1381 Thu Sep 12 23:58:25 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
1383 * sysdeps/mach/libc-lock.h (__libc_cleanup_region_start): Fix
1386 * stdio-common/Makefile: Put lockfile in routines
1389 * stdio-common/vfprintf.c (__flockfile, __funlockfile): Declare
1390 this always, not just if _LIBC_REENTRANT.
1391 (__funlockfile): Don't use weak_extern for this one;
1392 __libc_cleanup_region_end might be defined and the use of
1393 __funlockfile can't be protected the way the use of __flockfile
1396 Thu Sep 19 21:50:55 1996 Ulrich Drepper <drepper@cygnus.com>
1398 * sysdeps/posix/gettimeofday.c (__gettimeofday): Use localtime_r
1399 instead of localtime.
1400 Reported by Matthias Urlichs.
1402 * shlib-versions: Remove version number for libcrypt.
1403 * features.h: Define __USE_REENTRANT if _REENTRANT or _THREAD_SAFE.
1404 * libc-symbols.h: Define _REENTRANT while compiling libc.
1406 * sysdeps/unix/sysv/linux/i386/sysdep.S (__errno_location):
1407 Define even if !_LIBC_REENTRANT.
1408 * sysdeps/unix/sysv/linux/m68k/sysdep.S (__errno_location):
1411 * sysdeps/posix/cuserid.h: Remove prototype for geteuid().
1414 * MakeTAGS ($P/libc.pot): Generate correctly formed header.
1415 * po/header.pot: Correct title line.
1418 Thu Sep 19 18:59:55 1996 Ulrich Drepper <drepper@cygnus.com>
1420 * Makeconfig (soversions.mk): Prefer shared lib version numbers
1421 is add ons over version in libc itself.
1423 * sysdeps/unix/sysv/linux/i386/sysdep.S: Include <sysdep.h>.
1424 * sysdeps/unix/sysv/linux/i386/sysdep.h: Prevent multiple
1427 * libio/iofgets.c: Use __flockfile and __funlockfile instead of
1428 _IO_flockfile and _IO_funlockfile resp.
1430 * locale/categories.def: Partly support for correct `era' handling
1431 in LC_TIME category.
1432 * locale/langinfo.h: Likewise.
1433 * locale/programs/ld-time.c: Likewise.
1434 * locale/localeinfo.h: Change comment a bit.
1436 * malloc/memalign.c: Don't use goto, not necessary anymore.
1438 1996-09-18 Paul Eggert <eggert@twinsun.com>
1440 * time/mktime.c (ydhms_tm_diff): Work correctly even if year
1441 is negative, or if time_t is unsigned.
1442 * time/strftime.c (tm_diff): Work correctly even if tm_year
1445 Tue Sep 17 16:14:34 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1447 * sysdeps/m68k/fpu/__math.h (__inline_mathop): Changed to generate
1448 all three versions of the math function.
1449 (__inline_mathopf, __inline_mathopl): Removed.
1450 (__inline_functions): New temporary definition containing all
1451 non-trivial inline functions.
1453 Wed Sep 18 00:25:41 1996 Ulrich Drepper <drepper@cygnus.com>
1455 * time/strftime.c (strftime): The T_FMT_AMPM string may be empty.
1457 Tue Sep 17 20:27:18 1996 Ulrich Drepper <drepper@cygnus.com>
1459 * math/Makefile (extra-libs-others): Use $(extra-libs) instead
1462 Tue Sep 17 17:09:44 1996 Ulrich Drepper <drepper@cygnus.com>
1464 * sysdeps/stub/fpu_control.h: Correct end of file comment.
1466 Tue Sep 17 05:39:18 1996 Ulrich Drepper <drepper@cygnus.com>
1468 * stdio-common/bug3.c, stdio-common/bug4.c, stdio-common/bug5.c,
1469 stdio-common/test-popen.c: Remove temporary files after test.
1470 * stdio-common/bug5.c: Use `system' instead of `execlp'.
1471 Patches by Andreas Jaeger.
1473 * stdio-common/bug5.c: Create string for `system' argument to
1474 make sure the input and output file names are really correct.
1476 Sun Sep 15 12:46:44 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1478 * configure.in: If $os contains a hyphen add the part before the
1481 Sun Sep 15 18:14:02 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1483 * sysdeps/m68k/fpu/__math.h (__ieee754_pow, __ieee754_powf,
1484 __ieee754_powl): Rename local variable i to __i.
1485 (__ieee754_atan2, __ieee754_atan2f, __ieee754_atan2l): New inline
1487 * sysdeps/m68k/fpu/e_atan2.c, sysdeps/m68k/fpu/e_atan2f.c,
1488 sysdeps/m68k/fpu/e_atan2l.c: New files.
1490 1996-09-15 Paul Eggert <eggert@twinsun.com>
1492 * manual/time.texi: Change `range X to Y' to `range X through
1493 Y', to avoid ambiguity in English.
1495 (strftime): Numbers that do not have a range indicated are not padded.
1496 Describe E and O modifiers.
1497 %g, %G, %u: New formats.
1498 %C, %y, %Y: Describe behavior on negative years.
1499 %e: Fix typo (was labeled %d).
1500 %l, %V: Fix typo in range.
1501 %M, %S, %U, %w, %W: Give ranges.
1502 %p: Clarify how noon and midnight are handled for AM and PM.
1503 %s: Clarify leap second handling.
1504 %r: Now locale-defined.
1505 %C, %D, %e, %h, %n, %r, %t, %T: Say that they are POSIX.2 extensions.
1506 %z: Say that it is a GNU extension.
1509 * time/strftime.c: (strftime):
1510 %V: Fix mishandling of week numbers near year boundaries.
1511 %g, %G: New formats (suggested by Arthur David Olson).
1512 %U, %W: Use inline expression instead of `week' function.
1513 %C, %y: Handle negative years portably.
1514 %C, %Y: Use width 1, since values can be arbitrarily wide.
1515 %r: Use T_FMT_AMPM format if _NL_CURRENT is defined.
1516 %u: New Posix.2 format.
1517 %w: Width is 1, not 2.
1518 (iso_week_days): New function, for %V, %G, %g.
1519 (week): Remove; it didn't handle %V correctly.
1520 (__isleap): New macro.
1521 (mbsinit): Use arg, to pacify GCC -Wall.
1523 1996-09-13 Paul Eggert <eggert@twinsun.com>
1525 * time/strftime.c (strftime):
1526 If using the GNU C library, do not bother to check for
1527 multibyte encodings, since they're safe in formats. Otherwise:
1528 - Check for multibyte encodings when encountering any character that
1529 is not in the basic execution character set of the C Standard.
1530 - Use mbrlen (if available) instead of mblen, to avoid modifying
1531 mblen's internal state.
1532 - Do not assume that '%' cannot appear as the first character of a
1533 multibyte character sequence, since this is possible when not in the
1534 initial shift state.
1535 (HAVE_MBRLEN, MULTIBYTE_IS_FORMAT_SAFE): Define if _LIBC is defined.
1536 (DO_MULTIBYTE): New macro.
1537 (<ctype.h>): Do not include.
1538 (<wchar.h>): Include if HAVE_MBRLEN.
1539 (mbstate_t, mbrlen, mbsinit): Define if ! HAVE_MBRLEN.
1540 (mbstate_zero): New constant.
1542 1996-09-12 Paul Eggert <eggert@twinsun.com>
1544 * time/strftime.c (strftime):
1545 Use an empty zone if it can't be determined; POSIX.2 requires this.
1546 Use plain `int' for pad and modifier (which now contain char value).
1547 Use plain `int' for number_value, to print negative values correctly.
1548 Use plain `int' for digits; there was no need to make it unsigned.
1549 Initialize subfmt consistently.
1550 Remove incorrect code for %EC and %Ey; they aren't implemented yet.
1551 For %O, if there is no alternate digit, output Ascii instead of "".
1552 Output the `%' of an unknown format; this is most likely the right
1553 thing to do if a multibyte string has been misparsed.
1555 Thu Sep 12 23:23:13 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1557 * stdio-common/scanf7.c (main): Remove extra conversion from
1558 printf format string.
1560 Thu Sep 12 23:01:16 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1562 * stdlib/test-canon.c (tests): Rename structure member from errno
1563 to error, all uses changed.
1565 Thu Sep 12 20:08:06 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1567 * sysdeps/m68k/fpu/__math.h (__ldexp, __ldexpf, __ldexpl):
1569 * sysdeps/m68k/fpu/s_ldexp.c, sysdeps/m68k/fpu/s_ldexpf.c,
1570 sysdeps/m68k/fpu/s_ldexpl.c: Removed, use generic implementation
1572 * sysdeps/m68k/fpu/s_scalbn.c, sysdeps/m68k/fpu/s_scalbnf.c,
1573 sysdeps/m68k/fpu/s_scalbnl.c: Replaced with old contents of
1574 s_ldexp.c, s_ldexpf.c and s_ldexpl.c, resp., suitably adpted.
1576 * sysdeps/m68k/fpu/__math.h (__frexp, __frexpf, __frexpl):
1577 Return value must be in [0.5, 1), not [1, 2). Reported by Chris
1579 (__ilogb, __ilogbf, __ilogbl): Check for argument being zero.
1580 (__scalbn, __scalbnf, __scalbnl): Use second argument directly.
1582 Thu Sep 12 19:59:24 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1584 * sysdeps/libm-ieee754/e_acoshl.c: Fix typos.
1585 * sysdeps/libm-ieee754/s_cbrtl.c: Remove unused variable.
1587 Thu Sep 12 19:59:24 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1589 * sysdeps/libm-ieee754/e_acoshl.c: Fix typos.
1590 * sysdeps/libm-ieee754/s_cbrtl.c: Remove unused variable.
1592 Thu Sep 12 19:56:07 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1594 * inet/herrno.c (__h_errno_location): Fix return type.
1596 Thu Sep 19 23:36:19 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
1598 * hurd/hurdinit.c (__libc_argv): Provide common decl.
1599 (_hurd_setproc): Don't declare __libc_argv here.
1601 Fri Sep 13 04:33:08 1996 Ulrich Drepper <drepper@cygnus.com>
1603 * sched.h: New file. Helper to access posix/sched.h.
1604 * posix/sched.h: Change `sched_params' to `sched_param' to follow
1607 Thu Sep 12 20:12:40 1996 Ulrich Drepper <drepper@cygnus.com>
1609 * db/makedb.c (usage): Print bug report address separately to
1610 ease translators task.
1611 * catgets/gencat.c (usage): Likewise.
1612 * locale/locale.c (usage): Likewise.
1613 * locale/localedef.c (usage): Likewise.
1615 1996-09-12 Paul Eggert <eggert@twinsun.com>
1617 * time/strftime.c (my_localtime_r): Define if ! HAVE_LOCALTIME_R,
1618 and #define localtime_r to it. If _LIBC, use __localtime_r instead.
1619 (my_gmtime_r): Similar, except it's not needed if ! HAVE_TM_GMTOFF.
1621 Thu Sep 12 14:03:29 1996 Ulrich Drepper <drepper@cygnus.com>
1623 * crypt/Makefile: Include Makeconfig and add crypt object dir to
1624 rpath-link so that running the check finds the new library.
1625 * crypt/cert.c: provide correct prototypes to prevent warnings.
1626 Reported by Andreas Jaeger.
1628 * sysdeps/mach/hurd/Makefile (rpath-link): Don't use += because
1629 old and new value must be glued using `:'.
1630 Reported by Marcus Daniels.
1632 Thu Sep 12 12:33:52 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
1634 * sysdeps/mach/hurd/dl-cache.c: Delete second copy of file
1635 accidentally added on.
1637 * sysdeps/stub/intr-msg.h: New file.
1639 * stdio-common/vfprintf.c: Include <libc-lock.h>.
1640 * stdio-common/vfscanf.c: Include <libc-lock.h>.
1642 * sysdeps/mach/libc-lock.h (__libc_cleanup_region_start): New
1644 (__libc_cleanup_region_end): New macro.
1646 Thu Sep 12 12:33:52 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
1648 * sysdeps/mach/hurd/dl-cache.c: Delete second copy of file
1649 accidentally added on.
1651 * sysdeps/stub/intr-msg.h: New file.
1653 * stdio-common/vfprintf.c: Include <libc-lock.h>.
1654 * stdio-common/vfscanf.c: Include <libc-lock.h>.
1656 * sysdeps/mach/libc-lock.h (__libc_cleanup_region_start): New
1658 (__libc_cleanup_region_end): New macro.
1660 Thu Sep 12 03:35:27 1996 Ulrich Drepper <drepper@cygnus.com>
1662 * sysdeps/unix/sysv/linux/i386/Dist: Remove init-first.h.
1663 * sysdeps/unix/sysv/linux/m68k/Dist: Likewise.
1664 * sysdeps/unix/sysv/linux/Dist: Add init-first.h.
1666 1996-09-11 Paul Eggert <eggert@twinsun.com>
1668 * strftime.c (strftime):
1669 Handle E and O modifiers, required for POSIX.2 and XPG4.
1670 Don't use sprintf to format numbers; this way, we can handle time_t
1671 correctly regardless of whether it's signed.
1672 Don't dump core if format ends in %.
1673 In default %c format, use %e instead of %d, for POSIX.2 compatibility.
1675 Use tm_gmtoff if available.
1676 Output nothing if tm_isdst is negative.
1677 Output correct value even if arg is 1969-12-31 23:59:59 UTC.
1678 Don't assume that UTC offset is less than 24 hours;
1679 Posix requires support for 24 hours, and there's no point
1681 (HAVE_TM_GMTOFF, TYPE_SIGNED, INT_STRLEN_BOUND): New macros.
1682 (CHAR_BIT): Define if <limits.h> doesn't.
1683 (tm_diff): New function.
1684 (fmt, <stdio.h>): Remove; no longer used.
1686 Thu Sep 12 02:21:44 1996 Ulrich Drepper <drepper@cygnus.com>
1688 * db/Makefile: Add extra-libs-others variable so that shared
1689 library is built in `others' pass.
1690 * elf/Makefile: Likewise.
1691 * math/Makefile: Likewise.
1692 * resolv/Makefile: Likewise.
1694 * Makefile (generated): Add version.info.h.
1696 * time/checktab.awk: New file. From ADO 96k.
1697 * time/iso3166.tab: Likewise.
1698 * time/tzselect.ksh: Likewise.
1699 * time/zone.tab: Likewise.
1701 * stdio-common/vfprintf.c: Correct cleanup registration. We
1704 1996-09-11 Paul Eggert <eggert@twinsun.com>
1706 * time/time.h (tm_gmtoff, tm_zone): Prefix with `__' unless
1707 __USE_BSD; this is required for ANSI C compatibility.
1708 * manual/time.texi: Replace GMT by UTC, daylight savings by
1709 daylight saving, timezone by time zone.
1710 Rewrite description of %V to match ISO 8601.
1711 Fix TZ Posix string example for US Eastern time.
1712 Explain tzname[1] when DST isn't used.
1713 Explain tzname when multiple abbreviations used (e.g. EST/EWT/EDT).
1714 Explain that timezone's sign is opposite from tm_gmtoff, and that
1715 timezone lacks DST adjustment whereas tm_gmtoff has it.
1716 Deprecate tzname and timezone.
1718 Tue Sep 10 14:46:16 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1720 Implement Roland McGrath's idea of how to put an .interp into
1722 * interp.c: New file.
1723 * Makerules (interp-obj): New object, linked into every shared
1725 (common-generated): Add interp.so.
1726 (CFLAGS-interp.c): Pass name of interpreter.
1728 Tue Sep 10 21:09:35 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1730 * db/Makefile: Fix typo.
1732 Tue Sep 10 19:29:53 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1734 * nss/db-Makefile ($(VAR_DB)/passwd.db): Look for multiple
1735 occurences of the same uid, and only generate a mapping for the
1738 Tue Sep 10 03:14:59 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1740 * sysdeps/unix/sysv/linux/system.c: New file, to override
1741 sysdeps/unix/system.c.
1743 Tue Sep 10 15:05:40 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1745 * Makefile (before-compile): Add version-info.h, needed to build
1748 Tue Sep 10 14:14:33 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1750 * sysdeps/unix/sysv/linux/m68k/sysdep.S: Remove check for
1751 EWOULDBLOCK, never true on Linux.
1752 (__errno_location): New function.
1753 [_LIBC_REENTRANT]: Set errno using __errno_location function.
1754 * sysdeps/unix/sysv/linux/m68k/sysdep.h [PIC]: Add second
1755 syscall_error handler for reentrant libc.
1757 Tue Sep 10 13:27:49 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1759 * elf/Makefile (extra-objs): Add eval.so to get dependencies.
1761 Wed Sep 11 04:40:57 1996 Ulrich Drepper <drepper@cygnus.com>
1763 * time/tzset.c (__tzname_cur_max): Use type `size_t' to avoid
1765 * time/tzfile.c (compute_tzname_max): Likewise.
1767 Wed Sep 11 02:57:31 1996 Ulrich Drepper <drepper@cygnus.com>
1769 * configure.in: Quote $add_ons argument in loop to generated
1772 Tue Sep 10 20:43:45 1996 Ulrich Drepper <drepper@cygnus.com>
1774 * db/makedb.c: Include <locale.h>. Reported by Fila Kolodny.
1776 Tue Sep 10 14:42:39 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
1778 * elf/dl-cache.c: Rename to ...
1779 * sysdeps/generic/dl-cache.c: ... here.
1780 * sysdeps/mach/hurd/dl-cache.c: New file.
1782 * mach/Makefile (distribute): Add `errsystems.awk'.
1783 * hurd/Makefile (distribute): Add `Notes' and `intr-msg.h'.
1784 * hurd/hurdintr.awk: Delete file. (Not used in ages.)
1785 * hurd/intr-rpc.awk: Likewise.
1786 * hurd/invoke-trans.c: Likewise.
1787 * sysdeps/mach/hurd/i386/longjmp-ctx.c: Likewise.
1788 * sysdeps/mach/hurd/alpha/longjmp-ctx.c: Likewise.
1789 * sysdeps/mach/hurd/mips/longjmp-ctx.c: Likewise.
1790 * sysdeps/mach/hurd/i386/init-fault.c: Likewise.
1791 * sysdeps/mach/hurd/mips/init-fault.c: Likewise.
1792 * sysdeps/stub/init-fault.c: Likewise.
1793 * sysdeps/stub/longjmp-ctx.c: Likewise.
1795 Tue Sep 10 13:49:08 1996 Ulrich Drepper <drepper@cygnus.com>
1797 * inet/herrno.c: Initialize `h_errno' so that we can provide
1800 * Makefile (version-info.h): Fix typo in shell script.
1802 * sysdeps/i386/i586/strlen.S: Optimize startup code a bit.
1803 * sysdeps/i386/i586/strchr.S: Likewise.
1805 Mon Sep 9 20:31:27 1996 Ulrich Drepper <drepper@cygnus.com>
1807 * version.c (banner): Report to bug-glibc@prep not @gnu.
1808 Reported by Andreas Jaeger.
1810 * libio/stdio.h [!__USE_REENTRANT]: Don't define getc as
1812 [__USE_REENTRANT]: Don't define
1814 Mon Sep 9 15:59:32 1996 Ulrich Drepper <drepper@cygnus.com>
1816 * sysdeps/i386/strrchr.c: Fix bug where NUL byte is not recognized
1817 when it is the third byte in the string. Reported by
1819 * string/tester.c: Add tests for above bug to strlen, strchr, and
1822 Fri Sep 6 21:23:33 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1824 * sysdeps/m68k/fpu/e_acos.c: Deansideclized. Include
1825 "math_private.h" to get prototype.
1826 * sysdeps/m68k/fpu/e_fmod.c: Likewise.
1827 * sysdeps/m68k/fpu/k_cos.c: Likewise.
1828 * sysdeps/m68k/fpu/k_sin.c: Likewise.
1829 * sysdeps/m68k/fpu/k_tan.c: Likewise.
1831 * sysdeps/m68k/fpu/k_sin.c: Remove uneeded indirection of
1833 * sysdeps/m68k/fpu/k_tan.c: Likewise.
1835 Sun Sep 1 18:01:35 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1837 * sysdeps/m68k/fpu/__math.h: Check for __NO_M81_MATH_INLINES
1838 instead of __NO_MATH_INLINES.
1839 (__M81_MATH_INLINES): Renamed from __MATH_INLINES.
1840 * sysdeps/m68k/fpu/e_acos.c: Define __NO_M81_MATH_INLINES.
1841 * sysdeps/m68k/fpu/e_fmod.c: Likewise.
1842 * sysdeps/m68k/fpu/k_cos.c: Likewise.
1843 * sysdeps/m68k/fpu/k_sin.c: Likewise.
1844 * sysdeps/m68k/fpu/k_tan.c: Likewise.
1845 * sysdeps/m68k/fpu/s_atan.c: Likewise.
1846 * sysdeps/m68k/fpu/s_frexp.c: Likewise.
1847 * sysdeps/m68k/fpu/s_ilogb.c: Likewise.
1848 * sysdeps/m68k/fpu/s_isinf.c: Likewise.
1849 * sysdeps/m68k/fpu/s_ldexp.c: Likewise.
1850 * sysdeps/m68k/fpu/s_modf.c: Likewise.
1851 * sysdeps/m68k/fpu/k_cos.c: Use inline version of __cos.
1852 * sysdeps/m68k/fpu/k_sin.c: Likewise.
1853 * sysdeps/m68k/fpu/k_tan.c: Likewise.
1855 Mon Sep 9 12:55:14 1996 Ulrich Drepper <drepper@cygnus.com>
1857 * nss/nss_files/files-parse.c (INT_FIELD_MAYBE_NULL): Check for
1858 available character before converting number and return with
1859 error if none is available.
1861 Fri Sep 6 22:09:08 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1863 * sysdeps/unix/sysv/linux/init-first.h: New file, generic
1864 implementation for architectures where parameters are passed on
1866 * sysdeps/unix/sysv/linux/m68k/init-first.h: Removed.
1867 * sysdeps/unix/sysv/linux/i386/init-first.h: Removed.
1869 Fri Sep 6 22:05:32 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1871 * configure.in: Remove unneeded sysnames frobbing.
1873 Mon Sep 9 05:29:09 1996 Ulrich Drepper <drepper@cygnus.com>
1875 * time/zic.c: Update from ADO 96l.
1876 * time/africa: Update from ADO 96k.
1877 * time/antarctica: Likewise.
1878 * time/asia: Likewise.
1879 * time/australia: Likewise.
1880 * time/europe: Likewise.
1881 * time/northamerica: Likewise.
1882 * time/southamerica: Likewise.
1884 Mon Sep 9 05:03:47 1996 NIIBE Yutaka <gniibe@mri.co.jp>
1886 * sysdeps/unix/sysv/linux/i386/init-first.h: Work around buggy
1887 gcc <= 2.7.2.1 which optimizes away address operations on weak
1890 * nss/nss_files/files-parse.c (INT_FIELD_MAYBE_NULL): New macro.
1891 Like INT_FIELD but also accept non-existing field.
1892 * shadow/sgetspent_r.c (LINE_PARSER): Use INT_FIELD_MAYBE_NULL
1893 for last four fields.
1894 * shadow/putspent.c (putspent): Print `:' after numeric value.
1896 Mon Sep 9 02:42:48 1996 Richard Henderson <rth@tamu.edu>
1898 * libio/stdio.h (BUFSIZ): Define using _IO_BUFSIZ.
1900 Sun Sep 8 16:43:56 1996 Ulrich Drepper <drepper@cygnus.com>
1902 * Make-dist: Filter out $(add-ons) from $(subdirs).
1903 Don't distribute TAGS files.
1904 ($(tardir).tar): Remove dist.tar when all is done.
1905 * manual/Makefile (distribute): Add libc.info*.
1906 * libio/Makefile (distribute): Add Banner.
1907 * inet/Makefile (headers): Add netinet/tcp.h.
1909 * resolv/Makefile (libresolv-routines): Add getnetnamadr.
1911 * crypt-README: Removed.
1912 * gnu-stabs.h: Removed.
1914 * sysdeps/alpha/copysign.S: Renamed to...
1915 * sysdeps/alpha/s_copysign.S: ...this.
1916 * sysdeps/alpha/fabs.S: Renamed to...
1917 * sysdeps/alpha/s_fabs.S: ...this.
1919 * sysdeps/m68k/isinfl.c: Renamed to...
1920 * sysdeps/m68k/s_isinfl.c: ...this.
1921 * sysdeps/m68k/isnanl.c: Renamed to...
1922 * sysdeps/m68k/s_isnanl.c: ...this.
1924 * sysdeps/sparc/sqrt.c: Renamed to...
1925 * sysdeps/sparc/e_sqrt.c: ...this. Function name now is
1928 * sysdeps/generic/get_str.c: Removed.
1930 * sysdeps/ieee754/cbrt.c: Removed.
1931 * sysdeps/ieee754/drem.c: Removed.
1932 * sysdeps/ieee754/logb.c: Removed.
1933 * sysdeps/ieee754/sqrt.c: Removed.
1935 * sysdeps/stub/cbrt.c: Removed.
1936 * sysdeps/stub/cos.c: Removed.
1937 * sysdeps/stub/drem.c: Removed.
1938 * sysdeps/stub/isinf.c: Removed.
1939 * sysdeps/stub/isinfl.c: Removed.
1940 * sysdeps/stub/isnanl.c: Removed.
1941 * sysdeps/stub/logb.c: Removed.
1942 * sysdeps/stub/sin.c: Removed.
1943 * sysdeps/stub/sqrt.c: Removed.
1945 * sysdeps/tahoe/log10.c: Removed.
1947 * sysdeps/vax/index.s: Removed.
1948 * sysdeps/vax/rindex.s: Removed.
1949 * sysdeps/vax/bcmp.s: Removed.
1950 * sysdeps/vax/log10.c: Removed.
1951 * sysdeps/vax/infnan.c: Removed.
1952 * sysdeps/vax/Dist: Add fl.h.
1954 * sysdeps/unix/sysv/linux/alpha/Dist: Add llseek.S.
1956 * inet/rcmd.c (rcmd): Make messages more uniform.
1958 Sun Sep 8 14:15:42 1996 Ulrich Drepper <drepper@cygnus.com>
1963 * po/pl.po: New file.
1964 * po/nl.po: New file.
1966 Sat Sep 7 18:41:17 1996 Richard Henderson <rth@tamu.edu>
1968 * Makeconfig (+link): Filter out start, pre & postinit from the
1969 generic depenancies as well.
1970 * Rules: Add start, pre & postinit to the dependancies of
1971 $(others) and $(tests).
1973 * configure.in: elf_dirs missing "sysdeps" component.
1975 Sun Sep 8 02:36:02 1996 Ulrich Drepper <drepper@cygnus.com>
1977 * locale/SYS_libc.c (_libc_intl_domainname): Change value to "libc".
1978 This is consistent with all other GNU packages. We shouldn't
1979 take care for a possible clash. Nobody will name the domain
1980 of a package libc if it is not the libc itself.
1981 * MakeTAGS ($P/SYS_libc.pot): Rename to $P/libc.pot.
1982 * po/Makefile (domainname): Change to libc.
1983 (distribute): Now ship libc.pot.
1984 * catgets/gencat.c (usage): Use `PACKAGE' for package name in
1985 version information banner.
1986 Change bug report address to bug-glibc@prep not @gnu.
1987 * db/makedb.c (PACKAGE): New macro. Set to _libc_intl_domain.
1988 (main): Use `PACKAGE' for package name in version information
1990 Change bug report address to bug-glibc@prep not @gnu.
1991 * locale/programs/locale.c (main): Use `PACKAGE' for package name
1992 in version information banner.
1993 Change bug report address to bug-glibc@prep not @gnu.
1994 * locale/programs/localedef.c (main): Likewise.
1996 * version.h (VERSION): Bump to 1.94.
1998 * locale/Makefile (distribute): Add locale.c and localedef.c.
2000 Sat Sep 7 14:00:33 1996 David Mosberger-Tang <davidm@azstarnet.com>
2002 * catgets/catgets.c (catopen): Allocate sizeof(*result) bytes
2003 instead of sizeof(nl_catd) (which is just a pointer!).
2005 Sat Sep 7 19:39:19 1996 Ulrich Drepper <drepper@cygnus.com>
2007 * Makefile ($(objpfx)version-info.h): Generate from Banner files.
2008 * version.c (banner): Add contents of version-info.h to string.
2010 * Makerules: If $($(subdir)-version) is available name versioned
2011 shared library according to this value instead of glibc's version.
2013 * libio/Banner: New file.
2015 * elf/eval.c (funcall): Write error message in case function is
2017 (eval): Recognize `_' in names.
2019 Sat Sep 7 05:15:45 1996 Ulrich Drepper <drepper@cygnus.com>
2021 * libio/iofdopen: Initialize _lock field only if _IO_MTSAFE_IO.
2022 * libio/iofopen: Likewise.
2023 * libio/iofopncook.c: Likewise.
2024 * libio/iopopen.c: Likewise.
2025 * libio/iovsprintf.c: Likewise.
2026 * libio/iovsscanf.c: Likewise.
2027 * libio/memstream.c: Likewise.
2028 * libio/vasprintf.c: Likewise.
2029 * libio/vdprintf.c: Likewise.
2030 * libio/vsnprintf.c: Likewise.
2032 Sat Sep 7 03:55:47 1996 Ulrich Drepper <drepper@cygnus.com>
2034 * Makeconfig (soversions.mk): Also use shlib-versions files
2035 in add-on directories.
2036 * config.make.in (config-defines): Remove. Not used anymore.
2037 (defines): New variable. Initiliazed by @DEFINES@.
2038 * configure.in: Add AC_SUBST(DEFINES).
2040 * libio/Makefile (routines): When compiling reentrant libc add
2041 clearerr_u, feof_u, ferror_u, fputc_u, getc_u, getchar_u,
2042 iofflush_u, putc_u, putchar_u, ioflockfile.
2043 (CPPFLAGS): Add -D_IO_MTSAFE_IO for reentrant libc.
2045 * sysdeps/stub/libc-lock.h: Add stubs for __libc_cleanup_region_start
2046 and __libc_cleanup_region_end.
2048 * sysdeps/unix/i386/sysdep.S [_LIBC_REENTRANT]: Set errno
2049 using __errno_location function.
2050 * sysdeps/unix/sysv/linux/i386/sysdep.S [_LIBC_REENTRANT]: Set errno
2051 using __errno_location function.
2052 (__errno_location): New function.
2053 * sysdeps/unix/sysv/linux/i386/sysdep.h [PIC]: Add second
2054 syscall_error handler for reentrant libc.
2056 * sysdeps/unix/opendir.c: Remove unneeded `;'.
2058 * libio.h [_IO_MTSAFE_IO]: Include <pthread.h>.
2059 [!_IO_MTSAFE_IO]: Define _IO_flockfile and _IO_funlockfile
2061 * libioP.h: Include <libc-lock.h>.
2062 * libio/stdio.h: Add prototypes for *_locked and *_unlocked
2065 * libio/clearerr.c: Use _IO_ protected versions of flockfile
2066 and funlockfile to be namespace clean.
2068 * libio/genops.c: Use __libc_lock_* macros for handling lock.
2070 * libio/iofdopen: Add initialization of _lock in _IO_FILE.
2071 * libio/iofopen: Likewise.
2072 * libio/iofopncook.c: Likewise.
2073 * libio/iopopen.c: Likewise.
2074 * libio/iovsprintf.c: Likewise.
2075 * libio/iovsscanf.c: Likewise.
2076 * libio/memstream.c: Likewise.
2077 * libio/vasprintf.c: Likewise.
2078 * libio/vdprintf.c: Likewise.
2079 * libio/vsnprintf.c: Likewise.
2081 * libio/fgetc.c: Use __libc_cleanup_region_* macros instead
2083 * libio/fputc.c: Likewise.
2084 * libio/freopen.c: Likewise.
2085 * libio/fseek.c: Likewise.
2086 * libio/getc.c: Likewise.
2087 * libio/getchar.c: Likewise.
2088 * libio/iofclose.c: Likewise.
2089 * libio/iofflush.c: Likewise.
2090 * libio/iofgetpos.c: Likewise.
2091 * libio/iofgets.c: Likewise.
2092 * libio/iofputs.c: Likewise.
2093 * libio/iofread.c: Likewise.
2094 * libio/iofsetpos.c: Likewise.
2095 * libio/ioftell.c: Likewise.
2096 * libio/iofwrite.c: Likewise.
2097 * libio/iogetdelim.c: Likewise.
2098 * libio/iogets.c: Likewise.
2099 * libio/ioputs.c: Likewise.
2100 * libio/iosetbuffer.c: Likewise.
2101 * libio/iosetvbuf.c: Likewise.
2102 * libio/ioungetc.c: Likewise.
2103 * libio/putc.c: Likewise.
2104 * libio/putchar.c: Likewise.
2105 * libio/rewind.c: Likewise.
2106 * stdio-common/vfprintf.c: Likewise.
2107 * stdio-common/vfscanf.c: Likewise.
2109 * libio/clearerr_u.c: Correct alias name.
2110 * libio/ferror_u.c: Likewise.
2111 * libio/fileno.c: Likewise.
2112 * libio/fputc_u.c: Likewise.
2113 * libio/getc.c: Likewise.
2114 * libio/getc_u.c: Likewise.
2115 * libio/getchar.c: Likewise.
2116 * libio/getchar_u.c: Likewise.
2117 * libio/putc.c: Likewise.
2118 * libio/putchar.c: Likewise.
2120 * libio/feof_u.c: Undefine macro with name of function before
2121 definition of function itself.
2123 * libio/ioflockfile.c: New file. Implementation of flockfile and
2126 * libio/putchar_u.c: Fix typo. Use stdout instead of fp.
2128 * malloc/malloc.h: Don't include <libc-lock.h> and don't declare
2131 * malloc/free.c: Include <libc-lock.h>.
2132 * malloc/realloc.c: Likewise.
2133 * malloc/malloc-find.c: Likewise.
2134 * malloc/malloc-size.c: Likewise.
2135 * malloc/malloc-walk.c: Likewise.
2136 * malloc/memalign.c: Likewise.
2137 * malloc/malloc.c: Likewise.
2139 * sysdeps/i386/dl-machine.h: Correct clearing of _dl_starting_up.
2141 Fri Sep 6 19:38:49 1996 Ulrich Drepper <drepper@cygnus.com>
2143 * sysdeps/stub/libc-lock.h: Define __libc_lock_critical_start
2144 and __libc_lock_critical_end as empty macros.
2146 * malloc/malloc.h: Don't include <libc-lock.h> and don't declare
2148 * malloc/free.c: Include <libc-lock.h>.
2149 * malloc/malloc-find.c: Likewise.
2150 * malloc/malloc-size.c: Likewise.
2151 * malloc/malloc-walk.c: Likewise.
2152 * malloc/malloc.c: Likewise.
2153 * malloc/memalign.c: Likewise.
2154 * malloc/realloc.c: Likewise.
2156 * Makefile: Undo change from Mon Sep 2 22:15:14 1996. No more
2159 * extra-lib.mk: Likewise.
2160 * manual/Makefile: Likewise.
2162 * db/Makefile (makedb): Choose dependecies based on build-shared.
2163 Patch by Andres Schwab.
2165 * sysdeps/posix/sysconf.c: Don't use PTHREAD_DESTRUCTOR_ITERATIONS
2166 but _POSIX_THREAD_DESTRUCTOR_ITERATIONS.
2168 * sysdeps/unix/sysv/linux/errnos.h: New file.
2169 * sysdeps/unix/sysv/linux/schedbits.h: New file.
2170 * sysdeps/unix/sysv/linux/waitflags.h: New file.
2172 * sysdeps/unix/sysv/linux/gnu/types.h: Add definition of `key_t'.
2174 Fri Sep 6 08:26:31 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2176 * rpm/template: Fix typo in %build section.
2178 Fri Sep 6 03:31:07 1996 Ulrich Drepper <drepper@cygnus.com>
2180 * sysdeps/unix/sysv/linux/errnos.h: Don't define errno macro when
2181 building libc without thread support.
2182 * resolv/netdb.h: Likewise for h_errno macro.
2184 Thu Sep 5 23:01:48 1996 Ulrich Drepper <drepper@cygnus.com>
2186 * libc-symbols.h: Add new macro weak_const_function. It's like
2187 weak_function, but the function is additionally marked as const.
2188 * features.h: Only include <sys/cdefs.h> if !__ASSEMBLER__.
2190 Thu Sep 5 22:55:49 1996 Richard Henderson <rth@tamu.edu>
2192 * inet/herrno.c (__h_errno_location): New function.
2193 (h_errno): Make strong_alias __h_errno so that we can access
2194 the variable even if `h_errno' is a macro.
2195 * resolv/netdb.h: Define macro h_errno to access thread specific
2196 version of h_errno variable. Declare alias __h_errno for h_errno.
2197 * resolv/res_query (h_errno): Remove definition.
2198 * sysdeps/unix/sysv/linux/errnos.h [!__ASSEMBLER__ && __USE_REENTRANT]:
2199 Add macro `errno' to get thread specific variable.
2200 * sysdeps/unix/alpha/sysdep.S [_LIBC_REENTRANT]: Set errno using
2201 __errno_location function.
2202 (__errno_location): New function.
2204 Thu Sep 5 21:08:44 1996 Ulrich Drepper <drepper@cygnus.com>
2206 * posix/gnu/types.h: Remove definition of key_t.
2207 * sysdeps/generic/gnu/types.h: Move it to here.
2208 * sysdeps/unix/sysv/linux/gnu/types.h: Add Linux specific
2209 definition of key_t.
2211 * sysdeps/unix/sysv/linux/waitflags.h: New file. Linux specific
2213 * sysdeps/unix/sysv/linux/schedbits.h: New file. Include
2214 clone prototypes and associated flags.
2216 Thu Sep 5 13:18:25 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
2218 * sysdeps/mach/hurd/i386/init-first.c (__libc_argc, __libc_argv):
2220 (init1): Initialize them.
2221 * hurd/hurdinit.c (_hurd_setproc): Now that happens to be
2222 available, pass __libc_argv in call to __proc_set_arg_locations.
2224 * gmon/gmon.c (write_hist): Call __profile_frequency instead of
2226 (hertz): Delete function.
2227 * gmon/Makefile (routines): Add `prof-freq'.
2228 * sysdeps/generic/prof-freq.c: New file.
2229 * sysdeps/mach/hurd/prof-freq.c: New (stubby) file.
2230 * sysdeps/mach/hurd/profil.c (profile_tick): New variable.
2231 (update_waiter): Store frequency in profile_tick.
2232 (__profile_frequency): New function.
2234 * sysdeps/mach/hurd/sendto.c (sendto): Use prototype definition
2237 * Rules (generated): Restore reference to $(generated).
2239 * mach/Machrules (mig.uh, mig.__h): Don't include $(user-MIGFLAGS)
2242 * malloc/free.c (free): __lib_malloc_lock -> __libc_malloc_lock.
2244 * malloc/free.c: Provide extern decl of __libc_malloc_lock.
2245 * malloc/realloc.c: Likewise.
2246 * malloc/malloc-find.c: Likewise.
2247 * malloc/malloc-size.c: Likewise.
2248 * malloc/malloc-walk.c: Likewise.
2249 * malloc/memalign.c: Likewise.
2251 Thu Sep 5 08:58:47 1996 Richard Henderson <rth@tamu.edu>
2253 * sysdeps/alpha/elf/start.S: Make _start global again.
2255 Thu Sep 5 03:20:42 1996 Ulrich Drepper <drepper@cygnus.com>
2257 Change configuration and Makefiles to allow add-ons to have a
2258 sysdeps/ directory hierachy.
2259 * configure.in: Test for sysdeps/ directory in add-ons. Before
2260 all test and searches in these hierachies, too.
2261 * Makeconfig (full-config-subdirs): Define based on $(config-sysdirs).
2262 Extend with $(..) if not absolute path.
2263 Use $(full-config-subdirs) where $(config-sysdirs) was used.
2264 * Makefile ($(objpfx)sysd-dirs): Use config-sysdirs.
2265 * MakeTAGS: Use $(full-config-subdirs).
2266 * Makerules: Change comment to libc.so link script.
2267 (sysdirs): Define based on $(full-config-subdirs).
2268 (sysd-Makefile): Define using config-sysdirs.
2269 (sysd-rules): Likewise.
2270 * sysdeps/unix/Makefile (sysd-syscalls): Define based on +sysdep-dirs.
2271 * sysdeps/unix/make-syscalls.sh: Remove basedir argument.
2273 Wed Sep 4 01:32:21 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2275 * sysdeps/m68k/fpu/k_cos.c: Rewritten for better accuracy.
2276 * sysdeps/m68k/fpu/k_sin.c: Likewise.
2277 * sysdeps/m68k/fpu/k_tan.c: Likewise.
2279 Thu Sep 5 01:06:09 1996 Richard Henderson <rth@tamu.edu>
2281 * malloc/free.c (free): Protect by using __libc_malloc_lock.
2282 * malloc/malloc-find.c (malloc_find_object_address): Likewise.
2283 * malloc/malloc-size.c (malloc_usable_size): Likewise.
2284 * malloc/malloc-walk.c (malloc_walk): Likewise.
2285 * malloc/memalign.c (memalign): Likewise.
2286 * malloc/realloc.c (realloc): Likewise.
2287 * malloc/malloc.c: Define __libc_malloc_lock.
2288 (_malloc_internal): Don't use `malloc'. Instead look for
2289 `__malloc_hook' or call `_malloc_internal'.
2290 (malloc): Protect by using `__libc_malloc_lock'.
2291 * malloc/malloc.h: Declare `__libc_malloc_lock'.
2293 Mon Sep 2 22:42:59 1996 Richard Henderson <rth@tamu.edu>
2295 * sysdeps/alpha/elf/start.S: Use weak_alias for __start
2296 instead of the hard definition.
2298 * sysdeps/alpha/dl-machine.h (RTLD_START): Add type info for
2299 _start and _dl_start_user.
2301 * sysdeps/unix/sysv/linux/alpha/init-first.h (SYSDEP_CALL_INIT):
2302 Make _dl_starting_up weak. Add type info for NAME.
2304 Mon Sep 2 22:15:14 1996 Richard Henderson <rth@tamu.edu>
2306 * Makefile (all): Add extra_solibs pass.
2307 (+subdir_targets): Same.
2308 * Rules (extra_solibs): New phony empty target for subdirs without
2310 * extra-lib.mk: Build lib*.so* in extra_solibs not lib-noranlib.
2311 * manual/Makefile: Add dummy extra_solibs target.
2313 Sun Sep 1 15:41:22 1996 Richard Henderson <rth@tamu.edu>
2315 * Makeconfig (+link): Add $(link-extra-libs).
2316 (link-extra-libs): New variable which expands to the full paths of
2317 the other libraries needed by a program, as controled by LDLIBS-$(@F).
2318 * db/Makefile: Use LDLIBS-makedb to link libdb not a dependency, as
2319 the later attempts to install the library before linking it.
2321 * sysdeps/unix/alpha/sysdep.S: Align errno.
2323 * sysdeps/unix/sysv/linux/alpha/ioperm.c (struct platform): Add
2325 (io): Move bus_memory_base and sparse_bus_memory_base into struct.
2326 (_hae_shift): New function.
2327 * sysdeps/unix/sysv/linux/alpha/sys/io.h: New file. Prototypes
2328 for the bus query functions.
2330 Sat Aug 31 18:14:54 1996 Richard Henderson <rth@tamu.edu>
2332 * elf/dl-close.c (_dl_close): In static executables, map->l_prev
2333 can be NULL when unloading a library.
2335 * elf/dl-open.c (_dl_open): Pass __environ instead of __libc_envp
2336 to the library .init function.
2338 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Since we omitted
2339 part of the COPY reloc processing earlier, omit the rest now --
2340 we'll get into less trouble later when some fool does use a COPY.
2342 * sysdeps/unix/sysv/linux/init-first.c (init): Accept argc et al as
2343 parameters. Move all argc and __libc_multiple_libcs calculation out
2344 to init-first.h. Use __environ not __libc_envp.
2345 * sysdeps/unix/sysv/linux/alpha/init-first.h: Rewrite.
2346 * sysdeps/unix/sysv/linux/i386/init-first.h: Rewrite.
2348 Thu Aug 29 20:26:40 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2350 * sysdeps/posix/profil.c (profil): Don't clobber saved timer and
2351 signal settings when profiling was already turned on.
2353 * csu/gmon-start.c (__gmon_start__) [HAVE_INITFINI]: Protect from
2356 Wed Sep 4 01:31:50 1996 Ulrich Drepper <drepper@cygnus.com>
2358 * sysdeps/unix/sysv/linux/i386/mmap.S: Test for
2359 0 < return value < -4096 and not < 0 to decide about failure.
2360 Reported by Andreas Jaeger.
2362 Tue Sep 3 19:04:05 1996 Ulrich Drepper <drepper@cygnus.com>
2364 * stdio-common/vfscanf.c (__vfscanf): Don't count EOF char
2367 Sat Aug 31 18:10:51 1996 Ulrich Drepper <drepper@cygnus.com>
2369 * wcsmbs/wchar.h: Define prototypes for wcstoq and wcstouq only
2372 Sat Aug 31 12:34:29 1996 Ulrich Drepper <drepper@cygnus.com>
2374 * version.c: Add missing newline character in banner.
2376 * sysdeps/unix/sysv/linux/alpha/Dist: Correct typo.
2377 * sysdeps/unix/sysv/linux/i386/Dist: Likewise.
2379 Sat Aug 31 03:07:39 1996 Ulrich Drepper <drepper@cygnus.com>
2381 * intl/l10nflist.c (_nl_normalize_codeset): We convert to lower
2382 case, so don't prepend uppercase `ISO' for only numeric arg.
2384 Wed Sep 4 16:16:13 1996 Ulrich Drepper <drepper@cygnus.com>
2386 * sysdeps/mach/hurd/send.c (__send): De-ANSI-fy.
2387 * sysdeps/mach/hurd/sendto.c (sendto): Likewise.
2389 Tue Sep 3 11:16:07 1996 Thomas Bushnell/ n/BSG <thomas@gnu.ai.mit.edu>
2391 * shadow/lckpwdf.c (__ulckpwdf): Don't take address of LOCK in
2392 call to __libc_lock_lock.
2394 * sysdeps/mach/hurd/send.c (__send): Declare BUF const.
2395 * sysdeps/mach/hurd/sendto.c (sendto): Likewise.
2397 * sysdeps/stub/ustat.c: Include <sys/ustat.h>.
2399 * misc/syslog.c (vsyslog): Fix typo (`mow_tm' -> `now_tm').
2401 Fri Aug 30 19:55:27 1996 Ulrich Drepper <drepper@cygnus.com>
2403 * libio/genops.c: Make _cleanup an alias of _IO_cleanup.
2404 Reported by Erik Troan.
2406 Fri Aug 30 15:40:04 1996 Ulrich Drepper <drepper@cygnus.com>
2408 * sysdeps/unix/sysv/linux/Dist: Add sys/procfs.h and
2409 sys/sysmacros.h. Reported by Curtiss <1CMC3466@IBM.MTSAC.EDU>.
2411 Fri Aug 30 13:53:32 1996 Andreas Jaeger <aj@arthur.pfalz.de>
2413 * sysdeps/unix/mman/syscalls.list: `mmap' has 6 arguments, not 5.
2415 Fri Aug 30 13:01:10 1996 NIIBE Yutaka <gniibe@mri.co.jp>
2417 * sysdeps/i386/fpu/__math.h (tan): Pop 1.0 in ST to get
2420 Fri Aug 30 03:33:33 1996 Ulrich Drepper <drepper@cygnus.com>
2422 * sysdeps/libm-ieee754/s_cbrtl.c: New file. `long double'
2425 Fri Aug 30 13:39:21 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
2427 * Makerules (BUILD_CFLAGS): Use @(common-objpfx) for config.h, not
2428 $(..). Some rules (like sysdeps/posix/Makefile for mk-stdiolim)
2430 (sed-remove-objpfx): Don't substitute for $(objpfx) anymore;
2431 $(common-objpfx) is good enough.
2432 * Rules (common-generated): Provide default (empty) value.
2433 (dummy.o, dummy.c, empty.o, empty.c): Put these in
2434 $(common-generated), not $(generated), and without $(..).
2435 (subdir_echo-distinfo): Treat $(common-generated) just like
2437 (generated): Depend on the (suitably mutated) $(common-generated)
2439 * Makerules (common-clean): Remove common-generated files too.
2440 * sysdeps/mach/hurd/Makefile (generated): Don't put errnos.d and
2442 (common-generated): Do put errnos.d and stamp-errnos here.
2443 (rpath-link): Don't use +=; $(rpath-link) is a colon separated list.
2445 * sysdeps/mach/hurd/Makefile (before-compile): Add auth; also add
2446 auth to following rule to get it built.
2448 Fri Aug 30 01:26:44 1996 Ulrich Drepper <drepper@cygnus.com>
2450 * sysdeps/unix/sysv/linux/i386/Dist: Add clone.S.
2451 * sysdeps/unix/sysv/linux/m68k/Dist: Likewise.
2452 * sysdeps/unix/sysv/linux/alpha/Dist: Likewise.
2454 * version.c: Add comment about where to report bugs to.
2455 * catgets/gencat.c (usage): Likewise.
2456 * db/makedb.c (usage): Likewise.
2457 * locale/programs/locale.c (usage): Likewise.
2458 * locale/programs/localedef.c (usage): Likewise.
2460 * manual/socket.texi: A little bit better wording.
2462 Thu Aug 29 18:03:06 1996 Ulrich Drepper <drepper@cygnus.com>
2464 * Makerules: Make sure directory exists before generating stamp file.
2465 (BUILD_CFLAGS): Always refer to using $(..).
2466 * manual/Makefile: Make sure directory exists before generating
2468 (make-target-directory): Add macro definition.
2469 * sysdeps/generic/Makefile: Make sure directory exists before
2470 generating stamp file.
2472 * Makefile (distribute): Add autolock.sh. Reported by Fila Kolodny.
2474 Tue Aug 27 10:06:22 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2476 When compiling in separate directory put objects into
2477 subdirectories matching the source layout.
2478 * Makeconfig (objpfx) [ifdef objdir]: Append $(subdir).
2479 When looking for configparms try in $(common-objpfx).
2480 Use $(common-objpfx)SUBDIR to find objects from other subdirectory
2482 * Makerules: Add $(objpfx) to vpath list.
2483 (make-dummy-dep): Use $(common-objpfx) to avoid creating dummy.d
2484 more than once. All uses in dependency lists changed.
2485 (+make-deps): Make target directory.
2486 (sed-remove-objpfx): Substitute $(common-objpfx).
2487 (do-ar, build-extra-lib, $(common-objpfx)stub-$(subdir)): Use
2488 $(objpfx) instead of $(objdir) for cd command.
2489 (O%-lib): Always find libc relative to $(..).
2490 (subdir-stamps): Collect stamp files from subdirs.
2491 (common-mostlyclean): Remove stub file in $(common-objpfx).
2492 * MakeTAGS ($P/siglist.pot): Find siglist.c in stdio-common.
2493 * Rules (dep-dummy-lib): Use $(common-objpfx) to avoid creating to
2495 ($(objpfx)dummy.c, $(objpfx)empty.c): Change target name to use
2496 $(common-objpfx). All uses in dependency lists changed.
2497 (generated): Prepend $(..) to names.
2498 * bare/Makefile ($(objpfx)lib$(config-vendor).a): Remove $(objpfx)
2500 * nss/Makefile ($(objpfx)libnss_dns.so, $(objpfx)libnss_db.so):
2501 Use $(common-objpfx) instead of $(..) in dependencies.
2502 * sysdeps/mach/Makefile (mach-objpfx): Unconditionally use
2503 $(common-objpfx) instead of $(..) and (objpfx).
2504 * sysdeps/mach/hurd/Makefile (hurd-objpfx): Likewise.
2505 (rpath-link): Likewise.
2506 (rpcuserlibs): Likewise.
2507 * sysdeps/unix/Makefile [$(subdir) = stdio-common]: Check for
2508 errlist.c in $(objpfx), not $(common-objpfx).
2509 ($(common-objpfx)s-proto.d): Special rule not covered by pattern
2511 * sysdeps/unix/make-syscalls.sh: Make syscall rules depending on
2512 s-proto.d in $(common-objpfx), not $(objpfx).
2514 Thu Aug 29 17:45:49 1996 Ulrich Drepper <drepper@cygnus.com>
2516 * nss/nsswitch.c (nss_dlerror_run): Free returned error
2519 Thu Aug 29 15:53:33 1996 Ulrich Drepper <drepper@cygnus.com>
2521 * sysdeps/libm-ieee754/e_acoshl.c: New file. `long double'
2523 * sysdeps/libm-ieee754/e_atanhl.c: Likewise.
2524 * sysdeps/libm-ieee754/e_remainderl.c: Likewise.
2525 * sysdeps/libm-ieee754/e_scalbl.c: Likewise.
2526 * sysdeps/libm-ieee754/s_asinhl.c: Likewise.
2527 * sysdeps/libm-ieee754/s_cosl.c: Likewise.
2528 * sysdeps/libm-ieee754/s_sinl.c: Likewise.
2529 * sysdeps/libm-ieee754/s_tanhl.c: Likewise.
2530 * sysdeps/libm-ieee754/s_tanl.c: Likewise.
2532 Thu Aug 29 12:00:30 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
2534 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Correct
2535 spelling error of _hurd_itimerval.
2537 * mach/Makefile (MIGFLAGS-mach/mach4): Define variable.
2538 * mach/Machrules (mig.uh, mig.__h): Include $(user-MIGFLAGS) and
2539 $(MIGFLAGS-$*) here too, as well as in the code-generating MiG calls.
2541 * hurd/hurdinline.c: Include "hurd.h" for function definitions too.
2543 * stdio/fseek.c (fseek): Don't assume we know the file position;
2544 other handles may have changed it. So set STREAM.__offset to -1
2545 before calling __stdio_check_offset to make sure we have a correct
2548 Thu Aug 29 00:28:08 1996 Ulrich Drepper <drepper@cygnus.com>
2550 * stdio-common/printf_fp.c (__printf_fp): Use default value '.' if
2551 `decimal' char is 0.
2553 * C-numeric.c (not_available): New constant.
2554 (_nl_C_LC_NUMERIC): Use `not_available' for grouping value.
2556 * nss/nsswitch.conf: Example configuration file.
2557 * nss/db-Makefile: Example Makefile for generation of databases
2559 * nss/Makefile (distribute): Add nsswitch.conf and db-Makefile.
2561 1996-08-28 Paul Eggert <eggert@twinsun.com>
2563 * C-messages.c (_nl_C_LC_MESSAGES): Set yesexpr to "^[yY]" and
2564 noexpr to "^[nN]"; this conforms to POSIX.2.
2566 * C-time.c (_nl_C_LC_TIME): Change %d to %e in d_t_format, to
2569 1996-08-28 Paul Eggert <eggert@twinsun.com>
2571 * C-monetary.c (not_available): New constant.
2572 (_nl_C_LC_MONETARY): Set mon_decimal_point to "", and set
2573 mon_grouping, int_frac_digits, frac_digits, p_cs_precedes,
2574 p_sep_by_space, n_cs_precedes, n_sep_by_space, p_sign_posn, and
2575 n_sign_posn to CHAR_MAX, as required by the POSIX Standard.
2577 Wed Aug 28 23:12:28 1996 Ulrich Drepper <drepper@cygnus.com>
2579 * nss/nss_db/db-XXX.c: Correct function names. They must be
2580 `_nss_db_*' instead of `_nss_files_*'.
2581 (lookup): `parse_line' returns 1 if succesful.
2582 * nss/nss_files/files-service.c (servbyname): Key for database
2583 must also contain protocol names.
2584 (servbypt): Likewise.
2585 Test must also check for protocol. Add `proto' argument.
2587 Tue Aug 27 09:56:13 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2589 * MakeTAGS ($P/subdirs.pot): Prefix all file names, not only the
2592 Tue Aug 27 17:45:21 1996 Ulrich Drepper <drepper@cygnus.com>
2594 * Makerules: Add some test for correct version of GNU Make.
2596 * io/fcntl.h: Undo change from Mon Aug 26 22:22:17 1996.
2597 * sysdeps/unix/sysv/linux/fcntlbits.h: Place macros here instead.
2599 * sysdeps/generic/dl-sysdep.c: Initialize break address to
2600 avoid overwriting last page (OK, Roland).
2602 Tue Aug 27 16:20:37 1996 Ulrich Drepper <drepper@cygnus.com>
2604 * resolv/resolv.h: Update from BIND-4.9.5-T3A.
2605 * resolv/arpa/nameser.h: Likewise.
2606 * resolv/res_init.c: Likewise.
2607 * resolv/res_debug.c: Likewise.
2608 * resolv/res_mkquery.c: Likewise.
2610 Tue Aug 27 15:47:04 1996 Ulrich Drepper <drepper@cygnus.com>
2612 * elf/dl-error.c (catch): Define errstring element not as const.
2613 (_dl_catch_error): ERRSTRING argument is not const pointer.
2614 Initialize *ERRSTRING and *OBJNAME separately.
2615 * elf/link.h: Change prototype for `_dl_catch_error'.
2617 * elf/dl-load.c (_dl_map_object): Use separate variable for
2618 copied NAME to avoid `const' warning.
2620 * elf/dlerror.c: Make `last_errstring' variable not const pointer.
2622 * elf/rtld.c: Implement reading of /etc/ld.so.preload. This
2623 provides preloading even for SUID binaries.
2624 Add some more casts to avoid signed<->unsigned warnings.
2626 Tue Aug 27 15:40:28 1996 NIIBE Yutaka <gniibe@mri.co.jp>
2628 * posix/sys/types.h: Define loff_t.
2629 * sysdeps/unix/sysv/linux/gnu/types.h: Define __loff_t.
2631 Mon Aug 26 22:22:17 1996 Ulrich Drepper <drepper@cygnus.com>
2633 * io/fcntl.h: Add definition for BSD F* macros.
2635 * misc/init-misc.c (__init_misc): Make static.
2636 * misc/Makefile: Pass -fkeep-inline-functions flag for init-misc.c.
2638 * configure.in: Add test for -fno-exception option of gcc.
2639 * config.make.in: Add definition of have-no-exceptions.
2640 * Makerules: Define no-exceptions based on have-no-exceptions.
2641 * csu/Makefile: When translating initfini.c pass $(no-exceptions).
2642 This is necessary for gcc >= ss-960816.
2644 Mon Aug 26 17:16:48 1996 Richard Henderson <rth@tamu.edu>
2646 * sysdeps/alpha/dl-machine.h: Clear startup flag.
2648 Fri Aug 16 21:17:50 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2650 * Makerules (o-iterator-doit): Simplify reference to autolock
2653 Sat Aug 24 15:27:41 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2655 * sysdeps/mach/hurd/getcwd.c
2656 (_hurd_canonicalize_directory_name_internal): After resizing the
2657 buffer move the current contents to the end. Correctly relocate
2658 file name pointer to upper half of the buffer.
2660 Mon Aug 26 15:49:59 1996 Ulrich Drepper <drepper@cygnus.com>
2662 * rtld.c (dl_main): Remove code to call ld.so initializer. This
2663 was introduced for compatibility with Linux ld.so and would not
2664 be used anymore. Now we don't have any good values to use as the
2665 parameters to the initializer so simply remove it.
2667 Sun Aug 25 18:25:52 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2669 * gmon/gmon.c (ERR): Don't write the terminating NUL.
2671 * sysdeps/posix/profil.c (profil): Disable the profiling timer at
2673 (profil_count): Use 64 bit arithmethic to avoid overflow.
2675 * sysdeps/generic/machine-gmon.h (MCOUNT): Fix argument order.
2677 Mon Aug 26 16:31:33 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
2679 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Tolerate NEW
2680 being null; in that case don't touch the timer at all (but do
2681 return something in OLD if necessary).
2683 Mon Aug 26 13:35:16 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
2685 * sysdeps/mach/hurd/i386/init-first.c (__libc_multiple_libcs): New
2687 * sysdeps/i386/init-first.c: Likewise.
2688 * sysdeps/stub/init-first.c: Likewise.
2690 Mon Aug 26 02:01:37 1996 Ulrich Drepper <drepper@cygnus.com>
2692 * elf/dl-open.c (_dl_open): Call library initializer with
2693 correct command line arguments and environment information.
2694 * elf/rtld.c (dl_main): Provide arguments to initializer of
2697 Sun Aug 25 19:15:46 1996 Ulrich Drepper <drepper@cygnus.com>
2699 * shadow/Makefile (routines): Add lckpwdf.
2700 * shadow/lckpwdf.c: New file.
2702 * sysdeps/i386/fpu_control.h (_FPU_GETCW, _FPU_SETCW): Force
2703 argument `cw' to be placed in memory. Patch by Torbjorn Granlund.
2705 Sun Aug 25 12:53:37 1996 Ulrich Drepper <drepper@cygnus.com>
2707 * configure.in: Add definition for `__eh_pc' and `__throw' in
2708 test for --no-whole-archive. The compiler generates dependencies
2709 for this but none of the standard librares and startup files
2710 are used. Necessary for gcc >= ss-960816.
2712 Sun Aug 25 01:31:33 1996 Ulrich Drepper <drepper@cygnus.com>
2714 * elf/dl-error.c (_dl_signal_error): If error is catched, malloc
2715 return string since string might be on stack.
2716 * elf/dl-lookup.c (_dl_lookup_symbol): Undo change of
2717 Wed Aug 21 10:14:59 1996.
2718 * elf/dlerror.c (dlerror): Free error string after printing.
2719 (_dlerror_run): If error string was not printed since last error
2721 * rtld.c (dl_main): Free error string in case of error.
2723 Sat Aug 24 03:16:47 1996 Ulrich Drepper <drepper@cygnus.com>
2725 * misc/syslog.c (vsyslog): Don't use `localtime' or `gmtime' since
2726 this changes the global state for `localtime' and `gmtime'. Use
2727 `__localtime_r'/`__gmtime_r' instead.
2728 * resolv/res_debug.c (__p_secstodate): Likewise.
2729 * sysdeps/generic/ftime.c: Likewise.
2730 * sysdeps/posix/gettimeofday.c: Likewise.
2731 Reported by Paul Eggert.
2733 * time/gmtime.c: De-ANSI-fy.
2734 * time/strftime.c: Don't call non-reentrant functions which change
2737 Wed Aug 21 10:14:59 1996 Richard Henderson <rth@tamu.edu>
2739 * elf/dl-lookup.c (_dl_lookup_symbol): Malloc the error string rather
2740 than putting it on the stack.
2742 Wed Aug 21 10:12:42 1996 Richard Henderson <rth@tamu.edu>
2744 * elf/rtld.c (dl_main): When looking up symbols in response to --list,
2745 don't find .plt entries.
2747 Mon Aug 19 23:18:12 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2749 * sysdeps/m68k/dl-machine.h (RTLD_START): Optimize clearing
2752 Tue Aug 20 17:42:10 1996 Miles Bader <miles@gnu.ai.mit.edu>
2754 * stdio/linewrap.c (line_wrap_stream): Initialize D->seek.
2756 Sat Aug 17 12:19:37 1996 David Mosberger-Tang <davidm@azstarnet.com>
2758 * login/pututline_r.c (__pututline_r): Fix handling of case where
2759 getutid_r() fails with ESRCH. Reported by Miquel van Smoorenburg.
2761 Wed Aug 14 14:10:54 1996 David Mosberger-Tang <davidm@azstarnet.com>
2763 * sysdeps/unix/sysv/linux/alpha/ioperm.c (platform): Change entry
2764 for "Jensen" so _bus_base() returns 0 on that platform. Use
2765 _bus_base_sparse() to determine base address of sparse memory.
2767 * sysdeps/unix/sysv/linux/sys/io.h: Enclose #include <asm/io.h>
2768 and declarations in __BEGIN_DECLS/__END_DECLS.
2770 Sun Aug 18 13:37:09 1996 Ulrich Drepper <drepper@cygnus.com>
2772 * err.h: New file. Wrapper around misc/err.h.
2774 Correct solution of multiple initialization problem by
2776 * csu/initfini.c: Remove global variable __libc_is_static.
2777 * elf/rtld.c: Introduce new global variable _dl_starting_up.
2778 It's nonzero during the startup.
2779 * elf/dl-open.c (_dl_open): When _dl_start function is not
2780 available (i.e., if in static libc) set `__libc_multiple_libcs'
2782 * sysdeps/unix/sysv/linux/init-first.c (__libc_multiple_libc):
2783 New global variable.
2784 (init): Undo change of Fri Aug 2 03:12:40 1996.
2785 Initialize `__libc_multiple_libcs' to nonzero only if this is
2786 a shared lib called from a statically linked program and don't
2787 call `personality' and `setfpucw' in this case either.
2788 * sysdeps/generic/sbrk.c: Undo change of Fri Aug 2 03:12:40 1996.
2789 Don't call brk(0) until `__libc_multiple_libcs' is nonzero.
2790 * sysdeps/i386/dl-machine.h (RTLD_START): Clear _dl_starting_up
2791 before jumping to user code.
2792 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
2794 Fri Aug 16 04:59:01 1996 Ulrich Drepper <drepper@cygnus.com>
2796 * sysdeps/unix/sysv/linux/init-first.c: Remove hack from
2797 Thu Aug 8 12:40:20 1996.
2798 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = csu]: Use
2799 -fkeep-inline-functions flag instead.
2801 Fri Aug 16 16:11:25 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
2803 * nss/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): Treat
2804 EPFNOSUPPORT and EAFNOSUPPORT as implying NSS_STATUS_UNAVAIL just
2805 like ECONNREFUSED already does.
2806 (_nss_dns_gethostbyaddr_r): Likewise.
2807 * nss/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Likewise.
2808 (_nss_dns_getnetbyaddr_r): Likewise.
2810 * sysdeps/mach/hurd/socket.c (socket): For message transmission
2811 and RPC errors that indicate that the socket server is not really
2812 present and able to do its job, turn the error into EPFNOSUPPORT.
2814 Fri Aug 16 01:24:33 1996 Ulrich Drepper <drepper@cygnus.com>
2816 * inet/ruserpass.c (userpass): Allocate buffer for .netrc file
2817 name dynamically. Reported by Alan Cox.
2818 Uncomment warnings and mark as translatable.
2820 * time/strftime (strftime): Add implementation for %s and %z
2821 format. Change behaviour for unknown format character: now
2822 simply print it. This matches the behaviour of printf.
2823 Reported by Jim Meyering.
2824 * manual/time.texi: Document all formats and flags of strftime.
2826 Thu Aug 15 18:02:51 1996 Ulrich Drepper <drepper@cygnus.com>
2828 * elf/rtld.c (dl_main): Loaded object has type lt_executable,
2831 * misc/sys/select.h: Define fd_set using typedef, not #define.
2832 Proposed by David Mosberger-Tang.
2834 Thu Aug 15 12:48:21 1996 Ulrich Drepper <drepper@cygnus.com>
2836 * po/header.pot: Use real description line.
2838 Thu Aug 15 04:42:44 1996 Ulrich Drepper <drepper@cygnus.com>
2840 * elf/rtld.c (dl_main): When started with --verify prevent
2841 any warning. Just exit with an error.
2842 * elf/ldd.sh.in: Don't run given object directly. This fails for
2843 libraries. Instead use $RTLD again.
2845 Thu Aug 15 02:08:59 1996 Ulrich Drepper <drepper@cygnus.com>
2847 * manual/nss.texi: New file. Document NSS.
2848 * manual/nsswitch.texi: New file. Example configuration.
2850 * manual/string.texi: Document stpncpy, strdupa, and strndupa.
2851 * manual/example/strdupa.c: New file. Example for strdupa.
2853 Wed Aug 14 21:36:16 1996 Ulrich Drepper <drepper@cygnus.com>
2855 * stdlib/strtod.c (STRTOD): Correct assertion about size of
2856 wint_t and wchar_t. Reported by David Mosberger-Tang.
2858 Mon Aug 12 22:40:16 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2860 * elf/dl-lookup.c (_dl_lookup_symbol): Remove fifth parameter
2861 RELOC_ADDR and make NOPLT a set of flags. All callers
2862 changed. Delete condition that checks for resolving to the
2863 location being filled in. Add condition to skip the
2864 executable's symbols if requested.
2865 * elf/link.h: Change declaration of _dl_lookup_symbol
2867 (DL_LOOKUP_NOEXEC, DL_LOOKUP_NOPLT): New definitions.
2868 * elf/dl-reloc.c (RESOLVE): Remove second parameter and rename
2870 * elf/dl-runtime.c (RESOLVE): Likewise.
2871 * elf/rtld.c (RESOLVE): Likewise.
2872 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Pass
2873 DL_LOOKUP_NOEXEC as second argument to the RESOLVE macro if
2874 processing a copy reloc, DL_LOOKUP_NOPLT for a jump slot
2875 reloc, zero otherwise.
2876 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
2877 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
2878 * sysdeps/mips/dl-machine.h (elf_machine_rel): Likewise.
2880 Wed Aug 14 17:57:08 1996 Ulrich Drepper <drepper@cygnus.com>
2882 * MakeTAGS: Clean up use of --omit-header and -n for xgettext.
2883 * po/header.pot: Add empty line at end.
2885 Sun Aug 11 13:45:33 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2887 * MakeTAGS (all-pot): Remove $P/errlist.pot, all error messages
2888 are now in $P/stdio-common.pot.
2889 (XGETTEXTFLAGS-errlist.pot): Variable removed.
2891 Mon Aug 12 19:25:03 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2893 * Makerules (do-ar, o-iterator-doit): Compute path to autolock
2894 script at run time, not configure time.
2895 * config.make.in, configure.in: Undo previous change.
2897 Wed Aug 14 13:20:02 1996 Ulrich Drepper <drepper@cygnus.com>
2899 * sysdeps/unix/sysv/linux/i386/close.S: Push return value of thread
2900 on stack as argument for `_exit'. Reported by Andreas Schwab.
2902 Mon Aug 12 19:36:25 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2904 * sysdeps/unix/sysv/linux/m68k/clone.S: New file.
2906 Wed Aug 14 04:22:35 1996 Richard Henderson <rth@tamu.edu>
2908 * elf/dl-load.c (_dl_map_object): Save name in malloced memory.
2909 (_dl_map_object_from_fd): Free name on error.
2911 Wed Aug 14 13:00:09 1996 Ulrich Drepper <drepper@cygnus.com>
2913 * string/strdup.c: Use result of memcpy to avoid reloading.
2915 Tue Aug 13 00:55:03 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2917 * shadow/sgetspent_r.c (__sgetspent_r): Copy string to buffer, not
2918 the other way round.
2920 Tue Aug 13 20:51:21 1996 Ulrich Drepper <drepper@cygnus.com>
2922 * stdlib/canonicalize.c (canonicalize): Add cast to prevent
2925 * Makerules (o-iterator-doit): Use autolock.sh when running ranlib.
2927 Tue Aug 13 18:26:45 1996 Ulrich Drepper <drepper@cygnus.com>
2929 * nss/nsswitch.c (__nss_configure_lookup): Use fact that list is
2932 Update from bind-4.9.5-T1A.
2933 * resolv/Makefile (libresolv-routines): Add base64, inet_net_ntop,
2934 inet_net_pton, inet_net.
2936 * resolv/gethnamaddr.c: Include <sys/types.h>.
2937 * resolv/getnetnamadr.c: Likewise.
2938 * resolv/herror.c: Likewise.
2939 * resolv/inet_addr.c: Likewise.
2940 * resolv/nsap_addr.c: Likewise.
2941 * resolv/res_comp.c: Likewise.
2942 * resolv/res_data.c: Likewise.
2943 * resolv/res_init.c: Likewise.
2944 * resolv/res_mkquery.c: Likewise.
2945 * resolv/res_query.c: Likewise.
2946 * resolv/res_send.c: Likewise.
2948 * resolv/gethnamaddr.c [! SPRINTF_CHAR] (SPRINTF): Cast return
2950 * resolv/inet_ntop.c: Likewise.
2952 * resolv/gethnamaddr.c [BSD]: Include <stdlib.h>.
2953 Remove prototype of gethostbyname_ipv4.
2955 * resolv/inet_ntop.c, resolv/inet_pton.c: Use ISO C `mem*'
2956 functions instead of BSD `b*' functions.
2958 * resolv/nsap_addr.c: Add copyright message.
2960 * resolv/res_comp.c: Remove comment explaining label format.
2961 (res_mailok): Correct check.
2963 * resolv/res_debug: Include missing headers.
2964 (__fp_nquery): Handle `unused', `ad', and `cd' bits.
2965 (__p_fqnname): New function to print FQDN from compressed name.
2966 (__p_rr): Use __p_fqnname. Correct printing of ". Handle T_TXT
2967 correctly. Add handling of T_KEY and T_SIG.
2968 Handle class and type names by using name arrays instead of
2969 explicit `switch'es.
2970 (__sym_ston, __sym_ntos, __sym_ntop): New functions to use arrays.
2971 (__dn_count_labels, __p_secstodate): New functions.
2973 * resolv/resolv.h (__RES): Update version number.
2974 (res_sym): New type.
2975 Add #defines for new functions.
2976 Declare sym_ntos, sym_ntop, b64_ntop, b64_pton, __p_fqnname,
2977 __p_secstodate, dn_count_labels.
2979 * resolv/arpa/nameser.h (__BIND): Update version number.
2980 Add KEYFLAG_* and ALGORITHM_* symbols.
2981 (HEADER): Add `ad' and `cd' flags.
2983 * inet/ient.h: Add prototypes for inet_neta, inet_net_ntop,
2986 * manual/maint.texi: Document that we use bind-4.9.5.
2989 Mon Aug 12 19:03:22 1996 Thomas Bushnell n/BSG <thomas@psilocin.gnu.ai.mit.edu>
2991 * sysdeps/generic/gnu/types.h: Declare __fd_mask as `unsigned long'.
2993 * mach/Makefile (mach/mach_host.uh): Depend on
2994 $(objpfx)/mach-syscalls.mk.
2995 ($(objpfx)mach-shortcuts.h): Depend on $(objpfx)mach/mach_host.h.
2996 (This fixes a make loop; thanks to Marcus Daniels
2997 <marcus@sysc.pdx.edu> for the patch.)
2999 Mon Aug 12 16:41:52 1996 Thomas Bushnell n/BSG <thomas@gnu.ai.mit.edu>
3001 * io/getwd.c (getwd) [! PATH_MAX]: Don't assume that the user's
3002 buffer is any longer than the amount necessary to hold the
3003 filename; the Hurd getcwd uses the *entire* contents of the
3004 buffer, however long it is specified to be.
3006 Mon Aug 12 04:33:09 1996 Ulrich Drepper <drepper@cygnus.com>
3008 * nss/nsswitch.c (__nss_database_lookup): Always release locks
3009 before returning. Reported by Miles Bader.
3011 Mon Aug 12 03:31:58 1996 Ulrich Drepper <drepper@cygnus.com>
3013 * nss/nsswitch.c (__nss_configure_lookup): New function.
3014 Allows to specify services.
3015 * nss/XXX-lookup.h: Rename database variable and make global.
3016 * nss/databases.def: New file. Real names of all databases.
3018 * nss/nss.h: New file. Contains declaration useful for users
3019 and service developers.
3020 * nss/nsswitch.h: Move some declarations to nss/nss.h.
3021 * nss.h: New file. Wrapper around nss/nss.h.
3023 * nss/Makefile (headers): Add nss.h.
3024 (distributes): Add databases.def.
3026 Sun Aug 11 16:19:42 1996 Ulrich Drepper <drepper@cygnus.com>
3028 Help the poor people with fast machines by making sure only
3029 one `ar' commands works on the library.
3030 * autolock.sh: New file. Written by Tom Tromey.
3031 * Makerules (do-ar): Call autolock.sh shell script instead of
3032 directly using `ar'.
3033 * config.make.in: Make configuration variable AUTOLOCK which
3034 gets initialized by configure.
3035 * configure.in: Define variable AUTOLOCK to point to autolock.sh
3036 script and mark it to substitute.
3038 * string/Makefile: Add -fno-builtin for tst-strlen.c, too.
3040 * sysdeps/generic/sbrk.c (__sbrk): Get kernel brk address
3041 always only if in static libc or if statically linked program
3044 * sysdeps/generic/sbrk.c (__sbrk): Get kernel brk address
3045 always only if in static libc or if statically linked program
3048 Sun Aug 11 01:12:38 1996 Richard Henderson <rth@tamu.edu>
3050 * sysdeps/alpha/dl-machine.h (elf_alpha_fix_plt): Optimize LD_BIND_NOW
3051 startup by moving Icache flush from here ...
3052 (ELF_MACHINE_RUNTIME_TRAMPOLINE): ... to here.
3053 (ELF_MACHINE_USER_ADDRESS_MASK): Delete; it is unused.
3055 * sysdeps/alpha/divrem.h: Update comment to reflect the actual
3056 calling conventions. The code is already correct.
3058 Sun Aug 11 01:06:42 1996 Richard Henderson <rth@tamu.edu>
3060 * string/Makefile: Compile tester with -fno-builtin as we want to
3061 test our implementations, not gcc's.
3063 Sat Aug 10 13:17:27 1996 David Mosberger-Tang <davidm@azstarnet.com>
3065 * shadow.h: New file.
3067 * sysdeps/unix/sysv/linux/netinet/in.h: Move
3068 __BEGIN_DECLS/__END_DECLS up so ntohl() et al are bracketed as
3071 * socket/sys/socket.h [__cplusplus]: Use old-style __SOCKADDR_ARG.
3072 g++ 2.7.2 (and earlier) has no transparent unions support.
3074 Fri Aug 9 18:50:06 1996 David Mosberger-Tang <davidm@azstarnet.com>
3076 * sysdeps/unix/sysv/linux/alpha/ioperm.c (_bus_base_sparse): New
3077 function to determine the base address of sparse bus memory.
3078 (APECS_*): Rename to CIA_*.
3079 (APECS_SPARSE_MEM, CIA_SPARSE_MEM): New macros.
3080 (platform): Add sparse_bus_memory_base member and initialize.
3081 (sparse_bus_memory_base): New variable.
3083 Tue Aug 6 10:23:18 1996 David Mosberger-Tang <davidm@azstarnet.com>
3085 * sysdeps/posix/ttyname_r.c (ttyname_r),
3086 sysdeps/posix/ttyname.c (ttyname): Return -1/NULL if
3087 !__isatty(fd) (POSIX.1 says so.)
3089 * sysdeps/unix/getlogin.c (getlogin): Fix to check fd 0 only.
3090 This is not a gross hack, after all---for compatibility,
3091 getlogin() really should check fd 0 only and not try to base its
3092 operation on the controlling tty.
3094 Wed Jul 17 10:54:20 1996 David Mosberger-Tang <davidm@azstarnet.com>
3096 * sysdeps/unix/getlogin.c (getlogin): Add static variable NAME,
3097 change utmp_data from static to auto.
3099 Sun Aug 11 02:56:08 1996 Ulrich Drepper <drepper@cygnus.com>
3101 * posix/unistd.h [__USE_MISC]: Add prototype for `nice'.
3102 Reported by David Mosberger-Tang.
3104 Sat Aug 10 02:05:28 1996 Richard Henderson <richard@twiddle.tamu.edu>
3106 * sysdeps/libm-ieee754/s_isnan.c [NO_LONG_DOUBLE]: Add strong
3107 alias to `__isnanl'.
3109 Fri Aug 9 17:38:58 1996 Ulrich Drepper <drepper@cygnus.com>
3111 * sysdeps/unix/sysv/linux/sys/timex.h: Include <sys/time.h> to
3112 get `struct timeval'.
3113 * sysdeps/unix/sysv/linux/sys/acct.h: Get time_t from <time.h>.
3114 * sysdeps/unix/sysv/linux/sys/module.h: Get size_t from <stddef.h>.
3115 * sysdeps/unix/sysv/linux/sys/io.h: Get definition of __P.
3116 * sysdeps/unix/sysv/linux/sys/klog.h: Likewise.
3117 * gmon/sys/gmon.h: Include <sys/types.h> to get u_long.
3118 * sysdeps/unix/sysv/linux/direntry.h: Complete types in
3120 * io/fts.h: Include <sys/types.h> to get dev_t.
3121 Reported by Matthias Urlichs.
3123 * sysdeps/posix/tempname.c [USE_IN_LIBIO]: Don't clear
3124 _IO_file_flags. It's the same as _flags.
3125 Reported by Miquel van Smoorenburg <miquels@Q.cistron.nl>.
3127 Wed Aug 7 19:38:47 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3129 * sysdeps/unix/sysv/linux/m68k/resourcebits.h: Add RLIMIT_AS.
3131 Thu Aug 8 16:17:38 1996 Ulrich Drepper <drepper@cygnus.com>
3133 * pwd/getpwent.c: Define BUFLEN from NSS_BUFLEN_PASSWD.
3134 * pwd/getpwent_r.c: Likewise.
3135 * pwd/getpwnam.c: Likewise.
3136 * pwd/getpwnam_r.c: Likewise.
3137 * pwd/getpwuid.c: Likewise.
3138 * pwd/getpwuid_r.c: Likewise.
3140 * grp/getgrent.c: Define BUFLEN from NSS_BUFLEN_GROUP.
3141 * grp/getgrent_r.c: Likewise.
3142 * grp/getgrgid.c: Likewise.
3143 * grp/getgrgid_r.c: Likewise.
3144 * grp/getgrnam.c: Likewise.
3146 * pwd/fgetpwent_r.c: New file. Reentrant version of fgetpwent.
3147 * pwd/fgetpwent.c: Rewrite to use fgetpwent_r.
3148 * pwd/Makefile (routines): Add fgetpwent_r.
3149 * pwd/pwd.h: Add prototypes for __fgetpwent_r and fgetpwent_r.
3151 * grp/fgetgrent_r.c: New file. Reentrant version of fgetgrent.
3152 * grp/fgetgrent.c: Rewrite to use fgetgrent_r.
3153 * grp/Makefile (routines): Add fgetgrent_r.
3154 * grp/grp.h: Add prototypes for __fgetgrent_r and fgetgrent_r.
3156 Implement shadow password lookup functions. This is no complete
3157 shadow password suite.
3158 * shadow/Makefile: New file.
3159 * shadow/fgetspent.c: New file.
3160 * shadow/fgetspent_r.c: New file.
3161 * shadow/getspent.c: New file.
3162 * shadow/getspent_r.c: New file.
3163 * shadow/getspnam.c: New file.
3164 * shadow/getspnam_r.c: New file.
3165 * shadow/putspent.c: New file.
3166 * shadow/sgetspent.c: New file.
3167 * shadow/sgetspent_r.c: New file.
3168 * shadow/shadow.h: New file.
3169 * shadow/spwd-lookup.c: New file.
3170 * shadow/nss_files/files-spwd.c: New file.
3172 Thu Aug 8 13:33:45 1996 Ulrich Drepper <drepper@cygnus.com>
3174 * sysdeps/unix/sysv/linux/ftime.c: New file. Available system
3175 call is only a stub.
3176 Reported by Matthias Urlichs.
3178 * Makeconfig [!default_cflags]: Change default value from `-g'
3181 * configure.in: Recognize i686.
3182 * sysdeps/i386/i686/Implies: Default on i586 optimized code.
3184 Thu Aug 8 12:40:20 1996 Matthias Urlichs <smurf@smurf.noris.de>
3186 * Makeconfig [$(build-omitfp) == yes]: Add to CFLAGS-.so
3187 value of CFLAGS-.o, not CFLAGS-o.
3189 * sysdeps/unix/sysv/linux/init-first.c (init): Add volatile
3190 pointer to ourself. Otherwise `gcc -O3' optimized init away.
3192 Thu Aug 8 01:41:43 1996 Ulrich Drepper <drepper@cygnus.com>
3194 * elf/Makefile: Undo change of Tue Aug 6 14:27:11 1996.
3195 * elf/dl-support: Add definition of `_dl_sysdep_read_whole_file'.
3197 Thu Aug 8 01:15:59 1996 Ulrich Drepper <drepper@cygnus.com>
3199 * sysdeps/i386/fpu_control.h (_FPU_DEFAULT, _FPU_IEEE): Set
3200 to 0x137f to allow long double operations.
3202 Sun Aug 4 13:12:05 1996 Richard Henderson <rth@tamu.edu>
3206 * nss/nsswitch.c (_res): Remove redundant variable definition.
3207 The real one is in resolve/res_init.c, and having both prevents
3208 using -fno-common when building the shared library.
3209 * sunrpc/rpc_prot.c (_null_auth): Same. Original is in rpc_common.c.
3211 * sysdeps/unix/sysv/linux/alpha/brk.S: When PIC, define __curbrk as
3212 a .bss object not a COMMON symbol.
3214 * sysdeps/alpha/bsd-_setjmp.S, sysdeps/alpha/bsd-setjmp.S: Must load
3215 $gp before referencing __sigsetjmp symbol. Retain LITUSE for same.
3219 * sysdeps/alpha/strlen.S: Rearrange first-word setup and thense the
3220 main loop for better dual-issue on EV5. Rearrange binary search to
3221 pipeline better and trim one instruction.
3225 * time/localtime.c (localtime_r): Move lock declaration back next to
3226 the comment where it was before the 960724 change.
3228 * INSTALL, manual/maint.texi: alpha-gnu-linux -> alpha-ANYTHING-linux.
3229 The second word is supposed to be the hardware manufacturer.
3231 * sysdeps/alpha/_mcount.S: Retain LITUSE for __mcount.
3232 * sysdeps/alpha/setjmp.S: Retain LITUSE for __sigsetjmp_aux.
3234 * sysdeps/alpha/divrem.h: More local labels, retain LITUSE for _mcount.
3236 * sysdeps/alpha/alphaev5/add_n.S, sysdeps/alpha/alphaev5/lshift.S,
3237 sysdeps/alpha/alphaev5/rshift.S, sysdeps/alpha/alphaev5/sub_n.S:
3238 Same cleanups as with EV4 GMP stuff.
3240 Tue Jul 25 03:30:56 1996 Richard Henderson <rth@tamu.edu>
3242 * sysdeps/unix/sysv/linux/Makefile [misc] (sysdep_routines): Add clone.
3243 * sysdeps/unix/sysv/linux/alpha/clone.S: New file.
3244 * sysdeps/unix/sysv/linux/i386/clone.S: New file.
3246 Sun Aug 4 00:12:41 1996 David Mosberger-Tang <davidm@azstarnet.com>
3248 * sysdeps/unix/sysv/linux/gnu/types.h: Declare __fd_mask as
3251 * misc/sys/select.h: Declare fd_mask as alias of __fd_mask.
3253 Sat Aug 3 16:20:02 1996 David Mosberger-Tang <davidm@azstarnet.com>
3255 * sysdeps/unix/sysv/linux/alpha/ioperm.c (platform): Add entry for
3258 * socket/sys/socket.h (send, __send, sendto): Declare buffer
3261 * string/tester.c (main): Test stpncpy.
3263 * sysdeps/generic/stpncpy.c (__stpncpy): Fix so it works without
3264 segfault when called with an N that is not a multiple of four and
3267 * misc/syslog.c (LogType): New variable.
3268 (openlog): If connect() with SOCK_DGRAM fails with EPROTOTYPE,
3269 try again with SOCK_STREAM (the Linux syslogd uses a socket of the
3271 (vsyslog): When LogType==SOCK_STREAM, also send ASCII NUL
3272 terminator as a record-delimiter. If __send(LogFile) fails,
3273 call closelog() so logfile gets re-opened next time.
3275 Wed Aug 7 15:15:14 1996 Ulrich Drepper <drepper@cygnus.com>
3277 * elf/dl-open (_dl_open): Add cast to avoid warning.
3279 * manual/memory.texi: Improve some examples to give readers better
3280 advice: Use `stpcpy' instead of `strcat' if possible.
3281 * manual/string.texi: Document `strtok_r' and `strtok'.
3283 * sunrpc/Makefile: Move `+gccwarn' definition before inclusion
3285 [$(cross-compiling)=no]: Change test before making librpcsvc
3286 to this from $(cross-compile).
3287 Reported by Andreas Schwab.
3289 Tue Aug 6 14:27:11 1996 Ulrich Drepper <drepper@cygnus.com>
3291 * elf/Makefile (routines): Move dl-sysdep to here...
3292 (rtld-routines): ...from here. This should make static linking
3295 * locale/setlocale.c: Add local variable `lock' and add code to
3296 `setlocale' to avoid simultaneous changing of global data.
3298 * catgets/catgets.c (catopen): Use `__strdup' instead of `strdup'.
3299 * catgets/open_catalog (__open_catalog): Use `__stpcpy', `__open',
3300 `__fstat', `__read', `__mmap', `__munmap' and `__close' instead
3301 of unprotected names.
3303 Tue Aug 6 01:13:56 1996 Ulrich Drepper <drepper@cygnus.com>
3305 Clean name space according to ISO C, ISO C/Amd 1, and POSIX.1.
3306 This requires to rename several functions to use __ protected
3308 * dirent/dirent.h: Add prototypes of __opendir, __closedir,
3310 * sysdeps/mach/hurd/closedir.c: Prepend function name with __
3311 and make old name a weak alias.
3312 * sysdeps/mach/hurd/getrlimit.c: Likewise.
3313 * sysdeps/mach/hurd/opendir.c: Likewise.
3314 * sysdeps/mach/hurd/readdir.c: Likewise.
3315 * sysdeps/stub/closedir.c: Likewise.
3316 * sysdeps/stub/opendir.c: Likewise.
3317 * sysdeps/stub/readdir.c: Likewise.
3318 * sysdeps/unix/closedir.c: Likewise.
3319 * sysdeps/unix/opendir.c: Likewise.
3320 * sysdeps/unix/readdir.c: Likewise.
3322 * sysdeps/unix/opendir.c: Call `__fcntl' instead `fcntl'.
3324 * sysdeps/posix/getcwd.c: Call `__opendir', `__readdir',
3325 `__closedir' instead of unprotected names.
3327 * libio/filedoalloc.c (_IO_file_doallocate): Call `__isatty'
3328 instead of `isatty' since later is not part of ISO C.
3329 * libio/fileops.c (_IO_file_fopen): Call `__open' instead of
3330 `open' since later is not part of ISO C.
3332 * login/endutent.c (endutent): Call `__endutent_r', not
3334 * login/endutent_r.c: Rename defined function to `__endutent_r',
3335 make `endutent_r' weak alias.
3336 * login/getutent.c (getutent): Call `__getutent_r', not
3338 * login/getutid.c (getutid): Call `__getutid_r', not `getutid_r'.
3339 * login/getutid_r.c: Rename defined function to `__getutent_r',
3340 make `getutent_r' weak alias.
3341 * login/getutline.c (getutline): Call `__getutline_r', not
3343 * login/getutline_r.c: Rename defined function to `__getutline_r',
3344 make `getutline_r' weak alias.
3345 * login/pututline_r.c: Rename defined function to `__pututline_r',
3346 make `pututline_r' weak alias.
3347 * login/setutent.c (setutent): Call `__setutline_r', not
3349 * login/setutent_r.c: Rename defined function to `__setutline_r',
3350 make `setutline_r' weak alias.
3351 Rename `utmpname' to `__utmpname' and make former weak alias.
3352 (__utmpname): Call `__strdup', not `strdup'.
3353 * login/utmp.h: Add prototypes for name space clean reentrant
3355 * sysdeps/unix/getlogin.c: Call `__ttyname_r', `__setutent_r',
3356 and `__endutent_r' instead of unprotected names.
3358 * math/math.h: Add prototype for `__matherr'.
3359 * sysdeps/libm-ieee754/k_standard.c: Call `__matherr' instead
3362 * nss/getXXbyYY.c: Call __ protected reentrant function.
3363 * nss/getXXent.c: Likewise.
3364 * nss/getXXbyYY_r.c: Define `get*' function with __ protected
3365 name. Make usual name a weak alias.
3366 * nss/getXXent_r.c: Likewise.
3368 * posix/unistd.h: Add prototype for `__ttyname_r'.
3369 * sysdeps/posix/ttyname_r.c: Rename function to `__ttyname_r'
3370 and make `ttyname_r' a weak alias.
3372 * resource/sys/resource.h: Add prototype for `__getrlimit'.
3373 * sysdeps/stub/getrlimit.c: Prepend function name with __
3374 and make old name a weak alias.
3375 * sysdeps/unix/syscalls.list: Rename system call to `__getrlimit'
3376 and make `getrlimit' weak alias.
3378 * libc/stdio/stdio.h: Add prototype for `__vscanf'.
3379 * libc/stdio/vscanf.c: De-ANSI-fy.
3380 Rename function to `__vscanf' and make `vscanf' a weak alias.
3381 * stdio-common/scanf.c (scanf): Use _IO_vscanf/__vscanf instead
3384 * stdio-common/reg-printf.c: De-ANSI-fy.
3385 Rename function to `__register_printf_function' and make
3386 `register_printf_function' weak alias.
3388 * stdio-common/vfprintf.c: Call `__wcsrtombs' instead of
3391 * stdlib/mbstowcs.c: Call `__mbsrtowcs' instead of `mbsrtowcs'.
3392 * stdlib/mbtowc.c: Call `__mbrtowc' instead of `mbrtowc'.
3393 * stdlib/wcstombs.c: Call `__wcsrtombs' instead of `wcsrtombs'.
3394 * stdlib/wctomb.c: Call `__wcrtomb' instead of `wcrtomb'.
3395 * wcsmbs/mbrtowc.c: Prepend function name with __ and make old
3397 * wcsmbs/mbsrtowcs.c: Likewise.
3398 * wcsmbs/wcrtomb.c: Likewise.
3399 * wcsmbs/wcsrtombs.c: Likewise.
3400 * wcsmbs/wchar.h: Add prototypes for __ protected versions.
3402 * sysdeps/posix/sigsetmask.c (__sigsetmask): Call `__sigprocmask'
3403 instead of `sigprocmask'.
3406 * grp/grp.h [__USE_REENTRANT]: Add prototypes for reentrant
3407 version getgrent_r, getgrgid_r, and getgrnam_r.
3408 * pwd/pwd.h [__USE_REENTRANT]: Add prototypes for reentrant
3409 version getpwent_r, getpwuid_r, getpwnam_r and __ protected
3411 * resolv/netdb.h: Complete rewrite. No more BSD ugliness.
3414 * misc/error.c (private_strerror): Translate messages from table,
3417 * io/fcntl.h: Pretty printing.
3418 * misc/fstab.h: Likewise.
3419 * misc/ttyent.h: Likewise.
3420 * resource/sys/resource.h: Likewise.
3421 * string/argz.h: Likewise.
3422 * string/envz.h: Likewise.
3424 Add support for symbols from POSIX.1c (POSIX threads).
3425 * posix/getconf.c: Handle new sysconf symbols.
3426 * posix/posix1_lim.h: Define _POSIX_TTY_NAME_MAX and
3427 _POSIX_LOGIN_NAME_MAX with minimal maximal values.
3428 * sysdeps/generic/confname.h: Define new symbols.
3429 * sysdeps/posix/sysconf.c: Handle new symbols.
3430 * sysdeps/stub/sysconf.c: Ditto.
3431 * sysdeps/unix/sysv/linux/sysconf.c: Removed. Generic version
3434 * sunrpc/rpc/xdr.h: Move definition of type `xdrproc_t' to
3435 have real prototype.
3437 * sysdeps/generic/resourcebits.h: Add macro definition for
3438 RLIMIT_* values. Some sources test using #ifdef whether specific
3440 * sysdeps/unix/bsd/sun/sunos4/resourcebits.h: Ditto.
3441 * sysdeps/unix/sysv/linux/resourcebits.h: Removed. We need
3442 separate files for the architectures.
3443 * sysdeps/unix/sysv/linux/alpha/resourcebits.h: New file.
3444 * sysdeps/unix/sysv/linux/i386/resourcebits.h: New file.
3445 * sysdeps/unix/sysv/linux/m68k/resourcebits.h: New file.
3446 * sysdeps/unix/sysv/linux/mips/resourcebits.h: New file.
3448 * sysdeps/posix/getdtsz.c: Rewrite to use `__getrlimit' function
3449 and only default on `OPEN_MAX'.
3450 * sysdeps/unix/sysv/sysv4/getdtsz.c: Removed. Default is already
3453 * time/Makefile (routines): Add ctime_r.
3454 * time/asctime.c: Add implementation of `asctime_r'. Make
3455 `asctime' implementation based on reentrant version.
3456 * time/ctime_r.c: New file.
3457 * time/time.h [__USE_REENTRANT]: Add definition of `asctime_r'
3460 Sat Aug 3 18:41:36 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3462 * locale/C-ctype.c (_nl_C_LC_CTYPE_toupper): Fix EOF entry.
3463 (_nl_C_LC_CTYPE): Fix ordering.
3464 * locale/categories.def (LC_CTYPE): Add missing ctype-class32; fix
3467 Sat Aug 3 12:31:06 1996 Richard Henderson <rth@tamu.edu>
3469 * csu/initfini.c: Discover the maximum alignment generated by the
3470 compiler when emitting a function.
3471 (_init): Make sure the end of the crti fragment is aligned.
3474 Fri Aug 2 03:12:40 1996 Ulrich Drepper <drepper@cygnus.com>
3476 * initfini.c: (__libc_is_static): New variable. Will be
3477 initialized in init-first.c. Some actions in the libc work
3478 different when libc is static or dynamic.
3480 * sysdeps/unix/sysv/linux/init-first.c (init): Use
3481 `__libc_is_static' variable to determine whether call to
3482 `personality' and `setfpucw' is necessary. When done set variable
3483 to +-1 depending on library type.
3485 * locale/setlocale.c (setlocale): Use global variable
3486 `__libc_enable_secure' instead of calling `get{,e}{g,u}id()' to
3487 determine whether it's a SET[UG]ID program.
3489 Fri Aug 2 14:40:22 1996 Roland McGrath <roland@fast.cs.utah.edu>
3491 * Version 1.93 test release.
3493 * manual/Makefile: Use -include for chapters-incl too.
3495 * Makeconfig (+link): Add back start.o, mistakenly removed in last
3498 Fri Aug 2 01:04:02 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
3500 * nss/Makefile (generated): Add db-*.c.
3502 * sysdeps/i386/sysdep.h: Get generic/sysdep.h explicitly instead of
3503 using #include_next.
3505 * configure.in (--enable-add-ons): Quote m4 macro args.
3507 * elf/rtld.c (dl_main): For --verify, fail if no dynamic section.
3509 Thu Aug 1 14:40:03 1996 Roland McGrath <roland@fast.cs.utah.edu>
3511 * sunrpc/Makefile [$(cross-compile)=no]: Test before making librpcsvc.
3513 * Makerules (build-shlib): Add -B$(csu-objpfx) to find crt[in].o there.
3515 * Makeconfig (+preinit, +postinit): Prepend $(csu-objpfx) here.
3518 * stdio-common/_itoa.h (_itoa_word): Declare unused to suppress
3519 warning when inline function is elided.
3520 * sysdeps/i386/dl-machine.h (elf_machine_matches_host): Likewise.
3521 (elf_machine_runtime_setup): Likewise.
3522 * elf/dynamic-link.h (elf_get_dynamic_info): Likewise.
3523 * sysdeps/i386/dl-machine.h (elf_machine_got): Likewise.
3524 (elf_machine_load_address): Likewise.
3526 * catgets/gencat.c: Include <locale.h>.
3528 * sysdeps/unix/mk-local_lim.c (param): Add SYMLOOP_MAX/MAXSYMLINKS.
3530 * login/logwtmp.c (logwtmp): Call time, not __time.
3532 * sysdeps/gnu/utmpbits.h (_HAVE_UT_PID): New macro.
3533 * login/login.c (login): Test [_HAVE_UT_PID] to use ut_pid member.
3534 * login/logwtmp.c (logwtmp): Likewise.
3536 * sysdeps/generic/ioctl-types.h (sizeof): Define to 0 around #if
3537 comparing ioctl macro values.
3539 * sysdeps/i386/sysdep.h: Do `#include_next <sysdep.h>'.
3541 * manual/Makefile: Use -include for chapters to suppress warning.
3543 * sysdeps/stub/socket.c: Fix type of TYPE arg.
3544 * sysdeps/stub/socketpair.c: Likewise.
3546 * sysdeps/stub/_exit.c (_exit): Remove obsolete __NORETURN keyword.
3548 * sysdeps/generic/sysdep.h: New file, broken out of ...
3549 * sysdeps/unix/sysdep.h: ... here.
3550 (C_LABEL): Moved out.
3552 * Makeconfig (soversions.mk): Don't use newfangled ${x%%y} syntax;
3553 stick to sed. Do `exit 0' at end because while returns nonzero.
3555 * sysdeps/i386/sysdep.h: New file, broken out of ...
3556 * sysdeps/unix/i386/sysdep.h: ... here. Generic asm macros moved out.
3558 * sysdeps/stub/stdio_lim.h (L_ctermid, L_cuserid): Macros removed.
3559 They are defined unconditionally in libio/stdio.h.
3561 * elf/dl-runtime.c: Include <stddef.h> for `NULL' defn.
3562 * elf/dl-cache.c: Likewise.
3564 Mon Jul 29 19:20:05 1996 Ulrich Drepper <drepper@cygnus.com>
3566 * sysdeps/unix/sysv/linux/Makefile [$(subdir == misc]
3567 (sysdep_headers): Add sys/sysmacros.h.
3568 * sysdeps/unix/sysv/linux/sys/sysmacros.h: New file.
3570 Wed Jul 31 14:21:36 1996 Ulrich Drepper <drepper@cygnus.com>
3572 * termios/termios.h [__OPTIMIZE__]: Remove "optimization" for
3573 tcgetattr. We have weak aliases now.
3574 * stdlib/stdlib.h [__OPTIMIZE__ && __GNUC__ >= 2]: Remove
3575 "optimizations" for random functions.
3577 Mon Jul 29 20:33:42 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3579 * sysdeps/unix/sysv/linux/netinet/in.h (ntohl, ntohs, htonl,
3580 htons) [__BIG_ENDIAN]: #undef them before defining to avoid
3581 redefinition warning.
3583 Mon Jul 29 20:28:27 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3585 * time/time.h: Don't optimize tzset() to __tzset() which bypasses
3588 Tue Jul 30 15:14:50 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
3590 * sunrpc/rpc/pmap_clnt.h: Fix botched patch for multiple inclusion
3593 Tue Jul 30 02:48:28 1996 Ulrich Drepper <drepper@cygnus.com>
3595 * locale/loadlocale.c (_nl_load_locale): Change cast to `size_t'
3597 Reported by Richard Henderson <rth@tamu.edu>.
3599 Tue Jul 30 15:04:50 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
3601 * locale/programs/ld-collate.c (collate_output): Fix typo reported by
3604 Tue Jul 30 13:23:13 1996 Ulrich Drepper <drepper@cygnus.com>
3606 * locale/setlocale.c (setlocale): Don't try to free C locale
3608 Reported by Matthias Urlichs.
3610 Tue Jul 30 14:35:17 1996 Miles Bader <miles@gnu.ai.mit.edu>
3612 * sysdeps/mach/hurd/dl-sysdep.c (__open): Use open_file.
3613 (open_file): New function, contents mostly from __open.
3614 (_dl_sysdep_read_whole_file): New function.
3616 Sat Jul 27 11:23:59 1996 Miles Bader <miles@gnu.ai.mit.edu>
3618 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Quote
3619 `..' dots in sed search string.
3621 Mon Jul 29 01:27:07 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
3623 * sunrpc/rpc/rpc_msg.h: Fix botched patch for multiple inclusion
3626 Sun Jul 28 23:46:14 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
3628 * configure.in: Grok `--enable-add-ons=DIR1,DIR2,...', and configure
3629 in those directories.
3630 * config.make.in (add-ons): New varaible, set from @subdirs@.
3631 * Makefile (subdirs): Added $(add-ons) at the end.
3633 * time/strftime.c (strftime: do_number): Initialize PRINTED to
3634 MAXDIGITS in case P is null and so sprintf is never actually called.
3636 Mon Jul 29 02:46:23 1996 Ulrich Drepper <drepper@cygnus.com>
3638 Add support for the to-be-written internationalized regexp.
3639 This code must be able to use collation symbols and collation
3641 * locale/C-collate.c (_nl_C_LC_COLLATE_symbol_hash,
3642 _nl_C_LC_COLLATE_symbol_strings, _nl_C_LC_COLLATE_symbol_classes):
3643 New global variables for collation classes.
3644 * locale/categories.def: Add new descriptions for collation symbols
3645 and collation classes.
3646 * locale/langinfo.h: Add constants for collation symbols and
3648 * locale/lc-collate.c: Add new global variables for collation symbols
3649 and collation classes.
3650 (_nl_postload_collate): Initialize new variables.
3651 * locale/programs/ld-collate.c: Add code to emit tables for
3652 collation symbols and collation classes.
3653 * locale/programs/locales.h: Change prototype for `collate_output'.
3654 * locale/programs/locfile.c (write_all_categories): Call
3655 `collate_output' with new argument.
3656 * locale/localeinfo.h: Add declaration for new global vars.
3657 (union locale_data_value): New member wstr for `wchar_t' strings.
3658 * locale/programs/locale-spec.c: Handle `collate-classes'
3659 keyword and print information about available collation classes.
3660 * locale/strlen-hash.h: New file. Simple hashing function which
3661 takes a string with known length.
3662 * locale/Makefile (distribute): Add strlen-hash.h.
3663 (locale-modules): New var. Additional files for `locale' program.
3665 * locale/C-ctype.c: Rewrite to avoid using string for giving values
3666 which are of type `u_int32_t'.
3667 Correct entry for EOF in toupper and tolower tables.
3669 * locale/loadlocale.c (_nl_load_locale): Add cast to prevent
3672 * locale/programs/ld-ctype.c (ctype_output): Add code to make
3673 sure that all tables in binary file are word-aligned.
3675 * locale/programs/locfile.c (write_locale_data): Correct handling
3676 of LC_MESSAGES locale. Create directory if necessary.
3678 * locale/setlocale.c (setlocale): Add cast to avoid warning.
3680 * string/string.h: Add prototype for `__strndup'.
3682 Wed Jul 24 19:10:00 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3684 * wcsmbs/mbrtowc.c: Remove unused variable.
3686 Sun Jul 28 22:40:25 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
3688 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION): Update to
3689 2.0.10; some problems were reported with an earlier version, and this
3690 one is known to work.
3692 * sysdeps/generic/dl-sysdep.c (__libc_enable_secure): New variable.
3693 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
3695 Sat Jul 27 13:02:09 1996 Ulrich Drepper <drepper@cygnus.com>
3697 * elf/rtld.c (dl_main): Ignore arguments when environment variable
3698 LD_TRACE_LOADED_OBJECTS is set.
3700 Sun Jul 28 19:42:51 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
3702 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Initialize
3703 __libc_enable_secure instead of _dl_secure.
3704 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Likewise.
3705 * elf/dl-load.c (_dl_map_object): Check __libc_enable_secure instead
3707 * elf/Makefile (routines): Add enbl-secure.
3708 (elide-routines.so): Here too.
3709 * sysdeps/generic/enbl-secure.c: New file.
3710 * posix/unistd.h [__USE_GNU]: Declare `__libc_enable_secure' flag.
3711 * elf/dl-support.c (_dl_secure): Variable removed.
3712 * elf/rtld.c: Likewise. Replace all uses with __libc_enable_secure.
3714 Sun Jul 28 19:26:40 1996 David S. Miller <dm@neteng.engr.sgi.com>
3716 * sysdeps/mips/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
3717 Declare _dl_runtime_resolve with __attribute__ ((unused)) so the
3718 compiler doesn't elide it.
3719 (elf_machine_rel): Follow Jul 14 change in sysdeps/i386/dl-machine.h.
3721 Sat Jul 27 02:58:49 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
3723 * elf/rtld.c (dl_main): Take new option --verify when run directly.
3724 In verify mode, exit with status zero iff the argument object's
3725 PT_INTERP matches argv[0].
3726 * elf/ldd.sh.in: Use ${RTLD} --verify and only run the program if it
3727 exits with zero status. This makes `ldd' secure again.
3729 Fri Jul 26 22:49:58 1996 Ulrich Drepper <drepper@cygnus.com>
3731 * elf/rtld.c (dl_main): Implement LD_TRACE_LOADED_OBJECTS
3732 environment variable handling. This makes the dynamic linker
3733 only print loaded libraries and quit.
3735 * elf/ldd.sh.in: Don't use `rtld --list' but instead
3736 LD_TRACE_LOADED_OBJECTS environment variable to print needed
3739 Sat Jul 27 02:03:26 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
3741 * db/makedb.c (main): Print version on stdout, not stderr. Don't exit
3742 after printing version until after doing usage for --help.
3743 (long_options, main, usage): Rename -l/--lowercase option to
3744 -f/--fold-case (-f matches sort).
3746 Sat Jul 27 04:32:31 1996 Ulrich Drepper <drepper@cygnus.com>
3748 * db/makedb.c: New file. Implement program to create simple <db.h>
3749 database from textual input. This will be used for nss_db.
3751 Sat Jul 27 01:24:05 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
3753 * sunrpc/rpc/auth_unix.h: Fix misapplied patches in last changes.
3754 * sunrpc/rpc/pmap_clnt.h: Likewise.
3755 * sunrpc/rpc/auth.h: Likewise.
3756 * sunrpc/rpc/pmap_rmt.h: Likewise.
3757 * sunrpc/rpc/rpc_msg.h: Likewise.
3759 Sat Jul 27 04:37:34 1996 Ulrich Drepper <drepper@cygnus.com>
3761 * string/string.h (strndupa): Change to use return value of
3762 `memcpy' for more performance.
3763 * string/strndup.c: Likewise.
3765 * string/string.h (strdupa): Don't call __builtin_alloca in argument.
3766 This might lead to problems.
3767 (strndupa): Likewise.
3769 Fri Jul 26 15:24:25 1996 Ulrich Drepper <drepper@cygnus.com>
3771 * sunrpc/rpc/auth.h: Add protection against multiple inclusion
3772 and change K&R prototypes to ANSI prototypes.
3773 * sunrpc/rpc/auth_unix.h: Ditto.
3774 * sunrpc/rpc/clnt.h: Ditto.
3775 * sunrpc/rpc/pmap_clnt.h: Ditto.
3776 * sunrpc/rpc/pmap_prot.h: Ditto.
3777 * sunrpc/rpc/pmap_rmt.h: Ditto.
3778 * sunrpc/rpc/rpc_msg.h: Ditto.
3779 * sunrpc/rpc/svc.h: Ditto.
3780 * sunrpc/rpc/svc_auth.h: Ditto.
3781 * sunrpc/rpc/xdr.h: Ditto.
3783 Fri Jul 26 20:39:42 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
3785 * ctype/test_ctype.c: Test EOF too.
3787 Fri Jul 26 18:06:58 1996 Ulrich Drepper <drepper@cygnus.com>
3789 * sunrpc/rpc/auth.h: Add __BEGIN_DECLS and __END_DECLS.
3790 * sunrpc/rpc/auth_unix.h: Likewise.
3791 * sunrpc/rpc/clnt.h: Likewise.
3792 * sunrpc/rpc/netdb.h: Likewise.
3793 * sunrpc/rpc/pmap_clnt.h: Likewise.
3794 * sunrpc/rpc/pmap_prot.h: Likewise.
3795 * sunrpc/rpc/rpc_msg.h: Likewise.
3796 * sunrpc/rpc/svc.h: Likewise.
3797 * sunrpc/rpc/svc_auth.h: Likewise.
3798 * sunrpc/rpc/xdr.h: Likewise.
3800 * sunrpc/rpc/pmap_clnt.h: Move definition of type `resultproc_t'
3802 * sunrpc/pmap_rmt.c: ...here.
3804 Fri Jul 26 16:10:43 1996 Miles Bader <miles@gnu.ai.mit.edu>
3806 * login/pututline_r.c (pututline_r): Only call getutid_r if ID has a
3808 * login/getutid_r.c (getutid_r): Mark UTMP_DATA->loc_utmp invalid
3811 Fri Jul 26 00:36:50 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
3813 * sysdeps/mips/dl-machine.h: New file, contributed by Kazumoto Kojima
3814 <kkojima@info.kanagawa-u.ac.jp>.
3816 Fri Jul 26 04:41:28 1996 Ulrich Drepper <drepper@cygnus.com>
3818 * intl/libintl.h: Define optimizing macros if __OPTIMIZE__ is
3819 defined, not __OPTIMIZED.
3820 (_nl_msg_cat_cntr): Move declaration outside macro definition
3821 to prevent "nested extern" warning.
3822 (dcgettext): Rename local variable `result' to `__result'.
3824 Thu Jul 25 22:46:30 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
3826 * locale/programs/localedef.c (__progname): Remove decl.
3827 (main): Use program_invocation_short_name instead of __progname.
3828 (usage): Use program_invocation_name instead of __progname.
3830 Fri Jul 26 03:46:08 1996 Ulrich Drepper <drepper@cygnus.com>
3832 * catgets/gencat.c: Use "libc" instead of PACKAGE.
3833 * locale/localedef.c: Ditto.
3834 * locale/locale.c: Ditto.
3836 * locale/findlocale.c (_nl_find_locale): Little optimization.
3837 Use new function `strndup'.
3839 * locale/loadlocale.c: Little optimization. Use constant value
3840 from `_nl_category_num_items' instead of byte-order dependend
3843 * locale/programs/ld-time.c (time_add): Correct string constant.
3845 * locale/programs/locale-spec.c: New file.
3846 * locale/programs/locale.c: Call `locale_special' function if
3847 no other field matches.
3849 * locale/programs/localedef.c: No need to define `program_name'.
3850 Use global variable `__progname'.
3852 * locale/programs/locfile.c (write_locale_data): Always write
3853 LC_MESSAGES data in LC_MESSAGES/SYS_LC_MESSAGES file. This is
3854 necessary since message catalogs are also installed in the
3855 LC_MESSAGES/ directory.
3857 * locale/programs/stringtrans.c (ADDC): Correctly use `encode_char'
3858 function instead of writing single bytes.
3859 (encode_char): Also handle little endian.
3861 * locale/setlocale.c (new_composite_name): Little optimization.
3862 Use return value of `memcpy'.
3864 * misc/ttyent.h: Pretty print prototypes, add missing parameter
3865 names, prepend parameter names with __ and use `__const' instead
3867 * posix/unistd.h: Ditto.
3868 * stdlib/stdlib.h: Ditto.
3869 * string/string.h: Ditto.
3871 * posix/getconf.c: De-ASNI-fy. Recognize POSIX.2 constant names.
3872 Use `error' function instead of doing it by hand.
3873 * sysdeps/posix/sysconf.c: De-ANSI-fy.
3874 Handle _SC_COLL_WEIGHTS_MAX.
3875 * sysdeps/stub/sysconf.c: Handle _SC_CHARCLASS_NAME_MAX,
3876 _SC_COLL_WEIGHTS_MAX, _SC_EQUIV_CLASS_MAX, _SC_2_LOCALEDEF
3877 since these do depend on the platform.
3878 Add POSIX.4 symbols.
3880 * posix/posix2_lim.h: Add missing definition of
3881 _POSIX2_COLL_WEIGHTS_MAX.
3882 Change _POSIX2_EQUIV_CLASS_MAX and _POSIX2_CHARCLASS_NAME_MAX
3883 to high values since we have no fixed limit.
3885 * sysdeps/generic/confname.h: Add _SC_PAGE_SIZE as alias for
3886 _SC_PAGESIZE for buggy systems (= HP UX) out there.
3888 * wcsmbs/Makefile (routines): Add mbsnrtowcs and wcsnrtombs.
3889 * wcsmbs/mbsnrtowcs.c: New file. Non-standard implementation.
3890 * wcsmbs/wcsnrtombs.c: Ditto.
3891 * wcsmbs/wchar.h [__USE_GNU]: Add prototypes for mbsnrtowcs and
3894 Thu Jul 25 00:25:54 Richard Henderson <rth@tamu.edu>
3896 * nss/nss_db/db-XXX.c: Kill trailing ; from lock defn as a matter of
3898 * nss/getXXent_r.c: Likewise.
3899 * nss/nsswitch.c: Likewise.
3900 * nss/nss_files/files-XXX.c: Likewise.
3901 * sysdeps/mach/hurd/dirstream.h (struct __dirstream): Likewise.
3902 * sysdeps/unix/bsd/telldir.c (struct record): Likewise.
3903 * sysdeps/unix/dirstream.h (struct __dirstream): Likewise.
3905 Thu Jul 25 00:53:06 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
3907 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION): New
3908 macro, now put the needed Linux version just once, here; update to
3909 needing linux-2.0.3 headers.
3910 (libc_cv_linuxVER): New macro derived from that.
3911 (kernel header check): Use those macros and some m4 magic to replace
3912 hard-coded `201' and `2.0.1' in several places.
3914 * Makerules ($(libdir)/libc.so): Fix typos in generated comment.
3916 Wed Jul 24 17:02:30 1996 Ulrich Drepper <drepper@cygnus.com>
3918 * time/localtime.c: Move lock variable declaration to end of
3919 variable declarations since if is a dummy macro the ; at the
3920 end terminates the variable section of the function.
3922 * time/tzset.c: Undefine `tzset' before function declaration.
3923 Use `weak_function' macro instead of `weak_symbol'.
3925 Wed Jul 24 18:57:33 1996 Ulrich Drepper <drepper@cygnus.com>
3927 * stdlib/strtouq.c: Additional weak alias is `strtoull', not
3930 Wed Jul 24 18:26:23 1996 Ulrich Drepper <drepper@cygnus.com>
3932 * locale/C-ctype.c: Increment number of fields after change
3933 from Wed Jun 19 03:24:58 1996.
3935 Tue Jul 23 18:13:37 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
3937 * sysdeps/mach/hurd/Makefile (rpcuserlibs): New variable.
3938 ($(common-objpfx)libc.so): Move deps into that, use it.
3939 [$(subdir) = elf] ($(objpfx)librtld.so): Depend on
3940 $(rpcuserlibs:.so=_pic.a).
3941 * elf/Makefile ($(objpfx)librtld.so): Just depend on libc_pic.a; don't
3944 Thu Jul 18 21:41:25 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3946 * sysdeps/generic/stpncpy.c: Fix semantics to make `stpncpy (d, s,
3947 n)' equivalent to `strncpy (d, s, n), d += strnlen (d, n)'.
3949 Tue Jul 23 02:49:58 1996 Ulrich Drepper <drepper@cygnus.com>
3951 * locale/iso-4217.def: Add India to comment for symbol "INR ".
3952 Reported by Raja R Harinath <harinath@cs.umn.edu>.
3954 Sat Jul 20 14:03:45 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3956 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Remove bogus
3959 Sun Jul 21 06:48:38 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
3961 * time/tzset.c: Include <libc-lock.h>.
3962 (__tzset_lock): New lock variable.
3963 (tzset): New function (weak defn), no longer weak alias for __tzset.
3964 Call __tzset while holding __tzset_lock.
3965 * time/localtime.c: Include <libc-lock.h>.
3966 (__localtime_r): Hold __tzset_lock while doing the work.
3968 * sysdeps/generic/setenv.c (__environ): Change conditional for #define
3969 from [!HAVE_GNU_LD] to [!_LIBC].
3970 [_LIBC]: Include <libc-lock.h> and define a lock.
3971 (LOCK, UNLOCK): New macros, no-ops for [! _LIBC].
3972 (setenv, unsetenv): Use them.
3974 Sun Jul 21 01:44:39 1996 Miles Bader <miles@gnu.ai.mit.edu>
3976 * locale/programs/locfile.c (write_locale_data): Deal with missing
3979 * sysdeps/mach/hurd/socket.c (socket): Make TYPE an int.
3980 * sysdeps/mach/hurd/socketpair.c (socketpair): Likewise.
3982 Sat Jul 20 21:55:31 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
3984 Win32 hacks from <Rob_Tulloh@tivoli.com>.
3985 * posix/glob.c [WIN32]: Don't include <pwd.h>; don't use d_ino;
3986 use void * for my_realloc; include <malloc.h> for alloca.
3987 (glob) [WIN32]: Use "c:/users/default" for ~ if no HOME variable.
3988 * posix/fnmatch.h [WIN32]: Use prototypes even if [!__STDC__].
3989 * posix/glob.h: Likewise.
3991 Sat Jul 20 13:28:52 1996 Miles Bader <miles@gnu.ai.mit.edu>
3993 * sysdeps/mach/hurd/select.c (__select): Don't poll on the last
3994 call __io_select unless there's only a single descriptor, as each
3995 descriptor now has its own reply port.
3996 If there is only a single descriptor, just use its reply port for
3997 everything and don't bother creating the port set.
3999 * sysdeps/mach/hurd/uname.c (uname): Deref UNAME to get nodename.
4000 <unistd.h>: New include.
4002 * sysdeps/mach/libc-lock.h (__libc_lock_define): Backslashify
4005 Sat Jul 20 07:15:33 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
4007 * crypt/Makefile, crypt/nocrypt.c: Removed. It is illegal to export
4008 from the USA any software that even makes it easy to drop in an
4009 encryption module of foreign origin.
4010 * Makerules (cryptobjdir): Variable removed.
4011 ($(libdir)/libc.so): Remove dep on libcrypt.so$(libcrypt.so-version).
4012 * Makefile (subdirs): Remove crypt.
4014 Fri Jul 19 15:45:20 1996 Ulrich Drepper <drepper@cygnus.com>
4016 * locale/C-messages.c (_nl_C_LC_MESSAGES): Add missing Kleene
4017 operator to yesexpr and noexpr string.
4019 Fri Jul 19 15:10:37 1996 David Mosberger-Tang <davidm@azstarnet.com>
4021 * sunrpc/xdr_mem.c (xdrmem_putlong): Don't cast LP to int32 (the
4022 old code would have failed on a big-endian 64-bit architecture).
4023 * sunrpc/xdr_stdio.c (xdrstdio_putlong): Ditto.
4025 * sunrpc/xdr.c (xdr_int): Handle XDR_FREE case.
4026 (xdr_u_long): Use switch instead of chain of if-statements.
4027 Remove gratitous parentheses around return expressions.
4028 (xdr_enum): Open code case where INT_MAX<LONG_MAX.
4030 * sunrpc/svc.c (svc_getreqset): Increment SOCK by 32, not NFDBITS.
4032 * sunrpc/portmap.c (reg_service): Declare ANS and PORT as long,
4035 Fri Jul 19 16:56:41 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
4037 * dlfcn.h, db.h: New wrapper headers.
4039 * posix/glob.h [!_AMIGA && !VMS]: Check this instead of just [!_AMIGA]
4040 for `struct stat;' forward decl.
4042 Fri Jul 19 22:25:19 1996 Ulrich Drepper <drepper@cygnus.com>
4044 * locale/iso-4217.def: Add some more standardized currency
4047 Fri Jul 19 13:18:02 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
4049 * hurd/report-wait.c (describe_number): Use unsigned long int for J.
4051 Thu Jul 18 12:33:57 1996 Roland McGrath <roland@baalperazim.frob.com>
4053 * Rules (dummy.o, empty.o): Targets removed.
4054 (dummy.c, empty.c): New targets replace them.
4056 Thu Jul 18 11:42:39 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
4058 * crypt/Makefile (lib-noranlib): Depend on
4059 $(objpfx)libcrypt.so$(libcrypt.so-version).
4062 Thu Jul 18 04:33:21 1996 Roland McGrath <roland@baalperazim.frob.com>
4064 * sysdeps/mach/hurd/errnos.awk: Move EWOULDBLOCK check before errno==0
4065 check. mib's clueless hacking broke it.
4067 Thu Jul 18 04:27:21 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
4069 * Makerules ($(libdir)/libc.so): Add missing / after $(cryptobjdir).
4071 Wed Jul 17 10:54:20 1996 David Mosberger-Tang <davidm@azstarnet.com>
4073 * misc/sys/ustat.h: New file.
4074 * misc/ustat.h: Ditto.
4075 * sysdeps/generic/ustatbits.h: Ditto.
4076 * sysdeps/stub/ustat.c: Ditto.
4077 * sysdeps/unix/sysv/linux/ustatbits.h: Ditto.
4078 * misc/Makefile (headers): Mention ustat.h, sys/ustat.h, and
4080 (routines): Mention ustat.
4082 * sysdeps/unix/sysv/linux/alpha/start.S: Move to ...
4083 * sysdeps/alpha/elf/start.S: here.
4085 * sysdeps/unix/sysv/linux/syscalls.list: Mention klogctl in
4086 alphabetically correct place. Mention ustat.
4088 * sysdeps/unix/alpha/sysdep.S: Make errno a bss symbol, not a
4089 common symbol (makes errno accessible from gdb).
4091 * login/pututline_r.c (pututline_r): Test ut_id in repositioning
4094 * login/logwtmp.c (logwtmp): Reimplemented. Must ensure that a
4095 record always gets appended at end of file (wtmp is a log file,
4096 after all). Set ut_type to DEAD_PROCESS if name is empty.
4098 * login/getutid_r.c (getutid_r): Handle search for UT_TYPE in
4099 separate loop from search for UT_ID. Fix code so it is in
4100 sync with Unix man page.
4102 * login/getutline_r.c (getutline_r): Stop searching only if
4103 ut_line matches and type is either USER_PROCESS or LOGIN_PROCESS.
4105 Tue Jul 16 15:06:18 1996 David Mosberger-Tang <davidm@azstarnet.com>
4107 * sysdeps/unix/sysv/linux/netinet/in.h: Base on <linux/in.h> to
4108 avoid duplicate declarations.
4110 Sun Jul 14 19:08:55 1996 David Mosberger-Tang <davidm@azstarnet.com>
4112 * manual/maint.texi (Supported Configurations): Add alpha-gnu-linux
4113 and alpha-gnu-linuxecoff targets.
4115 Fri Jul 12 16:58:44 1996 David Mosberger-Tang <davidm@azstarnet.com>
4117 * sysdeps/unix/sysv/linux/netinet/in.h: Declare bindresvport().
4119 Sat Jun 22 23:30:07 1996 David Mosberger-Tang <davidm@azstarnet.com>
4121 * resolv/res_send.c (res_send): Declare FROMLEN as size_t instead
4124 * resolv/res_comp.c (res_hnok): Use empty statement in place
4125 of NULL (which generates a "useless expression" warning in
4128 Wed Jul 17 23:56:35 1996 Roland McGrath <roland@baalperazim.frob.com>
4130 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Replace ../
4131 with $(..) in output.
4133 Wed Jul 17 21:53:45 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
4135 * elf/Makefile (dl-routines): Add dl-cache.
4136 * elf/dl-cache.c: New file.
4137 * elf/dl-load.c (_dl_map_object): Check cache before default path.
4139 Wed Jul 17 20:41:30 1996 Ulrich Drepper <drepper@cygnus.com>
4141 * stdio-common/vfscanf.c: Major change. Now read character
4142 from stream only if needed. Before it was read after the
4143 previous character was used.
4144 Bug reported by Martin Goik <goma0002@FH-Karlsruhe.DE>
4146 * stdio-common/tstscanf.c: Change test program so that return
4147 value is != 0 if one test failed.
4149 Wed Jul 17 17:08:48 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
4151 * sysdeps/m68k/Makefile (crypt): Variable removed.
4152 * sysdeps/sparc/Makefile: Likewise.
4154 * version.h (VERSION): Update to 1.93.
4156 * Makerules ($(libdir)/libc.so): Depend on
4157 $(common-objpfx)libcrypt.so$(libcrypt.so-version).
4159 * crypt/nocrypt.c: New file.
4160 * Makefile (subdirs): Add crypt.
4161 * crypt/Makefile: New file.
4163 * Makerules (soversions.mk): Move this target, include of it, and
4164 include of version.mk to ...
4165 * Makeconfig: ... here.
4166 (soversions.mk): Depend on Makeconfig instead of Makerules.
4168 * shlib-versions (*-*-*): Set libcrypt=0.
4170 Wed Jul 17 11:29:26 1996 Miles Bader <miles@gnu.ai.mit.edu>
4172 * stdio/linewrap.c (lwupdate): Fix boundary condition where a
4173 word extends right up to rmargin.
4175 * stdio/linewrap.c (lwupdate): When we've done a word wrap and
4176 output the wrap margin, set point_col to wmargin.
4177 Use negative point_col to deal with a wmargin of 0.
4178 (line_wrap_point): Return 0 for a negative point_col.
4179 (line_wrap_stream): Make wmargin ssize_t.
4180 * stdio/linewrap.h (struct line_wrap_data): Make wmargin &
4182 (line_wrap_stream): Make wmargin ssize_t.
4183 (line_wrap_point): Return 0 for a negative point_col.
4185 Wed Jul 17 02:43:28 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
4187 * shlib-versions (*-*-gnu*): Set libc=0.0
4189 Tue Jul 16 01:52:42 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4191 * sysdeps/m68k/dl-machine.h: Follow Jul 14 change in
4192 sysdeps/i386/dl-machine.h.
4194 Tue Jul 16 00:18:19 1996 Miles Bader <miles@gnu.ai.mit.edu>
4196 * stdio/linewrap.c (__line_wrap_update): Add hackery from flshfp
4197 to fiddle __put_limit in conjunction with __linebuf_active.
4199 Tue Jul 16 00:14:07 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4201 * sysdeps/unix/inet/syscalls.list (connect, send): Add underscores
4202 to the strong name, not the file name.
4204 Tue Jul 16 16:43:58 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
4206 * csu/initfini.c: More magic. Detect if .end is produced and put it
4207 in the output iff the compiler does.
4209 * elf/dl-lookup.c (_dl_lookup_symbol): Avoid sizeof dynamic auto array
4210 because that is broken on alpha.
4212 * sysdeps/mach/hurd/mmap.c: Use same inheritance arg in second vm_map
4215 * Makerules (make-link): Install the new link with atomic mv -f in
4216 case ln itself requires the library being installed.
4218 Tue Jul 16 00:31:31 1996 Richard Henderson <rth@tamu.edu>
4220 * sysdeps/alpha/dl-machine.h: Mirror Roland's changes to
4221 i386/dl-machine.h of 960713.
4223 * sysdeps/generic/dl-sysdep.c: Include <sys/mman.h>.
4224 (_dl_sysdep_read_whole_file): Fix result variable declaration.
4226 Tue Jul 16 00:53:57 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
4228 * sysdeps/mach/hurd/uname.c: Call __gethostname to fill in the
4231 Mon Jul 15 17:23:53 1996 Ulrich Drepper <drepper@cygnus.com>
4233 * stdio-common/vfprintf.c (vfprintf): Call parse_one_spec
4234 with pointer to local variable instead of NULL.
4236 1996-07-15 Paul Eggert <eggert@twinsun.com>
4238 * time/strftime.c (strftime): Don't pass empty macro argument to `add'.
4240 Sat Jul 13 09:53:39 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4242 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove names
4243 that are already added by other means.
4245 * sysdeps/unix/sysv/linux/syscalls.list: Add more EXTRA's in the
4246 caller column to get those syscalls added automagically.
4248 Mon Jul 15 12:24:54 1996 Miles Bader <miles@gnu.ai.mit.edu>
4250 * login/logout.c (logout): Initialize DATA to a state that will
4251 make setutent_r happy.
4253 Sun Jul 14 01:51:39 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
4255 * elf/rtld.c (dl_main) [ELF_MACHINE_DEBUG_SETUP]: Use this macro
4256 instead of setting the DT_DEBUG pointer.
4258 * csu/initfini.c (_init, _fini): Generate .end directives after
4259 standalone prologues and filter them out from epilogues.
4261 * Makeconfig (rtld-installed-name): Set to ld.so.1.
4262 * sysdeps/unix/sysv/linux/Makefile (rtld-installed-name): Variable
4265 * manual/Makefile (glibc-targets): Remove subdir_ from elts.
4267 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_read_whole_file): New fn.
4269 * MakeTAGS (extract): Pass --add-comments=TRANS.
4270 * sysdeps/gnu/errlist.awk: Write comments into the output with the
4271 descriptive paragraphs from the manual preceded by TRANS.
4273 * elf/rtld.c (RESOLVE): Use the dl's load address, not a constant zero!
4274 (_dl_start): Move RESOLVE defn inside this function and #include
4275 "dynamic-link.h" a second time there.
4276 [RTLD_START]: Move use of this after _dl_start function.
4278 * elf/dl-reloc.c: Include "dynamic-link.h" at file scope.
4280 * elf/rtld.c: Include <string.h>.
4282 * elf/dynamic-link.h (ELF_DYNAMIC_DO_REL, ELF_DYNAMIC_DO_RELA,
4283 ELF_DYNAMIC_RELOCATE): No longer take RESOLVE argument.
4284 Conditionalize defns on [RESOLVE].
4285 * elf/do-rel.h (elf_dynamic_do_rel): Likewise.
4286 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
4287 Instead use RESOLVE macro with same args.
4288 (elf_machine_rel): Conditionalize defn on [RESOLVE].
4289 * elf/dl-reloc.c (RESOLVE): New macro, define before including
4290 "dynamic-link.h". It replaces `resolve' local function.
4291 * elf/dl-runtime.c: Likewise.
4292 * elf/rtld.c: Likewise.
4294 * elf/dl-deps.c (_dl_map_object_deps): Start TAILP at last preload.
4296 * elf/dl-open.c (_dl_open): Force an indirect call for
4297 _dl_relocate_object so there is no chance a PLT fixup will be done
4298 and clobber _dl_global_scope before our call happens.
4300 * sysdeps/i386/fpu/__math.h (tan): Correct output constraint from =u
4301 to =t; must operate on top of fp reg stack, not second from top.
4302 Correct input constraint to 0 from t; must be explicit when input and
4303 output are the same register.
4304 (floor): Use __volatile instead of volatile.
4307 * manual/Makefile ($(objpfx)stamp%-$(subdir)): Separate rule from
4310 Sat Jul 13 23:50:17 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
4312 * manual/Makefile (lib): New phony target. Depend on stamp files.
4313 ($(objpfx)stamp%-$(subdir)): New rule to create them when necessary.
4315 1996-07-13 Paul Eggert <eggert@twinsun.com>
4317 * time/strftime.c (strftime): Use space padding for %e, %k, %l,
4318 to match Emacs format-time-string specification.
4319 (DO_NUMBER_SPACEPAD): Renamed from DO_NUMBER_NOPAD.
4321 Sat Jul 13 20:17:38 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
4323 * elf/dl-deps.c (_dl_map_object_deps): Take new args PRELOADS and
4324 NPRELOADS, vector of `struct link_map *'s; add them to the searchlist
4325 between MAP and its deps.
4326 * elf/link.h: Fix decl.
4327 * elf/rtld.c (dl_main): If not secure, parse LD_PRELOAD for
4328 colon-separated list of names, map those and pass vector of ptrs as
4329 PRELOADS list to _dl_map_object_deps.
4330 * elf/dl-runtime.c (_dl_object_relocation_scope): Pass new args to
4331 _dl_map_object_deps with empty preload list.
4332 * elf/dl-open.c (_dl_open): Likewise.
4334 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_open_zero_fill): Function
4336 (__mmap): Pass MACH_PORT_NULL for memobj port when (flags & MAP_ANON).
4337 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_open_zero_fill):
4338 Conditionalize defn on [! MAP_ANON].
4339 * elf/dl-minimal.c (malloc): Conditionalize use of _dl_zerofd
4341 * elf/rtld.c (dl_main): Likewise.
4342 * elf/dl-load.c (_dl_zerofd): Conditionalize defn on [! MAP_ANON].
4343 (_dl_map_object_from_fd): Conditionalize initialization of _dl_zerofd.
4345 * elf/dl-fini.c (_dl_fini): Skip finalizer for executable itself.
4347 Sat Jul 13 02:47:53 1996 David Mosberger-Tang <davidm@azstarnet.com>
4349 * stdlib/random.c (__random): Declare as int32_t to be in sync
4352 * socket/Makefile (headers): Add socketbits.h.
4354 * misc/mntent.c (endmntent): Allow for NULL stream. SunOS does
4357 * grp/initgroups.c (initgroups): Add groups that user is a member
4358 of, not the ones he is _not_ a member of.
4360 * nss/nsswitch.c (known_compare): Make known_compare() a static
4361 instead of a local function. The latter are difficult to debug
4362 and slow to execute on certain platforms.
4364 * sysdeps/posix/ttyname_r.c (ttyname_r): Use sizeof (dev) - 1 in
4365 place of sizeof (dev). The size of a literal string includes the
4368 * sysdeps/unix/getlogin.c (getlogin): Initialize ut_fd with -1.
4370 Thu Jul 11 16:59:10 1996 David Mosberger-Tang <davidm@azstarnet.com>
4372 * misc/mntent.c (addmntent): Seek to end of file before writing
4373 entry. Return 1 on error, not -1.
4375 Tue Jul 9 19:08:05 1996 David Mosberger-Tang <davidm@azstarnet.com>
4377 * sysdeps/unix/sysv/linux/syscalls.list: Mark bdflush as EXTRA
4380 Fri Jul 5 18:44:55 1996 David Mosberger-Tang <davidm@azstarnet.com>
4382 * sysdeps/unix/sysv/linux/alpha/ioperm.c (port_to_cpu_addr): Size
4383 shift amount for Jensen must be 5 not 4.
4385 Sat Jul 13 20:04:28 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
4387 * socket/sys/socket.h (struct osockaddr): New type.
4389 Sat Jul 13 03:50:53 1996 Ulrich Drepper <drepper@cygnus.com>
4391 * misc/Makefile (routines): Add qefgcvt and qefgcvt_r.
4392 * misc/efgcvt.c, misc/efgcvt_r.c: Change code so that the `double'
4393 and `long double' versions can be generated.
4394 * misc/qefgcvt.c, misc/qefgcvt_r.c: New files. Define macros
4395 so that included efgcvt{,_r}.c file generate `long double'
4397 * stdlib/stdlib.h: Add prototypes for q[efg]cvt() and q[ef]cvt_r()
4400 * manual/startup.texi: Document new getsubopt function.
4401 * manual/examples/subopt.c: New example program for documenting
4404 Fri Jul 12 23:58:37 1996 Ulrich Drepper <drepper@cygnus.com>
4406 * stdlib/Makefile (routines): Add getsubopt.
4407 * stdlib/stdlib.h: Add prototype for getsubopt.
4408 * stdlib/getsubopt.c: New file. Implement getsubopt function
4409 to handle suboption parsing.
4411 Thu Jul 11 20:09:55 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
4413 * inet/getnetent_r.c: Define NEED_H_ERRNO.
4414 * inet/getnetbynm_r.c: Likewise.
4415 * inet/getnetent.c: Likewise.
4416 * inet/getnetbyad_r.c: Likewise.
4417 * inet/getnetbyad.c: Likewise.
4418 * inet/getnetbynm.c: Likewise.
4420 * sysdeps/generic/pselect.c: Include <sys/time.h>.
4422 * misc/sys/select.h: Include <time.h> instead of <sys/time.h> for
4425 * math/Makefile (calls): Add s_frexp, s_ldexp.
4426 (routines): Remove them and &f from here.
4428 * sys/socket.h: New file, wrapper for socket/sys/socket.h.
4430 * nss/nss_files/files-service.c (getservbyname): Take second arg PROTO
4433 * nss/nss_files/files-XXX.c: Comment fix.
4435 Fri Jul 12 01:28:35 1996 Ulrich Drepper <drepper@cygnus.com>
4437 * nss/getXXent_r.c (GETFUNC_NAME_STRING): Define with name
4438 of reentrant function.
4439 (setup): Pass additional argument with function name we are
4441 (SETFUNC_NAME, ENDFUNC_NAME, GETFUNC_NAME): Call setup with
4442 new argument {SET,END,GET}FUNC_NAME_STRING.
4444 * nss/getXXent.c (GETFUNC_NAME): RESULT must be static because
4445 we return a pointer.
4447 Thu Jul 11 18:20:44 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
4449 * nss/nss_files/files-parse.c: Add comment about things to #define.
4451 * nss/nss_files/files-hosts.c (NEED_H_ERRNO): Define it.
4453 * nss/nss_files/files-parse.c (STRING_FIELD): Don't flag NUL before
4454 terminator char as an error.
4456 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set *H_ERRNOP, not h_errno.
4458 Thu Jul 11 03:21:10 1996 Ulrich Drepper <drepper@cygnus.com>
4460 * catgets/gencat.c (write_out): Move code to determine new
4461 best size out of inner loop.
4463 Thu Jul 11 00:22:40 1996 Ulrich Drepper <drepper@cygnus.com>
4465 * sysdeps/libm-ieee754/s_frexpl.c: New file. `long double'
4466 implementation of frexp() function.
4467 * sysdeps/libm-ieee754/s_ldexpl.c: New file. `long double'
4468 implementation of ldexp() function.
4470 * sysdeps/libm-i387/s_isnanl.c (isnanl): Mask explicit one
4473 Wed Jul 10 05:24:40 1996 David Mosberger-Tang <davidm@azstarnet.com>
4475 * misc/mntent.c: Include <sys/types.h>.
4476 (endmntent): Return 1 one success, 0 on failure.
4477 (getmntent): Chop newline and ignore empty lines.
4479 Mon Jul 8 21:18:40 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4481 * sysdeps/m68k/dl-machine.h (RESOLVE): New macro, defined
4482 differently based on [RTLD_BOOTSTRAP].
4483 (elf_machine_rela): Use it instead of the fn ptr arg directly.
4485 Tue Jul 9 09:37:55 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
4487 * posix/glob.h (__glob_opendir_hook, __glob_readdir_hook,
4488 __glob_closedir_hook): Remove decls.
4490 * sysdeps/generic/machine-gmon.h: Declare mcount_internal.
4492 * sysdeps/unix/inet/syscalls.list: Define __ names with weak aliases
4493 for send and connect syscalls.
4495 * socket/sys/socket.h: New file, taken from non-sysdep parts of
4496 linux/sys/socket.h; break sysdeps parts out into socketbits.h.
4497 Declare __ names for send and connect.
4498 * sysdeps/generic/socketbits.h: New file.
4499 * sysdeps/unix/sysv/linux/socketbits.h: New file.
4500 * sysdeps/unix/sysv/linux/sys/socket.h: File removed.
4501 * sysdeps/generic/sys/socket.h: File removed.
4503 * sysdeps/mach/hurd/connect.c: Define __ name and weak alias.
4504 * sysdeps/mach/hurd/send.c: Likewise.
4506 * sysdeps/mach/libc-lock.h: New file.
4507 * sysdeps/unix/readdir.c: Do locking.
4508 * sysdeps/unix/seekdir.c: Likewise.
4509 * sysdeps/unix/rewinddir.c: Likewise.
4510 * sysdeps/unix/closedir.c: Likewise.
4511 * sysdeps/unix/bsd/telldir.c: Likewise.
4512 * sysdeps/mach/hurd/seekdir.c: Likewise.
4513 * sysdeps/mach/hurd/readdir.c: Likewise.
4514 * sysdeps/mach/hurd/closedir.c: Likewise.
4515 * sysdeps/mach/hurd/opendir.c: Initialize the lock.
4516 * sysdeps/unix/opendir.c: Likewise.
4517 * sysdeps/mach/hurd/dirstream.h: Include <libc-lock.h>.
4518 (struct __dirstream): Add lock member using __libc_lock_define.
4519 * sysdeps/unix/dirstream.h: Likewise.
4521 * sysdeps/stub/libc-lock.h (__libc_lock_fini): New macro.
4523 * stdlib/mbstowcs.c: Pass address of pointer to mbsrtowcs.
4525 * stdlib/wcstombs.c: Use wcsrtombs instead of mbsrtowcs.
4527 Thu Jul 4 01:34:04 1996 Ulrich Drepper <drepper@cygnus.com>
4529 * locale/programs/stringtrans.c: Fix typo in copyright.
4531 * stdio-common/printf-prs.c: Add casts to prevent
4532 signed<->unsigned warnings.
4534 * stdio-common/printf-parse.h: Initialize state variable before
4536 * stdio-common/printf-prs.c: Don't initialize state variable here.
4537 * stdio-common/vfprintf.c: Don't initialize state variable.
4538 (vfprintf): While determining length of multibyte string don't
4539 try to be clever in determining characters to use for first
4542 Add real implementation of multibyte<->wide char conversion
4543 functions. The functions always convert between the fixed wide
4544 char format (ISO 10646 in UCS4) and the UTF8 representation of
4545 this character set. Conversion between the currently used
4546 8bit character set and ISO 10646 will not take place. This is
4547 what iconv() is for.
4548 * wcsmbs/wchar.h (mbstate_t): Define as structure to replace
4550 Add optimized version of `mbrlen' function.
4551 * wcsmbs/btowc.c (btowc): Restrict range of legal characters
4553 * wcsmbs/wctob.c (wctob): Restrict range of legal characters
4555 * wcsmbs/mbrlen.c: Make mbrlen a weak alias of __mbrlen.
4556 This is needed in the wchar.h header.
4557 * wcsmbs/mbrtowc.c: Replace dummy implementation. Convert UTF8
4558 encoded character to UCS4.
4559 * wcsmbs/mbsinit.c: Replace dummy implementation. Test COUNT
4560 element of `mbstate_t' for initial state.
4561 * wcsmbs/mbsrtowcs.c: Replace dummy implementation. Convert UTF8
4562 encoded string to UCS4 string.
4563 * wcsmbs/wcrtomb.c: Replace dummy implementation. Convert UCS4
4564 character to UTF8 encoded form.
4565 * wcsmbs/wcsrtombs.c: Replace dummy implementation. Convert UCS4
4566 encoded string to UTF8 encoded form.
4568 Tue Jul 9 06:19:29 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
4570 * sysdeps/unix/sysv/linux/configure.in: Use version number in cache
4571 variable name, so new a libc with new requirements won't fail to
4572 notice an insufficient Linux version.
4574 * sysdeps/unix/sysv/linux/direntry.h: New file from David Mosberger.
4576 * sysdeps/unix/sysv/linux/configure.in: Check for Linux 2.0.1 headers,
4577 instead of 2.0 headers.
4579 * sysdeps/mach/hurd/Makefile (stamp-errnos): Uncomment CVS commit cmds.
4581 * sysdeps/gnu/errlist.awk: Undo mib's bogus changes. The
4582 sysdeps/mach/hurd/errnos.awk bug fix was the only correct change.
4584 * sysdeps/generic/machine-gmon.h [NO_UNDERSCORES]: Declare _mcount
4585 before using it in lhs of weak_alias.
4587 * nss/getXXent_r.c (setup): New function, broken out of SETFUNC_NAME.
4588 Call __nss_lookup when not setting STARTP.
4589 (SETFUNC_NAME, ENDFUNC_NAME, REENTRANT_GETNAME): Call it to set up for
4590 function-calling loop.
4592 Tue Jul 9 00:14:52 1996 Michael I. Bushnell p/BSG <mib@gnu.ai.mit.edu>
4594 * sysdeps/mach/hurd/ioctls.h (MDMBUF, ECHO, TOSTOP, FLUSHO,
4595 PENDIN, NOFLSH): Undefine these at start if they are already
4596 defined to avoid collision with termbits.h.
4597 * sysdeps/generic/termbits.h (ECHO, TOSTOP, NOFLSH): Likewise.
4598 (MDMBUF, FLUSHO, PENDIN) [__USE_BSD]: Likewise.
4600 Mon Jul 8 13:37:40 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
4602 * math/math.h (_Mfloat_, _Mlong_double_): New macros, defined iff not
4603 already defined to float, long double. Use those macros for _Mdouble_
4604 defns when including mathcalls.h.
4605 * math/Makefile [$(long-double-fcts) != yes] (CPPFLAGS): Append
4606 -D_Mlong_double_=double.
4608 Add more -lm functions to -lc because ldexp uses them.
4609 * math/Makefile (calls): Add s_finite, s_copysign, s_scalbn, s_modf.
4610 (routines): Remove s_modf, add s_frexpf, s_ldexpf; all but frexp and
4611 ldexp have both f and l code, and those have f though not l code.
4613 Mon Jul 8 13:10:50 1996 Michael I. Bushnell p/BSG <mib@gnu.ai.mit.edu>
4615 * sysdeps/mach/hurd/errnos.awk: Skip entries where the
4616 error is 0. The "placeholder" entries recently added to
4617 errno.texi convert to zero since `???/' is at the front of them.
4618 * sysdeps/gnu/errlist.awk (errnoh): Likewise.
4620 * sysdeps/stub/setdomain.c (setdomainname): Declare NAME parm
4621 __const to conform with unistd.h.
4623 * stdlib/stdlib.h (random): Declare return type to be int32_t.
4625 * string/argz-delete.c (argz_delete): Use memmove instead of
4626 memcpy for possibly overlapping strings.
4628 Mon Jul 8 02:14:25 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
4630 * libc-symbols.h [GCC >= 2.7] (strong_alias, weak_alias): Use extern
4631 storage class. GCC gives an error for non-extern data defns with the
4634 Mon Jul 8 01:37:34 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu>
4636 * string/argz-insert.c (__argz_insert): (__argz_insert): Use
4637 memmove instead of memcpy for possible overlapping strings.
4639 Mon Jul 8 00:11:15 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
4641 * libc-symbols.h (weak_function): New macro.
4642 For GCC 2.7+ define as __attribute__ ((weak)).
4643 * elf/dl-minimal.c: Use weak_function as keyword in function defns
4644 instead of weak_symbol (NAME) after the defn.
4645 * stdlib/strtol.c: Likewise.
4646 * stdlib/strtod.c: Likewise.
4647 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
4649 * sysdeps/alpha/dl-machine.h (elf_machine_rela) [RTLD_BOOTSTRAP]:
4650 If this is defined, don't declare _dl_rtld_map as weak, and
4651 don't check for MAP pointing to it. RESOLVE is always null in this
4652 case, so test with #ifdef instead of if.
4654 * libc-symbols.h (symbol_set_declare): Use weak_extern instead of
4656 * csu/initfini.c (_init): Likewise.
4657 * locale/setlocale.c (DEFINE_CATEGORY): Likewise.
4658 * misc/efgcvt_r.c: Likewise.
4659 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
4660 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
4662 * libc-symbols.h [ASSEMBLER] (weak_symbol): Macro removed.
4663 It was not used in any assembler code.
4664 (weak_symbol_asm): Renamed to weak_extern_asm.
4665 (weak_extern): New macro replaces weak_symbol for weak extern refs;
4666 define to weak_extern_asm for [!ASSEMBLER].
4668 Sun Jul 7 18:42:06 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
4670 * libc-symbols.h [! ASSEMBLER] [HAVE_WEAK_SYMBOLS] (weak_symbol_asm,
4671 weak_alias_asm): New macros, renamed from weak_symbol/weak_alias;
4672 define those now as aliases.
4673 Change conditional to use __attribute__ syntax for GCC 2.7+, not 2.8+
4674 [GCC >= 2.7] [HAVE_WEAK_SYMBOLS] (weak_symbol): Do weak_symbol_asm
4675 after GCC weak attribute decl.
4677 * sysdeps/gnu/errlist.awk (BEGIN): Initialize associative array ALIAS,
4678 map EWOULDBLOCK->EAGAIN, EDEADLOCK->EDEADLK.
4679 (element printer): Check for elt in ALIAS, instead of special case
4682 * io/Makefile (headers): Add sys/vfs.h.
4683 * io/sys/vfs.h: New file.
4685 * sysdeps/mach/hurd/jmp-unwind.c (_longjmp_unwind): Don't unlock the
4686 critical section lock before unlinking dying active resources.
4687 The unlock just before return is right (i.e. old code unlocked twice).
4689 Sun Jun 2 22:28:43 1996 Miles Bader <miles@gnu.ai.mit.edu>
4691 * stdio/linewrap.c (lwupdate): Update D->point_offs when done.
4692 Use memmove instead of memcpy where overlap is possible (not
4693 necessary using current implementation of memcpy, but...).
4694 (__line_wrap_update): Don't update D->point_offs (lwupdate does it).
4696 Fri May 31 11:48:46 1996 Miles Bader <miles@gnu.ai.mit.edu>
4698 * stdio/linewrap.c (lwupdate): New function, mostly was
4699 __line_wrap_update. Use POINT_COL field instead of POINT.
4700 (__line_wrap_output): Use lwupdate.
4701 (__line_wrap_update): New function.
4702 (ensure_unwrapped, ensure_wrapped): New functions.
4703 (line_wrap_set_lmargin, line_wrap_set_rmargin,
4704 line_wrap_set_wmargin, line_wrap_point): Use __line_wrap_update.
4706 * stdio/linewrap.h (struct line_wrap_data): Rename POINT field to
4707 POINT_COL. Add POINT_OFFS field.
4708 (__line_wrap_update): New decl.
4709 (line_wrap_set_lmargin, line_wrap_set_rmargin,
4710 line_wrap_set_wmargin, line_wrap_point): Use __line_wrap_update.
4712 Fri Jul 5 17:34:47 1996 Miles Bader <miles@gnu.ai.mit.edu>
4714 * login/logout.c (logout): Do nothing if getutline_r returns ESRCH.
4716 * login/pututline_r.c (pututline_r): Since we assign RESULT from
4717 lseek now, check that it's >= 0, not == 0.
4719 Wed Jul 3 13:28:04 1996 Miles Bader <miles@gnu.ai.mit.edu>
4721 * login/login.c (login): Make a copy of *UT, fill in various
4722 fields that we supply (ut_line, ut_type, ut_pid), and use the copy
4725 * login/getutline_r.c (getutline_r): When we return ESRCH, mark
4726 UTMP_DATA->ubuf invalid (by setting UTMP_DATA->loc_utmp to 0).
4728 Fri Jul 5 12:22:51 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
4730 * hurd/hurdsig.c (_hurd_internal_post_signal): In case of handled
4731 signal during critical section doing interruptible RPC, if
4732 _hurdsig_abort_rpcs wants to change thread state, do thread_set_state
4733 before thread_resume. If in critical section, pass 0 for SIGNO to
4734 _hurdsig_abort_rpcs so rpc is interrupted regardless of SA_RESTART.
4736 * extra-lib.mk: Fix typo in $(extra-libs-others) conditional.
4738 * sysdeps/unix/sysv/linux/sys/user.h: New file.
4739 * sysdeps/unix/sysv/linux/Dist: Add it.
4740 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add sys/user.h.
4742 * nss/nss_files/files-parse.c (parse_list): Set EOL from LINE if it
4743 points within DATA->linebuffer; otherwise use all of DATA->linebuffer
4744 itself, no need to skip past a NUL.
4746 * nss/nsswitch.h (known_function): Comment fix.
4747 * nss/nsswitch.c (nss_lookup_function): Rewritten using __tsearch
4748 directly. Do the lookup and insertion with a single call, and fill in
4749 the tree node afterwards if new.
4750 (known_compare, nss_find_entry, nss_insert_entry): Functions removed.
4752 * misc/sys/select.h: #define __need_timespec before <sys/time.h> incl.
4753 (struct timeval): Add bodiless decl for scope.
4755 * time/time.h (struct timespec): Rename members from `ts_*' to `tv_*'.
4756 Move struct timespec defn outside [_TIME_H] so it can be got with
4757 #define __need_timespec.
4759 * time/sys/time.h (TIMEVAL_TO_TIMESPEC): Use `tv_*' instead of `ts_*'
4760 for `struct timespec' member names.
4761 (TIMESPEC_TO_TIMEVAL): Likewise.
4763 * nss/Makefile (extra-libs-others): New variable.
4765 * extra-lib.mk: Don't test for $($(lib)-no-lib-dep). Instead match
4766 $(lib) in $(extra-libs-others).
4767 * sunrpc/Makefile (extra-libs-others): New variable.
4768 (librpcsvc-no-lib-dep): Variable removed.
4770 * elf/rtld.c: Define RTLD_BOOTSTRAP before #include "dynamic-link.h".
4771 * sysdeps/i386/dl-machine.h (elf_machine_rel): Remove weak decl for
4773 (RESOLVE): New macro, defined differently based on [RTLD_BOOTSTRAP].
4774 (elf_machine_rel): Use it instead of testing fn ptr arg at runtime.
4775 (elf_machine_rel: case R_386_32) [! RTLD_BOOTSTRAP]: Declare
4776 _dl_rtld_map weak only here.
4778 * posix/unistd.h [__USE_BSD]: Declare getdomainname, setdomainname.
4780 Thu Jul 4 05:21:59 1996 David Mosberger-Tang <davidm@azstarnet.com>
4782 * login/utmp.h: Fix typos.
4784 * misc/syslog.c (vsyslog): Use __send instead of send and
4785 __connect instead of connect to avoid name-space collisions (e.g.,
4788 Wed Jul 3 16:29:41 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
4790 * nss/getXXbyYY_r.c (REENTRANT_NAME): Cast FCT in __nss_next call.
4792 * sysdeps/generic/sbrk.c: Always call __brk (0) to update __curbrk.
4794 * malloc/malloc-size.c (malloc_usable_size): Renamed from
4795 malloc_object_allocation_size.
4796 * malloc/malloc.h: Fix decl.
4798 * sys/select.h: New file, wrapper header.
4800 * posix/sys/types.h [__USE_BSD]: Include <sys/select.h>; remove
4801 fd_set, associated macros, and select decl.
4803 * sysdeps/posix/isfdtype.c: New file.
4805 Tue Jul 2 23:45:14 1996 Ulrich Drepper <drepper@cygnus.com>
4807 The latest Japanese proposal for POSIX locales renames the
4808 CHARMAP keyword in locale definition files to CHARCONV.
4809 * locale/programs/ld-ctype.c, locale/programs/locales.h: Rename
4810 function ctype_is_charmap to ctype_is_charconv.
4811 * locale/programs/locfile-kw.gperf: Replace charmap keyword with
4813 * locale/programs/locfile-token.h: Add definition of token
4815 * locale/programs/locfile.c: Recognize charconv keyword. Rename
4816 lables according to this.
4818 * locale/weight.h (get_weight): Cast constants to prevent
4821 * stdlib/strtod.c, stdlib/strtol.c, string/strcoll.c,
4822 string/strxfrm.c: Add some more casts to prevent signed<->unsigned
4825 New stuff described in P1003.1g.
4826 * misc/Makefile (headers): Add sys/select.h.
4827 (routines): Add pselect.
4828 * misc/sys/select.h: New file. Declare select functions and
4829 needed data types and macros.
4830 * sysdeps/generic/pselect.c: New file. Add generic implementation
4831 of pselect() function which uses select().
4833 * posix/getconf.c: Recognize new variables from P1003.1g.
4834 * posix/posix1_lim.h: Define _POSIX_FD_SETSIZE, _POSIX_QLIMIT,
4835 _POSIX_HIWAT, and _POSIX_UIO_MAXIOV.
4836 * posix/unistd.h: Add description of the P1003.1g variables.
4837 * sysdeps/generic/confname.h: Define _SC_* values for new
4839 * sysdeps/posix/fpathconf.c (fpathconf): Add handling of
4841 * sysdeps/stub/fpathconf.c (fpathconf): Ditto.
4842 * sysdeps/posix/sysconf.c (sysconf): Add handling of new
4844 * sysdeps/stub/sysconf.c (sysconf): Ditto.
4845 * sysdeps/unix/sysv/linux/posix_opt.h: Define _POSIX_POLL and
4846 _POSIX_SELECT since Linux has this.
4848 * socket/Makefile (routines): Add isfdtype.
4849 * sysdeps/generic/sys/socket.h: Add prototype for isfdtype.
4850 * sysdeps/stub/isfdtype.c: New file. Stub implementation of
4853 * wcsmbs/wcrtomb.c (wcrtomb): Fix typo.
4855 Wed Jul 3 11:26:28 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
4857 * elf/Makefile (LDFLAGS-dl.so): New variable.
4858 (libdl.so): Depend on eval.so.
4859 (distribute): Add eval.c.
4860 * elf/eval.c: New file.
4862 * time/strftime.c (strftime: do_number): Adjust P and I after sprintf
4863 in case it wrote fewer than MAXDIGITS chars.
4865 * stdio/fwrite.c (fwrite: fill_buffer): Separate flushing for last
4866 newline from flushing full buffer in loop, fix test so no fflush is
4867 done when last byte written exactly fills the buffer.
4869 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Depend on libc.so.
4871 * sysdeps/mach/hurd/Makefile (LDLIBS-c.so): Variable removed.
4872 (libc.so): Instead, give this deps on lib{mach,hurd}user.so.
4874 * elf/dl-debug.c (_dl_debug_initialize): Use LDBASE arg instead of
4875 extracting _dl_rtld_map.l_addr.
4877 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare _dl_rtld_map as
4879 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
4881 * shlib-versions (*-*-*): Set libnss_db=1.
4883 Tue Jul 2 10:44:37 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
4885 * elf/rtld.c (dl_main): Set _dl_rtld_map's DT_DEBUG location too.
4887 * rpm/template (%build): Use @prefix@ instead of always /usr.
4888 Set up configparms only if @prefix@ is in fact /usr.
4889 * rpm/Makefile ($(config)): Substitute $(prefix) for @prefix@.
4891 * elf/Makefile: Add missing endif.
4893 * nss/nss_files/files-ethers.c (ntohost): Fix db key.
4895 * nss/nss_files/files-network.c: Pass empty for new DB_LOOKUP args.
4896 (DATABASE): Define this instead of DATAFILE.
4897 * nss/nss_files/files-hosts.c: Likewise.
4898 (hostbyname): Use LOOKUP_NAME macro.
4900 * nss/nss_db/db-XXX.c: New file.
4901 * nss/Makefile (services): Add db.
4902 (libnss_db-inhibit-o): New variable.
4903 (libnss_db-routines): New variable.
4904 (distribute): Append db-XXX.c.
4905 (libnss_db.so): Depend on libdb.so and libnss_files.so.
4906 ($(libnss_db-routines:%=$(objpfx)%.c)): New static pattern rule.
4908 * nss/nss_files/files-XXX.c (DB_LOOKUP): Add KEYSIZE and KEYPATTERN
4910 (DATAFILE): New macro.
4911 * nss/nss_files/files-parse.c (GENERIC): If undefined, define to
4913 * nss/nss_files/files-rpc.c: Include GENERIC instead of "files-XXX.c".
4914 Pass db key args to DB_LOOKUP.
4915 (DATAFILE): Macro removed.
4916 (DATABASE): New macro replaces it, lacks "/etc/" prefix.
4917 * nss/nss_files/files-service.c: Likewise.
4918 * nss/nss_files/files-pwd.c: Likewise.
4919 * nss/nss_files/files-proto.c: Likewise.
4920 * nss/nss_files/files-grp.c: Likewise.
4921 * nss/nss_files/files-ethers.c: Likewise.
4923 * elf/linux-compat.c: File removed.
4924 * elf/Makefile (distribute): Remove linux-compat.c.
4925 (ld-linux.so.1): Remove target and associated variables.
4927 * sunrpc/xdr.c: Remove malloc decl.
4928 * sunrpc/portmap.c: Likewise.
4930 * sunrpc/svc_tcp.c (abort): Don't declare. Instead define as macro
4931 casting abort to fn returning bool_t.
4933 * nss/nss_files/files-parse.c [EXTERN_PARSER]: Do an extern decl of
4934 the parser function.
4935 [EXTERN_PARSER] (LINE_PARSER): Define to empty.
4936 * nss/nss_files/files-pwd.c (EXTERN_PARSER): Define it.
4937 * nss/nss_files/files-grp.c: Likewise.
4939 * Makeconfig (BUILD_CC): If undefined, define to $(CC).
4941 * sunrpc/rpc/types.h: Include stdlib.h instead of declaring malloc.
4943 * Makeconfig (built-program-cmd): Use $(rtld-installed-name) in place
4944 of ld.so so lookups for that soname find it.
4946 * nss/Makefile (libnss_dns.so): Depend on libresolv.so.
4947 (resobjdir, LDLIBS-nss_dns.so): Variables removed.
4949 * pwd/fgetpwent.c: Don't include ../nss/nss_files/files-parse.c to
4950 define parse_line function.
4951 (parse_line): #define to _nss_files_parse_pwent and
4952 add extern decl for that.
4954 * nss/nss_files/files-XXX.c (internal_getent): Return
4955 NSS_STATUS_TRYAGAIN for ERANGE error.
4957 * sysdeps/i386/strtok.S (LreturnNULL): Save current state ptr instead
4958 of null, so next round returns null again instead of bombing. Fix
4961 * nss/nss_files/files-parse.c (LINE_PARSER): Take new first arg EOLSET.
4962 Remove ; after `ENTDATA_DECL (data)'.
4963 Truncate line at strpbrk (line, EOLSET "\n").
4964 (ENTDATA_DECL): Put ; at end.
4965 (MIDLINE_COMMENTS): Macro removed.
4966 * nss/nss_files/files-ethers.c: Pass new argument.
4967 * nss/nss_files/files-hosts.c: Likewise.
4968 * nss/nss_files/files-network.c: Likewise.
4969 * nss/nss_files/files-parse.c: Likewise.
4970 * nss/nss_files/files-proto.c: Likewise.
4971 * nss/nss_files/files-rpc.c: Likewise.
4972 * nss/nss_files/files-service.c: Likewise.
4973 * grp/fgetgrent.c: Likewise.
4974 * pwd/fgetpwent.c: Likewise.
4975 * nss/nss_files/files-pwd.c: Get parse_line with extern decl, since
4976 fgetpwent.c already defines it.
4977 * nss/nss_files/files-grp.c: Likewise.
4979 * elf/dl-load.c (_dl_map_object): Use any object with matching l_name
4980 as well as any matching with l_libname. Fix DT_SONAME lookup to use
4981 string table properly.
4983 * elf/rtld.c (dl_main): Set _dl_rtld_map.l_name from _dl_argv[0] when
4984 invoked directly, and l_libname from that if PT_INTERP missing.
4985 Set l_name from l_libname only if not set from argv.
4987 * time/europe, time/northamerica: Updated from ADO 96i.
4989 Mon Jul 1 15:44:34 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
4991 * stdio-common/tst-ungetc.c: Include unistd.h.
4993 * inet/Makefile (routines): Change getnetbypt to getnetbyad.
4995 Mon Jul 1 13:32:42 1996 Miles Bader <miles@gnu.ai.mit.edu>
4997 * hurd/report-wait.c (describe_number): Make I unsigned long.
4999 * login/login.c (login): Only Frob OLD->ut_type if getutline_r
5000 actually found any entry.
5002 * login/pututline_r.c (pututline_r): If not located after any
5003 entry don't use UTMP_DATA->ubuf, and seek to the end before adding.
5004 Lock the file before stating.
5006 Mon Jul 1 12:29:50 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
5008 * nss/Makefile (databases): Change host to hosts.
5009 * nss/host-lookup.c: Renamed to nss/hosts-lookup.c.
5011 * nss/nsswitch.c (nss_parse_service_list): Use const for NAME.
5013 * nss/nss_files/files-parse.c (parse_list): Correct alignment fixup.
5015 * string/string.h (strndupa): Pass missing arg to strnlen.
5017 * inet/getnetbypt_r.c: Renamed to ...
5018 * inet/getnetbyad_r.c: this; fixed function name.
5019 * inet/getnetbypt.c: Renamed to ...
5020 * inet/getnetbyad.c: this; fixed function name.
5022 Sat Jun 29 01:08:35 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5024 * grp/getgrgid_r.c (LOOKUP_TYPE): Define to struct group, not
5027 Fri Jun 28 23:25:35 1996 Miles Bader <miles@gnu.ai.mit.edu>
5029 * login/login.c (login): Initialize DATA so that setutent_r will
5030 actually do something.
5032 Fri Jun 28 16:53:01 1996 David Mosberger-Tang <davidm@azstarnet.com>
5034 * resolv/res_hconf.c (strndup): Remove function.
5036 * nss/nsswitch.c (nss_lookup_function): Declare loadbase and ref
5037 using ElfW() instead of Elf32_*.
5039 * sysdeps/unix/sysv/linux/alpha/init-first.h,
5040 sysdeps/unix/sysv/linux/m68k/init-first.h,
5041 sysdeps/unix/sysv/linux/i386/init-first.h: New files.
5042 * sysdeps/unix/sysv/linux/init-first.c: Use platform-dependent
5043 init-first.h to make abstract machine dependent parts of
5046 * sysdeps/unix/alpha/sysdep.h: Undo PIC-optimization of syscall
5047 error handling. It's safer that way.
5049 * sysdeps/unix/alpha/sysdep.S: Make ldgp part of the prologue.
5050 Fix by Richard Henderson.
5052 * sysdeps/alpha/dl-machine.h (elf_alpha_fix_plt): Fix
5053 typo/extraneous whitespace.
5055 * sunrpc/xdr.c (xdr_int, xdr_u_int): Use <limits.h> to test
5056 determine what integer sizes we're dealing with.
5058 Fri Jun 28 15:46:02 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu>
5060 * hurd/hurdsig.c (_hurd_internal_post_signal): In pending signal
5061 check for signal zero, repair logical sense of test by
5062 parenthesizing correctly.
5064 * hurd/hurdsig.c (_hurd_internal_post_signal): In
5065 check-for-pending signals code, release _hurd_siglock before
5066 jumping to deliver_pending.
5068 Thu Jun 27 04:04:27 1996 David Mosberger-Tang <davidm@azstarnet.com>
5070 * configure.in (config_machine): Make ELF the default even for
5071 Linux/Alpha unless a configuration of the form *-*-linux*ecoff
5074 Fri Jun 28 07:27:10 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
5076 * nss/nss_files/files-hosts.c (ENTDATA): Define it.
5077 * nss/nss_files/files-parse.c (struct parser_data): Define entdata
5078 member only #ifdef ENTDATA.
5079 (ENTDATA_DECL): New macro.
5080 (LINE_PARSER): Use it for entdata decl.
5081 (parse_list): Find the space for LIST from DATA->linebuffer instead of
5082 from the input LINE, which might not be writable buffer space.
5083 (LINE_PARSER): Use `parser_stclass' in place of `static inline'.
5084 [ENTDATA] (parser_stclass): #define to `static inline'.
5085 [!ENDATA] (parser_stclass): #define to empty.
5086 [!ENTDATA] (parse_line): #define to _nss_files_parse_ENTNAME; the
5087 function is exported to -lnss_files users.
5089 * string/strndup.c: Add missing arg.
5091 * string/string.h (strndupa): Likewise.
5092 * string/strndup.c (strndup): Always terminate the string.
5094 Thu Jun 27 14:22:31 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5096 * stdio/Makefile (routines): Add vscanf.
5097 * stdio-common/Makefile (routines): Remove vscanf.
5098 * stdio-common/vscanf.c: Move to ...
5099 * stdio/vscanf.c: here.
5101 * rpm/Makefile (headers, install-lib, install-lib.so,
5102 versioned, install-bin, install-sbin, install-data,
5103 install-others): Add $(-VARIABLE).
5105 Fri Jun 28 02:41:08 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
5107 * nss/Makefile (databases): New variable.
5108 (routines, libnss_files-routines): Use it.
5109 (subdir-dirs): Compute from $(services).
5111 * sysdeps/unix/sysv/linux/syscalls.list (create_module, delete_module,
5112 init_module, klogctl): Use EXTRA in the "caller" column so these get
5113 added to unix-extra-syscalls and thus compiled in misc.
5115 * string/Makefile (routines): Add strndup.
5116 * string/strndup.c: New file.
5117 * string/string.h: Declare strndup.
5118 (strndupa): New macro.
5120 * string/string.h: Declare __strdup.
5121 * string/strdup.c: Deansideclized. Define __ name and weak alias.
5123 * string/string.h: Don't define memccpy as macro for [__OPTIMIZE__].
5125 Thu Jun 27 02:49:28 1996 Ulrich Drepper <drepper@cygnus.com>
5127 * catgets/gencat.c: Add casts to avoid signed<->unsigned warnings.
5129 * grp/initgroups.c (initgroups): De-ansi-fy.
5130 Move declaration of NGROUPS and GROUPS outside #if so that
5131 the code compiles for NGROUPS_MAX != 0.
5133 * inet/Makefile (headers): Add netinet/ether.h and netinet/if_ether.h.
5134 (routines): Add ether_aton, ether_aton_r, ether_hton, ether_line,
5135 ether_ntoa, ether_ntoa_r, and ether_ntoh.
5136 * inet/ether_aton.c, inet/ether_aton_r.c, inet/ether_hton.c,
5137 inet/ether_line.c, inet/ether_ntoa.c, inet/ether_ntoa_r.c,
5138 inet/ether_ntoh.c: New files. Implementation of functions to
5139 handle Ethernet address to host mapping.
5140 * inet/netinet/ether.h: New file. Declare ether_* functions.
5141 * netinet/ether.h: Wrapper around inet/netinet/ether.h for glibc
5143 * nss/ethers-lookup.c: New file. Lookup function for ethers database.
5144 * nss/Makefile (routines): Add ethers-lookup.
5145 (libnss_files-routines): Add files-ethers.
5147 * nss/getXXent_r.c: Don't define set*ent and end*ent function
5150 * nss/nss_files/files-XXX.c (internal_endent): Don't reset
5151 KEEP_STREAM every time called.
5152 (_nss_files_end): Reset KEEP_STREAM here instead.
5153 (internal_getent): If STREAM == NULL try to open instead of
5155 Use cast to prevent warning.
5156 Terminate read line in case the buffer is too small.
5158 * nss/nss_files/files-ethers.c: New file. Implementation of
5159 Ethernet adress<->hostname lookup through files interface.
5161 * stdlib/mbstowcs.c: Define based on mbsrtowcs().
5162 * stdlib/mbtowc.c: Define based on mbrtowc().
5163 * stdlib/wcstombs.c: Define based on wcsrtombs().
5164 * stdlib/wctomb.c: Define based on wcrtomb().
5166 * sunrpc/xdr.c (xdr_u_int): Avoid bogus call to
5167 unexpected_sizes_in_xdr_u_int.
5169 * sysdeps/generic/netinet/if_ether.h: New file. Generic declaration
5170 of `struct ether_addr'.
5171 * sysdeps/unix/sysv/linux/netinet/if_ether.h: New file. Linux specific
5172 declaration of `struct ether_addr'.
5174 * wcsmbs/mbrtowc.c: Handle case where argument PS is NULL.
5175 * wcsmbs/mbsrtowcs.c: Ditto.
5176 * wcsmbs/wcrtomb.c: Ditto.
5177 * wcsmbs/wcsrtombs.c: Ditto.
5179 * wcsmbs/mbsinit.c: Prepare for PS being NULL.
5181 Wed Jun 26 13:19:35 1996 Miles Bader <miles@gnu.ai.mit.edu>
5183 * hurd/get-host.c <fcntl.h>: New include.
5184 * hurd/set-host.c <fcntl.h>: New include.
5185 (_hurd_set_host_config): Include NEW in args to dir_link.
5186 Return NWROTE, not NREAD.
5188 * sysdeps/mach/hurd/getcwd.c
5189 (_hurd_canonicalize_directory_name_internal): Don't deallocate
5190 DOTID & DOTDEVID until we're finished with them (we need to keep
5191 them at least until we've fetched the next level of id ports, so
5192 that mach will be able to use the same name if they're the same).
5193 Add inner_errlose: label, which deallocates DOTID & DOTDEVID and
5194 jumps to errlose, for those places where such cleanup is needed.
5196 Wed Jun 26 01:58:49 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
5198 * nss/nss_files/files-parse.c (parse_list): Count null in EOL calc.
5200 Move DB code into separate -ldb library.
5201 * db/Makefile (extra-libs): New variable, list libdb.
5202 (routines): Renamed to libdb-routines.
5203 * shlib-versions: Add libdb=2.
5205 * nss/network-lookup.c (DEFAULT_CONFIG): New macro.
5206 * nss/host-lookup.c (DEFAULT_CONFIG): New macro.
5208 * nss/nsswitch.c (nss_parse_service_list): Use __strncasecmp instead
5209 of strncasecmp. Extend syntax to grok [!foo=bar].
5211 * sysdeps/generic/strncase.c: Define __strncasecmp with strncasecmp as
5213 * string/string.h: Declare __strncasecmp.
5215 * nss/nsswitch.c (nss_parse_file): Call __getline, not getline.
5216 (service_alias): Variable removed.
5217 (nss_parse_service_list): New function, broken out of nss_getline.
5218 Remove alias conversion; we will just use symlinks.
5219 (__nss_database_lookup): Take new string arg DEFCONFIG.
5220 If no entry exists, make one with service list parsed from that.
5221 * nss/nsswitch.h: Update protocol for __nss_database_lookup.
5222 * nss/XXX-lookup.c (DEFAULT_CONFIG): New macro, set to 0 if undefined.
5223 (DB_LOOKUP_FCT): Pass it to _nss_database_lookup.
5225 * grp/initgroups.c: Rewritten using getgrent. Handle unlimited group
5228 * sunrpc/xdr.c (xdr_int): #if 0 out unresolved references in dead code.
5230 Wed Jun 26 01:56:50 1996 Ulrich Drepper <drepper@cygnus.com>
5232 * locale/programs/locale.c (long_options): Short form of
5233 --version option is `-V'.
5234 (main): Recognize `-V' as option, not `-v'.
5235 Call `usage' instead of printing error message for illegal
5237 (usage): Document `-V'.
5239 Tue Jun 25 17:22:55 1996 Miles Bader <miles@gnu.ai.mit.edu>
5241 * sysdeps/mach/hurd/getcwd.c
5242 (_hurd_canonicalize_directory_name_internal): Initialize PARENT to
5243 THISDIR, and don't ever deallocate PARENT unless it's != THISDIR.
5245 Tue Jun 25 10:58:23 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
5247 * inet/getrpcent.c: Fix macros.
5248 * inet/getrpcent_r.c: Fix macros.
5250 * elf/dlsym.c (dlsym): Search the global scope if HANDLE is null.
5252 * elf/dl-load.c (_dl_map_object_from_fd): Initialize L.
5254 Tue Jun 25 09:55:47 1996 David Mosberger-Tang <davidm@AZStarNet.com>
5256 * catgets/gencat.c (write_out): Use %Zu to print variables of type
5258 * resolv/res_debug.c (__p_rr): Print size_t variable as %lu and
5259 cast it to (unsigned long) to make it work both on 32 and 64
5262 Sat Jun 22 13:05:25 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5264 * locale/Makefile (distribute): Add `programs/' prefix to all
5265 files in that directory.
5267 * Makerules (distinfo-vars): Assign subdir directly so that `ifdef
5270 * MakeTAGS (sources, headers): Make them simply expanded variables
5271 so that all-dist is expanded before it is changed.
5273 Tue Jun 25 02:59:11 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
5275 * Make-dist (dist): Don't depend on crypt tar file. Remove that rule.
5276 * Makefile (subdirs): Remove crypt.
5277 * crypt: Directory removed. It will be made an independent library
5280 * Makefile (distribute): Add rpm/{Makefile,teplate,rpmrc}.
5282 * inet/getrpcent_r.c (DATABASE_NAME): New macro.
5284 * inet/getrpcbynumber.c (BUFLEN): New macro.
5286 * configure.in (--no-whole-archive check): Remove backslashes in cmd.
5288 * Makefile (headers): Add libc-lock.h.
5289 * sysdeps/stub/libc-lock.h: New file.
5291 * inet/getrpcbynumber.c: Remove _r typo.
5293 * elf/dl-load.c (_dl_map_object): Fix typo in last change.
5295 * nss/nss_files/files-parse.c (parse_list): Reset ELT for elements
5298 * nss/nsswitch.c (__nss_database_lookup): If nsswitch.conf is missing
5299 or doesn't mention DATABASE, use an internal default equivalent to
5300 "DATABASE: compat [NOTFOUND=return] dns [NOTFOUND=return] files".
5301 (nss_lookup_function): Call nss_new_service as needed.
5302 (nss_parse_file): Don't bother calling nss_new_service here.
5304 * grp/fgetgrent.c (LINE_PARSER): Pass zero SWALLOW arg for fields.
5305 * pwd/fgetpwent.c: Likewise.
5307 * malloc/malloc.h: Declare malloc_object_allocated_size, malloc_walk.
5308 * malloc/Makefile (dist-routines): Add malloc-size, malloc-walk.
5309 * malloc/malloc-size.c: New file.
5310 * malloc/malloc-walk.c: New file.
5312 * malloc/malloc-find.c (malloc_find_object_address): Return null if
5313 PTR is outside the heap.
5315 * elf/dl-load.c (_dl_map_object): If the requested name matches the
5316 soname of a loaded object, use that object.
5318 Mon Jun 24 19:57:01 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
5320 * Makefile (subdirs): Add nss.
5322 * inet/Makefile (routines): Add getrpcent, getrpcbyname,
5323 getrpcbynumber, getrpcent_r, getrpcbyname_r, getrpcbynumber_r.
5324 * inet/getrpcbynumber_r.c: New file.
5325 * inet/getrpcbynumber.c: New file.
5326 * inet/getrpcbyname.c: New file.
5327 * inet/getrpcbyname_r.c: New file.
5328 * inet/getrpcent_r.c: New file.
5329 * inet/getrpcent.c: New file.
5330 * nss/rpc-lookup.c: New file.
5331 * nss/nss_files/files-rpc.c: New file.
5332 * nss/Makefile (routines): Add rpc-lookup.
5333 (libnss_files-routines): Add files-rpc.
5334 * sunrpc/Makefile (routines): Remove getrpcent.
5335 * sunrpc/getrpcent.c: File removed.
5337 * nss/getXXent_r.c (REENTRANT_GETNAME): Clear NO_MORE when NIP is
5340 * Makeconfig (rpath-link): Add $(nssobjdir).
5341 (nssobjdir): New variable.
5343 * Makerules: Move shared library building before objects rules, so
5344 versions are known before extra-lib.mk gets included.
5345 * extra-lib.mk (lib-noranlib): Depend on the shared object too.
5347 * pwd/getpwuid.c: Rewritten using nss.
5348 * pwd/getpwnam.c: Likewise.
5349 * pwd/getpwent.c: Likewise.
5350 * grp/getgrnam.c: Likewise.
5351 * grp/getgrgid.c: Likewise.
5352 * grp/getgrent.c: Likewise.
5353 * pwd/Makefile (routines): Add getpwent_r, getpwnam_r, getpwuid_r.
5354 * pwd/getpwent_r.c: New file.
5355 * pwd/getpwnam_r.c: New file.
5356 * pwd/getpwuid_r.c: New file.
5357 * grp/Makefile (routines): Add getgrent_r, getgrgid_r, getgrnam_r.
5358 * grp/getgrnam_r.c: New file.
5359 * grp/getgrgid_r.c: New file.
5360 * grp/getgrent_r.c: New file.
5361 * grp/Makefile (routines): Remove grpopen, grpread.
5362 * pwd/Makefile (routines): Remove pwdopen, pwdread.
5363 * grp/grpopen.c, grp/grpread.c, pwd/pwdopen.c, pwd/pwdread.c: Removed.
5365 * pwd/fgetpwent.c: Rewritten using files-parse.c.
5366 * grp/fgetgrent.c: Likewise.
5368 * nss/Makefile (routines): Add grp-lookup and pwd-lookup.
5369 * nss/pwd-lookup.c, nss/grp-lookup.c: New files.
5370 * nss/nss_files/files-grp.c: New file.
5371 * nss/nss_files/files-pwd.c: New file.
5373 * nss/Makefile (subdir-dirs): New variable; use it in vpath.
5375 * nss/nss_files/files-parse.c: New file.
5376 * nss/nss_files/files-XXX.c: New file.
5377 * nss/nss_files/files-hosts.c, nss/nss_files/files-proto.c,
5378 nss/nss_files/files-service.c, nss/nss_files/files-network.c:
5379 Rewritten using them.
5381 * nss/Makefile (libnss_files-routines): Remove files-host.
5382 Add files-hosts, files-grp, files-pwd.
5384 * nss/nss_dns/dns-network.c: Don't include <pthread.h>.
5386 Mon Jun 24 22:39:12 1996 Richard Henderson <rth@tamu.edu>
5388 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
5389 A .plt entry now loads the .rela.plt offset directly rather
5390 than making us calculate it.
5392 Sun Jun 23 15:24:05 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
5394 * time/Makefile ($(installed-localtime-file) rule): Do
5395 $(make-target-directory) first.
5397 * resolv.h: Fix wrapper for resolv/resolv.h.
5399 * configure.in (ld --no-whole-archive check): Use AC_TRY_COMMAND.
5400 Compile dummy file and pass -nostdlib -nostartfiles so as not to
5401 require installed libraries.
5403 * shlib-versions (*-*-*): Set libresolv=2, libnss_files=1,
5406 Sun Jun 23 19:42:05 1996 Ulrich Drepper <drepper@cygnus.com>
5408 * resolv/Makefile (distribute): Remove res_hconf.h; add mapv4v6addr.h
5409 and mapv4v6hostent.h.
5410 (routines): Move res* and gethnamaddr into libresolv-routines.
5411 (libresolv-routines): New variable, put them there.
5412 (extra-libs): New variable, list libresolv.
5413 (CPPFLAGS): Add -D for get*by* to res_get*by*.
5415 * resolv/netdb.h (_PATH_NSSWITCH_CONF): New macro.
5417 * inet/herrno.c: New file.
5419 * resolv/res_init.c: Remove res_hconf calls.
5421 * nss/Makefile, nss/XXX-lookup.c, nss/file-lookup.c,
5422 nss/getXXbyYY.c, nss/getXXbyYY_r.c, nss/getXXent.c,
5423 nss/getXXent_r.c, nss/host-lookup.c, nss/network-lookup.c,
5424 nss/nsswitch.c, nss/nsswitch.h, nss/proto-lookup.c,
5425 nss/service-lookup.c: New files. Implementation of name
5426 service switch, following the approach in Solaris.
5427 Interface specification and general structure inspired by Peter
5428 Eriksson <pen@lysator.liu.se>.
5429 * nss/nss_files/files-host.c, nss/nss_files/files-network.c,
5430 nss/nss_files/files-proto.c, nss/nss_files/files-service.c:
5431 Implementation of libnss_files.so module for file based databases
5433 * nss/nss_dns/dns-host.c, nss/nss_dns/dns-network.c: Implementation
5434 if libnss_dns.so module for DNS name lookup in NSS service.
5436 * inet/getproto.c, inet/getprtent.c, inet/getprtname.c,
5437 inet/getservent.c, inet/getsrvbynm.c, inet/getsrvbypt.c:
5438 Changed to serve as interface to NSS.
5439 * inet/gethstbyad.c, inet/gethstbyad_r.c, inet/gethstbynm.c,
5440 inet/gethstbynm2.c, inet/gethstbynm2_r.c, inet/gethstbynm_r.c,
5441 inet/gethstent.c, inet/gethstent_r.c, inet/getnetbynm.c,
5442 inet/getnetbynm_r.c, inet/getnetbypt.c, inet/getnetbypt_r.c,
5443 inet/getnetent.c, inet/getnetent_r.c, inet/getproto_r.c,
5444 inet/getprtent_r.c, inet/getprtname_r.c, inet/getservent_r.c,
5445 inet/getsrvbynm_r.c, inet/getsrvbypt_r.c: New files. Implement
5446 interfaces to NSS, including reentrant functions.
5448 * resolv/getnetbyaddr.c, resolv/getnetbyname.c, resolv/getnetent.c,
5449 resolv/sethostent.c: Removed: Obsoleted by NSS.
5451 * resolv/mapv4v6addr.h, resolv/mapv4v6hostent.h: Extracted from
5452 gethnamaddr.c. These private functions are now used in more
5455 * resolv/inet_pton.c, resolv/gethnamaddr.c: Updated to bind-4.9.4-T5B.
5457 Sat Jun 22 16:49:47 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5459 * rpm/Makefile ($(config)): Make sure the word list in the for
5460 loop is syntactically non-empty.
5462 Sat Jun 22 21:29:52 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
5464 * Version 1.92 test release.
5466 Sat Jun 22 23:30:07 1996 David Mosberger-Tang <davidm@azstarnet.com>
5468 * sysdeps/unix/sysv/linux/syscalls.list (ksyslog_ctl): Rename
5469 to klogctl to match prototype in sys/klog.h.
5471 * sysdeps/posix/libc_fatal.c: Add include of <string.h>.
5472 * sysdeps/unix/sysv/linux/gethostid.c: Ditto.
5474 * sysdeps/posix/getcwd.c (__canonicalize_directory_name_internal):
5475 Remove. Code is now part of __getcwd again. The old function
5476 never really worked for anything but THISDIR==".".
5478 * sysdeps/alpha/Makefile (CFLAGS-rtld.c): Add -mbuild-constants
5479 only when building ELF version of library.
5481 * libio/libioP.h (_IO_vscanf): Add prototype.
5483 * posix/unistd.h (syscall): Change sysno arg and return value
5486 Sat Jun 22 10:44:09 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
5488 * version.h (VERSION): Updated to 1.92.
5490 * misc/Makefile (headers): Add ar.h.
5491 * misc/ar.h: New file.
5493 * config.make.in (BUILD_CC): New variable.
5494 * configure.in: Check for BUILD_CC if $host != $build.
5496 * posix/glob.c: Include <alloca.h> only [HAVE_ALLOCA_H], not [sparc].
5498 * Makerules [! objects] (subdir_lib): Depend on the stamp$o files.
5499 (stamp$o files): New targets, create them empty, no deps.
5501 * rpm/template (Source): New field.
5502 (%prep, %build, %install): New sections.
5503 (%files): Add %doc FAQ NEWS NOTES README.
5504 * rpm/rpmrc (builddir): Removed.
5506 Fri Jun 21 00:27:51 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
5508 * elf/dl-load.c (_dl_map_object_from_fd): Fix mapping and l_phdr
5509 guessing to not assume p_vaddr of first load cmd is zero.
5511 * sysdeps/sparc/elf/start.S: New file.
5512 * sysdeps/sparc/dl-machine.h: New file.
5514 * posix/fnmatch.c (fnmatch): Fix \*[*?]+ case to increment name ptr
5515 only for ?s, not for *s. Fix from Chet Ramey.
5517 Fixes thanks to Raja R Harinath <harinath@cs.umn.edu>:
5518 * sysdeps/unix/sysv/utmpbits.h: Define _HAVE_UT_{TYPE,ID,TV,HOST}.
5519 Use __{BEGIN,END}_DECLS.
5520 (_PATH_WTMP, _PATH_UTMP, _PATH_LASTLOG): New macros.
5521 * login/utmp.h (UTMP_FILE, UTMP_FILENAME, WTMP_FILE, WTMP_FILENAME):
5522 New macros, moved here from sysdeps/gnu/utmpbits.h.
5523 * sysdeps/generic/utmpbits.h (_HAVE_UT_HOST): Define it.
5524 * sysdeps/gnu/utmpbits.h (_HAVE_UT_HOST): Likewise.
5525 * login/logout.c: Use ut_host only #if _HAVE_UT_HOST.
5526 Use sizeof instead of UT_*SIZE.
5527 * login/logwtmp.c: Likewise.
5529 * misc/tsearch.c (tdelete): Define as weak alias to __tdelete.
5531 * version.c (banner): Add trailing newline.
5533 * login/utmp.h: Declare login_tty.
5535 Thu Jun 20 21:19:07 1996 Richard Henderson <rth@tamu.edu>
5537 * sysdeps/alpha/dl-machine.h (elf_alpha_fix_plt):
5538 Changed to a 12-byte PLT entry to remove dependency on $gp.
5539 Take a new got_addr parameter.
5540 (elf_machine_rela): Pass the new parameter.
5541 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Do arithmetic for 12-byte PLT.
5542 (RTLD_START): Do normal linkage with program entry.
5544 Thu Jun 20 12:18:21 1996 Miles Bader <miles@gnu.ai.mit.edu>
5546 * sysdeps/mach/hurd/brk.c (_hurd_brk): Initialize to 0.
5548 * hurd/getuids.c (getuids): New weak link to __getuids.
5550 Wed Jun 19 10:21:24 1996 Miles Bader <miles@gnu.ai.mit.edu>
5552 * hurd/hurdlookup.c (__hurd_file_name_lookup_retry,
5553 __hurd_file_name_lookup, __hurd_file_name_split): Add & use LOOKUP
5555 Rename nested function lookup to lookup_op.
5556 (__file_name_lookup, __file_name_lookup_under):
5557 Pass 0 for lookup arg to __hurd_file_name_lookup.
5558 (__file_name_split): Likewise for __hurd_file_name_split.
5559 * hurd/path-lookup.c (hurd_file_name_path_lookup): Add LOOKUP argument.
5560 Rename nested function lookup to scan_lookup.
5561 (file_name_path_lookup): Pass 0 for lookup arg to
5562 hurd_file_name_path_lookup.
5563 * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup,
5564 __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry:
5565 __hurd_file_name_split, hurd_file_name_split, hurd_file_name_lookup):
5566 Add LOOKUP argument.
5567 * sysdeps/mach/hurd/access.c (__access): Pass 0 lookup arg to
5568 __hurd_file_name_lookup.
5570 Mon Jun 17 19:09:49 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5572 * Make-dist (+sysdeps): Move wildcard inside loop to avoid consing
5573 up a huge list just to discard most of it.
5575 * configure.in (sysnames): Avoid fgrep by using the case shell
5578 * Makeconfig (config.status): Fix dependency on Implies files.
5580 Wed Jun 19 01:27:57 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
5582 * math/Makefile (distribute): Add ieee-math.c.
5584 Wed Jun 19 03:24:58 1996 Ulrich Drepper <drepper@cygnus.com>
5586 * locale/codeset_name.c: New file. Provide function for information
5587 about currently used character set.
5588 * locale/Makefile (routines): Add codeset_name.
5589 * locale/langinfo.h (_NL_CTYPE_CODESET_NAME): Add new constant.
5590 * locale/localeinfo.h: Change magic number because of incompatible
5592 * locale/C-ctype.c: Add initializer for new field `codeset_name'.
5593 * locale/programs/ld-ctype.c: Implement handling of `codeset_name'.
5595 * locale/programs/locfile.c: Don't depend in pre-2.0 Linux specific
5596 name `MAX_IOVEC'. Instead use standard name `UIO_MAXIOV'.
5598 * locale/setlocale.c (setlocale): Initialize local variables to
5601 Thu Jun 13 17:25:11 1996 David Mosberger-Tang <davidm@azstarnet.com>
5603 * sysdeps/generic/memcmp.c: Add prototype decls for internal fns.
5605 * locale/programs/locale.c: Include string.h.
5607 * sunrpc/xdr_stdio.c (xdrstdio_getlong), sunrpc/xdr_rec.c
5608 (xdrrec_getlong), sunrpc/xdr_mem.c (xdrmem_getlong): Make sure
5609 appropriate sign-extension is performed on machines with
5612 * sunrpc/xdr.c (xdr_int, xdr_u_int): If sizeof(long)==8 and
5613 sizeof(int)<sizeof(long), we need to go through a temporary
5616 * locale/programs/ld-numeric.c: Include <alloca.h>
5618 * libio/stdio.h (__libc_fatal): Add prototype.
5620 * libio/cleanup.c: Use __P() to declare prototype when __STDC__ is
5623 * libio/iopopen.c (read_or_write, parent_end, child_end): Declare
5624 volatile to avoid "might get clobbered by longjmp" warning.
5626 * features.h (__KERNEL_STRICT_NAMES): Define __KERNEL_STRICT_NAMES
5627 unless _LOOSE_KERNEL_NAMES is in effect (which, with high
5628 probability is a sure loser).
5629 * sysdeps/unix/sysv/linux/gnu/types.h (__KERNEL_STRICT_NAMES): Remove.
5631 * sysdeps/unix/bsd/osf/alpha/start.S (errno): Removed.
5632 * sysdeps/unix/sysv/linux/alpha/start.S: Ditto.
5634 * misc/paths.h (_PATH_MAN): Change from /usr/share/man to /usr/man
5635 to be Linux FSSTND compliant.
5637 Mon Jun 10 17:50:31 1996 David Mosberger-Tang <davidm@azstarnet.com>
5639 * sysdeps/unix/sysv/linux/alpha/pipe.S: Use PSEUDO.
5641 * sysdeps/unix/sysv/linux/alpha/sysdep.S,
5642 sysdeps/unix/sysv/linux/alpha/brk.S,
5643 sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S,
5644 sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S,
5645 sysdeps/unix/sysv/linux/alpha/llseek.S,
5646 sysdeps/unix/sysv/linux/alpha/sigsuspend.S,
5647 sysdeps/unix/sysv/linux/alpha/syscall.S: Rename syscall_error to
5648 __syscall_error to avoid intruding application name space.
5650 * sysdeps/unix/sysv/linux/alpha/sysdep.h: Rename __NR_get?id
5651 to SYS_get?id so that syscall stubs in sysdeps/unix define
5652 these syscalls in terms of getxpid/getxuid/getxgid.
5654 * sysdeps/unix/_exit.S, sysdeps/unix/getegid.S,
5655 sysdeps/unix/geteuid.S, sysdeps/unix/getppid.S,
5656 sysdeps/unix/execve.S, sysdeps/unix/fork.S,
5657 sysdeps/unix/syscall.S: Terminate syscall with PSEUDO_END.
5659 * sysdeps/unix/make-syscalls.sh, sysdeps/unix/sysdep.h
5660 (PSEUDO_END): Rename END() to PSEUDO_END().
5662 * sysdeps/unix/alpha/sysdep.h: Move error-handling code in PSEUDO
5663 to PSEUDO_END to improve branch-prediction. Include .frame
5664 directive to make syscalls debugabble.
5665 (PSEUDO_END): New macro.
5667 * sysdeps/unix/alpha/sysdep.h, sysdeps/alpha/bb_init_func.S,
5668 sysdeps/unix/sysv/linux/alpha/brk.S: Use ldiq instead of ldi since
5669 latter is illegal under DEC Unix.
5671 * sysdeps/unix/alpha/sysdep.S: Renamed from
5672 sysdeps/unix/sysv/linux/alpha/sysdep.S. This file works for OSF/1
5674 * sysdeps/unix/bsd/osf/alpha/sysdep.S: Remove (note that the
5675 EWOULDBLOCK -> EAGAIN mapping was unnecessary since
5676 EWOULDBLOCK==EAGAIN under DEC Unix and Linux/Alpha).
5678 * sysdeps/alpha/divrem.h: Use retaddr instead of ra as the return
5679 address register in the .frame directive.
5681 * sysdeps/alpha/copysign.c: Remove.
5683 * sunrpc/rpc/types.h: Include <sys/param.h> and <netinet/in.h> to
5684 avoid RPC definitions of INADDR_LOOPBACK and/or MAXHOSTNAMELEN.
5686 * errno.h: Move __END_DECLS to correct place to make file
5687 compilable under c++.
5689 * dirent/dirent.h: Document _DIRENT_HAVE_D_OFF macro. Define
5690 d_ino only if <direntry.h> hasn't defined d_fileno.
5692 * configure.in (HAVE_ASM_WEAKEXT_DIRECTIVE): Reverse order of
5693 arguments to weakext to make .weakext detection work on ECOFF systems.
5695 * FAQ: Add Linux/Alpha to list of supported platforms. Mention
5696 that _validuser() has been replaced by __ivaliduser().
5698 Thu Jun 6 21:39:38 1996 David Mosberger-Tang <davidm@azstarnet.com>
5700 * sysdeps/unix/bsd/sun/sunos4/tcsetattr.c (tcsetattr): Declare cmd
5701 as unsigned long, not as int (to avoid incorrect int->long
5706 See ChangeLog.5 for earlier changes.