1 Fri Oct 11 19:13:34 1996 Ulrich Drepper <drepper@cygnus.com>
3 * locale/Makefile (CPPFLAGS): Set CHARMAP_PATH to
6 Fri Oct 11 22:12:41 1996 NIIBE Yutaka <gniibe@mri.co.jp>
8 * sysdeps/unix/sysv/linux/sys/procfs.h: Include <asm/user.h>
9 to get definition of FPU description struct.
11 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=socket] (subdir_headers):
12 Add net/if.h, net/if_ppp.h, net/ppp-comp.h, net/ppp_defs.h,
13 net/if_arp.h, and net/route.h.
14 * sysdeps/unix/sysv/linux/net/if_arp.h: New file.
15 * sysdeps/unix/sysv/linux/net/route.h: New file.
17 Fri Oct 11 14:49:13 1996 Ulrich Drepper <drepper@cygnus.com>
19 * sysdeps/stub/readdir_r.c: New file. We need a stub version.
20 * sysdeps/stub/e_acosl.c: Likewise.
21 * sysdeps/stub/e_asinl.c: Likewise.
22 * sysdeps/stub/e_atan2l.c: Likewise.
23 * sysdeps/stub/e_expl.c: Likewise.
24 * sysdeps/stub/e_fmodl.c: Likewise.
25 * sysdeps/stub/e_log10l.c: Likewise.
26 * sysdeps/stub/e_logl.c: Likewise.
27 * sysdeps/stub/e_sqrtl.c: Likewise.
28 * sysdeps/stub/s_atanl.c: Likewise.
29 * sysdeps/stub/s_log1pl.c: Likewise.
31 * Makefile (distribute): Add nsswitch.h and netgroup.h.
33 * nss/Makefile (generated): db-netgrp.c is not generated.
35 * sysdeps/alpha/Dist: Add stxcpy.S and stxncpy.S.
37 * Make-dist (+out): Add $(dont_distribute).
39 Fri Oct 11 00:27:18 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
41 * stdio-common/Makefile (routines): Add tmpnam_r.
43 Fri Oct 11 05:32:51 1996 Ulrich Drepper <drepper@cygnus.com>
45 * version.h: Bump version to 1.96.
47 Fri Oct 11 18:13:47 1996 Andreas Jaeger <aj@arthur.pfalz.de>
49 * stdio-common/tst-printf.c: Some more cleanups.
51 Fri Oct 11 02:48:02 1996 Ulrich Drepper <drepper@cygnus.com>
53 * resolv/arpa/nameser.h: Update from bind-4.9.5-T6B.
54 * resolv/resolv.h: Likewise.
55 * resolv/gethnamaddr.c: Likewise.
56 * resolv/res_comp.c: Likewise.
57 * resolv/res_debug.c: Likewise.
58 * resolv/res_init.c: Likewise.
59 * resolv/res_send.c: Likewise.
60 * resolv/Banner: Update version number.
62 * nss/nss_dns/dns-host.c: Update according to change in
65 Fri Oct 10 20:52:28 1996 Ralph Loader <loader@maths.ox.ac.uk>
67 * crypt/md5.c (md5_stream): When reading the block in several
68 pieces append to instead of replace previously read data.
70 Thu Oct 10 15:53:17 1996 Richard Henderson <rth@tamu.edu>
72 * sysdeps/alpha/stxcpy.S ($unaligned): In single word copy, correct
73 last-byte-written bit for source word misalignment.
74 * sysdeps/alpha/strchr.c: Removed. There is now an assembler
77 Thu Oct 10 17:17:23 1996 Ulrich Drepper <drepper@cygnus.com>
79 * sunrpc/Makefile (rpcsvc): Remove yp.x. The corrected version
81 * sunrpc/rpcsvc/yp.x: Removed.
83 * nss/nss_files/files-netgr.c (_nss_netgroup_parseline): Test
84 for *CURSOR to be NULL and dump a core if yes.
86 Thu Oct 9 20:09:53 1996 Matthew Jacob <mjacob@feral.com>
88 * sysdeps/unix/sysv/linux/alpha/brk.S: Define _ERRNO_H before
89 including <errnos.h> to get error numbers.
91 Thu Oct 10 14:00:01 1996 Ulrich Drepper <drepper@cygnus.com>
93 * sysdeps/unix/sysv/linux/i386/sigcontext.h: Moved file...
94 * sysdeps/unix/sysv/linux/sigcontext.h: ...to here. So the
95 Alpha people find a correct file.
96 * sysdeps/libm-ieee754/w_cabs.c: We cannot make __cabsl simply
97 an alias of __cabs since the structures have different names.
98 * sysdeps/libm-ieee754/w_log10.c: Fix typo in weak_alias.
99 Reported by Matthew Jacob <mjacob@feral.com>.
101 Wed Oct 9 00:24:52 1996 Jim Meyering <meyering@asic.sc.ti.com>
103 * time/strftime.c: Allow old K&R compilers compile this file.
105 Wed Oct 9 12:03:56 1996 Ulrich Drepper <drepper@cygnus.com>
107 * posix/execlp.c: Add first argument parameter to be compliant
108 with POSIX. Rearrange body to start vararg counter after
111 Wed Oct 9 04:34:50 1996 Ulrich Drepper <drepper@cygnus.com>
113 * sysdeps/unix/sysv/linux/sys/procfs.h: Rewrite. We cannot use
114 simply a wrapper around the <linux/elfcore.h> file since the
115 kernel header is not clean enough. We provide the definitions
116 in this file instead.
118 Wed Oct 9 01:43:18 1996 Ulrich Drepper <drepper@cygnus.com>
120 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Avoid
121 get?id calls by using __libc_enable_secure.
123 Wed Oct 9 00:30:33 1996 Ulrich Drepper <drepper@cygnus.com>
125 * inet/getnetgrent_r.c: Correct netgroup implementation. A
126 specification of a netgroup can also name another netgroup.
127 * nss/nss_files/files-netgrp.c: Likewise.
128 * inet/netgroup.h: Add fields to hold additional information.
130 Tue Oct 8 21:51:14 1996 Arnold D. Robbins <arnold@skeeve.atl.ga.us>
132 * posix/getopt.c: Implement POSIX -W option handling. When the
133 option string contains "W;" -W foo is handled like --foo.
135 Tue Oct 8 12:27:26 1996 Ulrich Drepper <drepper@cygnus.com>
137 * sysdeps/unix/sysv/linux/i386/clone.S: Define _ERRNO_H before
138 inclusing <errnos.h> so we really get error symbols defined.
139 * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
140 * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
142 * sunrpc/auth_unix.c (authunix_create_default): Don't use fixed
143 size array for getgroups call. Instead get maximal number via
144 sysconf. But discard list to NGRPS elements before calling XDR
145 function since Sun's code cannot handle longer lists.
146 Based on a patch by Thorsten Kukuk <kukuk@weber.uni-paderborn.de>.
148 * sysdeps/stub/e_j0l.c: Define y0l as well.
149 * sysdeps/stub/e_j1l.c: Define y1l as well.
150 * sysdeps/stub/e_jnl.c: Define ynl as well.
152 * posix/unistd.h: Correct prototype for execlp.
154 * sysdeps/unix/sysv/linux/posix_opt.h: Define _POSIX_NO_TRUNC.
156 Mon Oct 7 22:18:03 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
158 * Makeconfig (sysdep-library-path): New variable.
159 (built-program-cmd): Use it here to properly build a colon
160 separated library path.
162 Mon Oct 7 22:11:55 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
164 * crypt/md5-crypt.c (md5_crypt_r): Add missing parens around &
165 within comparison. Fix comments.
166 (md5_crypt): Fix comment.
168 Tue Oct 8 05:10:49 1996 Ulrich Drepper <drepper@cygnus.com>
170 * sysdeps/unix/sysv/linux/errnos.h: Only include <linux/errnos.h>
171 when _ERRNO_H is defined.
172 [!_ERRNO_H && __need_Emath]: Define value for EDOM and ERANGE.
173 Should there ever be a Linux port where the numeric values are
174 not 33 and 34 this file must change.
176 Mon Oct 7 13:54:04 1996 Ulrich Drepper <drepper@cygnus.com>
178 * libio/iofgets.c (_IO_fgets): Use _IO_flockfile instead of
181 Mon Oct 7 11:01:45 1996 Andreas Jaeger <aj@arthur.pfalz.de>
183 * string/tst-strlen.c (main): Provide prototype.
184 * malloc/mallocbug.c: Likewise.
185 * io/test-utime.c: Likewise.
187 * sysdeps/generic/crypt-entry.c: Correct typo.
189 Mon Oct 7 13:42:20 1996 Ulrich Drepper <drepper@cygnus.com>
191 * elf/dl-open.c (_dl_open): Check against _dl_sysdep_start to
192 test for libc.a. Checking _DYNAMIC is of no worth here.
193 Suggested by Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>.
195 * nss/nss_files/files-parse.c: Define LOOKUP_NAME even if
196 EXTERN_PARSER is defined.
198 Sat Oct 5 17:05:36 1996 Andreas Jaeger <aj@arthur.pfalz.de>
200 * Rules (dep-dummy-lib): Correct prototype for __dummy__.
202 * crypt/md5-crypt.c: Fix typos in comments.
204 * gmon/gmon.c: Provide prototypes.
205 * db/makedb.c: Likewise.
206 * locale/programs/xmalloc.c: Likewise.
207 * stdio-common/bug11.c (main): Likewise.
208 * stdio-common/bug7.c (main): Likewise.
209 * stdio-common/bug8.c (main): Likewise.
210 * stdio-common/bug9.c (main): Likewise.
211 * stdio-common/scanf1.c (main): Likewise.
212 * stdio-common/scanf2.c (main): Likewise.
213 * stdio-common/scanf5.c (main): Likewise.
214 * stdio-common/scanf6.c (main): Likewise.
215 * stdio-common/scanf7.c (main): Likewise.
216 * stdio-common/scanf8.c (main): Likewise.
217 * stdio-common/temptest.c (main): Likewise.
218 * stdio-common/test-fwrite.c (main): Likewise.
219 * stdio-common/tst-printf.c: Likewise.
220 * stdio-common/tstdiomisc.c: Likewise.
221 * stdio-common/tstgetln.c (main): Likewise.
222 * stdlib/testmb.c (main): Likewise.
224 * stdio-common/scanf4.c (main): Correct prototype, remove unused
227 * stdio-common/scanf3.c (main): Correct prototype, change
228 declaration of s to reduce warnings.
229 * stdio-common/bug10.c (main): Likewise.
231 * stdio-common/tfformat.c: Provide prototype, remove unused
232 reference to dump_stats, add braces in sprint_doubles.
233 * stdio-common/tiformat.c: Likewise.
235 * stdio-common/test_rdwr.c (main): Parameter `where' is long in
238 Mon Oct 7 14:04:26 1996 NIIBE Yutaka <gniibe@mri.co.jp>
240 * sysdeps/unix/sysv/linux/sys/soundcard.h: Fix typo.
242 * shadow/putspent.c: Don't write colon after flag field.
244 * sysdeps/unix/sysv/linux/net/if_ppp.h: New file. Wrapper around
246 * sysdeps/unix/sysv/linux/net/ppp-comp.h: Likewise.
247 * sysdeps/unix/sysv/linux/net/ppp_defs.h: Likewise.
248 * sysdeps/unix/sysv/linux/Dist: Mention new files.
250 Mon Oct 7 00:58:19 1996 Ulrich Drepper <drepper@cygnus.com>
252 * sysdeps/i386/i586/strchr.S: Correct handling of first bytes to
253 get pointer aligned. Reported by Matthias Urlichs <smurf@noris.de>.
255 * sysdeps/posix/euidaccess.c [_LIBC]: Avoid calling get?id functions
256 by using __libc_enable_secure variable.
258 Tue Oct 8 13:58:31 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
260 * hurd/ports-get.c (_hurd_ports_get): If the requested port is
261 null, don't attempt mach_port_mod_refs.
263 Mon Oct 7 14:51:52 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
265 * sysdeps/mach/hurd/pipestream.c: New file to avoid use of
266 sysdeps/unix/pipestream.c.
268 * sysdeps/mach/hurd/readdir_r.c: New file, guts copied entirely
269 from sysdeps/mach/hurd/readdir.c.
271 * stdio/freopen.c: Complete de-ansideclification.
272 * stdio/fgets.c (fgets): Likewise.
273 * stdio/getdelim.c (__getdelim): Likewise.
274 * sysdeps/posix/pipestream.c (readdecl, writedecl, seekdecl,
277 * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
278 * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
280 * sysdeps/mach/hurd/wait4.c (__wait4): Allow a null value for
281 STAT_LOC without error.
283 Sun Oct 6 02:05:52 1996 Ulrich Drepper <drepper@cygnus.com>
285 * posix/getopt.c: Add casts to prevent warnings.
286 * posix/regex.c: Likewise.
288 * math/Makefile (long-m-routines, long-m-yes): Define to correct
289 values to make `long double' functions available.
290 (distribute): Add $(long-m-yes:=.c).
292 * sysdeps/libm-i387/s_copysignl.S: Correct loading of return value.
293 Use long double instruction.
295 * sysdeps/libm-ieee754/e_atanhl.c (huge): Correct constant.
296 * sysdeps/libm-ieee754/e_asinhl.c: Likewise.
297 * sysdeps/libm-ieee754/s_tanhl.c: Likewise.
299 * sysdeps/libm-ieee754/e_coshl.c: New file.
301 * sysdeps/libm-ieee754/s_asinh.c [!NO_LONG_DOUBLE]: Define names
302 for `long double' version as alias.
303 * sysdeps/libm-ieee754/s_atan.c: Likewise.
304 * sysdeps/libm-ieee754/s_cbrt.c: Likewise.
305 * sysdeps/libm-ieee754/s_ceil.c: Likewise.
306 * sysdeps/libm-ieee754/s_copysign.c: Likewise.
307 * sysdeps/libm-ieee754/s_cos.c: Likewise.
308 * sysdeps/libm-ieee754/s_erf.c: Likewise.
309 * sysdeps/libm-ieee754/s_expm1.c: Likewise.
310 * sysdeps/libm-ieee754/s_fabs.c: Likewise.
311 * sysdeps/libm-ieee754/s_finite.c: Likewise.
312 * sysdeps/libm-ieee754/s_floor.c: Likewise.
313 * sysdeps/libm-ieee754/s_frexp.c: Likewise.
314 * sysdeps/libm-ieee754/s_ilogb.c: Likewise.
315 * sysdeps/libm-ieee754/s_ldexp.c: Likewise.
316 * sysdeps/libm-ieee754/s_log1p.c: Likewise.
317 * sysdeps/libm-ieee754/s_logb.c: Likewise.
318 * sysdeps/libm-ieee754/s_modf.c: Likewise.
319 * sysdeps/libm-ieee754/s_nextafter.c: Likewise.
320 * sysdeps/libm-ieee754/s_rint.c: Likewise.
321 * sysdeps/libm-ieee754/s_scalbn.c: Likewise.
322 * sysdeps/libm-ieee754/s_significand.c: Likewise.
323 * sysdeps/libm-ieee754/s_sin.c: Likewise.
324 * sysdeps/libm-ieee754/s_tan.c: Likewise.
325 * sysdeps/libm-ieee754/s_tanh.c: Likewise.
326 * sysdeps/libm-ieee754/w_acos.c: Likewise.
327 * sysdeps/libm-ieee754/w_acosh.c: Likewise.
328 * sysdeps/libm-ieee754/w_sin.c: Likewise.
329 * sysdeps/libm-ieee754/w_atan2.c: Likewise.
330 * sysdeps/libm-ieee754/w_atanh.c: Likewise.
331 * sysdeps/libm-ieee754/w_cabs.c: Likewise.
332 * sysdeps/libm-ieee754/w_cosh.c: Likewise.
333 * sysdeps/libm-ieee754/w_drem.c: Likewise.
334 * sysdeps/libm-ieee754/w_exp.c: Likewise.
335 * sysdeps/libm-ieee754/w_fmod.c: Likewise.
336 * sysdeps/libm-ieee754/w_gamma.c: Likewise.
337 * sysdeps/libm-ieee754/w_gamma_r.c: Likewise.
338 * sysdeps/libm-ieee754/w_hypot.c: Likewise.
339 * sysdeps/libm-ieee754/w_j0.c: Likewise.
340 * sysdeps/libm-ieee754/w_j1.c: Likewise.
341 * sysdeps/libm-ieee754/w_jn.c: Likewise.
342 * sysdeps/libm-ieee754/w_lgamma.c: Likewise.
343 * sysdeps/libm-ieee754/w_lgamma_r.c: Likewise.
344 * sysdeps/libm-ieee754/w_log.c: Likewise.
345 * sysdeps/libm-ieee754/w_log10.c: Likewise.
346 * sysdeps/libm-ieee754/w_pow.c: Likewise.
347 * sysdeps/libm-ieee754/w_remainder.c: Likewise.
348 * sysdeps/libm-ieee754/w_scalb.c: Likewise.
349 * sysdeps/libm-ieee754/w_sinh.c: Likewise.
350 * sysdeps/libm-ieee754/w_sqrt.c: Likewise.
352 Stub files for missing long double math functions.
353 * sysdeps/stub/e_acoshl.c: New file.
354 * sysdeps/stub/e_hypotl.c: New file.
355 * sysdeps/stub/e_j0l.c: New file.
356 * sysdeps/stub/e_j1l.c: New file.
357 * sysdeps/stub/e_jnl.c: New file.
358 * sysdeps/stub/e_lgammal_r.c: New file.
359 * sysdeps/stub/e_powl.c: New file.
360 * sysdeps/stub/e_rem_pio2l.c: New file.
361 * sysdeps/stub/e_sinhl.c: New file.
362 * sysdeps/stub/k_cosl.c: New file.
363 * sysdeps/stub/k_rem_pio2l.c: New file.
364 * sysdeps/stub/k_sinl.c: New file.
365 * sysdeps/stub/k_tanl.c: New file.
366 * sysdeps/stub/s_erfl.c: New file.
367 * sysdeps/stub/s_expm1l.c: New file.
369 * sysdeps/i386/__longjmp.S: Use PSEUDO_END macro to provide
371 * sysdeps/i386/bsd-_setjmp.S: Likewise.
372 * sysdeps/i386/bsd-setjmp.S: Likewise.
373 * sysdeps/i386/memchr.S: Likewise.
374 * sysdeps/i386/memcmp.S: Likewise.
375 * sysdeps/i386/setjmp.S: Likewise.
376 * sysdeps/i386/stpcpy.S: Likewise.
377 * sysdeps/i386/stpncpy.S: Likewise.
378 * sysdeps/i386/strchr.S: Likewise.
379 * sysdeps/i386/strcspn.S: Likewise.
380 * sysdeps/i386/strpbrk.S: Likewise.
381 * sysdeps/i386/strrchr.S: Likewise.
382 * sysdeps/i386/strspn.S: Likewise.
383 * sysdeps/i386/strtok.S: Likewise.
384 * sysdeps/i386/i486/strcat.S: Likewise.
385 * sysdeps/i386/i486/strlen.S: Likewise.
386 * sysdeps/i386/i586/memset.S: Likewise.
387 * sysdeps/i386/i586/strchr.S: Likewise.
388 * sysdeps/i386/i586/strlen.S: Likewise.
389 * sysdeps/libm-i387/e_acos.S: Likewise.
390 * sysdeps/libm-i387/e_acosl.S: Likewise.
391 * sysdeps/libm-i387/e_asin.S: Likewise.
392 * sysdeps/libm-i387/e_asinl.S: Likewise.
393 * sysdeps/libm-i387/e_atan2.S: Likewise.
394 * sysdeps/libm-i387/e_atan2l.S: Likewise.
395 * sysdeps/libm-i387/e_exp.S: Likewise.
396 * sysdeps/libm-i387/e_expl.S: Likewise.
397 * sysdeps/libm-i387/e_fmod.S: Likewise.
398 * sysdeps/libm-i387/e_fmodl.S: Likewise.
399 * sysdeps/libm-i387/e_log.S: Likewise.
400 * sysdeps/libm-i387/e_log10.S: Likewise.
401 * sysdeps/libm-i387/e_log10l.S: Likewise.
402 * sysdeps/libm-i387/e_logl.S: Likewise.
403 * sysdeps/libm-i387/e_remainder.S: Likewise.
404 * sysdeps/libm-i387/e_remainderf.S: Likewise.
405 * sysdeps/libm-i387/e_remainderl.S: Likewise.
406 * sysdeps/libm-i387/e_scalb.S: Likewise.
407 * sysdeps/libm-i387/e_scalbl.S: Likewise.
408 * sysdeps/libm-i387/e_sqrt.S: Likewise.
409 * sysdeps/libm-i387/e_sqrtf.S: Likewise.
410 * sysdeps/libm-i387/e_sqrtl.S: Likewise.
411 * sysdeps/libm-i387/s_atan.S: Likewise.
412 * sysdeps/libm-i387/s_atanf.S: Likewise.
413 * sysdeps/libm-i387/s_atanl.S: Likewise.
414 * sysdeps/libm-i387/s_ceil.S: Likewise.
415 * sysdeps/libm-i387/s_ceilf.S: Likewise.
416 * sysdeps/libm-i387/s_ceill.S: Likewise.
417 * sysdeps/libm-i387/s_copysign.S: Likewise.
418 * sysdeps/libm-i387/s_copysignf.S: Likewise.
419 * sysdeps/libm-i387/s_copysignl.S: Likewise.
420 * sysdeps/libm-i387/s_cos.S: Likewise.
421 * sysdeps/libm-i387/s_cosf.S: Likewise.
422 * sysdeps/libm-i387/s_cosl.S: Likewise.
423 * sysdeps/libm-i387/s_finite.S: Likewise.
424 * sysdeps/libm-i387/s_finitef.S: Likewise.
425 * sysdeps/libm-i387/s_finitel.S: Likewise.
426 * sysdeps/libm-i387/s_floor.S: Likewise.
427 * sysdeps/libm-i387/s_floorf.S: Likewise.
428 * sysdeps/libm-i387/s_floorl.S: Likewise.
429 * sysdeps/libm-i387/s_ilogb.S: Likewise.
430 * sysdeps/libm-i387/s_ilogbf.S: Likewise.
431 * sysdeps/libm-i387/s_ilogbl.S: Likewise.
432 * sysdeps/libm-i387/s_log1p.S: Likewise.
433 * sysdeps/libm-i387/s_log1pf.S: Likewise.
434 * sysdeps/libm-i387/s_log1pl.S: Likewise.
435 * sysdeps/libm-i387/s_logb.S: Likewise.
436 * sysdeps/libm-i387/s_logbf.S: Likewise.
437 * sysdeps/libm-i387/s_logbl.S: Likewise.
438 * sysdeps/libm-i387/s_rint.S: Likewise.
439 * sysdeps/libm-i387/s_rintf.S: Likewise.
440 * sysdeps/libm-i387/s_rintl.S: Likewise.
441 * sysdeps/libm-i387/s_scalbn.S: Likewise.
442 * sysdeps/libm-i387/s_scalbnf.S: Likewise.
443 * sysdeps/libm-i387/s_scalbnl.S: Likewise.
444 * sysdeps/libm-i387/s_significand.S: Likewise.
445 * sysdeps/libm-i387/s_significandf.S: Likewise.
446 * sysdeps/libm-i387/s_significandl.S: Likewise.
447 * sysdeps/libm-i387/s_sin.S: Likewise.
448 * sysdeps/libm-i387/s_sinf.S: Likewise.
449 * sysdeps/libm-i387/s_sinl.S: Likewise.
450 * sysdeps/libm-i387/s_tan.S: Likewise.
451 * sysdeps/libm-i387/s_tanf.S: Likewise.
452 * sysdeps/libm-i387/s_tanl.S: Likewise.
454 * sysdeps/unix/sysv/linux/i386/clone.S: Add .size directive.
455 * sysdeps/unix/sysv/linux/i386/mmap.S. Likewise.
456 * sysdeps/unix/sysv/linux/i386/socket.S. Likewise.
457 * sysdeps/unix/sysv/linux/i386/sysdep.S. More compact .size line.
459 * sysdeps/i386/sysdep.h (ASM_SIZE_DIRECTIVE): New macro. Used
460 to provide .size directive on ELF systems.
462 * sysdeps/unix/sysv/linux/i386/profil-counter.h: Include
463 <sigcontext.h> and rename parameter type to sigcontext.
464 * sysdeps/unix/sysv/linux/i386/sigcontext.h New file.
466 * sysdeps/unix/sysv/linux/i386/syscall.S: From Linux 2.1 on
467 negative values might occur as positive results. Test against
468 -125 to decide for error or not.
469 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise for system calls.
471 Thu Oct 3 21:07:58 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
473 * elf/dl-open.c: Use _DYNAMIC instead of _dl_start to decide
474 whether this is a statically linked program. The latter is now
477 Fri Oct 4 17:30:22 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
479 * hurd/hurdsig.c (signal_allowed): Add SIGWINCH to the list that
480 controlling terminals are allowed to send.
482 * hurd/alloc-fd.c (_hurd_alloc_fd): If SIZE is so big that the
483 table is larger than the allowable address size, then return
486 Fri Oct 4 02:08:10 1996 Bang Jun-Young <bangjy@nownuri.nowcom.co.kr>
490 Fri Oct 4 02:07:46 1996 Michel Robitaille <robitail@IRO.UMontreal.CA>
492 * po/fr.po: New file.
494 Fri Oct 4 05:04:52 1996 Ulrich Drepper <drepper@cygnus.com>
496 * sysdeps/unix/sysv/linux/i386/sigcontext.h: New file.
498 Add support for MD5 crypt replacement.
499 * Makefile (subdirs): Add crypt.
500 * shlib-versions: Add entry for libcrypt.
501 * crypt/md5-crypt.c: New file.
502 * crypt/md5.c: New file.
503 * crypt/md5.h: New file.
504 * sysdeps/generic/crypt-entry.c: New file.
505 * sysdeps/generic/crypt.h: New file.
507 Thu Oct 3 20:53:23 1996 Andreas Jaeger <aj@arthur.pfalz.de>
509 * dirent/tst-seekdir.c: Provide correct prototypes.
510 * io/test-utime.c: Likewise.
511 * malloc/mallocbug.c: Likewise.
512 * posix/testfnm.c: Likewise.
513 * stdio-common/xbug.c: Likewise.
514 * sysdeps/posix/cuserid.c: Likewise.
516 Wed Oct 2 13:33:48 1996 Richard Henderson <rth@tamu.edu>
518 Provide optimized string functions for Alpha processors.
519 * sysdeps/alpha/bzero.S: New file.
520 * sysdeps/alpha/memset.S: New file.
521 * sysdeps/alpha/stpcpy.S: New file.
522 * sysdeps/alpha/stpncpy.S: New file.
523 * sysdeps/alpha/strcat.S: New file.
524 * sysdeps/alpha/strchr.S: New file.
525 * sysdeps/alpha/strcpy.S: New file.
526 * sysdeps/alpha/strncat.S: New file.
527 * sysdeps/alpha/strncpy.S: New file.
528 * sysdeps/alpha/strrchr.S: New file.
529 * sysdeps/alpha/stxcpy.S: New file.
530 * sysdeps/alpha/stxncpy.S: New file.
532 * sysdeps/alpha/Makefile [$(sudir)==string]: Add stxcpy and
533 stxncpy to sysdep_routines.
536 Thu Oct 3 13:33:31 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
538 * sysdeps/generic/gnu/types.h: Added __loff_t.
539 Don't declare key_t here.
541 * hurd/alloc-fd.c (_hurd_alloc_fd): If realloc fails, bother to
542 set errno (to ENOMEM).
544 Wed Oct 2 13:41:48 1996 Ulrich Drepper <drepper@cygnus.com>
546 * sysdeps/generic/strtok.c: Don't set stored pointer to NULL when
547 notheing is found. This guarantees all subsequent calls behave
549 * sysdeps/generic/strtok_r.c: Likewise.
551 Mon Sep 30 22:27:36 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
553 * sysdeps/posix/tempname.c (__stdio_gen_tempname): Don't declare
556 Mon Sep 30 22:38:29 1996 Richard Henderson <rth@tamu.edu>
558 * sysdeps/generic/strtok.c: When we hit EOS, don't set olds to
559 NULL immediately; we're going to get called one more time.
560 * sysdeps/generic/strtok_r.c: Likewise.
562 Tue Oct 1 09:12:21 1996 Ulrich Drepper <drepper@cygnus.com>
564 * locale/programs/ld-time.c: Always write some bytes at the end of
565 the file even if no `era's are specified.
567 * stdio-common/tmpname.c (tmpbuf): Don't define as array of
570 Tue Oct 1 01:43:11 1996 Ulrich Drepper <drepper@cygnus.com>
572 * libio/iofclose.c: Move unlocking to right position.
574 Mon Sep 30 03:08:34 1996 Richard Henderson <rth@tamu.edu>
576 * misc/Makefile: Kill force-wrapper.
577 * misc/force-wrapper.c: Delete.
579 * elf/eval.c: Add <string.h>.
581 * gmon/sys/gmon_out.h: Nonsense like `char foo[sizeof(char*)]'
582 followed by `bcopy(&ptr, &foo, sizeof(foo))' helps portability
583 and binary compatibility not at all. Better to do `char *foo'
584 followed by `foo = ptr' as it is much cleaner.
585 (struct gmon_hdr): Fix version.
586 (struct gmon_hist_hdr): Fix low_pc, high_pc, hist_size, prof_rate.
587 (struct gmon_cg_arc_record): Fix from_pc, self_pc, count.
588 * gmon/gmon.c: De-ansidecl-ify.
589 (write_hist): De-bcopy-fy.
590 (write_call_graph): Likewise.
592 * gmon/mcount.c: Assume _MCOUNT_DECL does the entire declaration.
593 * sysdeps/alpha/machine-gmon.h: Update _MCOUNT_DECL.
594 * sysdeps/generic/machine-gmon.h: Likewise.
596 * resolv/netdb.h: Add __set_h_errno to mimic __set_errno.
597 * nss/getXXent_r.c: Use __set_h_errno to set h_errno in all funcs.
598 * nss/nss_dns/dns-network.c: Likewise.
599 * resolv/getunamaddr.c: Likewise. Also use __set_errno where needed.
600 * resolv/getnetnamadr.c: Likewise.
601 * resolv/res_debug.c: Likewise.
602 * resolv/res_mkquery.c: Likewise.
603 * resolv/res_query.c: Likewise.
605 * libio/clearerr_u.c: It's not necessary to define __ protected
606 function so don't do it.
607 * libio/feof_u.c, libio/ferror_u.c, libio/fputc_u.c,
608 libio/getc_u.c, libio/getchar_u.c, libio/iofflush_u.c: Likewise.
610 * libio/fgetc.c: Avoid a warning by casting _IO_funlockfile for
611 the cleanup registrar.
612 * libio/fputc.c, libio/freopen.c, libio/fseek.c, libio/getc.c,
613 libio/getchar.c, libio/iofclose.c, libio/iofflush.c,
614 libio/iofgetpos.c, libio/iofgets.c, libio/iofputs.c,
615 libio/iofread.c, libio/iofsetpos.c, libio/ioftell.c,
616 libio/iofwrite.c, libio/iogetdelim.c, libio/iogets.c,
617 libio/ioputs.c, libio/iosetbuffer.c, libio/iosetvbuf.c,
618 libio/ioungetc.c, libio/putc.c, libio/putchar.c, libio/rewind.c:
621 * locale/programs/ld-ctype.c: Include <alloca.h>.
623 * login/login_tty.c: Get login_tty prototype from <utmp.h>.
625 * posix/sys/types.h: Change #defines to typedefs. This is looking
626 forward to more comprehensive namespace cleanups for C++.
627 * posix/unistd.h: Likewise for ssize_t.
629 * pwd/getpw.c: Prototype and rename getpw -> __getpw and add a
632 * resolv/base64.c: Don't do `for (NULL; ...)' as it causes
633 `statement with no effect' warnings.
634 * resolv/inet_neta.c: Include <string.h> for strlen.
636 * stdio-common/getline.c: Undef ssize_t before libio redefinition.
637 * stdio-common/tstgetln.c: Same. De-ansidecl-ify.
638 * stdio-common/vfprintf.c: Same for va_list.
639 * stdio-common/vfscanf.c: Same.
640 * stdio-common/reg-printf.c: Prototype the __ function.
641 * stdio-common/scanf.c [USE_IN_LIBIO]: Include <libioP.h> for
642 _IO_vscanf declaration.
644 * string/tester.c: Tsk, tsk. Don't cast pointers to int,
645 but to unsigned long for the health of 64-bit systems.
647 * sunrpc/svc_udp.c: Define MAX only if we don't have it yet.
648 Many system's <sys/param.h> pulls this in.
650 * sysdeps/generic/dl-cache.c: Kill the bottom half of the
653 * sysdeps/generic/pty.c (forkpty): Get login_tty decl from <utmp.h>
654 instead of defining it locally.
656 * sysdeps/posix/sigvec.c: Prototype wrapper_handler and convert_mask.
657 * sysdeps/stub/chflags.c: Prototype chflags.
658 * sysdeps/stub/fchflags.c: Prototype fchflags.
659 * sysdeps/stub/sstk.c: Prototype sstk.
661 * sysdeps/unix/alpha/sysdep.S: Add strong alias from errno
662 variable to __errno. Update __syscall_error to store to both
663 the global and per-thread variables.
665 * sysdeps/unix/sysv/linux/init-first.c: Change include of
666 init-first.h from "" to <> as "" does not search the include path.
669 Sun Sep 29 14:41:17 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
671 * sysdeps/unix/Makefile ($(common-objpfx)s-proto.d): Make it a
672 pattern rule to get the right stem.
674 Sat Sep 28 01:30:06 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
676 * Makefile ($(objpfx)version-info.h): Fix typo in previous change.
678 Sat Sep 28 00:44:38 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
680 * sysdeps/posix/euidaccess.c (__set_errno): Fix typo.
682 Sat Sep 28 00:40:38 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
684 * malloc/free.c (_free_internal): Don't call free recursively, use
685 the internal functions instead.
687 Sat Sep 28 00:23:20 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
689 * sysdeps/posix/tempname.c (__stdio_gen_tempname) [USE_IN_LIBIO &&
690 _IO_MTSAFE_IO]: Allocate and initialize the file lock.
692 Fri Sep 27 23:58:17 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
694 * catgets/gencat.c (main): Print version information on stdout,
696 * db/makedb.c: Likewise.
697 * locale/programs/locale.c: Likewise.
698 * locale/programs/localedef.c: Likewise.
700 Mon Sep 30 00:14:26 1996 Ulrich Drepper <drepper@cygnus.com>
702 Add implementation of netgroup.
703 * inet/Makefile (distributes): Add netgroup.h.
704 (routines): Add getnetgrent.c and getnetgrent_r.c.
705 * inet/getnetgrent.c: New file.
706 * inet/getnetgrent_r.c: New file.
707 * inet/netgroup.h: New file.
708 * netgroup.h: New file.
709 * nsswitch.h: New file.
710 * nss/Makefile (databases): Add getgrp.
711 * nss/databases.def: Add netgroup.
712 * nss/db-Makefile: Add rules for netgroup.
713 * nss/netgrp-lookup.c: New file.
714 * nss/nss.h: Add new status value NSS_STATUS_RETURN which will
715 always return without a check of the transition table.
716 * nss/nsswitch.h (struct service_user): Extend actions array to
718 * nss/nsswitch.c (__nss_next): Allow NSS_STATUS_RETURN as legal
720 (nss_parse_service_list): Initialize action for NSS_STATUS_RETURN
721 to NSS_ACTION_RETURN.
722 * nss/nss_db/db-netgrp.c: New file.
723 * nss/nss_files/files-netgrp.c: New file.
724 * nss/nsswitch.conf: Add entry for netgroup.
725 * resolv/netdb.h: Add prototypes for netgroup functions.
727 * nss/nss_db/db-XXX.c: Use `enum nss_status' type when status
730 Sun Sep 29 12:55:58 1996 Ulrich Drepper <drepper@cygnus.com>
732 * sysdeps/unix/sysv/linux/syscalls.list: Change funciton name for
733 _llseek to _llseek (not llseek).
734 Reported by Matthias Urlichs <smurf@smurf.noris.de>.
736 Sun Sep 29 05:34:32 1996 Ulrich Drepper <drepper@cygnus.com>
738 * inet/rcmd.c: Remove definition of MIN.
740 Sat Sep 28 14:22:51 1996 Ulrich Drepper <drepper@cygnus.com>
742 * dirent/readdir_r.c: Removed. We indeed need a real implementation.
743 * sysdeps/unix/readdir_r.c: New file.
744 * sysdeps/unix/readdir.c: Remove check for correct parameter
745 values. Let them simply die.
746 * manual/filesys.texi: Document readdir_r.
748 * sysdeps/gnu/errlist.awk: Define _sys_errlist as `const char* const'.
749 Proposed by Per Abrahamsen <abraham@dina.kvl.dk>.
751 Sat Sep 28 03:02:49 1996 Ulrich Drepper <drepper@cygnus.com>
753 * dirent/Makefile (routines): Add readdir_r.
754 * dirent/readdir_r.c: New file. Wrapper around readdir.c.
755 * dirent/dirent.h: Add prototype for readdir_r.
757 * misc/hsearch_r.c (ENTRY): Make field `used' of type `unsigned int'
760 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path):
763 Sat Sep 28 01:16:42 1996 Ulrich Drepper <drepper@cygnus.com>
765 * sysdeps/generic/strsep.c: Rename to __strsep and make strsep
767 * string/string.h: Add prototype for __strsep.
768 * misc/mntent_r.c: Use __strsep instead of strsep to keep
771 * sysdeps/stub/nanosleep.c: Rename to __libc_nanosleep and make
772 __nanosleep and nanosleep weak aliases.
773 * sysdeps/unix/sysv/linux/syscalls.list: Add __nanosleep as weak
775 * sysdeps/unix/sysv/linux/sleep.c: Call __nanosleep instead of
776 nanosleep to keep namespace clean.
778 * sysdeps/posix/ttyname.c (ttyname): Add cast to prevent warning.
779 * sysdeps/posix/ttyname_r.c (ttyname_r): Likewise.
780 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
782 * sysdeps/unix/nlist.c: Use ISO C definition since we don't always
785 * login/Makefile (headers): Add pty.h.
786 * login/pty.h: New file.
787 * sysdeps/generic/pty.h: Include <pty.h>.
788 * login/pututline_r.c: Add cast to prevent warning.
790 * gmon/gmon.c: Add prototype for __profile_frequency.
791 (monstartup): Add cast to prevent warning.
792 * sysdeps/generic/prof-freq.c: Change to use ISO C style definition.
794 * locale/programs/ld-time.c (time_output): Write `era' information
797 Sat Sep 28 00:11:08 1996 Ulrich Drepper <drepper@cygnus.com>
799 * sysdeps/unix/sysv/linux/syscalls.list: Add weak alias
801 Set caller for mlock, mlockall, mremap, munlock, and munlockall
803 Reported by Matthias Urlichs <smurf@smurf.noris.de>.
805 1996-09-27 Paul Eggert <eggert@twinsun.com>
807 * strftime.c (strftime): Output incomplete formats like %E
810 1996-09-27 Paul Eggert <eggert@twinsun.com>
812 * strftime.c (strftime): Add support for %EC and %Ey.
813 Fix support for %EY. This uses the new _nl_get_era_entry function.
815 Fri Sep 27 14:12:27 1996 Ulrich Drepper <drepper@cygnus.com>
817 Security related patch by Elliot Lee <sopwith@redhat.com> and
818 David Holland <dholland@eecs.harvard.edu>.
820 * inet/rexec.c (rexec): Increase size of `num' array from 8 to 32.
821 * inet/ruserpass.c (ruserpass): Don't allow $HOME envvar to not exist.
823 * sysdeps/generic/getenv.c (__secure_getenv): New function. Return
824 NULL when programs runs with SUID or SGID enabled.
825 * sysdeps/stub/getenv.c: Make __secure_getenv an alias of getenv.
826 * stdlib/stdlib.h: Add prototype for __secure_getenv.
828 * locale/setlocale.c: Use __secure_getenv.
829 * resolv/res_init.c: Likewise.
830 * resolv/res_query.c: Likewise.
831 * inet/ruserpass.c: Likewise.
832 * sysdeps/posix/tempname.c: Likewise.
833 * malloc/mtrace.c: Likewise.
834 * catgets/catgets.c: Likewise.
836 Make temporary file handling functions reentrant.
838 * stdio-common/tmpnam.c: Rewrite to have own buffer to write
839 result to. The called __stdio_gen_tempname function must be
841 * stdio-common/tmpnam_r.c: New file.
842 * stdio/stdio.h: Add prototype for `tmpnam_r'.
843 Change prototype for __stdio_gen_tempname.
844 * stdio/libio.h: Likewise.
845 * sysdeps/posix/tempname.c: Add new parameters and use them instead
847 Don't reset `indeces' when PID changed between calls.
848 Don't fail for long running programs when index counter once
850 * sysdeps/stub/tempname.c: Likewise.
851 * stdio-common/tempnam.c: Provide local buffer as extra argument
852 to __stdio_gen_tempname. This makes this function reentrant.
853 * stdio-common/tmpfile.c: Likewise.
854 * stdio-common/temptest.c: Provide extra argument to
855 __stdio_gen_tempname.
856 * manual/filesys.texi: Describe tmpnam_r and add comments about
857 reentrancy of the functions.
859 * inet/rcmd.c: Fixed address length handling.
861 * sysdeps/posix/mk-stdiolim.c: Count final \0 byte in L_tmpnam value.
863 * time/strftime.c: Remove unused variables alt_digits and
866 * sysdeps/unix/sysv/linux/sys/sysinfo.h: Correct prototype names
867 for get_nprocs and get_nprocs_conf.
868 * sysdeps/generic/sys/sysinfo.h: Likewise.
870 * stdlib/test-canon.c: Finally do the right fix.
872 * misc/Makefile: Only compile force-wrapper when compiling
875 Fri Sep 27 03:49:56 1996 Ulrich Drepper <drepper@cygnus.com>
877 Add support for cancelable system calls.
879 * csu/initfini.c: Make in crti.o reference to symbol
880 __libc_force_cancel_wrapper when compiling reentrant version.
881 * misc/Makefile (routines): Add force-wrapper.
882 * misc/force-wrapper.c: New file.
884 * posix/system.c: Rename function to __libc_system and make system
886 * sysdeps/stub/system.c: Likewise.
887 * posix/wait.c: Rename function to __libc_wait and make __wait a
888 weak alias. De-ANSI-fy.
889 * sysdeps/standalone/read.c: Rename function to __libc_read and
890 make __read a weak alias.
891 * sysdeps/stub/read.c: Likewise.
892 * sysdeps/standalone/write.c: Rename function to __libc_write and
893 make __write a weak alias.
894 * sysdeps/stub/write.c: Likewise.
895 * sysdeps/stub/tcdrain.c: Rename function to __libc_tcdrain and
896 make tcdrain a weak alias.
897 * sysdeps/unix/bsd/tcdrain.c: Likewise.
898 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Likewise.
899 * sysdeps/unix/sysv/tcdrain.c: Likewise.
900 * sysdeps/unix/sysv/linux/tcdrain.c: Likewise.
901 * sysdeps/unix/bsd/bsd4.4/wait.c: Rename function to __libc_wait
902 and make __wait a weak alias.
903 * sysdeps/stub/waitpid.c: Rename function to __libc_waitpid and
904 make __waitpid a weak alias.
905 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Likewise.
906 * sysdeps/unix/sysv/linux/waitpid.c: Likewise.
907 * sysdeps/unix/sysv/sysv4/waitpid.c: Likewise.
908 * sysdeps/unix/common/pause.c: Rename function to __libc_pause
909 and make pause a weak alias. De-ANSI-fy.
911 * sysdeps/unix/syscalls.list: Change name for close, fcntl, fsync,
912 lseek, open, read, and write to have __libc_ prefix and make old
914 * sysdeps/unix/mman/syscalls.list: Likewise for msync.
915 * sysdeps/unix/sysv/linux/syscalls.list: Likewise for nanosleep.
917 * io/creat.c: De-ANSI-fy.
919 * sysdeps/unix/sysv/linux/syscalls.list: Add pause.
921 Thu Sep 26 19:15:55 1996 Ulrich Drepper <drepper@cygnus.com>
923 * misc/mntent.h: Add MNTTYPE_* and MNTOPT_* macros.
924 Reported by Hans Grobler <grobh@nolian.ee.sun.ac.za>.
926 Thu Sep 26 14:40:10 1996 Ulrich Drepper <drepper@cygnus.com>
928 * sysdeps/posix/pathconf.c: Pass descriptor for just opened file
930 Reported by Martin von Loewis <martin@mira.isdn.cs.tu-berlin.de>.
932 Thu Sep 26 04:02:43 1996 Ulrich Drepper <drepper@cygnus.com>
934 * locale/programs/locfile.c (write_locale_data): Allocate room
935 even for file name for LC_MESSAGES locale.
936 (locafile_read): `tok_era' must be handled as a string list.
937 * locale/programs/ld-time.c: Finish correction of handling `era'.
938 * locale/C-time.c (_nl_C_LC_TIME): Add initializer for new fields.
939 * locale/categories.def: Add postload function for LC_TIME.
940 * locale/setlocale.c: Make lock global and rename to
941 __libc_setlocale_lock.
942 * locale/localeinfo.h (struct era_entry): New type. Used in strftime.
943 Add prototypes for _nl_get_era_entry and _nl_get_alt_digit.
944 * locale/lc-time.c (_nl_postload_time): New function. Initialize
946 (_nl_get_era_entry): New function. Return era entry which corresponds
948 (_nl_get_alt_digit): New function. Return string with alternate
949 digit representation for given number.
951 * time/strftime.c (strftime): Use _nl_get_alt_digit to get
952 string representing alternate digit notation.
954 Wed Sep 25 17:31:55 1996 Ulrich Drepper <drepper@cygnus.com>
956 * sysdeps/generic/waitstatus.h (union wait): Add w_status field.
957 Reported by Hans Grobler <grobh@nolian.ee.sun.ac.za>.
959 * elf/rtld.c (dl_main): Process LD_PRELOAD before loading
960 ld.so.preload. Suggested by David Engel <david@elo.ods.com>.
962 Wed Sep 25 13:10:57 1996 Ulrich Drepper <drepper@cygnus.com>
964 * catgets/gencat.c (main): Change --version again because RMS wants
965 the package name in parentheses.
966 * db/makedb.c: Likewise.
967 * locale/programs/locale.c: Likewise.
968 * locale/programs/localedef.c: Likewise.
970 Tue Sep 24 01:28:05 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
972 * Makefile ($(objpfx)sysd-dirs): Depend on Subdirs files, command
974 ($(objpfx)version-info.h): Depend on Banner files, command
977 Wed Sep 25 02:44:41 1996 Ulrich Drepper <drepper@cygnus.com>
979 * sysdeps/unix/sysv/linux/sleep.c: New file. Based on nanosleep.
981 Tue Sep 24 21:46:02 1996 Ulrich Drepper <drepper@cygnus.com>
983 * shadow/lckpwdf.c (PWD_LOCKFILE): Change to /etc/lock.pwd to be
984 on the same device as the password file.
985 * shadow/shadow.h (struct spwd): Change type of numeric fields
986 to `long int' since there value are days, not seconds.
987 * shadow/putspent.c: Change casts from time_t to `long int'.
988 * shadow/sgetspent_r.c (LINE_READER): Likewise.
990 Mon Sep 23 23:05:24 1996 Ulrich Drepper <drepper@cygnus.com>
992 * sysdeps/unix/sysv/linux/errnos.h: Define __set_errno to make
993 sure the thread specific variable is set as well as the global
995 * sysdeps/mach/hurd/errnos.awk: Define macro for source code
997 * sysdeps/stub/errnos.h: Likewise.
998 * sysdeps/unix/bsd/bsd4.4/errnos.h: Likewise.
1000 * shadow/putspent.c: Don't include <errno.h>.
1002 * dirent/scandir.c (scandir): Use __set_errno to set errno
1004 * elf/dl-load.c (open_path): Likewise.
1005 * inet/rcmd.c (rcmd): Likewise.
1006 (rresvport): Likewise.
1007 * intl/dcgettext.c [!__set_errno]: Define __set_errno.
1008 (DCGETTEXT): Use __set_errno to set errno variable.
1009 * io/fts.c (fts_open): Likewise.
1010 (fts_close): Likewise.
1011 (fts_read): Likewise.
1012 (fts_set): Likewise.
1013 (fts_children): Likewise.
1014 (fts_build): Likewise.
1015 (fts_stat): Likewise.
1016 * io/ftw.c (ftw_dir): Likewise.
1018 * io/getwd.c (getwd): Likewise.
1019 * io/lockf.c (lockf): Likewise.
1020 * libio/libioP.h [EINVAL]: Use __set_errno to define MAYBE_SET_EINVAL.
1021 * libio/iofdopen.c (_IO_fdopen): Use MAYBE_SET_EINVAL to errno.
1022 * libio/iogetdelim.c (_IO_getdelim): Likewise.
1023 * libio/fileops.c (_IO_file_open): Use __set_errno to set errno
1025 * libio/iofgetpos.c (_IO_fgetpos): Likewise.
1026 * libio/iofsetpos.c (_IO_fsetpos): Likewise.
1027 * libio/ioftell.c (_IO_ftell): Likewise.
1028 * locale/loadlocale.c (_nl_load_locale): Likewise.
1029 * locale/nl_langinfo.c (nl_langinfo): Likewise.
1030 * locale/setlocale.c (ERROR_RETURN): Likewise.
1031 * login/getutid_r (__getutid_r): Likewise.
1032 * login/getutline_r (__getutline_r): Likewise.
1033 * login/login.c (tty_name): Likewise.
1034 * login/oututline_r.c (__pututline_r): Likewise.
1035 * malloc/malloc.c (morecore): Likewise.
1036 * misc/efgcvt_r.c (fcvt_r): Likewise.
1037 * misc/hsearch_r.c (hcreate_r): Likewise.
1038 (hdestroy_r): Likewise.
1039 (hsearch_r): Likewise.
1040 * nss/nsswitch.c (__nss_configure_lookup): Likewise.
1041 * nss/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): Likewise.
1042 (_nss_dns_gethostbyaddr_r): Likewise.
1043 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
1044 * nss/nss_files/files-parse.c (parse_list): Likewise.
1045 * posix/confstr.c (confstr): Likewise. De-ANSI-fy.
1046 * posix/execvp.c (execvp): Likewise.
1047 * posix/glob.c: Define __set_errno.
1048 (glob): Use __set_errno to set errno variable.
1049 (glob_in_dir): Likewise.
1050 * pwd/getpw.c: Likewise. De-ANSI-fy.
1051 * pwd/putpwent.c: Likewise.
1052 * resolv/inet_net_ntop.c: Likewise.
1053 * resolv/inet_net_pton.c: Likewise.
1054 * resolv/inet_neta.c: Likewise.
1055 * resolv/inet_ntop.c: Likewise.
1056 * resolv/inet_pton.c: Likewise.
1057 * resolv/res_query.c (res_search): Likewise.
1058 * resolv/res_send.c (Aerror): Likewise.
1060 (res_send): Likewise.
1061 * signal/sigaddset.c: Likewise. De-ANSI-fy.
1062 * signal/sigdelset.c: Likewise.
1063 * signal/sigempty.c: Likewise.
1064 * signal/sigfillset.c: Likewise.
1065 * signal/sigismem.c: Likewise.
1066 * stdio/fclose.c: Likewise.
1067 * stdio/feof.c: Likewise.
1068 * stdio/ferror.c: Likewise.
1069 * stdio/fflush.c: Likewise.
1070 * stdio/fgetc.c: Likewise.
1071 * stdio/fgetpos.c: Likewise.
1072 * stdio/fgets.c: Likewise.
1073 * stdio/fileno.c: Likewise.
1074 * stdio/fmemopen.c: Likewise.
1075 * stdio/fopen.c: Likewise.
1076 * stdio/fputc.c: Likewise.
1077 * stdio/fread.c: Likewise.
1078 * stdio/freopen.c: Likewise.
1079 * stdio/fseek.c: Likewise.
1080 * stdio/fsetpos.c: Likewise.
1081 * stdio/ftell.c: Likewise.
1082 * stdio/fwrite.c: Likewise.
1083 * stdio/getdelim.c: Likewise.
1084 * stdio/gets.c: Likewise.
1085 * stdio/glue.c: Likewise.
1086 * stdio/internals.c: Likewise.
1087 * stdio/memstream.c: Likewise.
1088 * stdio/setvbuf.c: Likewise.
1089 * stdio/ungetc.c: Likewise.
1090 * stdio/vsscanf.c: Likewise.
1091 * stdio-common/reg-printf.c: Likewise.
1092 * stdio-common/vfprintf.c: Likewise.
1093 * stdio-common/vfscanf.c: Likewise.
1094 * stdlib/canonicalize.c: Likewise.
1095 * stdlib/msort.c: Likewise.
1096 * stdlib/random_r.c: Likewise.
1097 * stdlib/strfmon.c: Likewise.
1098 * stdlib/strtod.c: Likewise.
1099 * stdlib/strtol.c: Likewise.
1100 * sunrpc/bindrsvprt.c: Likewise.
1101 * time/asctime.c: Likewise.
1102 * time/localtime.c: Likewise.
1103 * wcsmbs/mbrtowc.c: Likewise.
1104 * wcsmbs/mbsnrtowcs.c: Likewise.
1105 * wcsmbs/mbsrtowcs.c: Likewise.
1106 * wcsmbs/wcrtomb.c: Likewise.
1107 * wcsmbs/wcsnrtombs.c: Likewise.
1108 * wcsmbs/wcsrtombs.c: Likewise.
1109 * wcsmbs/wcstok.c: Likewise.
1110 * sysdeps/generic/ftime.c: Likewise.
1111 * sysdeps/generic/pty.c: Likewise.
1112 * sysdeps/generic/setenv.c: Likewise.
1113 * sysdeps/generic/speed.c: Likewise.
1114 * sysdeps/generic/sysd-stdio.c: Likewise.
1115 * sysdeps/generic/uname.c: Likewise.
1116 * sysdeps/generic/vlimit.c: Likewise.
1117 * sysdeps/libm-ieee754/k_standard.c: Likewise.
1118 * sysdeps/libm-ieee754/s_ldexp.c: Likewise.
1119 * sysdeps/libm-ieee754/s_ldexpf.c: Likewise.
1120 * sysdeps/libm-ieee754/s_ldexpl.c: Likewise.
1121 * sysdeps/libm-ieee754/w_scalb.c: Likewise.
1122 * sysdeps/libm-ieee754/w_scalbf.c: Likewise.
1123 * sysdeps/libm-ieee754/w_scalbl.c: Likewise.
1124 * sysdeps/posix/dup2.c: Likewise.
1125 * sysdeps/posix/euidaccess.c: Likewise.
1126 * sysdeps/posix/fdopen.c: Likewise.
1127 * sysdeps/posix/flock.c: Likewise.
1128 * sysdeps/posix/fpathconf.c: Likewise.
1129 * sysdeps/posix/getcwd.c: Likewise.
1130 * sysdeps/posix/gettimeofday.c: Likewise.
1131 * sysdeps/posix/isatty.c: Likewise.
1132 * sysdeps/posix/isfdtype.c: Likewise.
1133 * sysdeps/posix/killpg.c: Likewise.
1134 * sysdeps/posix/mkstemp.c: Likewise.
1135 * sysdeps/posix/mktemp.c: Likewise.
1136 * sysdeps/posix/pathconf.c: Likewise.
1137 * sysdeps/posix/pipestream.c: Likewise.
1138 * sysdeps/posix/remove.c: Likewise.
1139 * sysdeps/posix/rename.c: Likewise.
1140 * sysdeps/posix/sigintr.c: Likewise.
1141 * sysdeps/posix/signal.c: Likewise.
1142 * sysdeps/posix/sigsuspend.c: Likewise.
1143 * sysdeps/posix/sigvec.c: Likewise.
1144 * sysdeps/posix/sleep.c: Likewise.
1145 * sysdeps/posix/sysconf.c: Likewise.
1146 * sysdeps/posix/system.c: Likewise.
1147 * sysdeps/posix/tempname.c: Likewise.
1148 * sysdeps/posix/truncate.c: Likewise.
1149 * sysdeps/posix/ttyname.c: Likewise.
1150 * sysdeps/posix/ttyname_r.c: Likewise.
1151 * sysdeps/posix/wait3.c: Likewise.
1152 * sysdeps/standalone/close.c: Likewise.
1153 * sysdeps/standalone/open.c: Likewise.
1154 * sysdeps/standalone/read.c: Likewise.
1155 * sysdeps/standalone/write.c: Likewise.
1156 * sysdeps/stub/__longjmp.c: Likewise.
1157 * sysdeps/stub/accept.c: Likewise.
1158 * sysdeps/stub/access.c: Likewise.
1159 * sysdeps/stub/acct.c: Likewise.
1160 * sysdeps/stub/adjtime.c: Likewise.
1161 * sysdeps/stub/alarm.c: Likewise.
1162 * sysdeps/stub/bind.c: Likewise.
1163 * sysdeps/stub/brk.c: Likewise.
1164 * sysdeps/stub/chdir.c: Likewise.
1165 * sysdeps/stub/chflags.c: Likewise.
1166 * sysdeps/stub/chmod.c: Likewise.
1167 * sysdeps/stub/chown.c: Likewise.
1168 * sysdeps/stub/chroot.c: Likewise.
1169 * sysdeps/stub/clock.c: Likewise.
1170 * sysdeps/stub/close.c: Likewise.
1171 * sysdeps/stub/closedir.c: Likewise.
1172 * sysdeps/stub/connect.c: Likewise.
1173 * sysdeps/stub/ctermid.c: Likewise.
1174 * sysdeps/stub/cuserid.c: Likewise.
1175 * sysdeps/stub/dirfd.c: Likewise.
1176 * sysdeps/stub/dup.c: Likewise.
1177 * sysdeps/stub/dup2.c: Likewise.
1178 * sysdeps/stub/euidaccess.c: Likewise.
1179 * sysdeps/stub/execve.c: Likewise.
1180 * sysdeps/stub/fchdir.c: Likewise.
1181 * sysdeps/stub/fchflags.c: Likewise.
1182 * sysdeps/stub/fchmod.c: Likewise.
1183 * sysdeps/stub/fchown.c: Likewise.
1184 * sysdeps/stub/fcntl.c: Likewise.
1185 * sysdeps/stub/fdopen.c: Likewise.
1186 * sysdeps/stub/fexecve.c: Likewise.
1187 * sysdeps/stub/flock.c: Likewise.
1188 * sysdeps/stub/fork.c: Likewise.
1189 * sysdeps/stub/fpathconf.c: Likewise.
1190 * sysdeps/stub/fstatfs.c: Likewise.
1191 * sysdeps/stub/fsync.c: Likewise.
1192 * sysdeps/stub/ftruncate.c: Likewise.
1193 * sysdeps/stub/fxstat.c: Likewise.
1194 * sysdeps/stub/getcwd.c: Likewise.
1195 * sysdeps/stub/getdents.c: Likewise.
1196 * sysdeps/stub/getdomain.c: Likewise.
1197 * sysdeps/stub/getdtsz.c: Likewise.
1198 * sysdeps/stub/getegid.c: Likewise.
1199 * sysdeps/stub/getenv.c: Likewise.
1200 * sysdeps/stub/geteuid.c: Likewise.
1201 * sysdeps/stub/getgid.c: Likewise.
1202 * sysdeps/stub/getgroups.c: Likewise.
1203 * sysdeps/stub/gethostid.c: Likewise.
1204 * sysdeps/stub/gethostname.c: Likewise.
1205 * sysdeps/stub/getitimer.c: Likewise.
1206 * sysdeps/stub/getlogin.c: Likewise.
1207 * sysdeps/stub/getlogin_r.c: Likewise.
1208 * sysdeps/stub/getpagesize.c: Likewise.
1209 * sysdeps/stub/getpeername.c: Likewise.
1210 * sysdeps/stub/getpid.c: Likewise.
1211 * sysdeps/stub/getppid.c: Likewise.
1212 * sysdeps/stub/getpriority.c: Likewise.
1213 * sysdeps/stub/getrlimit.c: Likewise.
1214 * sysdeps/stub/getrusage.c: Likewise.
1215 * sysdeps/stub/getsid.c: Likewise.
1216 * sysdeps/stub/getsockname.c: Likewise.
1217 * sysdeps/stub/getsockopt.c: Likewise.
1218 * sysdeps/stub/getsysstats.c: Likewise.
1219 * sysdeps/stub/gettimeofday.c: Likewise.
1220 * sysdeps/stub/getuid.c: Likewise.
1221 * sysdeps/stub/gtty.c: Likewise.
1222 * sysdeps/stub/ioctl.c: Likewise.
1223 * sysdeps/stub/isatty.c: Likewise.
1224 * sysdeps/stub/isfdtype.c: Likewise.
1225 * sysdeps/stub/kill.c: Likewise.
1226 * sysdeps/stub/killpg.c: Likewise.
1227 * sysdeps/stub/link.c: Likewise.
1228 * sysdeps/stub/listen.c: Likewise.
1229 * sysdeps/stub/lseek.c: Likewise.
1230 * sysdeps/stub/lxstat.c: Likewise.
1231 * sysdeps/stub/madvice.c: Likewise.
1232 * sysdeps/stub/mkdir.c: Likewise.
1233 * sysdeps/stub/mkfifo.c: Likewise.
1234 * sysdeps/stub/mkstemp.c: Likewise.
1235 * sysdeps/stub/mktemp.c: Likewise.
1236 * sysdeps/stub/mmap.c: Likewise.
1237 * sysdeps/stub/morecore.c: Likewise.
1238 * sysdeps/stub/mprotect.c: Likewise.
1239 * sysdeps/stub/msgctl.c: Likewise.
1240 * sysdeps/stub/msgget.c: Likewise.
1241 * sysdeps/stub/msgrcv.c: Likewise.
1242 * sysdeps/stub/msgsnd.c: Likewise.
1243 * sysdeps/stub/msync.c: Likewise.
1244 * sysdeps/stub/munmap.c: Likewise.
1245 * sysdeps/stub/nanosleep.c: Likewise.
1246 * sysdeps/stub/nice.c: Likewise.
1247 * sysdeps/stub/nlist.c: Likewise.
1248 * sysdeps/stub/open.c: Likewise.
1249 * sysdeps/stub/opendir.c: Likewise.
1250 * sysdeps/stub/pathconf.c: Likewise.
1251 * sysdeps/stub/pause.c: Likewise.
1252 * sysdeps/stub/pipe.c: Likewise.
1253 * sysdeps/stub/pipestream.c: Likewise.
1254 * sysdeps/stub/poll.c: Likewise.
1255 * sysdeps/stub/profil.c: Likewise.
1256 * sysdeps/stub/ptrace.c: Likewise.
1257 * sysdeps/stub/putenv.c: Likewise.
1258 * sysdeps/stub/raise.c: Likewise.
1259 * sysdeps/stub/read.c: Likewise.
1260 * sysdeps/stub/readdir.c: Likewise.
1261 * sysdeps/stub/readlink.c: Likewise.
1262 * sysdeps/stub/readv.c: Likewise.
1263 * sysdeps/stub/reboot.c: Likewise.
1264 * sysdeps/stub/recv.c: Likewise.
1265 * sysdeps/stub/recvfrom.c: Likewise.
1266 * sysdeps/stub/recvmsg.c: Likewise.
1267 * sysdeps/stub/remove.c: Likewise.
1268 * sysdeps/stub/rename.c: Likewise.
1269 * sysdeps/stub/revoke.c: Likewise.
1270 * sysdeps/stub/rewinddir.c: Likewise.
1271 * sysdeps/stub/rmdir.c: Likewise.
1272 * sysdeps/stub/sbrk.c: Likewise.
1273 * sysdeps/stub/sched_getp.c: Likewise.
1274 * sysdeps/stub/sched_gets.c: Likewise.
1275 * sysdeps/stub/sched_primax.c: Likewise.
1276 * sysdeps/stub/sched_primin.c: Likewise.
1277 * sysdeps/stub/sched_rr_gi.c: Likewise.
1278 * sysdeps/stub/sched_setp.c: Likewise.
1279 * sysdeps/stub/sched_sets.c: Likewise.
1280 * sysdeps/stub/sched_yield.c: Likewise.
1281 * sysdeps/stub/seekdir.c: Likewise.
1282 * sysdeps/stub/select.c: Likewise.
1283 * sysdeps/stub/semctl.c: Likewise.
1284 * sysdeps/stub/semget.c: Likewise.
1285 * sysdeps/stub/semop.c: Likewise.
1286 * sysdeps/stub/send.c: Likewise.
1287 * sysdeps/stub/sendmsg.c: Likewise.
1288 * sysdeps/stub/sendto.c: Likewise.
1289 * sysdeps/stub/setdomain.c: Likewise.
1290 * sysdeps/stub/setegid.c: Likewise.
1291 * sysdeps/stub/setenv.c: Likewise.
1292 * sysdeps/stub/seteuid.c: Likewise.
1293 * sysdeps/stub/setgid.c: Likewise.
1294 * sysdeps/stub/setgroups.c: Likewise.
1295 * sysdeps/stub/sethostid.c: Likewise.
1296 * sysdeps/stub/sethostname.c: Likewise.
1297 * sysdeps/stub/setitimer.c: Likewise.
1298 * sysdeps/stub/setjmp.c: Likewise.
1299 * sysdeps/stub/setlogin.c: Likewise.
1300 * sysdeps/stub/setpgid.c: Likewise.
1301 * sysdeps/stub/setpriority.c: Likewise.
1302 * sysdeps/stub/setregid.c: Likewise.
1303 * sysdeps/stub/setreuid.c: Likewise.
1304 * sysdeps/stub/setrlimit.c: Likewise.
1305 * sysdeps/stub/setsid.c: Likewise.
1306 * sysdeps/stub/setsockopt.c: Likewise.
1307 * sysdeps/stub/settimeofday.c: Likewise.
1308 * sysdeps/stub/setuid.c: Likewise.
1309 * sysdeps/stub/shmat.c: Likewise.
1310 * sysdeps/stub/shmctl.c: Likewise.
1311 * sysdeps/stub/shmdt.c: Likewise.
1312 * sysdeps/stub/shmget.c: Likewise.
1313 * sysdeps/stub/shutdown.c: Likewise.
1314 * sysdeps/stub/sigaction.c: Likewise.
1315 * sysdeps/stub/sigaltstack.c: Likewise.
1316 * sysdeps/stub/sigblock.c: Likewise.
1317 * sysdeps/stub/sigintr.c: Likewise.
1318 * sysdeps/stub/signal.c: Likewise.
1319 * sysdeps/stub/sigpause.c: Likewise.
1320 * sysdeps/stub/sigpending.c: Likewise.
1321 * sysdeps/stub/sigprocmask.c: Likewise.
1322 * sysdeps/stub/sigreturn.c: Likewise.
1323 * sysdeps/stub/sigsetmask.c: Likewise.
1324 * sysdeps/stub/sigstack.c: Likewise.
1325 * sysdeps/stub/sigsuspend.c: Likewise.
1326 * sysdeps/stub/sigvec.c: Likewise.
1327 * sysdeps/stub/sleep.c: Likewise.
1328 * sysdeps/stub/socket.c: Likewise.
1329 * sysdeps/stub/socketpair.c: Likewise.
1330 * sysdeps/stub/sstk.c: Likewise.
1331 * sysdeps/stub/statfs.c: Likewise.
1332 * sysdeps/stub/stime.c: Likewise.
1333 * sysdeps/stub/stty.c: Likewise.
1334 * sysdeps/stub/swapoff.c: Likewise.
1335 * sysdeps/stub/swapon.c: Likewise.
1336 * sysdeps/stub/symlink.c: Likewise.
1337 * sysdeps/stub/sync.c: Likewise.
1338 * sysdeps/stub/syscall.c: Likewise.
1339 * sysdeps/stub/sysconf.c: Likewise.
1340 * sysdeps/stub/sysd-stdio.c: Likewise.
1341 * sysdeps/stub/system.c: Likewise.
1342 * sysdeps/stub/tcdrain.c: Likewise.
1343 * sysdeps/stub/tcflow.c: Likewise.
1344 * sysdeps/stub/tcflush.c: Likewise.
1345 * sysdeps/stub/tcgetattr.c: Likewise.
1346 * sysdeps/stub/tcgetpgrp.c: Likewise.
1347 * sysdeps/stub/tcsendbrk.c: Likewise.
1348 * sysdeps/stub/tcsetattr.c: Likewise.
1349 * sysdeps/stub/tcsetpgrp.c: Likewise.
1350 * sysdeps/stub/telldir.c: Likewise.
1351 * sysdeps/stub/tempname.c: Likewise.
1352 * sysdeps/stub/time.c: Likewise.
1353 * sysdeps/stub/times.c: Likewise.
1354 * sysdeps/stub/truncate.c: Likewise.
1355 * sysdeps/stub/ttyname.c: Likewise.
1356 * sysdeps/stub/ttyname_r.c: Likewise.
1357 * sysdeps/stub/ualarm.c: Likewise.
1358 * sysdeps/stub/ulimit.c: Likewise.
1359 * sysdeps/stub/umask.c: Likewise.
1360 * sysdeps/stub/unlink.c: Likewise.
1361 * sysdeps/stub/usleep.c: Likewise.
1362 * sysdeps/stub/ustat.c: Likewise.
1363 * sysdeps/stub/utime.c: Likewise.
1364 * sysdeps/stub/utimes.c: Likewise.
1365 * sysdeps/stub/vhangup.c: Likewise.
1366 * sysdeps/stub/wait.c: Likewise.
1367 * sysdeps/stub/wait3.c: Likewise.
1368 * sysdeps/stub/wait4.c: Likewise.
1369 * sysdeps/stub/waitpid.c: Likewise.
1370 * sysdeps/stub/write.c: Likewise.
1371 * sysdeps/stub/writev.c: Likewise.
1372 * sysdeps/stub/xmknod.c: Likewise.
1373 * sysdeps/stub/xstat.c: Likewise.
1374 * sysdeps/unix/closedir.c: Likewise.
1375 * sysdeps/unix/fxstat.c: Likewise.
1376 * sysdeps/unix/getlogin.c: Likewise.
1377 * sysdeps/unix/getlogin_r.c: Likewise.
1378 * sysdeps/unix/mkdir.c: Likewise.
1379 * sysdeps/unix/nice.c: Likewise.
1380 * sysdeps/unix/nlist.c: Likewise.
1381 * sysdeps/unix/opendir.c: Likewise.
1382 * sysdeps/unix/readdir.c: Likewise.
1383 * sysdeps/unix/rmdir.c: Likewise.
1384 * sysdeps/unix/stime.c: Likewise.
1385 * sysdeps/unix/xmknod.c: Likewise.
1386 * sysdeps/unix/xstat.c: Likewise.
1387 * sysdeps/unix/bsd/isatty.c: Likewise.
1388 * sysdeps/unix/bsd/setegid.c: Likewise.
1389 * sysdeps/unix/bsd/seteuid.c: Likewise.
1390 * sysdeps/unix/bsd/setsid.c: Likewise.
1391 * sysdeps/unix/bsd/sigaction.c: Likewise.
1392 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
1393 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
1394 * sysdeps/unix/bsd/tcflow.c: Likewise.
1395 * sysdeps/unix/bsd/tcflush.c: Likewise.
1396 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
1397 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
1398 * sysdeps/unix/bsd/times.c: Likewise.
1399 * sysdeps/unix/bsd/ulimit.c: Likewise.
1400 * sysdeps/unix/common/lxstat.c: Likewise.
1401 * sysdeps/unix/common/tcsendbrk.c: Likewise.
1402 * sysdeps/unix/sysv/setrlimit.c: Likewise.
1403 * sysdeps/unix/sysv/settimeofday.c: Likewise.
1404 * sysdeps/unix/sysv/sigaction.c: Likewise.
1405 * sysdeps/unix/sysv/tcflow.c: Likewise.
1406 * sysdeps/unix/sysv/tcflush.c: Likewise.
1407 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
1408 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
1409 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
1410 * sysdeps/unix/bsd/ultrix4/sysconf.c: Likewise.
1411 * sysdeps/unix/sysv/irix4/getpriority.c: Likewise.
1412 * sysdeps/unix/sysv/irix4/setpriority.c: Likewise.
1413 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
1414 * sysdeps/unix/sysv/linux/gethostid.c: Likewise.
1415 * sysdeps/unix/sysv/linux/gethostname.c: Likewise.
1416 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
1417 * sysdeps/unix/sysv/linux/ptrace.c: Likewise.
1418 * sysdeps/unix/sysv/linux/speed.c: Likewise.
1419 * sysdeps/unix/sysv/linux/ulimit.c: Likewise.
1420 * sysdeps/unix/sysv/sysv4/sigaction.c: Likewise.
1421 * sysdeps/unix/sysv/sysv4/sysconf.c: Likewise.
1422 * sysdeps/unix/bsd/sun/m68k/sigtramp.c: Likewise.
1423 * sysdeps/unix/bsd/sun/sparc/sigtramp.c: Likewise.
1424 * sysdeps/unix/bsd/sun/sunos4/speed.c: Likewise.
1425 * sysdeps/unix/bsd/sun/sunos4/tcsetattr.c: Likewise.
1426 * sysdeps/unix/sysv/linux/alpha/ioperm.c: Likewise.
1427 * sysdeps/unix/sysv/linux/i386/brk.c: Likewise.
1428 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
1429 * sysdeps/unix/sysv/linux/m68k/brk.c: Likewise.
1431 * sunrpc/clnt_tcp.c: Protect declaration of errno by #ifndef.
1432 * sunrpc/clnt_udp.c: Likewise.
1433 * sunrpc/bindrsvprt.c: Likewise.
1434 * sunrpc/pm_getmaps.c: Likewise.
1435 * sunrpc/pmap_rmt.c: Likewise.
1436 * sunrpc/svc.c: Likewise.
1437 * sunrpc/svc_run.c: Likewise.
1438 * sunrpc/svc_tcp.c: Likewise.
1439 * sunrpc/svc_udp.c: Likewise.
1441 * sysdeps/generic/strtok.c: Don't check argument, just crash.
1442 * sysdeps/generic/strtok_r.c: Likewise.
1444 * sysdeps/stub/start.c: Make __errno a strong alias of errno.
1445 * sysdeps/unix/start.c: Likewise. De-ANSI-fy.
1446 * sysdeps/unix/sparc/start.c: Likewise.
1447 * sysdeps/standalone/m68k/m68020/start.S: Likewise.
1448 * sysdeps/unix/sysv/irix4/start.c: Likewise.
1449 * sysdeps/unix/bsd/ultrix4/mips/start.S: Likewise.
1450 * sysdeps/unix/sysv/linux/i386/sysdep.S: Likewise.
1451 * sysdeps/unix/sysv/linux/m68k/sysdep.S: Likewise.
1453 Mon Sep 23 17:54:57 1996 Ulrich Drepper <drepper@cygnus.com>
1455 * catgets/gencat.c (main): Put package name in --version message
1456 in parantheses. Reported by Jim Meyering.
1457 * db/makedb.c: Likewise.
1458 * locale/programs/locale.c: Likewise.
1459 * locale/programs/localedef.c: Likewise.
1461 * sysdeps/i386/fpu/__math.h (tan): Make sure gcc knows we use
1462 two registers. Patch by John Bowman.
1464 Sat Sep 21 15:08:25 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1466 * sysdeps/mach/libc-lock.h: Fix comment.
1467 * sysdeps/stubs/libc-lock.h: Likewise.
1469 Sat Sep 21 13:50:40 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1471 * libio/genops.c (_IO_init) [_IO_MTSAFE_IO]: Dereference pointer
1472 to lock when passing it to __libc_lock_init macro.
1473 (_IO_default_finish) [_IO_MTSAFE_IO]: Dereference pointer to lock
1474 when passing it to __libc_lock_fini macro.
1476 Sat Sep 21 14:35:40 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1478 * sysdeps/unix/sysv/linux/m68k/sysdep.h (SYSCALL_ERROR_HANDLER)
1479 [_LIBC_REENTRANT]: Add missing semicolon.
1481 * sysdeps/unix/sysv/linux/m68k/sysdep.S: Move inclusion of
1482 sysdep.h to the top outside of #ifndef PIC. Don't include errnos.h.
1483 Use the ENTRY macro.
1485 Sat Sep 21 14:33:41 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1487 * libio/Makefile: Make `all' the default target.
1488 * po/Makefile: Likewise.
1490 Mon Sep 23 15:49:47 1996 Ulrich Drepper <drepper@cygnus.com>
1492 * stdlib/test-canon.c: Correct patch from Thu Sep 12 23:01:16 1996.
1493 I applied it incorrectly.
1494 * sysdeps/m68k/fpu/s_scalbn.c: Likewise.
1495 * sysdeps/m68k/fpu/s_scalbnf.c: Likewise.
1496 * sysdeps/m68k/fpu/s_scalbnl.c: Likewise.
1498 Mon Sep 23 03:00:10 1996 Ulrich Drepper <drepper@cygnus.com>
1500 * shadow/sgetspent_r.c (LINE_PARSER): Accept empty 9th field.
1501 Patch by NIIBE Yutaka <gniibe@mri.co.jp>.
1503 * shadow/sgetspent_r.c (LINE_PARSER): Don't accept any chars after
1506 * sysdeps/unix/sysv/linux/Makefile [$(subdir)==misc]
1507 (sysdep_headers): Add sys/debugreg.h, sys/kd.h, sys/soundcard.h,
1509 * sysdeps/unix/sysv/linux/sys/debugreg.h: New file.
1510 * sysdeps/unix/sysv/linux/sys/kd.h: New file.
1511 * sysdeps/unix/sysv/linux/sys/soundcard.h: New file.
1512 * sysdeps/unix/sysv/linux/sys/vt.h: New file.
1513 Reported by NIIBE Yutaka <gniibe@mri.co.jp>.
1515 Thu Sep 26 13:44:29 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
1517 * hurd/Makefile (installed-sunrpc-headers): New variable.
1518 (sunrpc-headers): New variable.
1519 (install-headers-nosubir): Depend on $(installed-sunrpc-headers),
1520 not just <rpc/netdb.h>.
1521 ($(installed-sunrpc-headers)): Provide rule for all of these.
1523 Mon Sep 23 15:31:04 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
1525 * hurd/Makefile ($(includedir)/rpc/netdb.h): There is no make
1526 variable `top_srcdir' in libc; use $(..) instead.
1528 * sysdeps/mach/hurd/Makefile (rtld-installed-name): Delete special
1529 definition. It was a *Mistake*. (With a capital M.)
1531 * sysdeps/mach/getsysstats.c (__get_nprocs): Renamed from
1533 (__get_nprocs_conf): Renamed from __get_nproc_conf.
1535 Sun Sep 22 15:18:41 1996 Ulrich Drepper <drepper@cygnus.com>
1537 * sysdeps/unix/sysv/linux/init-first.c: Define dummy function
1538 `_dl_start' so that linking fails if this file should ever be used
1541 * catgets/gencat.c (main): Change --version message according to
1542 RMS' last standard revision.
1543 * db/makedb.c: Likewise.
1544 * locale/programs/locale.c: Likewise.
1545 * locale/programs/localedef.c: Likewise.
1547 Sat Sep 21 23:42:39 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
1549 * sysdeps/mach/getsysstats.c: Include <sys/sysinfo.h>.
1550 (__get_nproc_conf): New function.
1552 Sun Sep 22 03:40:52 1996 Ulrich Drepper <drepper@cygnus.com>
1554 * resolv/resolv.h: Update to bind-4.9.5-T4B.
1555 * resolv/base64.c: Likewise.
1556 * resolv/res_debug.c: Likewise.
1557 * resolv/res_query.c: Likewise.
1558 * resolv/gethnamaddr.c: Likewise.
1559 * nss/nss_dns/dns-host.c: Likewise.
1560 * resolv/res_comp.c: Likewise.
1561 * resolv/res_send.c: Likewise.
1562 * resolv/arpa/nameser.h: Likewise. Attention: MAXDNAME is much
1565 * resolv/Banner: New file.
1566 * resolv/Makefile (distribute): Add Banner.
1568 Sat Sep 21 19:15:24 1996 Ulrich Drepper <drepper@cygnus.com>
1570 * sysdeps/stub/getsysstats.c: New file.
1571 * sysdeps/unix/sysv/linux/getsysstats.c: New file.
1573 * misc/Makefile (headers): Add sys/sysinfo.h.
1574 (routines): Add getsysstats.
1575 * sysdeps/unix/sysv/linux/Makefile [$(subdir)==misc]
1576 (sysdep_headers): Remove sys/sysinfo.h.
1577 * sysdeps/generic/sys/sysinfo.h: New file.
1578 * sysdeps/unix/sysv/linux/sys/sysinfo.h: Add prototype for get_nprocs,
1579 get_phys_pages, and get_avphys_pages.
1581 * misc/Makefile (routines): Add mntent_r.
1582 * misc/mntent_r.c: New file.
1583 * misc/mntent.c: Remove all functions but getmntent and use
1585 * misc/mntent.h: Add prototype for __getmntent_r.
1586 * misc/fstab.c: Use __getmntent_r function instead of getmntent.
1587 This will not clobber the state in getmntent.
1589 * sysdeps/generic/confname.h: Add _SC_PROCESSORS_CONF,
1590 _SC_NPROCESSORS_ONLN, _SC_PHYS_PAGES, _SC_AVPHYS_PAGES,
1591 _SC_ATEXIT_MAX, and _SC_PASS_MAX.
1592 * sysdeps/stub/sysconf.c: Add handling _SC_PROCESSORS_CONF and
1593 _SC_NPROCESSORS_ONLN by calling __get_nprocs, _SC_PHYS_PAGES by
1594 calling __get_phys_pages, _SY_AVPHYS_PAGES by calling
1595 __get_avphys_pages, _SC_ATEXIT_MAX and _SC_PASS_MAX.
1596 * sysdeps/posix/sysconf.c: Likewise.
1597 * posix/getconf.c (vars): Add _NPROCESSORS_CONF, _NPROCESSORS_ONLN,
1598 _PHYS_PAGES, _AVPHYS_PAGES, ATEXIT_MAX, and PASS_MAX entries.
1600 Sat Sep 21 05:20:36 1996 Ulrich Drepper <drepper@cygnus.com>
1602 * version.h (VERSION): Bump to 1.95.
1604 * Make-dist (+tsrcs): Don't filter out files in subdirs which
1605 match files in the sysdeps hierachy (welcome back,
1608 * resolv/Makefile (libresolv-routines): Remove getnetnamad.
1610 Sat Sep 21 03:00:19 1996 Ulrich Drepper <drepper@cygnus.com>
1612 * locale/loadlocale.c (_nl_free_locale): Remove function.
1613 * locale/localeinfo.h: Remove prototype for _nl_free_locale.
1614 * locale/setlocale.c (setlocale): Don't free locale data of
1615 categories which succeeded to load after a wrong or missing data
1618 * locale/setlocale (setlocale): Initialize NEWNAME correctly so
1619 that it works even when the locale data is not used.
1621 * stdlib/random_r.c: Fix typo in comment.
1622 * stdlib/drand48-iter.c: Likewise.
1623 * stdlib/drand48.c: Likewise.
1624 * stdlib/erand48.c: Likewise.
1625 * stdlib/jrand48.c: Likewise.
1626 * stdlib/lcong48.c: Likewise.
1627 * stdlib/lrand48.c: Likewise.
1628 * stdlib/mrand48.c: Likewise.
1629 * stdlib/nrand48.c: Likewise.
1630 * stdlib/random.c: Likewise.
1631 * stdlib/seed48.c: Likewise.
1632 * stdlib/srand48.c: Likewise.
1633 * misc/search.h: Likewise.
1634 * misc/hsearch.c: Likewise.
1635 * misc/hsearch_r.c: Likewise.
1637 Sat Sep 21 14:59:22 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
1639 * sysdeps/mach/getsysstats.c: New file.
1641 * shlib-versions (*-*-gnu*): Increment libc to 0.2 for upcoming
1642 binary distribution.
1644 * sysdeps/mach/hurd/Makefile (rtld-installed-name): Provide
1645 definition to override dangerous one in Makeconfig.
1647 * hurd/Makefile (install-headers-nosubdir): Install <rpc/netdb.h>.
1648 ($(includedir)/rpc/netdb.h): New rule.
1649 [ This is XXX until sunrpc can be built; <rpc/netdb.h> is
1652 Fri Sep 20 16:06:06 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
1654 * sysdeps/mach/hurd/i386/init-first.c (_dl_start): Add definition,
1655 to guarantee link errors if this is included in ld.so.
1657 Thu Sep 19 23:36:19 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
1659 * hurd/hurdinit.c (__libc_argv): Provide common decl.
1660 (_hurd_setproc): Don't declare __libc_argv here.
1662 Tue Sep 17 10:51:58 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
1664 * malloc/memalign.c (memalign): Only acquire __libc_malloc_lock
1665 for actual modifications to global state.
1667 Fri Sep 13 01:21:36 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
1669 * sysdeps/mach/Makefile (includes): Add -I$(common-objpfx)mach/.
1670 * sysdeps/mach/hurd/Makefile (includes): Add
1671 -I$(common-objpfx)hurd/. Reported by Marcus Daniels.
1673 * sysdeps/generic/schedbits.h (struct sched_param): Renamed from
1674 struct sched_params.
1675 * sysdeps/stub/sched_setp.c (__sched_setparam): struct
1676 sched_params -> struct sched_param.
1677 * sysdeps/stub/sched_getp.c (__sched_getparam): Likewise.
1678 * sysdeps/stub/sched_sets.c (__sched_setscheduler): Likewise.
1680 Thu Sep 12 23:58:25 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
1682 * sysdeps/mach/libc-lock.h (__libc_cleanup_region_start): Fix
1685 * stdio-common/Makefile: Put lockfile in routines
1688 * stdio-common/vfprintf.c (__flockfile, __funlockfile): Declare
1689 this always, not just if _LIBC_REENTRANT.
1690 (__funlockfile): Don't use weak_extern for this one;
1691 __libc_cleanup_region_end might be defined and the use of
1692 __funlockfile can't be protected the way the use of __flockfile
1695 Thu Sep 19 21:50:55 1996 Ulrich Drepper <drepper@cygnus.com>
1697 * sysdeps/posix/gettimeofday.c (__gettimeofday): Use localtime_r
1698 instead of localtime.
1699 Reported by Matthias Urlichs.
1701 * shlib-versions: Remove version number for libcrypt.
1702 * features.h: Define __USE_REENTRANT if _REENTRANT or _THREAD_SAFE.
1703 * libc-symbols.h: Define _REENTRANT while compiling libc.
1705 * sysdeps/unix/sysv/linux/i386/sysdep.S (__errno_location):
1706 Define even if !_LIBC_REENTRANT.
1707 * sysdeps/unix/sysv/linux/m68k/sysdep.S (__errno_location):
1710 * sysdeps/posix/cuserid.h: Remove prototype for geteuid().
1713 * MakeTAGS ($P/libc.pot): Generate correctly formed header.
1714 * po/header.pot: Correct title line.
1717 Thu Sep 19 18:59:55 1996 Ulrich Drepper <drepper@cygnus.com>
1719 * Makeconfig (soversions.mk): Prefer shared lib version numbers
1720 is add ons over version in libc itself.
1722 * sysdeps/unix/sysv/linux/i386/sysdep.S: Include <sysdep.h>.
1723 * sysdeps/unix/sysv/linux/i386/sysdep.h: Prevent multiple
1726 * libio/iofgets.c: Use __flockfile and __funlockfile instead of
1727 _IO_flockfile and _IO_funlockfile resp.
1729 * locale/categories.def: Partly support for correct `era' handling
1730 in LC_TIME category.
1731 * locale/langinfo.h: Likewise.
1732 * locale/programs/ld-time.c: Likewise.
1733 * locale/localeinfo.h: Change comment a bit.
1735 * malloc/memalign.c: Don't use goto, not necessary anymore.
1737 1996-09-18 Paul Eggert <eggert@twinsun.com>
1739 * time/mktime.c (ydhms_tm_diff): Work correctly even if year
1740 is negative, or if time_t is unsigned.
1741 * time/strftime.c (tm_diff): Work correctly even if tm_year
1744 Tue Sep 17 16:14:34 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1746 * sysdeps/m68k/fpu/__math.h (__inline_mathop): Changed to generate
1747 all three versions of the math function.
1748 (__inline_mathopf, __inline_mathopl): Removed.
1749 (__inline_functions): New temporary definition containing all
1750 non-trivial inline functions.
1752 Wed Sep 18 00:25:41 1996 Ulrich Drepper <drepper@cygnus.com>
1754 * time/strftime.c (strftime): The T_FMT_AMPM string may be empty.
1756 Tue Sep 17 20:27:18 1996 Ulrich Drepper <drepper@cygnus.com>
1758 * math/Makefile (extra-libs-others): Use $(extra-libs) instead
1761 Tue Sep 17 17:09:44 1996 Ulrich Drepper <drepper@cygnus.com>
1763 * sysdeps/stub/fpu_control.h: Correct end of file comment.
1765 Tue Sep 17 05:39:18 1996 Ulrich Drepper <drepper@cygnus.com>
1767 * stdio-common/bug3.c, stdio-common/bug4.c, stdio-common/bug5.c,
1768 stdio-common/test-popen.c: Remove temporary files after test.
1769 * stdio-common/bug5.c: Use `system' instead of `execlp'.
1770 Patches by Andreas Jaeger.
1772 * stdio-common/bug5.c: Create string for `system' argument to
1773 make sure the input and output file names are really correct.
1775 Sun Sep 15 12:46:44 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1777 * configure.in: If $os contains a hyphen add the part before the
1780 Sun Sep 15 18:14:02 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1782 * sysdeps/m68k/fpu/__math.h (__ieee754_pow, __ieee754_powf,
1783 __ieee754_powl): Rename local variable i to __i.
1784 (__ieee754_atan2, __ieee754_atan2f, __ieee754_atan2l): New inline
1786 * sysdeps/m68k/fpu/e_atan2.c, sysdeps/m68k/fpu/e_atan2f.c,
1787 sysdeps/m68k/fpu/e_atan2l.c: New files.
1789 1996-09-15 Paul Eggert <eggert@twinsun.com>
1791 * manual/time.texi: Change `range X to Y' to `range X through
1792 Y', to avoid ambiguity in English.
1794 (strftime): Numbers that do not have a range indicated are not padded.
1795 Describe E and O modifiers.
1796 %g, %G, %u: New formats.
1797 %C, %y, %Y: Describe behavior on negative years.
1798 %e: Fix typo (was labeled %d).
1799 %l, %V: Fix typo in range.
1800 %M, %S, %U, %w, %W: Give ranges.
1801 %p: Clarify how noon and midnight are handled for AM and PM.
1802 %s: Clarify leap second handling.
1803 %r: Now locale-defined.
1804 %C, %D, %e, %h, %n, %r, %t, %T: Say that they are POSIX.2 extensions.
1805 %z: Say that it is a GNU extension.
1808 * time/strftime.c: (strftime):
1809 %V: Fix mishandling of week numbers near year boundaries.
1810 %g, %G: New formats (suggested by Arthur David Olson).
1811 %U, %W: Use inline expression instead of `week' function.
1812 %C, %y: Handle negative years portably.
1813 %C, %Y: Use width 1, since values can be arbitrarily wide.
1814 %r: Use T_FMT_AMPM format if _NL_CURRENT is defined.
1815 %u: New Posix.2 format.
1816 %w: Width is 1, not 2.
1817 (iso_week_days): New function, for %V, %G, %g.
1818 (week): Remove; it didn't handle %V correctly.
1819 (__isleap): New macro.
1820 (mbsinit): Use arg, to pacify GCC -Wall.
1822 1996-09-13 Paul Eggert <eggert@twinsun.com>
1824 * time/strftime.c (strftime):
1825 If using the GNU C library, do not bother to check for
1826 multibyte encodings, since they're safe in formats. Otherwise:
1827 - Check for multibyte encodings when encountering any character that
1828 is not in the basic execution character set of the C Standard.
1829 - Use mbrlen (if available) instead of mblen, to avoid modifying
1830 mblen's internal state.
1831 - Do not assume that '%' cannot appear as the first character of a
1832 multibyte character sequence, since this is possible when not in the
1833 initial shift state.
1834 (HAVE_MBRLEN, MULTIBYTE_IS_FORMAT_SAFE): Define if _LIBC is defined.
1835 (DO_MULTIBYTE): New macro.
1836 (<ctype.h>): Do not include.
1837 (<wchar.h>): Include if HAVE_MBRLEN.
1838 (mbstate_t, mbrlen, mbsinit): Define if ! HAVE_MBRLEN.
1839 (mbstate_zero): New constant.
1841 1996-09-12 Paul Eggert <eggert@twinsun.com>
1843 * time/strftime.c (strftime):
1844 Use an empty zone if it can't be determined; POSIX.2 requires this.
1845 Use plain `int' for pad and modifier (which now contain char value).
1846 Use plain `int' for number_value, to print negative values correctly.
1847 Use plain `int' for digits; there was no need to make it unsigned.
1848 Initialize subfmt consistently.
1849 Remove incorrect code for %EC and %Ey; they aren't implemented yet.
1850 For %O, if there is no alternate digit, output Ascii instead of "".
1851 Output the `%' of an unknown format; this is most likely the right
1852 thing to do if a multibyte string has been misparsed.
1854 Thu Sep 12 23:23:13 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1856 * stdio-common/scanf7.c (main): Remove extra conversion from
1857 printf format string.
1859 Thu Sep 12 23:01:16 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1861 * stdlib/test-canon.c (tests): Rename structure member from errno
1862 to error, all uses changed.
1864 Thu Sep 12 20:08:06 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1866 * sysdeps/m68k/fpu/__math.h (__ldexp, __ldexpf, __ldexpl):
1868 * sysdeps/m68k/fpu/s_ldexp.c, sysdeps/m68k/fpu/s_ldexpf.c,
1869 sysdeps/m68k/fpu/s_ldexpl.c: Removed, use generic implementation
1871 * sysdeps/m68k/fpu/s_scalbn.c, sysdeps/m68k/fpu/s_scalbnf.c,
1872 sysdeps/m68k/fpu/s_scalbnl.c: Replaced with old contents of
1873 s_ldexp.c, s_ldexpf.c and s_ldexpl.c, resp., suitably adpted.
1875 * sysdeps/m68k/fpu/__math.h (__frexp, __frexpf, __frexpl):
1876 Return value must be in [0.5, 1), not [1, 2). Reported by Chris
1878 (__ilogb, __ilogbf, __ilogbl): Check for argument being zero.
1879 (__scalbn, __scalbnf, __scalbnl): Use second argument directly.
1881 Thu Sep 12 19:59:24 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1883 * sysdeps/libm-ieee754/e_acoshl.c: Fix typos.
1884 * sysdeps/libm-ieee754/s_cbrtl.c: Remove unused variable.
1886 Thu Sep 12 19:59:24 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1888 * sysdeps/libm-ieee754/e_acoshl.c: Fix typos.
1889 * sysdeps/libm-ieee754/s_cbrtl.c: Remove unused variable.
1891 Thu Sep 12 19:56:07 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1893 * inet/herrno.c (__h_errno_location): Fix return type.
1895 Thu Sep 19 23:36:19 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
1897 * hurd/hurdinit.c (__libc_argv): Provide common decl.
1898 (_hurd_setproc): Don't declare __libc_argv here.
1900 Fri Sep 13 04:33:08 1996 Ulrich Drepper <drepper@cygnus.com>
1902 * sched.h: New file. Helper to access posix/sched.h.
1903 * posix/sched.h: Change `sched_params' to `sched_param' to follow
1906 Thu Sep 12 20:12:40 1996 Ulrich Drepper <drepper@cygnus.com>
1908 * db/makedb.c (usage): Print bug report address separately to
1909 ease translators task.
1910 * catgets/gencat.c (usage): Likewise.
1911 * locale/locale.c (usage): Likewise.
1912 * locale/localedef.c (usage): Likewise.
1914 1996-09-12 Paul Eggert <eggert@twinsun.com>
1916 * time/strftime.c (my_localtime_r): Define if ! HAVE_LOCALTIME_R,
1917 and #define localtime_r to it. If _LIBC, use __localtime_r instead.
1918 (my_gmtime_r): Similar, except it's not needed if ! HAVE_TM_GMTOFF.
1920 Thu Sep 12 14:03:29 1996 Ulrich Drepper <drepper@cygnus.com>
1922 * crypt/Makefile: Include Makeconfig and add crypt object dir to
1923 rpath-link so that running the check finds the new library.
1924 * crypt/cert.c: provide correct prototypes to prevent warnings.
1925 Reported by Andreas Jaeger.
1927 * sysdeps/mach/hurd/Makefile (rpath-link): Don't use += because
1928 old and new value must be glued using `:'.
1929 Reported by Marcus Daniels.
1931 Thu Sep 12 12:33:52 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
1933 * sysdeps/mach/hurd/dl-cache.c: Delete second copy of file
1934 accidentally added on.
1936 * sysdeps/stub/intr-msg.h: New file.
1938 * stdio-common/vfprintf.c: Include <libc-lock.h>.
1939 * stdio-common/vfscanf.c: Include <libc-lock.h>.
1941 * sysdeps/mach/libc-lock.h (__libc_cleanup_region_start): New
1943 (__libc_cleanup_region_end): New macro.
1945 Thu Sep 12 12:33:52 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
1947 * sysdeps/mach/hurd/dl-cache.c: Delete second copy of file
1948 accidentally added on.
1950 * sysdeps/stub/intr-msg.h: New file.
1952 * stdio-common/vfprintf.c: Include <libc-lock.h>.
1953 * stdio-common/vfscanf.c: Include <libc-lock.h>.
1955 * sysdeps/mach/libc-lock.h (__libc_cleanup_region_start): New
1957 (__libc_cleanup_region_end): New macro.
1959 Thu Sep 12 03:35:27 1996 Ulrich Drepper <drepper@cygnus.com>
1961 * sysdeps/unix/sysv/linux/i386/Dist: Remove init-first.h.
1962 * sysdeps/unix/sysv/linux/m68k/Dist: Likewise.
1963 * sysdeps/unix/sysv/linux/Dist: Add init-first.h.
1965 1996-09-11 Paul Eggert <eggert@twinsun.com>
1967 * strftime.c (strftime):
1968 Handle E and O modifiers, required for POSIX.2 and XPG4.
1969 Don't use sprintf to format numbers; this way, we can handle time_t
1970 correctly regardless of whether it's signed.
1971 Don't dump core if format ends in %.
1972 In default %c format, use %e instead of %d, for POSIX.2 compatibility.
1974 Use tm_gmtoff if available.
1975 Output nothing if tm_isdst is negative.
1976 Output correct value even if arg is 1969-12-31 23:59:59 UTC.
1977 Don't assume that UTC offset is less than 24 hours;
1978 Posix requires support for 24 hours, and there's no point
1980 (HAVE_TM_GMTOFF, TYPE_SIGNED, INT_STRLEN_BOUND): New macros.
1981 (CHAR_BIT): Define if <limits.h> doesn't.
1982 (tm_diff): New function.
1983 (fmt, <stdio.h>): Remove; no longer used.
1985 Thu Sep 12 02:21:44 1996 Ulrich Drepper <drepper@cygnus.com>
1987 * db/Makefile: Add extra-libs-others variable so that shared
1988 library is built in `others' pass.
1989 * elf/Makefile: Likewise.
1990 * math/Makefile: Likewise.
1991 * resolv/Makefile: Likewise.
1993 * Makefile (generated): Add version.info.h.
1995 * time/checktab.awk: New file. From ADO 96k.
1996 * time/iso3166.tab: Likewise.
1997 * time/tzselect.ksh: Likewise.
1998 * time/zone.tab: Likewise.
2000 * stdio-common/vfprintf.c: Correct cleanup registration. We
2003 1996-09-11 Paul Eggert <eggert@twinsun.com>
2005 * time/time.h (tm_gmtoff, tm_zone): Prefix with `__' unless
2006 __USE_BSD; this is required for ANSI C compatibility.
2007 * manual/time.texi: Replace GMT by UTC, daylight savings by
2008 daylight saving, timezone by time zone.
2009 Rewrite description of %V to match ISO 8601.
2010 Fix TZ Posix string example for US Eastern time.
2011 Explain tzname[1] when DST isn't used.
2012 Explain tzname when multiple abbreviations used (e.g. EST/EWT/EDT).
2013 Explain that timezone's sign is opposite from tm_gmtoff, and that
2014 timezone lacks DST adjustment whereas tm_gmtoff has it.
2015 Deprecate tzname and timezone.
2017 Tue Sep 10 14:46:16 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2019 Implement Roland McGrath's idea of how to put an .interp into
2021 * interp.c: New file.
2022 * Makerules (interp-obj): New object, linked into every shared
2024 (common-generated): Add interp.so.
2025 (CFLAGS-interp.c): Pass name of interpreter.
2027 Tue Sep 10 21:09:35 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2029 * db/Makefile: Fix typo.
2031 Tue Sep 10 19:29:53 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2033 * nss/db-Makefile ($(VAR_DB)/passwd.db): Look for multiple
2034 occurences of the same uid, and only generate a mapping for the
2037 Tue Sep 10 03:14:59 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2039 * sysdeps/unix/sysv/linux/system.c: New file, to override
2040 sysdeps/unix/system.c.
2042 Tue Sep 10 15:05:40 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2044 * Makefile (before-compile): Add version-info.h, needed to build
2047 Tue Sep 10 14:14:33 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2049 * sysdeps/unix/sysv/linux/m68k/sysdep.S: Remove check for
2050 EWOULDBLOCK, never true on Linux.
2051 (__errno_location): New function.
2052 [_LIBC_REENTRANT]: Set errno using __errno_location function.
2053 * sysdeps/unix/sysv/linux/m68k/sysdep.h [PIC]: Add second
2054 syscall_error handler for reentrant libc.
2056 Tue Sep 10 13:27:49 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2058 * elf/Makefile (extra-objs): Add eval.so to get dependencies.
2060 Wed Sep 11 04:40:57 1996 Ulrich Drepper <drepper@cygnus.com>
2062 * time/tzset.c (__tzname_cur_max): Use type `size_t' to avoid
2064 * time/tzfile.c (compute_tzname_max): Likewise.
2066 Wed Sep 11 02:57:31 1996 Ulrich Drepper <drepper@cygnus.com>
2068 * configure.in: Quote $add_ons argument in loop to generated
2071 Tue Sep 10 20:43:45 1996 Ulrich Drepper <drepper@cygnus.com>
2073 * db/makedb.c: Include <locale.h>. Reported by Fila Kolodny.
2075 Tue Sep 10 14:42:39 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
2077 * elf/dl-cache.c: Rename to ...
2078 * sysdeps/generic/dl-cache.c: ... here.
2079 * sysdeps/mach/hurd/dl-cache.c: New file.
2081 * mach/Makefile (distribute): Add `errsystems.awk'.
2082 * hurd/Makefile (distribute): Add `Notes' and `intr-msg.h'.
2083 * hurd/hurdintr.awk: Delete file. (Not used in ages.)
2084 * hurd/intr-rpc.awk: Likewise.
2085 * hurd/invoke-trans.c: Likewise.
2086 * sysdeps/mach/hurd/i386/longjmp-ctx.c: Likewise.
2087 * sysdeps/mach/hurd/alpha/longjmp-ctx.c: Likewise.
2088 * sysdeps/mach/hurd/mips/longjmp-ctx.c: Likewise.
2089 * sysdeps/mach/hurd/i386/init-fault.c: Likewise.
2090 * sysdeps/mach/hurd/mips/init-fault.c: Likewise.
2091 * sysdeps/stub/init-fault.c: Likewise.
2092 * sysdeps/stub/longjmp-ctx.c: Likewise.
2094 Tue Sep 10 13:49:08 1996 Ulrich Drepper <drepper@cygnus.com>
2096 * inet/herrno.c: Initialize `h_errno' so that we can provide
2099 * Makefile (version-info.h): Fix typo in shell script.
2101 * sysdeps/i386/i586/strlen.S: Optimize startup code a bit.
2102 * sysdeps/i386/i586/strchr.S: Likewise.
2104 Mon Sep 9 20:31:27 1996 Ulrich Drepper <drepper@cygnus.com>
2106 * version.c (banner): Report to bug-glibc@prep not @gnu.
2107 Reported by Andreas Jaeger.
2109 * libio/stdio.h [!__USE_REENTRANT]: Don't define getc as
2111 [__USE_REENTRANT]: Don't define
2113 Mon Sep 9 15:59:32 1996 Ulrich Drepper <drepper@cygnus.com>
2115 * sysdeps/i386/strrchr.c: Fix bug where NUL byte is not recognized
2116 when it is the third byte in the string. Reported by
2118 * string/tester.c: Add tests for above bug to strlen, strchr, and
2121 Fri Sep 6 21:23:33 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2123 * sysdeps/m68k/fpu/e_acos.c: Deansideclized. Include
2124 "math_private.h" to get prototype.
2125 * sysdeps/m68k/fpu/e_fmod.c: Likewise.
2126 * sysdeps/m68k/fpu/k_cos.c: Likewise.
2127 * sysdeps/m68k/fpu/k_sin.c: Likewise.
2128 * sysdeps/m68k/fpu/k_tan.c: Likewise.
2130 * sysdeps/m68k/fpu/k_sin.c: Remove uneeded indirection of
2132 * sysdeps/m68k/fpu/k_tan.c: Likewise.
2134 Sun Sep 1 18:01:35 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2136 * sysdeps/m68k/fpu/__math.h: Check for __NO_M81_MATH_INLINES
2137 instead of __NO_MATH_INLINES.
2138 (__M81_MATH_INLINES): Renamed from __MATH_INLINES.
2139 * sysdeps/m68k/fpu/e_acos.c: Define __NO_M81_MATH_INLINES.
2140 * sysdeps/m68k/fpu/e_fmod.c: Likewise.
2141 * sysdeps/m68k/fpu/k_cos.c: Likewise.
2142 * sysdeps/m68k/fpu/k_sin.c: Likewise.
2143 * sysdeps/m68k/fpu/k_tan.c: Likewise.
2144 * sysdeps/m68k/fpu/s_atan.c: Likewise.
2145 * sysdeps/m68k/fpu/s_frexp.c: Likewise.
2146 * sysdeps/m68k/fpu/s_ilogb.c: Likewise.
2147 * sysdeps/m68k/fpu/s_isinf.c: Likewise.
2148 * sysdeps/m68k/fpu/s_ldexp.c: Likewise.
2149 * sysdeps/m68k/fpu/s_modf.c: Likewise.
2150 * sysdeps/m68k/fpu/k_cos.c: Use inline version of __cos.
2151 * sysdeps/m68k/fpu/k_sin.c: Likewise.
2152 * sysdeps/m68k/fpu/k_tan.c: Likewise.
2154 Mon Sep 9 12:55:14 1996 Ulrich Drepper <drepper@cygnus.com>
2156 * nss/nss_files/files-parse.c (INT_FIELD_MAYBE_NULL): Check for
2157 available character before converting number and return with
2158 error if none is available.
2160 Fri Sep 6 22:09:08 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2162 * sysdeps/unix/sysv/linux/init-first.h: New file, generic
2163 implementation for architectures where parameters are passed on
2165 * sysdeps/unix/sysv/linux/m68k/init-first.h: Removed.
2166 * sysdeps/unix/sysv/linux/i386/init-first.h: Removed.
2168 Fri Sep 6 22:05:32 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2170 * configure.in: Remove unneeded sysnames frobbing.
2172 Mon Sep 9 05:29:09 1996 Ulrich Drepper <drepper@cygnus.com>
2174 * time/zic.c: Update from ADO 96l.
2175 * time/africa: Update from ADO 96k.
2176 * time/antarctica: Likewise.
2177 * time/asia: Likewise.
2178 * time/australia: Likewise.
2179 * time/europe: Likewise.
2180 * time/northamerica: Likewise.
2181 * time/southamerica: Likewise.
2183 Mon Sep 9 05:03:47 1996 NIIBE Yutaka <gniibe@mri.co.jp>
2185 * sysdeps/unix/sysv/linux/i386/init-first.h: Work around buggy
2186 gcc <= 2.7.2.1 which optimizes away address operations on weak
2189 * nss/nss_files/files-parse.c (INT_FIELD_MAYBE_NULL): New macro.
2190 Like INT_FIELD but also accept non-existing field.
2191 * shadow/sgetspent_r.c (LINE_PARSER): Use INT_FIELD_MAYBE_NULL
2192 for last four fields.
2193 * shadow/putspent.c (putspent): Print `:' after numeric value.
2195 Mon Sep 9 02:42:48 1996 Richard Henderson <rth@tamu.edu>
2197 * libio/stdio.h (BUFSIZ): Define using _IO_BUFSIZ.
2199 Sun Sep 8 16:43:56 1996 Ulrich Drepper <drepper@cygnus.com>
2201 * Make-dist: Filter out $(add-ons) from $(subdirs).
2202 Don't distribute TAGS files.
2203 ($(tardir).tar): Remove dist.tar when all is done.
2204 * manual/Makefile (distribute): Add libc.info*.
2205 * libio/Makefile (distribute): Add Banner.
2206 * inet/Makefile (headers): Add netinet/tcp.h.
2208 * resolv/Makefile (libresolv-routines): Add getnetnamadr.
2210 * crypt-README: Removed.
2211 * gnu-stabs.h: Removed.
2213 * sysdeps/alpha/copysign.S: Renamed to...
2214 * sysdeps/alpha/s_copysign.S: ...this.
2215 * sysdeps/alpha/fabs.S: Renamed to...
2216 * sysdeps/alpha/s_fabs.S: ...this.
2218 * sysdeps/m68k/isinfl.c: Renamed to...
2219 * sysdeps/m68k/s_isinfl.c: ...this.
2220 * sysdeps/m68k/isnanl.c: Renamed to...
2221 * sysdeps/m68k/s_isnanl.c: ...this.
2223 * sysdeps/sparc/sqrt.c: Renamed to...
2224 * sysdeps/sparc/e_sqrt.c: ...this. Function name now is
2227 * sysdeps/generic/get_str.c: Removed.
2229 * sysdeps/ieee754/cbrt.c: Removed.
2230 * sysdeps/ieee754/drem.c: Removed.
2231 * sysdeps/ieee754/logb.c: Removed.
2232 * sysdeps/ieee754/sqrt.c: Removed.
2234 * sysdeps/stub/cbrt.c: Removed.
2235 * sysdeps/stub/cos.c: Removed.
2236 * sysdeps/stub/drem.c: Removed.
2237 * sysdeps/stub/isinf.c: Removed.
2238 * sysdeps/stub/isinfl.c: Removed.
2239 * sysdeps/stub/isnanl.c: Removed.
2240 * sysdeps/stub/logb.c: Removed.
2241 * sysdeps/stub/sin.c: Removed.
2242 * sysdeps/stub/sqrt.c: Removed.
2244 * sysdeps/tahoe/log10.c: Removed.
2246 * sysdeps/vax/index.s: Removed.
2247 * sysdeps/vax/rindex.s: Removed.
2248 * sysdeps/vax/bcmp.s: Removed.
2249 * sysdeps/vax/log10.c: Removed.
2250 * sysdeps/vax/infnan.c: Removed.
2251 * sysdeps/vax/Dist: Add fl.h.
2253 * sysdeps/unix/sysv/linux/alpha/Dist: Add llseek.S.
2255 * inet/rcmd.c (rcmd): Make messages more uniform.
2257 Sun Sep 8 14:15:42 1996 Ulrich Drepper <drepper@cygnus.com>
2262 * po/pl.po: New file.
2263 * po/nl.po: New file.
2265 Sat Sep 7 18:41:17 1996 Richard Henderson <rth@tamu.edu>
2267 * Makeconfig (+link): Filter out start, pre & postinit from the
2268 generic depenancies as well.
2269 * Rules: Add start, pre & postinit to the dependancies of
2270 $(others) and $(tests).
2272 * configure.in: elf_dirs missing "sysdeps" component.
2274 Sun Sep 8 02:36:02 1996 Ulrich Drepper <drepper@cygnus.com>
2276 * locale/SYS_libc.c (_libc_intl_domainname): Change value to "libc".
2277 This is consistent with all other GNU packages. We shouldn't
2278 take care for a possible clash. Nobody will name the domain
2279 of a package libc if it is not the libc itself.
2280 * MakeTAGS ($P/SYS_libc.pot): Rename to $P/libc.pot.
2281 * po/Makefile (domainname): Change to libc.
2282 (distribute): Now ship libc.pot.
2283 * catgets/gencat.c (usage): Use `PACKAGE' for package name in
2284 version information banner.
2285 Change bug report address to bug-glibc@prep not @gnu.
2286 * db/makedb.c (PACKAGE): New macro. Set to _libc_intl_domain.
2287 (main): Use `PACKAGE' for package name in version information
2289 Change bug report address to bug-glibc@prep not @gnu.
2290 * locale/programs/locale.c (main): Use `PACKAGE' for package name
2291 in version information banner.
2292 Change bug report address to bug-glibc@prep not @gnu.
2293 * locale/programs/localedef.c (main): Likewise.
2295 * version.h (VERSION): Bump to 1.94.
2297 * locale/Makefile (distribute): Add locale.c and localedef.c.
2299 Sat Sep 7 14:00:33 1996 David Mosberger-Tang <davidm@azstarnet.com>
2301 * catgets/catgets.c (catopen): Allocate sizeof(*result) bytes
2302 instead of sizeof(nl_catd) (which is just a pointer!).
2304 Sat Sep 7 19:39:19 1996 Ulrich Drepper <drepper@cygnus.com>
2306 * Makefile ($(objpfx)version-info.h): Generate from Banner files.
2307 * version.c (banner): Add contents of version-info.h to string.
2309 * Makerules: If $($(subdir)-version) is available name versioned
2310 shared library according to this value instead of glibc's version.
2312 * libio/Banner: New file.
2314 * elf/eval.c (funcall): Write error message in case function is
2316 (eval): Recognize `_' in names.
2318 Sat Sep 7 05:15:45 1996 Ulrich Drepper <drepper@cygnus.com>
2320 * libio/iofdopen: Initialize _lock field only if _IO_MTSAFE_IO.
2321 * libio/iofopen: Likewise.
2322 * libio/iofopncook.c: Likewise.
2323 * libio/iopopen.c: Likewise.
2324 * libio/iovsprintf.c: Likewise.
2325 * libio/iovsscanf.c: Likewise.
2326 * libio/memstream.c: Likewise.
2327 * libio/vasprintf.c: Likewise.
2328 * libio/vdprintf.c: Likewise.
2329 * libio/vsnprintf.c: Likewise.
2331 Sat Sep 7 03:55:47 1996 Ulrich Drepper <drepper@cygnus.com>
2333 * Makeconfig (soversions.mk): Also use shlib-versions files
2334 in add-on directories.
2335 * config.make.in (config-defines): Remove. Not used anymore.
2336 (defines): New variable. Initiliazed by @DEFINES@.
2337 * configure.in: Add AC_SUBST(DEFINES).
2339 * libio/Makefile (routines): When compiling reentrant libc add
2340 clearerr_u, feof_u, ferror_u, fputc_u, getc_u, getchar_u,
2341 iofflush_u, putc_u, putchar_u, ioflockfile.
2342 (CPPFLAGS): Add -D_IO_MTSAFE_IO for reentrant libc.
2344 * sysdeps/stub/libc-lock.h: Add stubs for __libc_cleanup_region_start
2345 and __libc_cleanup_region_end.
2347 * sysdeps/unix/i386/sysdep.S [_LIBC_REENTRANT]: Set errno
2348 using __errno_location function.
2349 * sysdeps/unix/sysv/linux/i386/sysdep.S [_LIBC_REENTRANT]: Set errno
2350 using __errno_location function.
2351 (__errno_location): New function.
2352 * sysdeps/unix/sysv/linux/i386/sysdep.h [PIC]: Add second
2353 syscall_error handler for reentrant libc.
2355 * sysdeps/unix/opendir.c: Remove unneeded `;'.
2357 * libio.h [_IO_MTSAFE_IO]: Include <pthread.h>.
2358 [!_IO_MTSAFE_IO]: Define _IO_flockfile and _IO_funlockfile
2360 * libioP.h: Include <libc-lock.h>.
2361 * libio/stdio.h: Add prototypes for *_locked and *_unlocked
2364 * libio/clearerr.c: Use _IO_ protected versions of flockfile
2365 and funlockfile to be namespace clean.
2367 * libio/genops.c: Use __libc_lock_* macros for handling lock.
2369 * libio/iofdopen: Add initialization of _lock in _IO_FILE.
2370 * libio/iofopen: Likewise.
2371 * libio/iofopncook.c: Likewise.
2372 * libio/iopopen.c: Likewise.
2373 * libio/iovsprintf.c: Likewise.
2374 * libio/iovsscanf.c: Likewise.
2375 * libio/memstream.c: Likewise.
2376 * libio/vasprintf.c: Likewise.
2377 * libio/vdprintf.c: Likewise.
2378 * libio/vsnprintf.c: Likewise.
2380 * libio/fgetc.c: Use __libc_cleanup_region_* macros instead
2382 * libio/fputc.c: Likewise.
2383 * libio/freopen.c: Likewise.
2384 * libio/fseek.c: Likewise.
2385 * libio/getc.c: Likewise.
2386 * libio/getchar.c: Likewise.
2387 * libio/iofclose.c: Likewise.
2388 * libio/iofflush.c: Likewise.
2389 * libio/iofgetpos.c: Likewise.
2390 * libio/iofgets.c: Likewise.
2391 * libio/iofputs.c: Likewise.
2392 * libio/iofread.c: Likewise.
2393 * libio/iofsetpos.c: Likewise.
2394 * libio/ioftell.c: Likewise.
2395 * libio/iofwrite.c: Likewise.
2396 * libio/iogetdelim.c: Likewise.
2397 * libio/iogets.c: Likewise.
2398 * libio/ioputs.c: Likewise.
2399 * libio/iosetbuffer.c: Likewise.
2400 * libio/iosetvbuf.c: Likewise.
2401 * libio/ioungetc.c: Likewise.
2402 * libio/putc.c: Likewise.
2403 * libio/putchar.c: Likewise.
2404 * libio/rewind.c: Likewise.
2405 * stdio-common/vfprintf.c: Likewise.
2406 * stdio-common/vfscanf.c: Likewise.
2408 * libio/clearerr_u.c: Correct alias name.
2409 * libio/ferror_u.c: Likewise.
2410 * libio/fileno.c: Likewise.
2411 * libio/fputc_u.c: Likewise.
2412 * libio/getc.c: Likewise.
2413 * libio/getc_u.c: Likewise.
2414 * libio/getchar.c: Likewise.
2415 * libio/getchar_u.c: Likewise.
2416 * libio/putc.c: Likewise.
2417 * libio/putchar.c: Likewise.
2419 * libio/feof_u.c: Undefine macro with name of function before
2420 definition of function itself.
2422 * libio/ioflockfile.c: New file. Implementation of flockfile and
2425 * libio/putchar_u.c: Fix typo. Use stdout instead of fp.
2427 * malloc/malloc.h: Don't include <libc-lock.h> and don't declare
2430 * malloc/free.c: Include <libc-lock.h>.
2431 * malloc/realloc.c: Likewise.
2432 * malloc/malloc-find.c: Likewise.
2433 * malloc/malloc-size.c: Likewise.
2434 * malloc/malloc-walk.c: Likewise.
2435 * malloc/memalign.c: Likewise.
2436 * malloc/malloc.c: Likewise.
2438 * sysdeps/i386/dl-machine.h: Correct clearing of _dl_starting_up.
2440 Fri Sep 6 19:38:49 1996 Ulrich Drepper <drepper@cygnus.com>
2442 * sysdeps/stub/libc-lock.h: Define __libc_lock_critical_start
2443 and __libc_lock_critical_end as empty macros.
2445 * malloc/malloc.h: Don't include <libc-lock.h> and don't declare
2447 * malloc/free.c: Include <libc-lock.h>.
2448 * malloc/malloc-find.c: Likewise.
2449 * malloc/malloc-size.c: Likewise.
2450 * malloc/malloc-walk.c: Likewise.
2451 * malloc/malloc.c: Likewise.
2452 * malloc/memalign.c: Likewise.
2453 * malloc/realloc.c: Likewise.
2455 * Makefile: Undo change from Mon Sep 2 22:15:14 1996. No more
2458 * extra-lib.mk: Likewise.
2459 * manual/Makefile: Likewise.
2461 * db/Makefile (makedb): Choose dependecies based on build-shared.
2462 Patch by Andres Schwab.
2464 * sysdeps/posix/sysconf.c: Don't use PTHREAD_DESTRUCTOR_ITERATIONS
2465 but _POSIX_THREAD_DESTRUCTOR_ITERATIONS.
2467 * sysdeps/unix/sysv/linux/errnos.h: New file.
2468 * sysdeps/unix/sysv/linux/schedbits.h: New file.
2469 * sysdeps/unix/sysv/linux/waitflags.h: New file.
2471 * sysdeps/unix/sysv/linux/gnu/types.h: Add definition of `key_t'.
2473 Fri Sep 6 08:26:31 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2475 * rpm/template: Fix typo in %build section.
2477 Fri Sep 6 03:31:07 1996 Ulrich Drepper <drepper@cygnus.com>
2479 * sysdeps/unix/sysv/linux/errnos.h: Don't define errno macro when
2480 building libc without thread support.
2481 * resolv/netdb.h: Likewise for h_errno macro.
2483 Thu Sep 5 23:01:48 1996 Ulrich Drepper <drepper@cygnus.com>
2485 * libc-symbols.h: Add new macro weak_const_function. It's like
2486 weak_function, but the function is additionally marked as const.
2487 * features.h: Only include <sys/cdefs.h> if !__ASSEMBLER__.
2489 Thu Sep 5 22:55:49 1996 Richard Henderson <rth@tamu.edu>
2491 * inet/herrno.c (__h_errno_location): New function.
2492 (h_errno): Make strong_alias __h_errno so that we can access
2493 the variable even if `h_errno' is a macro.
2494 * resolv/netdb.h: Define macro h_errno to access thread specific
2495 version of h_errno variable. Declare alias __h_errno for h_errno.
2496 * resolv/res_query (h_errno): Remove definition.
2497 * sysdeps/unix/sysv/linux/errnos.h [!__ASSEMBLER__ && __USE_REENTRANT]:
2498 Add macro `errno' to get thread specific variable.
2499 * sysdeps/unix/alpha/sysdep.S [_LIBC_REENTRANT]: Set errno using
2500 __errno_location function.
2501 (__errno_location): New function.
2503 Thu Sep 5 21:08:44 1996 Ulrich Drepper <drepper@cygnus.com>
2505 * posix/gnu/types.h: Remove definition of key_t.
2506 * sysdeps/generic/gnu/types.h: Move it to here.
2507 * sysdeps/unix/sysv/linux/gnu/types.h: Add Linux specific
2508 definition of key_t.
2510 * sysdeps/unix/sysv/linux/waitflags.h: New file. Linux specific
2512 * sysdeps/unix/sysv/linux/schedbits.h: New file. Include
2513 clone prototypes and associated flags.
2515 Thu Sep 5 13:18:25 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
2517 * sysdeps/mach/hurd/i386/init-first.c (__libc_argc, __libc_argv):
2519 (init1): Initialize them.
2520 * hurd/hurdinit.c (_hurd_setproc): Now that happens to be
2521 available, pass __libc_argv in call to __proc_set_arg_locations.
2523 * gmon/gmon.c (write_hist): Call __profile_frequency instead of
2525 (hertz): Delete function.
2526 * gmon/Makefile (routines): Add `prof-freq'.
2527 * sysdeps/generic/prof-freq.c: New file.
2528 * sysdeps/mach/hurd/prof-freq.c: New (stubby) file.
2529 * sysdeps/mach/hurd/profil.c (profile_tick): New variable.
2530 (update_waiter): Store frequency in profile_tick.
2531 (__profile_frequency): New function.
2533 * sysdeps/mach/hurd/sendto.c (sendto): Use prototype definition
2536 * Rules (generated): Restore reference to $(generated).
2538 * mach/Machrules (mig.uh, mig.__h): Don't include $(user-MIGFLAGS)
2541 * malloc/free.c (free): __lib_malloc_lock -> __libc_malloc_lock.
2543 * malloc/free.c: Provide extern decl of __libc_malloc_lock.
2544 * malloc/realloc.c: Likewise.
2545 * malloc/malloc-find.c: Likewise.
2546 * malloc/malloc-size.c: Likewise.
2547 * malloc/malloc-walk.c: Likewise.
2548 * malloc/memalign.c: Likewise.
2550 Thu Sep 5 08:58:47 1996 Richard Henderson <rth@tamu.edu>
2552 * sysdeps/alpha/elf/start.S: Make _start global again.
2554 Thu Sep 5 03:20:42 1996 Ulrich Drepper <drepper@cygnus.com>
2556 Change configuration and Makefiles to allow add-ons to have a
2557 sysdeps/ directory hierachy.
2558 * configure.in: Test for sysdeps/ directory in add-ons. Before
2559 all test and searches in these hierachies, too.
2560 * Makeconfig (full-config-subdirs): Define based on $(config-sysdirs).
2561 Extend with $(..) if not absolute path.
2562 Use $(full-config-subdirs) where $(config-sysdirs) was used.
2563 * Makefile ($(objpfx)sysd-dirs): Use config-sysdirs.
2564 * MakeTAGS: Use $(full-config-subdirs).
2565 * Makerules: Change comment to libc.so link script.
2566 (sysdirs): Define based on $(full-config-subdirs).
2567 (sysd-Makefile): Define using config-sysdirs.
2568 (sysd-rules): Likewise.
2569 * sysdeps/unix/Makefile (sysd-syscalls): Define based on +sysdep-dirs.
2570 * sysdeps/unix/make-syscalls.sh: Remove basedir argument.
2572 Wed Sep 4 01:32:21 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2574 * sysdeps/m68k/fpu/k_cos.c: Rewritten for better accuracy.
2575 * sysdeps/m68k/fpu/k_sin.c: Likewise.
2576 * sysdeps/m68k/fpu/k_tan.c: Likewise.
2578 Thu Sep 5 01:06:09 1996 Richard Henderson <rth@tamu.edu>
2580 * malloc/free.c (free): Protect by using __libc_malloc_lock.
2581 * malloc/malloc-find.c (malloc_find_object_address): Likewise.
2582 * malloc/malloc-size.c (malloc_usable_size): Likewise.
2583 * malloc/malloc-walk.c (malloc_walk): Likewise.
2584 * malloc/memalign.c (memalign): Likewise.
2585 * malloc/realloc.c (realloc): Likewise.
2586 * malloc/malloc.c: Define __libc_malloc_lock.
2587 (_malloc_internal): Don't use `malloc'. Instead look for
2588 `__malloc_hook' or call `_malloc_internal'.
2589 (malloc): Protect by using `__libc_malloc_lock'.
2590 * malloc/malloc.h: Declare `__libc_malloc_lock'.
2592 Mon Sep 2 22:42:59 1996 Richard Henderson <rth@tamu.edu>
2594 * sysdeps/alpha/elf/start.S: Use weak_alias for __start
2595 instead of the hard definition.
2597 * sysdeps/alpha/dl-machine.h (RTLD_START): Add type info for
2598 _start and _dl_start_user.
2600 * sysdeps/unix/sysv/linux/alpha/init-first.h (SYSDEP_CALL_INIT):
2601 Make _dl_starting_up weak. Add type info for NAME.
2603 Mon Sep 2 22:15:14 1996 Richard Henderson <rth@tamu.edu>
2605 * Makefile (all): Add extra_solibs pass.
2606 (+subdir_targets): Same.
2607 * Rules (extra_solibs): New phony empty target for subdirs without
2609 * extra-lib.mk: Build lib*.so* in extra_solibs not lib-noranlib.
2610 * manual/Makefile: Add dummy extra_solibs target.
2612 Sun Sep 1 15:41:22 1996 Richard Henderson <rth@tamu.edu>
2614 * Makeconfig (+link): Add $(link-extra-libs).
2615 (link-extra-libs): New variable which expands to the full paths of
2616 the other libraries needed by a program, as controled by LDLIBS-$(@F).
2617 * db/Makefile: Use LDLIBS-makedb to link libdb not a dependency, as
2618 the later attempts to install the library before linking it.
2620 * sysdeps/unix/alpha/sysdep.S: Align errno.
2622 * sysdeps/unix/sysv/linux/alpha/ioperm.c (struct platform): Add
2624 (io): Move bus_memory_base and sparse_bus_memory_base into struct.
2625 (_hae_shift): New function.
2626 * sysdeps/unix/sysv/linux/alpha/sys/io.h: New file. Prototypes
2627 for the bus query functions.
2629 Sat Aug 31 18:14:54 1996 Richard Henderson <rth@tamu.edu>
2631 * elf/dl-close.c (_dl_close): In static executables, map->l_prev
2632 can be NULL when unloading a library.
2634 * elf/dl-open.c (_dl_open): Pass __environ instead of __libc_envp
2635 to the library .init function.
2637 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Since we omitted
2638 part of the COPY reloc processing earlier, omit the rest now --
2639 we'll get into less trouble later when some fool does use a COPY.
2641 * sysdeps/unix/sysv/linux/init-first.c (init): Accept argc et al as
2642 parameters. Move all argc and __libc_multiple_libcs calculation out
2643 to init-first.h. Use __environ not __libc_envp.
2644 * sysdeps/unix/sysv/linux/alpha/init-first.h: Rewrite.
2645 * sysdeps/unix/sysv/linux/i386/init-first.h: Rewrite.
2647 Thu Aug 29 20:26:40 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2649 * sysdeps/posix/profil.c (profil): Don't clobber saved timer and
2650 signal settings when profiling was already turned on.
2652 * csu/gmon-start.c (__gmon_start__) [HAVE_INITFINI]: Protect from
2655 Wed Sep 4 01:31:50 1996 Ulrich Drepper <drepper@cygnus.com>
2657 * sysdeps/unix/sysv/linux/i386/mmap.S: Test for
2658 0 < return value < -4096 and not < 0 to decide about failure.
2659 Reported by Andreas Jaeger.
2661 Tue Sep 3 19:04:05 1996 Ulrich Drepper <drepper@cygnus.com>
2663 * stdio-common/vfscanf.c (__vfscanf): Don't count EOF char
2666 Sat Aug 31 18:10:51 1996 Ulrich Drepper <drepper@cygnus.com>
2668 * wcsmbs/wchar.h: Define prototypes for wcstoq and wcstouq only
2671 Sat Aug 31 12:34:29 1996 Ulrich Drepper <drepper@cygnus.com>
2673 * version.c: Add missing newline character in banner.
2675 * sysdeps/unix/sysv/linux/alpha/Dist: Correct typo.
2676 * sysdeps/unix/sysv/linux/i386/Dist: Likewise.
2678 Sat Aug 31 03:07:39 1996 Ulrich Drepper <drepper@cygnus.com>
2680 * intl/l10nflist.c (_nl_normalize_codeset): We convert to lower
2681 case, so don't prepend uppercase `ISO' for only numeric arg.
2683 Wed Sep 4 16:16:13 1996 Ulrich Drepper <drepper@cygnus.com>
2685 * sysdeps/mach/hurd/send.c (__send): De-ANSI-fy.
2686 * sysdeps/mach/hurd/sendto.c (sendto): Likewise.
2688 Tue Sep 3 11:16:07 1996 Thomas Bushnell/ n/BSG <thomas@gnu.ai.mit.edu>
2690 * shadow/lckpwdf.c (__ulckpwdf): Don't take address of LOCK in
2691 call to __libc_lock_lock.
2693 * sysdeps/mach/hurd/send.c (__send): Declare BUF const.
2694 * sysdeps/mach/hurd/sendto.c (sendto): Likewise.
2696 * sysdeps/stub/ustat.c: Include <sys/ustat.h>.
2698 * misc/syslog.c (vsyslog): Fix typo (`mow_tm' -> `now_tm').
2700 Fri Aug 30 19:55:27 1996 Ulrich Drepper <drepper@cygnus.com>
2702 * libio/genops.c: Make _cleanup an alias of _IO_cleanup.
2703 Reported by Erik Troan.
2705 Fri Aug 30 15:40:04 1996 Ulrich Drepper <drepper@cygnus.com>
2707 * sysdeps/unix/sysv/linux/Dist: Add sys/procfs.h and
2708 sys/sysmacros.h. Reported by Curtiss <1CMC3466@IBM.MTSAC.EDU>.
2710 Fri Aug 30 13:53:32 1996 Andreas Jaeger <aj@arthur.pfalz.de>
2712 * sysdeps/unix/mman/syscalls.list: `mmap' has 6 arguments, not 5.
2714 Fri Aug 30 13:01:10 1996 NIIBE Yutaka <gniibe@mri.co.jp>
2716 * sysdeps/i386/fpu/__math.h (tan): Pop 1.0 in ST to get
2719 Fri Aug 30 03:33:33 1996 Ulrich Drepper <drepper@cygnus.com>
2721 * sysdeps/libm-ieee754/s_cbrtl.c: New file. `long double'
2724 Fri Aug 30 13:39:21 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
2726 * Makerules (BUILD_CFLAGS): Use @(common-objpfx) for config.h, not
2727 $(..). Some rules (like sysdeps/posix/Makefile for mk-stdiolim)
2729 (sed-remove-objpfx): Don't substitute for $(objpfx) anymore;
2730 $(common-objpfx) is good enough.
2731 * Rules (common-generated): Provide default (empty) value.
2732 (dummy.o, dummy.c, empty.o, empty.c): Put these in
2733 $(common-generated), not $(generated), and without $(..).
2734 (subdir_echo-distinfo): Treat $(common-generated) just like
2736 (generated): Depend on the (suitably mutated) $(common-generated)
2738 * Makerules (common-clean): Remove common-generated files too.
2739 * sysdeps/mach/hurd/Makefile (generated): Don't put errnos.d and
2741 (common-generated): Do put errnos.d and stamp-errnos here.
2742 (rpath-link): Don't use +=; $(rpath-link) is a colon separated list.
2744 * sysdeps/mach/hurd/Makefile (before-compile): Add auth; also add
2745 auth to following rule to get it built.
2747 Fri Aug 30 01:26:44 1996 Ulrich Drepper <drepper@cygnus.com>
2749 * sysdeps/unix/sysv/linux/i386/Dist: Add clone.S.
2750 * sysdeps/unix/sysv/linux/m68k/Dist: Likewise.
2751 * sysdeps/unix/sysv/linux/alpha/Dist: Likewise.
2753 * version.c: Add comment about where to report bugs to.
2754 * catgets/gencat.c (usage): Likewise.
2755 * db/makedb.c (usage): Likewise.
2756 * locale/programs/locale.c (usage): Likewise.
2757 * locale/programs/localedef.c (usage): Likewise.
2759 * manual/socket.texi: A little bit better wording.
2761 Thu Aug 29 18:03:06 1996 Ulrich Drepper <drepper@cygnus.com>
2763 * Makerules: Make sure directory exists before generating stamp file.
2764 (BUILD_CFLAGS): Always refer to using $(..).
2765 * manual/Makefile: Make sure directory exists before generating
2767 (make-target-directory): Add macro definition.
2768 * sysdeps/generic/Makefile: Make sure directory exists before
2769 generating stamp file.
2771 * Makefile (distribute): Add autolock.sh. Reported by Fila Kolodny.
2773 Tue Aug 27 10:06:22 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2775 When compiling in separate directory put objects into
2776 subdirectories matching the source layout.
2777 * Makeconfig (objpfx) [ifdef objdir]: Append $(subdir).
2778 When looking for configparms try in $(common-objpfx).
2779 Use $(common-objpfx)SUBDIR to find objects from other subdirectory
2781 * Makerules: Add $(objpfx) to vpath list.
2782 (make-dummy-dep): Use $(common-objpfx) to avoid creating dummy.d
2783 more than once. All uses in dependency lists changed.
2784 (+make-deps): Make target directory.
2785 (sed-remove-objpfx): Substitute $(common-objpfx).
2786 (do-ar, build-extra-lib, $(common-objpfx)stub-$(subdir)): Use
2787 $(objpfx) instead of $(objdir) for cd command.
2788 (O%-lib): Always find libc relative to $(..).
2789 (subdir-stamps): Collect stamp files from subdirs.
2790 (common-mostlyclean): Remove stub file in $(common-objpfx).
2791 * MakeTAGS ($P/siglist.pot): Find siglist.c in stdio-common.
2792 * Rules (dep-dummy-lib): Use $(common-objpfx) to avoid creating to
2794 ($(objpfx)dummy.c, $(objpfx)empty.c): Change target name to use
2795 $(common-objpfx). All uses in dependency lists changed.
2796 (generated): Prepend $(..) to names.
2797 * bare/Makefile ($(objpfx)lib$(config-vendor).a): Remove $(objpfx)
2799 * nss/Makefile ($(objpfx)libnss_dns.so, $(objpfx)libnss_db.so):
2800 Use $(common-objpfx) instead of $(..) in dependencies.
2801 * sysdeps/mach/Makefile (mach-objpfx): Unconditionally use
2802 $(common-objpfx) instead of $(..) and (objpfx).
2803 * sysdeps/mach/hurd/Makefile (hurd-objpfx): Likewise.
2804 (rpath-link): Likewise.
2805 (rpcuserlibs): Likewise.
2806 * sysdeps/unix/Makefile [$(subdir) = stdio-common]: Check for
2807 errlist.c in $(objpfx), not $(common-objpfx).
2808 ($(common-objpfx)s-proto.d): Special rule not covered by pattern
2810 * sysdeps/unix/make-syscalls.sh: Make syscall rules depending on
2811 s-proto.d in $(common-objpfx), not $(objpfx).
2813 Thu Aug 29 17:45:49 1996 Ulrich Drepper <drepper@cygnus.com>
2815 * nss/nsswitch.c (nss_dlerror_run): Free returned error
2818 Thu Aug 29 15:53:33 1996 Ulrich Drepper <drepper@cygnus.com>
2820 * sysdeps/libm-ieee754/e_acoshl.c: New file. `long double'
2822 * sysdeps/libm-ieee754/e_atanhl.c: Likewise.
2823 * sysdeps/libm-ieee754/e_remainderl.c: Likewise.
2824 * sysdeps/libm-ieee754/e_scalbl.c: Likewise.
2825 * sysdeps/libm-ieee754/s_asinhl.c: Likewise.
2826 * sysdeps/libm-ieee754/s_cosl.c: Likewise.
2827 * sysdeps/libm-ieee754/s_sinl.c: Likewise.
2828 * sysdeps/libm-ieee754/s_tanhl.c: Likewise.
2829 * sysdeps/libm-ieee754/s_tanl.c: Likewise.
2831 Thu Aug 29 12:00:30 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
2833 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Correct
2834 spelling error of _hurd_itimerval.
2836 * mach/Makefile (MIGFLAGS-mach/mach4): Define variable.
2837 * mach/Machrules (mig.uh, mig.__h): Include $(user-MIGFLAGS) and
2838 $(MIGFLAGS-$*) here too, as well as in the code-generating MiG calls.
2840 * hurd/hurdinline.c: Include "hurd.h" for function definitions too.
2842 * stdio/fseek.c (fseek): Don't assume we know the file position;
2843 other handles may have changed it. So set STREAM.__offset to -1
2844 before calling __stdio_check_offset to make sure we have a correct
2847 Thu Aug 29 00:28:08 1996 Ulrich Drepper <drepper@cygnus.com>
2849 * stdio-common/printf_fp.c (__printf_fp): Use default value '.' if
2850 `decimal' char is 0.
2852 * C-numeric.c (not_available): New constant.
2853 (_nl_C_LC_NUMERIC): Use `not_available' for grouping value.
2855 * nss/nsswitch.conf: Example configuration file.
2856 * nss/db-Makefile: Example Makefile for generation of databases
2858 * nss/Makefile (distribute): Add nsswitch.conf and db-Makefile.
2860 1996-08-28 Paul Eggert <eggert@twinsun.com>
2862 * C-messages.c (_nl_C_LC_MESSAGES): Set yesexpr to "^[yY]" and
2863 noexpr to "^[nN]"; this conforms to POSIX.2.
2865 * C-time.c (_nl_C_LC_TIME): Change %d to %e in d_t_format, to
2868 1996-08-28 Paul Eggert <eggert@twinsun.com>
2870 * C-monetary.c (not_available): New constant.
2871 (_nl_C_LC_MONETARY): Set mon_decimal_point to "", and set
2872 mon_grouping, int_frac_digits, frac_digits, p_cs_precedes,
2873 p_sep_by_space, n_cs_precedes, n_sep_by_space, p_sign_posn, and
2874 n_sign_posn to CHAR_MAX, as required by the POSIX Standard.
2876 Wed Aug 28 23:12:28 1996 Ulrich Drepper <drepper@cygnus.com>
2878 * nss/nss_db/db-XXX.c: Correct function names. They must be
2879 `_nss_db_*' instead of `_nss_files_*'.
2880 (lookup): `parse_line' returns 1 if succesful.
2881 * nss/nss_files/files-service.c (servbyname): Key for database
2882 must also contain protocol names.
2883 (servbypt): Likewise.
2884 Test must also check for protocol. Add `proto' argument.
2886 Tue Aug 27 09:56:13 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2888 * MakeTAGS ($P/subdirs.pot): Prefix all file names, not only the
2891 Tue Aug 27 17:45:21 1996 Ulrich Drepper <drepper@cygnus.com>
2893 * Makerules: Add some test for correct version of GNU Make.
2895 * io/fcntl.h: Undo change from Mon Aug 26 22:22:17 1996.
2896 * sysdeps/unix/sysv/linux/fcntlbits.h: Place macros here instead.
2898 * sysdeps/generic/dl-sysdep.c: Initialize break address to
2899 avoid overwriting last page (OK, Roland).
2901 Tue Aug 27 16:20:37 1996 Ulrich Drepper <drepper@cygnus.com>
2903 * resolv/resolv.h: Update from BIND-4.9.5-T3A.
2904 * resolv/arpa/nameser.h: Likewise.
2905 * resolv/res_init.c: Likewise.
2906 * resolv/res_debug.c: Likewise.
2907 * resolv/res_mkquery.c: Likewise.
2909 Tue Aug 27 15:47:04 1996 Ulrich Drepper <drepper@cygnus.com>
2911 * elf/dl-error.c (catch): Define errstring element not as const.
2912 (_dl_catch_error): ERRSTRING argument is not const pointer.
2913 Initialize *ERRSTRING and *OBJNAME separately.
2914 * elf/link.h: Change prototype for `_dl_catch_error'.
2916 * elf/dl-load.c (_dl_map_object): Use separate variable for
2917 copied NAME to avoid `const' warning.
2919 * elf/dlerror.c: Make `last_errstring' variable not const pointer.
2921 * elf/rtld.c: Implement reading of /etc/ld.so.preload. This
2922 provides preloading even for SUID binaries.
2923 Add some more casts to avoid signed<->unsigned warnings.
2925 Tue Aug 27 15:40:28 1996 NIIBE Yutaka <gniibe@mri.co.jp>
2927 * posix/sys/types.h: Define loff_t.
2928 * sysdeps/unix/sysv/linux/gnu/types.h: Define __loff_t.
2930 Mon Aug 26 22:22:17 1996 Ulrich Drepper <drepper@cygnus.com>
2932 * io/fcntl.h: Add definition for BSD F* macros.
2934 * misc/init-misc.c (__init_misc): Make static.
2935 * misc/Makefile: Pass -fkeep-inline-functions flag for init-misc.c.
2937 * configure.in: Add test for -fno-exception option of gcc.
2938 * config.make.in: Add definition of have-no-exceptions.
2939 * Makerules: Define no-exceptions based on have-no-exceptions.
2940 * csu/Makefile: When translating initfini.c pass $(no-exceptions).
2941 This is necessary for gcc >= ss-960816.
2943 Mon Aug 26 17:16:48 1996 Richard Henderson <rth@tamu.edu>
2945 * sysdeps/alpha/dl-machine.h: Clear startup flag.
2947 Fri Aug 16 21:17:50 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2949 * Makerules (o-iterator-doit): Simplify reference to autolock
2952 Sat Aug 24 15:27:41 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2954 * sysdeps/mach/hurd/getcwd.c
2955 (_hurd_canonicalize_directory_name_internal): After resizing the
2956 buffer move the current contents to the end. Correctly relocate
2957 file name pointer to upper half of the buffer.
2959 Mon Aug 26 15:49:59 1996 Ulrich Drepper <drepper@cygnus.com>
2961 * rtld.c (dl_main): Remove code to call ld.so initializer. This
2962 was introduced for compatibility with Linux ld.so and would not
2963 be used anymore. Now we don't have any good values to use as the
2964 parameters to the initializer so simply remove it.
2966 Sun Aug 25 18:25:52 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2968 * gmon/gmon.c (ERR): Don't write the terminating NUL.
2970 * sysdeps/posix/profil.c (profil): Disable the profiling timer at
2972 (profil_count): Use 64 bit arithmethic to avoid overflow.
2974 * sysdeps/generic/machine-gmon.h (MCOUNT): Fix argument order.
2976 Mon Aug 26 16:31:33 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
2978 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Tolerate NEW
2979 being null; in that case don't touch the timer at all (but do
2980 return something in OLD if necessary).
2982 Mon Aug 26 13:35:16 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
2984 * sysdeps/mach/hurd/i386/init-first.c (__libc_multiple_libcs): New
2986 * sysdeps/i386/init-first.c: Likewise.
2987 * sysdeps/stub/init-first.c: Likewise.
2989 Mon Aug 26 02:01:37 1996 Ulrich Drepper <drepper@cygnus.com>
2991 * elf/dl-open.c (_dl_open): Call library initializer with
2992 correct command line arguments and environment information.
2993 * elf/rtld.c (dl_main): Provide arguments to initializer of
2996 Sun Aug 25 19:15:46 1996 Ulrich Drepper <drepper@cygnus.com>
2998 * shadow/Makefile (routines): Add lckpwdf.
2999 * shadow/lckpwdf.c: New file.
3001 * sysdeps/i386/fpu_control.h (_FPU_GETCW, _FPU_SETCW): Force
3002 argument `cw' to be placed in memory. Patch by Torbjorn Granlund.
3004 Sun Aug 25 12:53:37 1996 Ulrich Drepper <drepper@cygnus.com>
3006 * configure.in: Add definition for `__eh_pc' and `__throw' in
3007 test for --no-whole-archive. The compiler generates dependencies
3008 for this but none of the standard librares and startup files
3009 are used. Necessary for gcc >= ss-960816.
3011 Sun Aug 25 01:31:33 1996 Ulrich Drepper <drepper@cygnus.com>
3013 * elf/dl-error.c (_dl_signal_error): If error is catched, malloc
3014 return string since string might be on stack.
3015 * elf/dl-lookup.c (_dl_lookup_symbol): Undo change of
3016 Wed Aug 21 10:14:59 1996.
3017 * elf/dlerror.c (dlerror): Free error string after printing.
3018 (_dlerror_run): If error string was not printed since last error
3020 * rtld.c (dl_main): Free error string in case of error.
3022 Sat Aug 24 03:16:47 1996 Ulrich Drepper <drepper@cygnus.com>
3024 * misc/syslog.c (vsyslog): Don't use `localtime' or `gmtime' since
3025 this changes the global state for `localtime' and `gmtime'. Use
3026 `__localtime_r'/`__gmtime_r' instead.
3027 * resolv/res_debug.c (__p_secstodate): Likewise.
3028 * sysdeps/generic/ftime.c: Likewise.
3029 * sysdeps/posix/gettimeofday.c: Likewise.
3030 Reported by Paul Eggert.
3032 * time/gmtime.c: De-ANSI-fy.
3033 * time/strftime.c: Don't call non-reentrant functions which change
3036 Wed Aug 21 10:14:59 1996 Richard Henderson <rth@tamu.edu>
3038 * elf/dl-lookup.c (_dl_lookup_symbol): Malloc the error string rather
3039 than putting it on the stack.
3041 Wed Aug 21 10:12:42 1996 Richard Henderson <rth@tamu.edu>
3043 * elf/rtld.c (dl_main): When looking up symbols in response to --list,
3044 don't find .plt entries.
3046 Mon Aug 19 23:18:12 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3048 * sysdeps/m68k/dl-machine.h (RTLD_START): Optimize clearing
3051 Tue Aug 20 17:42:10 1996 Miles Bader <miles@gnu.ai.mit.edu>
3053 * stdio/linewrap.c (line_wrap_stream): Initialize D->seek.
3055 Sat Aug 17 12:19:37 1996 David Mosberger-Tang <davidm@azstarnet.com>
3057 * login/pututline_r.c (__pututline_r): Fix handling of case where
3058 getutid_r() fails with ESRCH. Reported by Miquel van Smoorenburg.
3060 Wed Aug 14 14:10:54 1996 David Mosberger-Tang <davidm@azstarnet.com>
3062 * sysdeps/unix/sysv/linux/alpha/ioperm.c (platform): Change entry
3063 for "Jensen" so _bus_base() returns 0 on that platform. Use
3064 _bus_base_sparse() to determine base address of sparse memory.
3066 * sysdeps/unix/sysv/linux/sys/io.h: Enclose #include <asm/io.h>
3067 and declarations in __BEGIN_DECLS/__END_DECLS.
3069 Sun Aug 18 13:37:09 1996 Ulrich Drepper <drepper@cygnus.com>
3071 * err.h: New file. Wrapper around misc/err.h.
3073 Correct solution of multiple initialization problem by
3075 * csu/initfini.c: Remove global variable __libc_is_static.
3076 * elf/rtld.c: Introduce new global variable _dl_starting_up.
3077 It's nonzero during the startup.
3078 * elf/dl-open.c (_dl_open): When _dl_start function is not
3079 available (i.e., if in static libc) set `__libc_multiple_libcs'
3081 * sysdeps/unix/sysv/linux/init-first.c (__libc_multiple_libc):
3082 New global variable.
3083 (init): Undo change of Fri Aug 2 03:12:40 1996.
3084 Initialize `__libc_multiple_libcs' to nonzero only if this is
3085 a shared lib called from a statically linked program and don't
3086 call `personality' and `setfpucw' in this case either.
3087 * sysdeps/generic/sbrk.c: Undo change of Fri Aug 2 03:12:40 1996.
3088 Don't call brk(0) until `__libc_multiple_libcs' is nonzero.
3089 * sysdeps/i386/dl-machine.h (RTLD_START): Clear _dl_starting_up
3090 before jumping to user code.
3091 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
3093 Fri Aug 16 04:59:01 1996 Ulrich Drepper <drepper@cygnus.com>
3095 * sysdeps/unix/sysv/linux/init-first.c: Remove hack from
3096 Thu Aug 8 12:40:20 1996.
3097 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = csu]: Use
3098 -fkeep-inline-functions flag instead.
3100 Fri Aug 16 16:11:25 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
3102 * nss/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): Treat
3103 EPFNOSUPPORT and EAFNOSUPPORT as implying NSS_STATUS_UNAVAIL just
3104 like ECONNREFUSED already does.
3105 (_nss_dns_gethostbyaddr_r): Likewise.
3106 * nss/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Likewise.
3107 (_nss_dns_getnetbyaddr_r): Likewise.
3109 * sysdeps/mach/hurd/socket.c (socket): For message transmission
3110 and RPC errors that indicate that the socket server is not really
3111 present and able to do its job, turn the error into EPFNOSUPPORT.
3113 Fri Aug 16 01:24:33 1996 Ulrich Drepper <drepper@cygnus.com>
3115 * inet/ruserpass.c (userpass): Allocate buffer for .netrc file
3116 name dynamically. Reported by Alan Cox.
3117 Uncomment warnings and mark as translatable.
3119 * time/strftime (strftime): Add implementation for %s and %z
3120 format. Change behaviour for unknown format character: now
3121 simply print it. This matches the behaviour of printf.
3122 Reported by Jim Meyering.
3123 * manual/time.texi: Document all formats and flags of strftime.
3125 Thu Aug 15 18:02:51 1996 Ulrich Drepper <drepper@cygnus.com>
3127 * elf/rtld.c (dl_main): Loaded object has type lt_executable,
3130 * misc/sys/select.h: Define fd_set using typedef, not #define.
3131 Proposed by David Mosberger-Tang.
3133 Thu Aug 15 12:48:21 1996 Ulrich Drepper <drepper@cygnus.com>
3135 * po/header.pot: Use real description line.
3137 Thu Aug 15 04:42:44 1996 Ulrich Drepper <drepper@cygnus.com>
3139 * elf/rtld.c (dl_main): When started with --verify prevent
3140 any warning. Just exit with an error.
3141 * elf/ldd.sh.in: Don't run given object directly. This fails for
3142 libraries. Instead use $RTLD again.
3144 Thu Aug 15 02:08:59 1996 Ulrich Drepper <drepper@cygnus.com>
3146 * manual/nss.texi: New file. Document NSS.
3147 * manual/nsswitch.texi: New file. Example configuration.
3149 * manual/string.texi: Document stpncpy, strdupa, and strndupa.
3150 * manual/example/strdupa.c: New file. Example for strdupa.
3152 Wed Aug 14 21:36:16 1996 Ulrich Drepper <drepper@cygnus.com>
3154 * stdlib/strtod.c (STRTOD): Correct assertion about size of
3155 wint_t and wchar_t. Reported by David Mosberger-Tang.
3157 Mon Aug 12 22:40:16 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3159 * elf/dl-lookup.c (_dl_lookup_symbol): Remove fifth parameter
3160 RELOC_ADDR and make NOPLT a set of flags. All callers
3161 changed. Delete condition that checks for resolving to the
3162 location being filled in. Add condition to skip the
3163 executable's symbols if requested.
3164 * elf/link.h: Change declaration of _dl_lookup_symbol
3166 (DL_LOOKUP_NOEXEC, DL_LOOKUP_NOPLT): New definitions.
3167 * elf/dl-reloc.c (RESOLVE): Remove second parameter and rename
3169 * elf/dl-runtime.c (RESOLVE): Likewise.
3170 * elf/rtld.c (RESOLVE): Likewise.
3171 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Pass
3172 DL_LOOKUP_NOEXEC as second argument to the RESOLVE macro if
3173 processing a copy reloc, DL_LOOKUP_NOPLT for a jump slot
3174 reloc, zero otherwise.
3175 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
3176 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
3177 * sysdeps/mips/dl-machine.h (elf_machine_rel): Likewise.
3179 Wed Aug 14 17:57:08 1996 Ulrich Drepper <drepper@cygnus.com>
3181 * MakeTAGS: Clean up use of --omit-header and -n for xgettext.
3182 * po/header.pot: Add empty line at end.
3184 Sun Aug 11 13:45:33 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3186 * MakeTAGS (all-pot): Remove $P/errlist.pot, all error messages
3187 are now in $P/stdio-common.pot.
3188 (XGETTEXTFLAGS-errlist.pot): Variable removed.
3190 Mon Aug 12 19:25:03 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3192 * Makerules (do-ar, o-iterator-doit): Compute path to autolock
3193 script at run time, not configure time.
3194 * config.make.in, configure.in: Undo previous change.
3196 Wed Aug 14 13:20:02 1996 Ulrich Drepper <drepper@cygnus.com>
3198 * sysdeps/unix/sysv/linux/i386/close.S: Push return value of thread
3199 on stack as argument for `_exit'. Reported by Andreas Schwab.
3201 Mon Aug 12 19:36:25 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3203 * sysdeps/unix/sysv/linux/m68k/clone.S: New file.
3205 Wed Aug 14 04:22:35 1996 Richard Henderson <rth@tamu.edu>
3207 * elf/dl-load.c (_dl_map_object): Save name in malloced memory.
3208 (_dl_map_object_from_fd): Free name on error.
3210 Wed Aug 14 13:00:09 1996 Ulrich Drepper <drepper@cygnus.com>
3212 * string/strdup.c: Use result of memcpy to avoid reloading.
3214 Tue Aug 13 00:55:03 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3216 * shadow/sgetspent_r.c (__sgetspent_r): Copy string to buffer, not
3217 the other way round.
3219 Tue Aug 13 20:51:21 1996 Ulrich Drepper <drepper@cygnus.com>
3221 * stdlib/canonicalize.c (canonicalize): Add cast to prevent
3224 * Makerules (o-iterator-doit): Use autolock.sh when running ranlib.
3226 Tue Aug 13 18:26:45 1996 Ulrich Drepper <drepper@cygnus.com>
3228 * nss/nsswitch.c (__nss_configure_lookup): Use fact that list is
3231 Update from bind-4.9.5-T1A.
3232 * resolv/Makefile (libresolv-routines): Add base64, inet_net_ntop,
3233 inet_net_pton, inet_net.
3235 * resolv/gethnamaddr.c: Include <sys/types.h>.
3236 * resolv/getnetnamadr.c: Likewise.
3237 * resolv/herror.c: Likewise.
3238 * resolv/inet_addr.c: Likewise.
3239 * resolv/nsap_addr.c: Likewise.
3240 * resolv/res_comp.c: Likewise.
3241 * resolv/res_data.c: Likewise.
3242 * resolv/res_init.c: Likewise.
3243 * resolv/res_mkquery.c: Likewise.
3244 * resolv/res_query.c: Likewise.
3245 * resolv/res_send.c: Likewise.
3247 * resolv/gethnamaddr.c [! SPRINTF_CHAR] (SPRINTF): Cast return
3249 * resolv/inet_ntop.c: Likewise.
3251 * resolv/gethnamaddr.c [BSD]: Include <stdlib.h>.
3252 Remove prototype of gethostbyname_ipv4.
3254 * resolv/inet_ntop.c, resolv/inet_pton.c: Use ISO C `mem*'
3255 functions instead of BSD `b*' functions.
3257 * resolv/nsap_addr.c: Add copyright message.
3259 * resolv/res_comp.c: Remove comment explaining label format.
3260 (res_mailok): Correct check.
3262 * resolv/res_debug: Include missing headers.
3263 (__fp_nquery): Handle `unused', `ad', and `cd' bits.
3264 (__p_fqnname): New function to print FQDN from compressed name.
3265 (__p_rr): Use __p_fqnname. Correct printing of ". Handle T_TXT
3266 correctly. Add handling of T_KEY and T_SIG.
3267 Handle class and type names by using name arrays instead of
3268 explicit `switch'es.
3269 (__sym_ston, __sym_ntos, __sym_ntop): New functions to use arrays.
3270 (__dn_count_labels, __p_secstodate): New functions.
3272 * resolv/resolv.h (__RES): Update version number.
3273 (res_sym): New type.
3274 Add #defines for new functions.
3275 Declare sym_ntos, sym_ntop, b64_ntop, b64_pton, __p_fqnname,
3276 __p_secstodate, dn_count_labels.
3278 * resolv/arpa/nameser.h (__BIND): Update version number.
3279 Add KEYFLAG_* and ALGORITHM_* symbols.
3280 (HEADER): Add `ad' and `cd' flags.
3282 * inet/ient.h: Add prototypes for inet_neta, inet_net_ntop,
3285 * manual/maint.texi: Document that we use bind-4.9.5.
3288 Mon Aug 12 19:03:22 1996 Thomas Bushnell n/BSG <thomas@psilocin.gnu.ai.mit.edu>
3290 * sysdeps/generic/gnu/types.h: Declare __fd_mask as `unsigned long'.
3292 * mach/Makefile (mach/mach_host.uh): Depend on
3293 $(objpfx)/mach-syscalls.mk.
3294 ($(objpfx)mach-shortcuts.h): Depend on $(objpfx)mach/mach_host.h.
3295 (This fixes a make loop; thanks to Marcus Daniels
3296 <marcus@sysc.pdx.edu> for the patch.)
3298 Mon Aug 12 16:41:52 1996 Thomas Bushnell n/BSG <thomas@gnu.ai.mit.edu>
3300 * io/getwd.c (getwd) [! PATH_MAX]: Don't assume that the user's
3301 buffer is any longer than the amount necessary to hold the
3302 filename; the Hurd getcwd uses the *entire* contents of the
3303 buffer, however long it is specified to be.
3305 Mon Aug 12 04:33:09 1996 Ulrich Drepper <drepper@cygnus.com>
3307 * nss/nsswitch.c (__nss_database_lookup): Always release locks
3308 before returning. Reported by Miles Bader.
3310 Mon Aug 12 03:31:58 1996 Ulrich Drepper <drepper@cygnus.com>
3312 * nss/nsswitch.c (__nss_configure_lookup): New function.
3313 Allows to specify services.
3314 * nss/XXX-lookup.h: Rename database variable and make global.
3315 * nss/databases.def: New file. Real names of all databases.
3317 * nss/nss.h: New file. Contains declaration useful for users
3318 and service developers.
3319 * nss/nsswitch.h: Move some declarations to nss/nss.h.
3320 * nss.h: New file. Wrapper around nss/nss.h.
3322 * nss/Makefile (headers): Add nss.h.
3323 (distributes): Add databases.def.
3325 Sun Aug 11 16:19:42 1996 Ulrich Drepper <drepper@cygnus.com>
3327 Help the poor people with fast machines by making sure only
3328 one `ar' commands works on the library.
3329 * autolock.sh: New file. Written by Tom Tromey.
3330 * Makerules (do-ar): Call autolock.sh shell script instead of
3331 directly using `ar'.
3332 * config.make.in: Make configuration variable AUTOLOCK which
3333 gets initialized by configure.
3334 * configure.in: Define variable AUTOLOCK to point to autolock.sh
3335 script and mark it to substitute.
3337 * string/Makefile: Add -fno-builtin for tst-strlen.c, too.
3339 * sysdeps/generic/sbrk.c (__sbrk): Get kernel brk address
3340 always only if in static libc or if statically linked program
3343 * sysdeps/generic/sbrk.c (__sbrk): Get kernel brk address
3344 always only if in static libc or if statically linked program
3347 Sun Aug 11 01:12:38 1996 Richard Henderson <rth@tamu.edu>
3349 * sysdeps/alpha/dl-machine.h (elf_alpha_fix_plt): Optimize LD_BIND_NOW
3350 startup by moving Icache flush from here ...
3351 (ELF_MACHINE_RUNTIME_TRAMPOLINE): ... to here.
3352 (ELF_MACHINE_USER_ADDRESS_MASK): Delete; it is unused.
3354 * sysdeps/alpha/divrem.h: Update comment to reflect the actual
3355 calling conventions. The code is already correct.
3357 Sun Aug 11 01:06:42 1996 Richard Henderson <rth@tamu.edu>
3359 * string/Makefile: Compile tester with -fno-builtin as we want to
3360 test our implementations, not gcc's.
3362 Sat Aug 10 13:17:27 1996 David Mosberger-Tang <davidm@azstarnet.com>
3364 * shadow.h: New file.
3366 * sysdeps/unix/sysv/linux/netinet/in.h: Move
3367 __BEGIN_DECLS/__END_DECLS up so ntohl() et al are bracketed as
3370 * socket/sys/socket.h [__cplusplus]: Use old-style __SOCKADDR_ARG.
3371 g++ 2.7.2 (and earlier) has no transparent unions support.
3373 Fri Aug 9 18:50:06 1996 David Mosberger-Tang <davidm@azstarnet.com>
3375 * sysdeps/unix/sysv/linux/alpha/ioperm.c (_bus_base_sparse): New
3376 function to determine the base address of sparse bus memory.
3377 (APECS_*): Rename to CIA_*.
3378 (APECS_SPARSE_MEM, CIA_SPARSE_MEM): New macros.
3379 (platform): Add sparse_bus_memory_base member and initialize.
3380 (sparse_bus_memory_base): New variable.
3382 Tue Aug 6 10:23:18 1996 David Mosberger-Tang <davidm@azstarnet.com>
3384 * sysdeps/posix/ttyname_r.c (ttyname_r),
3385 sysdeps/posix/ttyname.c (ttyname): Return -1/NULL if
3386 !__isatty(fd) (POSIX.1 says so.)
3388 * sysdeps/unix/getlogin.c (getlogin): Fix to check fd 0 only.
3389 This is not a gross hack, after all---for compatibility,
3390 getlogin() really should check fd 0 only and not try to base its
3391 operation on the controlling tty.
3393 Wed Jul 17 10:54:20 1996 David Mosberger-Tang <davidm@azstarnet.com>
3395 * sysdeps/unix/getlogin.c (getlogin): Add static variable NAME,
3396 change utmp_data from static to auto.
3398 Sun Aug 11 02:56:08 1996 Ulrich Drepper <drepper@cygnus.com>
3400 * posix/unistd.h [__USE_MISC]: Add prototype for `nice'.
3401 Reported by David Mosberger-Tang.
3403 Sat Aug 10 02:05:28 1996 Richard Henderson <richard@twiddle.tamu.edu>
3405 * sysdeps/libm-ieee754/s_isnan.c [NO_LONG_DOUBLE]: Add strong
3406 alias to `__isnanl'.
3408 Fri Aug 9 17:38:58 1996 Ulrich Drepper <drepper@cygnus.com>
3410 * sysdeps/unix/sysv/linux/sys/timex.h: Include <sys/time.h> to
3411 get `struct timeval'.
3412 * sysdeps/unix/sysv/linux/sys/acct.h: Get time_t from <time.h>.
3413 * sysdeps/unix/sysv/linux/sys/module.h: Get size_t from <stddef.h>.
3414 * sysdeps/unix/sysv/linux/sys/io.h: Get definition of __P.
3415 * sysdeps/unix/sysv/linux/sys/klog.h: Likewise.
3416 * gmon/sys/gmon.h: Include <sys/types.h> to get u_long.
3417 * sysdeps/unix/sysv/linux/direntry.h: Complete types in
3419 * io/fts.h: Include <sys/types.h> to get dev_t.
3420 Reported by Matthias Urlichs.
3422 * sysdeps/posix/tempname.c [USE_IN_LIBIO]: Don't clear
3423 _IO_file_flags. It's the same as _flags.
3424 Reported by Miquel van Smoorenburg <miquels@Q.cistron.nl>.
3426 Wed Aug 7 19:38:47 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3428 * sysdeps/unix/sysv/linux/m68k/resourcebits.h: Add RLIMIT_AS.
3430 Thu Aug 8 16:17:38 1996 Ulrich Drepper <drepper@cygnus.com>
3432 * pwd/getpwent.c: Define BUFLEN from NSS_BUFLEN_PASSWD.
3433 * pwd/getpwent_r.c: Likewise.
3434 * pwd/getpwnam.c: Likewise.
3435 * pwd/getpwnam_r.c: Likewise.
3436 * pwd/getpwuid.c: Likewise.
3437 * pwd/getpwuid_r.c: Likewise.
3439 * grp/getgrent.c: Define BUFLEN from NSS_BUFLEN_GROUP.
3440 * grp/getgrent_r.c: Likewise.
3441 * grp/getgrgid.c: Likewise.
3442 * grp/getgrgid_r.c: Likewise.
3443 * grp/getgrnam.c: Likewise.
3445 * pwd/fgetpwent_r.c: New file. Reentrant version of fgetpwent.
3446 * pwd/fgetpwent.c: Rewrite to use fgetpwent_r.
3447 * pwd/Makefile (routines): Add fgetpwent_r.
3448 * pwd/pwd.h: Add prototypes for __fgetpwent_r and fgetpwent_r.
3450 * grp/fgetgrent_r.c: New file. Reentrant version of fgetgrent.
3451 * grp/fgetgrent.c: Rewrite to use fgetgrent_r.
3452 * grp/Makefile (routines): Add fgetgrent_r.
3453 * grp/grp.h: Add prototypes for __fgetgrent_r and fgetgrent_r.
3455 Implement shadow password lookup functions. This is no complete
3456 shadow password suite.
3457 * shadow/Makefile: New file.
3458 * shadow/fgetspent.c: New file.
3459 * shadow/fgetspent_r.c: New file.
3460 * shadow/getspent.c: New file.
3461 * shadow/getspent_r.c: New file.
3462 * shadow/getspnam.c: New file.
3463 * shadow/getspnam_r.c: New file.
3464 * shadow/putspent.c: New file.
3465 * shadow/sgetspent.c: New file.
3466 * shadow/sgetspent_r.c: New file.
3467 * shadow/shadow.h: New file.
3468 * shadow/spwd-lookup.c: New file.
3469 * shadow/nss_files/files-spwd.c: New file.
3471 Thu Aug 8 13:33:45 1996 Ulrich Drepper <drepper@cygnus.com>
3473 * sysdeps/unix/sysv/linux/ftime.c: New file. Available system
3474 call is only a stub.
3475 Reported by Matthias Urlichs.
3477 * Makeconfig [!default_cflags]: Change default value from `-g'
3480 * configure.in: Recognize i686.
3481 * sysdeps/i386/i686/Implies: Default on i586 optimized code.
3483 Thu Aug 8 12:40:20 1996 Matthias Urlichs <smurf@smurf.noris.de>
3485 * Makeconfig [$(build-omitfp) == yes]: Add to CFLAGS-.so
3486 value of CFLAGS-.o, not CFLAGS-o.
3488 * sysdeps/unix/sysv/linux/init-first.c (init): Add volatile
3489 pointer to ourself. Otherwise `gcc -O3' optimized init away.
3491 Thu Aug 8 01:41:43 1996 Ulrich Drepper <drepper@cygnus.com>
3493 * elf/Makefile: Undo change of Tue Aug 6 14:27:11 1996.