1 Wed Jan 1 15:15:00 1997 Ulrich Drepper <drepper@cygnus.com>
3 * libio/Makefile (routines): Add fcloseall.
4 * libio/fcloseall.c: New file.
5 * libio/stdio.h [__USE_GNU]: Add prototype for fcloseall.
6 * libio/iofclose.c: Don't close all streams when argument is NULL.
8 * stdio/Makefile (routines): Add fcloseall.
9 * stdio/fcloseall.c: New file.
10 * stdio/stdio.h [__USE_GNU]: Add prototype for fcloseall.
11 * stdio/fclose.c: Don't close all streams when argument is NULL.
13 * manual/stdio.texi: Document fcloseall.
15 * sysdeps/generic/abort.c: Call __fcloseall instead of fclose with
18 * socket/sys/un.h (SUN_LEN): Add cast.
20 * sunrpc/auth_unix.c (authunix_create): Change parameter types
21 of uid, gid, and aup_gids to uid_t and gid_t respectively.
22 (authunix_create_default): Likewise.
23 (authunix_refresh): Correct cast for aup_gids assignment.
24 * sunrpc/rpc/auth.h (authunix_create): Correct types in declaration.
25 * sunrpc/rpc/auth_unix.h (struct authunix_parms): Correct field
26 types to uid_t and gid_t respectively.
27 (struct short_hand_verf): Likewise.
28 Reported by Andreas Schwab.
30 * sysdeps/ieee754/Makefile: New file. Make sure ieee754.h gets
32 * sysdeps/ieee754/ieee754.h: Protect against multiple inclusion and
35 * sysdeps/libm-i387/e_pow.S: New file. Optimized ix87 assembler
36 version of pow() function.
37 * sysdeps/libm-i387/e_powf.S: New file. Float version.
38 * sysdeps/libm-i387/e_powl.S: New file. Long double version.
40 * sysdeps/libm-i387/s_expm1.S: New file. Optimized ix87 assembler
41 version of expm1() function.
42 * sysdeps/libm-i387/s_expm1f.S: New file. Float version.
43 * sysdeps/libm-i387/s_expm1l.S: New file. Long double version.
45 * sysdeps/libm-i387/e_exp.S: Optimize handling of +-Inf.
46 Better handling of computation stack from current NetBSD sources.
47 * sysdeps/libm-i387/e_expf.S: Likewise.
48 * sysdeps/libm-i387/e_expl.S: Likewise.
50 * sysdeps/libm-i387/e_log.S: Use fstp instead of fincstp.
51 * sysdeps/libm-i387/e_logf.S: Likewise.
52 * sysdeps/libm-i387/e_logl.S: Likewise.
53 * sysdeps/libm-i387/e_log10.S: Likewise.
54 * sysdeps/libm-i387/e_log10f.S: Likewise.
55 * sysdeps/libm-i387/e_log10l.S: Likewise.
56 * sysdeps/libm-i387/s_asinh.S: Likewise.
57 * sysdeps/libm-i387/s_asinhf.S: Likewise.
58 * sysdeps/libm-i387/s_asinhl.S: Likewise.
59 * sysdeps/libm-i387/s_significandl.S: Likewise.
61 * sysdeps/libm-i387/s_ceil.S: Don't create stack frame. Modify
62 stack pointer directly. Use 32 bit instead of 16 bit operations.
63 * sysdeps/libm-i387/s_ceilf.S: Likewise.
64 * sysdeps/libm-i387/s_ceill.S: Likewise.
65 * sysdeps/libm-i387/s_floor.S: Likewise.
66 * sysdeps/libm-i387/s_floorf.S: Likewise.
67 * sysdeps/libm-i387/s_floorl.S: Likewise.
69 * sysdeps/libm-ieee754/e_coshf.c (huge): Don't declare volatile.
70 * sysdeps/libm-ieee754/e_expf.c: Likewise.
71 * sysdeps/libm-ieee754/e_powf.c: Likewise.
72 From current NetBSD sources.
74 * sysdeps/libm-ieee754/e_hypot.c (__ieee754_hypot): Don't initialize
75 `a' and `b' in definition.
76 * sysdeps/libm-ieee754/e_hypotf.c: Likewise.
78 * sysdeps/libm-ieee754/e_hypotl.c: New file. Long double
80 * sysdeps/libm-ieee754/e_sinhl.c: New file. Long double
82 * sysdeps/stub/e_hypotl.c: Removed. We have a real version now.
83 * sysdeps/stub/e_sinhl.c: Removed.
85 * sysdeps/posix/sigpause.c (__sigpause): Use sigdelset instead of
86 sigaddset. Reported by Andreas Schwab.
87 (__default_sigpause): New function. Call __sigpause as BSD version.
88 Make this the default function by providing alias sigpause.
89 * sysdeps/stub/sigpause.c (__default_sigpause): New funciton.
90 Simply fail. Provide alias sigpause.
92 Wed Jan 1 12:34:54 1997 Ulrich Drepper <drepper@cygnus.com>
94 * po/es.po: Update for glibc-1.98.
96 * po/sv.po: New file. Swedish translation.
98 Wed Jan 1 12:18:07 1997 MacGyver <macgyver@tos.net>
100 * values.h: Fix typos: use SHRT_MAX but SHORT_MAX and SHRT_MIN but
103 Tue Dec 24 23:10:21 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
105 * Makefile: Replace `stubs.h' by `gnu/stubs.h'.
106 * features.h: Include <gnu/stubs.h> instead of <stubs.h>.
108 Tue Dec 24 22:16:55 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
110 * Makefile (subdirs): Move `elf' last so that librtld.so isn't
111 relinked in the `make others' pass if an add-on adds something to
114 Mon Dec 23 21:23:16 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
116 * sysdeps/m68k/abort-instr.h: New File.
118 Mon Dec 23 21:16:38 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
120 * sysdeps/m68k/Makefile ($(subdir)=elf): Define CFLAGS-rtld.c
123 Mon Dec 23 21:14:22 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
125 * resolv/Makefile (subdirs-dirs): Define.
127 Mon Dec 23 20:56:49 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
129 * sysdeps/gnu/utmpbits.h (struct utmp): Fix padding.
131 Mon Dec 30 11:05:11 1996 Ulrich Drepper <drepper@cygnus.com>
133 Update from ADO tzcode1996o.
134 * time/difftime.c: De-ANSI-declfy. Simplify computation of hibit
135 according to ADO version.
136 * time/zic.c: Correct typo is message.
138 Update from ADO tzdata1996n.
139 * time/asia: Updated.
140 * time/australasia: Likewise.
141 * time/europe: Likewise.
142 * time/northamerica: Likewise.
143 * time/southamerica: Likewise.
145 Mon Dec 30 01:32:59 1996 Ulrich Drepper <drepper@cygnus.com>
147 * tme/localtime.c: Rewrite so that localtime_r does not call tzset,
150 * features.h: Rename ANSI C to ISO C.
151 Mention __GLIBC__ and __GLIBC_MINOR__ macros.
153 * gnu-versions.h: Add _GNU_GETOPT_INTERFACE_VERSION.
154 * posix/getopt.c: Use _GNU_GETOPT_INTERFACE_VERSION to check
155 whether we can elide the code.
156 * posix/getopt1.c: Likewise.
157 * posix/Makefile: Correct copyright.
159 * elf/dl-error.c (_dl_catch_error): Clear `catch' also when error
161 * elf/dl-support.c (_dl_sysdep_open_zero_fill): Don't define if
163 * elf/eval.c: Use __getline instead of getline.
164 * elf/rtld.c (dl_main): Check return value of _dl_new_object
166 * sysdeps/generic/dl-cache.c: Update copyright.
168 * signal/Makefile: Correct copyright.
169 (routines): Remove gsignal and ssignal. Add bsd_signal.
170 * signal/gsignal.c: Removed. Now is made an alias.
171 * signal/ssignal.c: Likewise.
172 * sysdeps/posix/raise.c: Add alias gsignal.
173 * sysdeps/stub/raise.c: Likewise.
174 * sysdeps/posix/signal.c: Add alias ssignal.
175 * sysdeps/stub/signal.c: Likewise.
176 * signal/signal.h: Declare bsd_signal. Define signal as bsd_signal
178 * sysdeps/posix/bsd_signal.c: New file. Implementation of XPG
181 * sysdeps/unix/sysv/linux/signal.c: Add explanation.
183 * socket/sys/un.h: Define SUN_LEN according to POSIX.1g.
185 * stdio-common/Makefile (tests): Add scanf10.
186 * stdio-common/scanf10.c: New file.
187 * stdio-common/vfscanf.c: Decrement counter if EOF is read while
190 * sysdeps/libm-i387/e_acos.S: Use END, not PSEUDO_END.
191 * sysdeps/libm-i387/e_acosl.S: Likewise.
192 * sysdeps/libm-i387/e_asin.S: Likewise.
193 * sysdeps/libm-i387/e_asinl.S: Likewise.
194 * sysdeps/libm-i387/e_atan2.S: Likewise.
195 * sysdeps/libm-i387/e_atan2f.S: Likewise.
196 * sysdeps/libm-i387/e_atan2l.S: Likewise.
197 * sysdeps/libm-i387/e_exp.S: Likewise.
198 * sysdeps/libm-i387/e_expl.S: Likewise.
199 * sysdeps/libm-i387/e_fmod.S: Likewise.
200 * sysdeps/libm-i387/e_fmodl.S: Likewise.
201 * sysdeps/libm-i387/e_log.S: Likewise.
202 * sysdeps/libm-i387/e_log10.S: Likewise.
203 * sysdeps/libm-i387/e_log10l.S: Likewise.
204 * sysdeps/libm-i387/e_logl.S: Likewise.
205 * sysdeps/libm-i387/e_remainder.S: Likewise.
206 * sysdeps/libm-i387/e_remainderf.S: Likewise.
207 * sysdeps/libm-i387/e_remainderl.S: Likewise.
208 * sysdeps/libm-i387/e_scalb.S: Likewise.
209 * sysdeps/libm-i387/e_scalbl.S: Likewise.
210 * sysdeps/libm-i387/e_sqrt.S: Likewise.
211 * sysdeps/libm-i387/e_sqrtf.S: Likewise.
212 * sysdeps/libm-i387/e_sqrtl.S: Likewise.
213 * sysdeps/libm-i387/s_atan.S: Likewise.
214 * sysdeps/libm-i387/s_atanf.S: Likewise.
215 * sysdeps/libm-i387/s_atanl.S: Likewise.
216 * sysdeps/libm-i387/s_ceil.S: Likewise.
217 * sysdeps/libm-i387/s_ceilf.S: Likewise.
218 * sysdeps/libm-i387/s_ceill.S: Likewise.
219 * sysdeps/libm-i387/s_copysign.S: Likewise.
220 * sysdeps/libm-i387/s_copysignf.S: Likewise.
221 * sysdeps/libm-i387/s_copysignl.S: Likewise.
222 * sysdeps/libm-i387/s_cos.S: Likewise.
223 * sysdeps/libm-i387/s_cosf.S: Likewise.
224 * sysdeps/libm-i387/s_cosl.S: Likewise.
225 * sysdeps/libm-i387/s_finite.S: Likewise.
226 * sysdeps/libm-i387/s_finitef.S: Likewise.
227 * sysdeps/libm-i387/s_finitel.S: Likewise.
228 * sysdeps/libm-i387/s_floor.S: Likewise.
229 * sysdeps/libm-i387/s_floorf.S: Likewise.
230 * sysdeps/libm-i387/s_floorl.S: Likewise.
231 * sysdeps/libm-i387/s_ilogb.S: Likewise.
232 * sysdeps/libm-i387/s_ilogbf.S: Likewise.
233 * sysdeps/libm-i387/s_ilogbl.S: Likewise.
234 * sysdeps/libm-i387/s_log1p.S: Likewise.
235 * sysdeps/libm-i387/s_log1pf.S: Likewise.
236 * sysdeps/libm-i387/s_log1pl.S: Likewise.
237 * sysdeps/libm-i387/s_logb.S: Likewise.
238 * sysdeps/libm-i387/s_logbf.S: Likewise.
239 * sysdeps/libm-i387/s_logbl.S: Likewise.
240 * sysdeps/libm-i387/s_rint.S: Likewise.
241 * sysdeps/libm-i387/s_rintf.S: Likewise.
242 * sysdeps/libm-i387/s_rintl.S: Likewise.
243 * sysdeps/libm-i387/s_scalbn.S: Likewise.
244 * sysdeps/libm-i387/s_scalbnf.S: Likewise.
245 * sysdeps/libm-i387/s_scalbnl.S: Likewise.
246 * sysdeps/libm-i387/s_significand.S: Likewise.
247 * sysdeps/libm-i387/s_significandf.S: Likewise.
248 * sysdeps/libm-i387/s_significandl.S: Likewise.
249 * sysdeps/libm-i387/s_sin.S: Likewise.
250 * sysdeps/libm-i387/s_sinf.S: Likewise.
251 * sysdeps/libm-i387/s_sinl.S: Likewise.
253 * sysdeps/libm-i387/e_log.S: Use fyl2xp1 instruction for values
254 near 1 to increase precision.
255 * sysdeps/libm-i387/e_log10.S: Likewise.
256 * sysdeps/libm-i387/e_log10l.S: Likewise.
257 * sysdeps/libm-i387/e_logl.S: Likewise.
259 * sysdeps/libm-i387/s_cos.S: Use testl instead of andw.
260 * sysdeps/libm-i387/s_cosl.S: Likewise.
261 * sysdeps/libm-i387/s_sin.S: Likewise.
262 * sysdeps/libm-i387/s_sinl.S: Likewise.
263 * sysdeps/libm-i387/s_tan.S: Likewise.
264 * sysdeps/libm-i387/s_tanl.S: Likewise.
266 * sysdeps/libm-i387/e_acosf.S: New file. Add float versions.
267 * sysdeps/libm-i387/e_asinf.S: Likewise.
268 * sysdeps/libm-i387/e_expf.S: Likewise.
269 * sysdeps/libm-i387/e_fmodf.S: Likewise.
270 * sysdeps/libm-i387/e_log10f.S: Likewise.
271 * sysdeps/libm-i387/e_logf.S: Likewise.
272 * sysdeps/libm-i387/e_scalbf.S: Likewise.
274 * sysdeps/libm-i387/e_acosh.S: New file. Highly optimized versions.
275 * sysdeps/libm-i387/e_acoshf.S: Likewise.
276 * sysdeps/libm-i387/e_acoshl.S: Likewise.
277 * sysdeps/libm-i387/e_atanh.S: Likewise.
278 * sysdeps/libm-i387/e_atanhf.S: Likewise.
279 * sysdeps/libm-i387/e_atanhl.S: Likewise.
280 * sysdeps/libm-i387/e_asinh.S: Likewise.
281 * sysdeps/libm-i387/e_asinhf.S: Likewise.
282 * sysdeps/libm-i387/e_asinhl.S: Likewise.
284 * sysdeps/libm-ieee754/s_asinhf.c: Tweak a bit. Use lower levels
285 for simplified handling.
287 * sysdeps/unix/sysv/linux/syscalls.list: Add query_module.
289 Sun Dec 22 01:39:29 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
291 * inet/rcmd.c (rcmd): Set h_errno before calling herror.
292 * inet/rexec.c (rexec): Likewise.
294 Sat Dec 21 21:47:08 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
296 * sysdeps/unix/sysv/linux/m68k/setjmp.c (__setjmp): Make it really
299 Sun Dec 22 03:23:33 1996 Ulrich Drepper <drepper@cygnus.com>
301 * sysdeps/libm-i387/s_log1p.S: Use fyl2xp1 for numbers in range
302 -0.29 <= x <= 0.29, otherwise the old method.
303 * sysdeps/libm-i387/s_log1pf.S: Likewise.
304 * sysdeps/libm-i387/s_log1pl.S: Likewise.
306 Sun Dec 22 00:01:27 1996 Ulrich Drepper <drepper@cygnus.com>
308 * inet/getnetgrent.c: Reformat copyright.
310 * inet/getnetgrent_r.c (__internal_endnetgrent): Correct comment.
311 (__internal_getnetgrent): Rename to __internal_getnetgrent_r as
312 required in change nis/nss_compat/* at Thu Dec 19 14:24:50 1996.
313 Reported by Thorsten Kukuk <kukuk@weber.uni-paderborn.de>.
315 * nss/nss_files/files-netgrp.c: Fix typo.
316 * login/utmp_db.c: Comment out unused variables.
317 * misc/tst-dirname.c: Provide prototype for main (for now).
318 * new-malloc/mcheck-init.c: Include <mcheck.h>.
319 * new-malloc/obstack.c: Provide real prototypes.
321 * resolv/base64.c (b64_ntop): Use size_t as type of `i', not int.
322 (b64_pton): Likewise for `tarindex'.
323 * resolv/nsap_addr.c (inet_nsap_addr): Add cast to prevent warning.
325 * stdio-common/Makefile: Add CFLAGS-vfprintf.c to prevent warning.
326 * stdio-common/printf-parse.h: Remove definition of MIN and MAX.
327 * stdio-common/printf-prs.c: Include <sys/param.h> to get MIN and MAX.
328 * stdio-common/vfprintf.c: Likewise.
329 * stdlib/gmp-impl.h: Only define MIN and MAX if not already done.
330 * stdlib/tst-strtol.c: Don't use -2147483648 as unsigned long value.
332 * sysdeps/generic/Makefile ($(subdir)=string): Define
333 CFLAGS-wordcopy.c to prevent warning.
334 * sysdeps/generic/mul_n.c (mpn_mul_n): Don't define as inline.
335 * sysdeps/generic/wordcopy.c: De-ANSI-declfy.
336 * sysdeps/i386/Makefile ($(subdir)=elf): Define CFLAGS-rtld.c
338 * sysdeps/i386/dl-machine.h: Correct copyright.
339 * sysdeps/unix/closedir.c: Likewise.
340 * sysdeps/unix/dirstream.h: Likewise.
341 * sysdeps/unix/opendir.c: Likewise.
342 * time/tzset.c: Add prototype for __tzset_internal.
344 * sysdeps/gnu/utmpbits.h (enum utlogin): Comment out since the
345 way it is supposed to work is not yet known.
346 (struct utmp): Remove ut_login and ut_syslen field for now.
348 Sat Dec 21 16:23:54 1996 Ulrich Drepper <drepper@cygnus.com>
350 * time/strftime.c: Fix another bug in handling flags made it
351 impossible to use the `-', `_', or `0' flag.
353 Sat Dec 21 04:14:16 1996 Ulrich Drepper <drepper@cygnus.com>
355 * sysdeps/unix/common/pause.c: Add missing second argument in
357 Reported by a sun <asun@zoology.washington.edu>.
359 * locale/weight.h: Correct handling of collation elements.
360 Reported by Keld Simonsen <keld@dkuug.dk>.
362 * manual/time.texi: Document ^ flag and %P format.
364 * new-malloc/malloc.c: Update from Wolfram Gloger.
366 * nss/nss.h: Reformat copyright.
367 * posix/sched.h: Likewise.
368 * sysdeps/i386/fpu_control.h: Likewise.
369 * sysdeps/unix/sysv/linux/fcntlbits.h: Likewise.
370 * sysdeps/unix/sysv/linux/ioctls.h: Likewise.
371 * sysdeps/unix/sysv/linux/sigcontext.h: Likewise.
372 * sysdeps/unix/sysv/linux/utsnamelen.h: Likewise.
373 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
374 * sysvips/sys/msg.h: Likewise.
376 * stdio-common/Makefile (routines): Remove fcloseall.
377 * stdio-common/fcloseall.c: Removed.
379 * stdlib/Makefile (distribute): Add abort-instr.h.
380 * sysdeps/generic/abort-instr.h: New file.
381 * sysdeps/i386/abort-instr.h: New file.
382 * sysdeps/generic/abort.c: Use lock and stage counter to prevent
385 * sysdeps/unix/sysv/linux/timebits.h: Define CLK_TCK as 100.
386 * sysdeps/unix/sysv/linux/alpha/timebits.h: Define CLOCKS_PER_SEC
387 as 1000000. Define CLK_TCK as 1024.
388 * time/time.c (CLK_TCK): Define only if not already set.
390 * time/strftime.c: Don't use `isdigit' when computing field width
391 from string since the locale might have more than one digit
394 Fri Dec 20 12:38:14 1996 Darrel Hankerson <hankedr@mail.auburn.edu>
396 * posix/getopt.c (in -W option handling): Return when optind == argc.
398 Thu Dec 19 14:24:50 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
400 * nis/nss_nis/nis-alias.c (_nss_nis_parse_aliasent): Add const to
403 * nis/nss_compat/compat-grp.c: Include the declaration of the file
405 * nis/nss_compat/compat-pwd.c: Likewise.
406 * nis/nss_compat/compat-spwd.c: Likewise.
407 * nis/nss_nis/nis-ethers.c: Likewise.
408 * nis/nss_nis/nis-grp.c: Likewise.
409 * nis/nss_nis/nis-network.c: Likewise.
410 * nis/nss_nis/nis-proto.c: Likewise.
411 * nis/nss_nis/nis-pwd.c: Likewise.
412 * nis/nss_nis/nis-rpc.c: Likewise.
413 * nis/nss_nis/nis-spwd.c: Likewise.
415 * nis/nss_compat/compat-grp.c (getgrent_next_nis,
416 getgrent_next_file): Pass the correct type for the buffer to the
418 * nis/nss_compat/compat-pwd.c (getpwent_next_netgr,
419 getpwent_next_nis, getpwent_next_file): Likewise.
420 * nis/nss_compat/compat-spwd.c (getspent_next_netgr,
421 getspent_next_nis, getspent_next_file): Likewise.
422 * nis/nss_nis/nis-ethers.c (internal_nis_getetherent_r,
423 _nss_nis_getethernam_r, _nss_nis_getetherbyaddr_r): Likewise.
424 * nis/nss_nis/nis-grp.c (internal_nis_getgrent_r,
425 _nss_nis_getgrnam_r, _nss_nis_getgrgid_r): Likewise.
426 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r,
427 _nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
428 * nis/nss_nis/nis-proto.c (internal_nis_getprotoent_r,
429 _nss_nis_getprotobyname_r, _nss_nis_getprotobynumber_r): Likewise.
430 * nis/nss_nis/nis-pwd.c (internal_nis_getpwent_r,
431 _nss_nis_getpwnam_r, _nss_nis_getpwuid_r): Likewise.
432 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r,
433 _nss_nis_getrpcbynumber_r): Likewise.
434 * nis/nss_nis/nis-spwd.c (internal_nis_getspent_r,
435 _nss_nis_getspnam_r): Likewise.
437 Thu Dec 19 13:37:16 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
439 * sysdeps/unix/sysv/linux/m68k/setjmp.c: New file.
441 Thu Dec 19 23:28:33 1996 Ulrich Drepper <drepper@cygnus.com>
443 * resolv/resolv.h: Update from BIND 4.9.5-P1.
444 * resolv/res_comp.c: Likewise.
445 * resolv/res_debug.c: Likewise.
446 * resolv/Banner: Update version number.
448 Thu Dec 19 20:58:53 1996 Ulrich Drepper <drepper@cygnus.com>
450 * elf/dlfcn.h: Add extern "C" wrapper.
452 * io/utime.h: Don't define NULL since this isn't allowed in POSIX.
453 * io/sys/stat.h: Declare `lstat' only if __USE_BSD ||
454 __USE_XOPEN_EXTENDED.
455 * locale/locale.h: Define NULL.
456 * math/math.c: Don't include <errno.h> to define math errors.
457 * stdlib/stdlib.h: Likewise.
458 * posix/unistd.h: Don't declare environ.
459 * posix/sys/utsname.h (struct utsname): Declare member domainname
460 as __domainname is !__USE_GNU.
461 * signal/signal.h: Declare size_t only if __USE_BSD ||
462 __USE_XOPEN_EXTENDED.
463 * stdio/stdio.h: Don't declare cuserid when __USE_POSIX, but
464 instead when __USE_XOPEN.
465 * string/string.h: Define strndup only if __USE_GNU.
466 * sysdeps/unix/sysv/linux/clock.c: New file.
467 * sysdeps/unix/sysv/linux/timebits.h: Define CLOCKS_PER_SEC as
468 1000000 per X/Open standard.
469 * features.h: Add code to recognize _POSIX_C_SOURCE value 199309.
470 Define __USE_POSIX199309.
471 * posix/unistd.h: Declare fdatasync only if __USE_POSIX199309.
472 * time/time.c: Declare nanosleep only if __USE_POSIX199309.
473 Patches by Rüdiger Helsch <rh@unifix.de>.
475 * locale/locale.h: Add declaration of newlocale and freelocale.
477 * new-malloc/Makefile (distibute): Add mtrace.awk.
478 (dist-routines): Add mcheck and mtrace.
479 (install-lib, non-lib.a): Define as libmcheck.a.
480 * new-malloc/malloc.h: Add declaration of __malloc_initialized.
481 * new-malloc/mcheck.c: New file.
482 * new-malloc/mcheck.h: New file.
483 * new-malloc/mtrace.c: New file.
484 * new-malloc/mtrace.awk: New file.
486 * posix/unistd.h: Correct prototype for usleep.
487 * sysdeps/unix/bsd/usleep.c: De-ANSI-declfy. Correct return type.
488 * sysdeps/unix/sysv/linux/usleep.c: Real implementation based on
491 * signal/signal.h: Change protoype of __sigpause to take two
492 arguments. Remove prototype for sigpause. Add two different
493 macros named sigpause selected when __USE_BSD or __USE_XOPEN
494 are defined. This is necessary since the old BSD definition
495 of theis function collides with the X/Open definition.
496 * sysdeps/posix/sigpause.c: Change function definition to also
497 fit X/Open definition.
499 * sysdeps/libm-i387/e_exp.S: Make sure stack is empty when the
501 * sysdeps/libm-i387/e_expl.S: Likewise.
504 1996-12-17 Paul Eggert <eggert@twinsun.com>
506 * many, many files: Spelling corrections.
507 * catgets/catgetsinfo.h (mmapped):
508 Renamed from mmaped (in struct catalog_info.status).
509 * mach/err_kern.sub (err_codes_unix), string/stratcliff.c (main):
510 Fix spelling in message.
511 * po/libc.pot: Fix spelling in message for `zic'; this anticipates
512 a fix in the tzcode distribution.
514 Wed Dec 18 15:48:02 1996 Ulrich Drepper <drepper@cygnus.com>
516 * time/strftime.c: Implement ^ flag to cause output be converted
517 to use upper case characters.
519 * time/zic.c: Update from ADO tzcode1996n.
521 Wed Dec 18 14:29:24 1996 Erik Naggum <erik@naggum.no>
523 * time/strftime.c (add): Don't change global `i' until all is over.
524 Define NULL is not already defined.
526 Tue Dec 17 09:49:03 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
528 * libio/iovsprintf.c (_IO_vsprintf): Change `&sf' to `&sf._sbf._f'
529 to avoid the need for a cast.
530 * libio/iovsscanf.c (_IO_vsscanf): Likewise.
532 Wed Dec 18 03:31:58 1996 Ulrich Drepper <drepper@cygnus.com>
534 * dirent/scandir.c: Undo change from Mon Dec 2 15:32:15 1996.
535 The stream is private and usages outside glibc don't care about
537 * io/fts.c: Likewise.
538 * io/ftw.c: Likewise.
539 * sysdeps/posix/getcwd.c: Likewise.
540 * sysdeps/posix/ttyname.c: Likewise.
541 * sysdeps/posix/ttyname_r.c: Likewise.
542 * sysdeps/posix/glob.c: Likewise.
544 * libio/iovsprintf.c: Add cast to prevent warning.
545 * libio/iovsscanf.c: Likewise.
547 * libio/libioP.h: Define mmap to __mmap and munmap to __munmap
548 to keep namespace clean.
550 * new-malloc/malloc.c: Update to last version from Wolfram Gloger.
551 Add hooks and check functions from old GNU malloc.
552 * new-malloc/malloc.h: Likewise.
554 * nis/ypclnt.c: Remove prototype for xdr_free.
555 * sunrpc/rpc/xdr.h: Add prototype for xdr_free.
557 * manual/nss.texi: Correct description of default values and don't
558 meantion NSS as an add-on.
560 * nss/grp-lookup.c: Provide default value as
561 "compat [NOTFOUND=return] files".
562 * nss/pwd-lookup.c: Likewise.
563 * nss/spwd-lookup.c: Likewise.
564 * nss/network-lookup.c: Correct default to
565 "dns [!UNAVAIL=return] files".
566 * nss/nsswitch.c: Change default-default value to "nis
567 [NOTFOUND=return] files" since compat is only available for group,
570 * stdlib/on_exit.c (on_exit): Rename to __on_exit and make old name
572 * stdlib/stdlib.h: Add prototype for __on_exit.
574 * sysdeps/unix/sysv/linux/schedbits.h: Add prototype for __clone.
576 * time/Makefile: Undo change from Sun Dec 8 06:56:49 1996.
577 The new malloc now has mcheck.
578 * time/ap.c: Likewise.
580 * time/tzset.c (__tzset): Rename to __tzset_internal.
581 (tzset): Rename to __tzset. Make tzset a weak alias for __tzset.
582 * time/localtime.c: Use __tzset_internal not __tzset.
583 * time/strftime.c [_LIBC]: Define tzname as __tzname and tzset
584 as __tzset to prevent namespace pollution.
586 * wctype/iswctype.h (icwctype): Rename to __iswctype. Make iswctype
587 a weak alias of __iswctype.
588 * wctype/wctype.h: Add prototype for __iswctype.
589 (iswalnum, iswalpha, iswcntrl, iswdigit, iswlower, iswgraph,
590 iswprint, iswpunct, iswspace, iswupper, iswxdigit, iswblank):
591 Use __iswctype for the test, not iswctype.
593 1996-12-16 Paul Eggert <eggert@twinsun.com>
595 * hurd/hurd/sigpreempt.h
596 (struct hurd_signal_preemptor.preemptor, _hurdsig_preemptors),
597 hurd/hurd/signal.h (struct hurd_sigstate.preemptors),
598 hurd/hurdfault.c, hurd/hurdfault.h (_hurdsig_fault_preemptor),
599 hurd/hurdsig.c (_hurdsig_preempters):
600 Renamed to fix spelling from `preempter' to `preemptor'.
603 1996-12-15 Paul Eggert <eggert@twinsun.com>
605 * ctime.c (ctime): Return asctime (localtime (t)), as the C
608 Tue Dec 17 02:05:48 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
610 * sysdeps/mach/libc-lock.h (__libc_lock_trylock): Invert return
611 value because Mach/cthreads uses the opposite convention from
614 Mon Dec 16 22:41:01 1996 Ulrich Drepper <drepper@cygnus.com>
616 * stdio-common/fcloseall.c: Correct test of already_called.
617 Reported by Thomas Bushnell, n/BSG.
619 Mon Dec 16 14:52:07 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
621 * mach/lock-intern.h (__mutex_try_lock): New function.
623 Sun Dec 15 16:33:44 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
625 * termios/sys/ttydefaults.h (TTYDEF_OFLAG): Only use OXTABS if
627 (CEOL, CSTATUS): Use _POSIX_VDISABLE if defined.
629 Sun Dec 15 11:56:19 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
631 * sysdeps/unix/sysv/linux/m68k/mremap.S: New file.
632 * sysdeps/unix/sysv/linux/m68k/Dist: Distribute it.
633 * sysdeps/unix/sysv/linux/m68k/Makefile (sysdep_routines): Add mremap.
635 Mon Dec 16 02:15:42 1996 Ulrich Drepper <drepper@cygnus.com>
637 Make sure tzset() sets always tzname[].
638 * time/tzfile.c: De-ANSI-declfy.
639 (find_transition): New function. Set tzname according to given time.
640 (__tzread_file): Use find_transition to set tzname.
641 (__tzfile_compute): Use find_transition instead of doing the work
643 * time/tzset.c (tzset): Set tzname[] directly only if !__use_tzfile.
645 Sun Dec 15 16:52:34 1996 Ulrich Drepper <drepper@cygnus.com>
647 * login/utmp-file.c (pututline_file): Open file if closed.
648 Reported by Roma Ekzhanov <ekzhanov@paragraph.com>.
649 Use fcntl instead of flock.
651 Sun Dec 15 14:20:51 1996 Ulrich Drepper <drepper@cygnus.com>
653 * manual/time.texi: Update documentation of strftime function.
655 Sun Dec 15 01:53:20 1996 Ulrich Drepper <drepper@cygnus.com>
657 * Makefile (subdirs): Change crypt to md5-crypt.
658 * crypt/Makefile, crypt/md5-crypt.c, crypt/md5.c, crypt/md5.h,
659 crypt/md5c-test.c, crypt/md5test.c: Move to new directory
661 * sysdeps/unix/sysv/linux/configure.in: Refer to linuxthreads and
662 crypt instead of LinuxThreads and des-crypt.
664 * Makefile (subdirs): Add nss back.
665 * sysdeps/unix/inet/Subdirs: Move nis to end of file to fulfill
668 * libio/iofclose.c: Implement fclose(NULL) as closing all streams.
669 * stdio-common/Makefile (routines): Add fcloseall.
670 * stdio-common/fcloseall.c: New file.
671 * sysdeps/generic/abort.c: Make implementation POSIX.1 compatible.
673 * sysdeps/mach/libc-lock.h: Add definition of __libc_lock_trylock.
674 * sysdeps/stub/libc-lock.h: Define __libc_lock_trylock to always
677 * stdio-common/printf.h: Define MIN and MAX only if not already
680 * stdio-common/vfprintf.c: Set errno to EBADF if stream does not
681 allow writing. Required by POSIX.1.
683 * libio/libioP.h (CHECK_FILE): Use MAYBE_SET_EINVAL instead of
686 * interp.c: Update copyright.
687 * libio/clearerr.c: Likewise.
688 * libio/ioseekoff.c: Likewise.
689 * libio/ioseekpos.c: Likewise.
690 * stdio/fclose.c: Likewise.
691 * stdio/fflus.c: Likewise.
693 * libio/libio.h [!_IO_MTSAFE_IO]: Define _IO_cleanup_region_start
694 and _IO_cleanup_region_end as empty.
695 * libio/fgetc.c: Use _IO_cleanup_region_start and
696 _IO_cleanup_region_end instead of __libc_cleanup_region_start and
697 __libc_cleanup_region_end.
698 * libio/fputc.c: Likewise.
699 * libio/freopen.c: Likewise.
700 * libio/fseek.c: Likewise.
701 * libio/getc.c: Likewise.
702 * libio/getchar.c: Likewise.
703 * libio/iofclose.c: Likewise.
704 * libio/iofflush.c: Likewise.
705 * libio/iofgetpos.c: Likewise.
706 * libio/iofgets.c: Likewise.
707 * libio/iofputs.c: Likewise.
708 * libio/iofread.c: Likewise.
709 * libio/iofsetpos.c: Likewise.
710 * libio/ioftell.c: Likewise.
711 * libio/iofwrite.c: Likewise.
712 * libio/iogetdelim.c: Likewise.
713 * libio/iogets.c: Likewise.
714 * libio/ioputs.c: Likewise.
715 * libio/iosetbuffer.c: Likewise.
716 * libio/iosetvbuf.c: Likewise.
717 * libio/ioungetc.c: Likewise.
719 * libio/iovspintf.c: Use cleanup handler to make sure no dangling
721 * libio/iovsscanf.c: Likewise.
723 * libio/genops.c: Use _IO_lock_init_recursive and _IO_lock_fini
724 instead of __libc_lock_init_recursive and __libc_lock_fini.
726 * libio/filedoalloc.c: Only use __isatty when compiling GNU libc.
727 Otherwise use isatty.
728 * libio/fileops.c: Likewise for __open and open.
730 * login/utmp_file.c (getutent_r_file): Use fcntl instead of
733 * nis/ypclnt.h: Add more casts to prevent warnings.
735 * nss/Makefile (services): Remove dns.
736 (libnss_dns, libnss_dns-inhibit-o): Remove definition.
737 ($(objpfx)libnss_dns.so): Removed.
738 * nss/nss_dns/dns-host.c, nss/nss_dns/dns-network.c: Moved to...
739 * resolv/nss_dns: ...here.
740 * resolv/Makefile (extra-libs): Add libnss_dns.
741 (libnss_dns-routines, libnss_dns-inhibit-o): Define as in
744 * nss/XXX-lookup.c: Call __nss_database_lookup with new argument
745 specifying alternate name for entry in /etc/nsswitch.conf
746 * nss/nsswitch.c: If no entry with primary name is found in
747 /etc/nsswitch.conf try alternate name if given.
748 * nss/nsswitch.h: Add new parameter in prototype for
749 __nss_database_lookup.
750 * nss/spwd-lookup.c: Provide alternative entry name to look for.
751 This makes our NSS compatible with Solaris' nsswitch.conf files.
753 * string/tst-strlen.c: Change all counting variables to type size_t
756 * sysdeps/posix/fpathconf.c: Update copyright.
757 * sysdeps/posix/pathconf.c: Don't call fpathconf to do the work.
758 Opening the file at this path may fail if it is a FIFO or pipe.
760 These changes make the time implementation POSIX.1 compliant.
761 * time/localtime.c (__localtime_r): Always call __tzset not only
762 if __tzset_run is zero.
763 * time/strftime.c: Add definition of memset_space to help to
764 reduce for systems which have memset.
765 (strftime): Don't use tm_zone member of argument for zone name.
766 Instead always use tzname[].
767 Call tzset() as required by POSIX.1 before any action.
768 * time/tzset.c (tzset): Set tzname[] as required by POSIX.1.
769 Remove global variable __tzset_run. __tzset is now called always
770 when a dependent function is used.
771 (__tzset): Caching happens based on the contents of the
772 environment variable TZ.
774 Fri Dec 13 01:06:52 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
776 * sysdeps/unix/sysv/linux/paths.h: Add _PATH_KLOG.
778 Thu Dec 12 09:16:35 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
780 * rellns-sh: Correctly handle a relative source file name.
782 Wed Dec 11 19:18:40 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
784 * login/utmp_file.c (setutent_file): Seek back to beginning of the
787 Thu Dec 12 16:39:12 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
789 * hurd/hurdinit.c (map0): Delete function. Don't do this on
791 * hurd/hurdstartup.c (_hurd_startup): Map page zero redzone here.
793 Thu Dec 12 03:32:21 1996 Ulrich Drepper <drepper@cygnus.com>
795 * libio/_G_config.h: Add definition of _G_int16_t, _G_int32_t,
796 _G_uint16_t, _G_uin32_t, _G_HAVE_BOOL, _G_HAVE_MMAP, and
799 Change libio buffer handling to allocate internal buffers using
801 * libio/filedoalloc.c (_IO_file_doallocate): Change call to
803 * libio/genops.c (_IO_setb, _IO_default_finish): Change call
805 (_IO_default_doallocate): Change call to ALLOC_BUF.
806 * libio/libioP.h: Change definition of ALLOC_BUF and FREE_BUF
807 to use mmap/munmap when possible.
808 * libio/memstream.c: Don't use ALLOC_BUF, but directly malloc.
809 * libio/vasprintf.c: Likewise.
812 * libio/libio.h: Define NULL as __null only for gcc-2.8 and up.
813 * libio/libioP.h: Likewise.
815 * libio/fileops.c (_IO_file_read, _IO_file_write): Don't
816 restart syscall when EINTR was returned. Necessary for POSIX.1.
818 * libio/strops.c (_IO_str_overflow): Add cast to prevent warning.
820 * new-malloc/malloc.c (heap_trim): Correctly place parentheses to
823 * nis/Makefile: Remove rules for bsd-tools which are not part
825 Patch by Thorsten Kukuk.
827 * nis/ypclnt.c: Add prototype for xdr_free.
828 Add const to first parameter for __yp_bind.
829 * nis/nss_compat/compat-pwd.c (getpwent_next_netgr, getpwent_next_nis,
830 getpwent_next_file): Variable `p2len' must have type size_t.
831 * nis/nss_nis/nis-alias.c: Add casts to prevent warnings.
832 * nis/nss_nis/nis-ethers.c: Likewise.
833 * nis/nss_nis/nis-grp.c: Likewise.
834 * nis/nss_nis/nis-hosts.c: Likewise.
835 * nis/nss_nis/nis-network.c: Likewise.
836 * nis/nss_nis/nis-proto.c: Likewise.
837 * nis/nss_nis/nis-pwd.c: Likewise.
838 * nis/nss_nis/nis-rpc.c: Likewise.
839 * nis/nss_nis/nis-service.c: Likewise.
840 * nis/nss_nis/nis-spwd.c: Likewise.
842 * nis/rpcsvc/yp_prot.h (ypreq_key): Change type of members to
844 (ypmaplist): Change member names to `map' and `next' and provide
845 #defines for old names.
846 Patch by Thorsten Kukuk.
848 * nss/nss_files/files-parse.c (parse_line, parse_list): Change
849 type for `datalen' parameter to size_t.
851 * shsdow/lckpwdf.c: Use fcntl forlocking, not flock.
853 * stdio-common/printf.c [USE_IN_LIBIO]: Provide alias _IO_printf
855 * stdio-common/sscanf.c [USE_IN_LIBIO]: Provide alias _IO_sscanf
859 * stdio-common/tmpfile.c: Update copyright.
861 * stdio-common/vfscanf.c: Correctly handle EINTR error from fgetc
863 Don't eat white space for `C' format.
865 * stdlib/tst-strtol.c [~0UL != 0xffffffff]: Fix typo in test data.
867 * sysdeps/generic/abort.c: Update copyright. De-ANSI-declfy.
868 * sysdeps/i386/abort.c: Removed. This version does not use
871 * sysdeps/i386/fpu/__math.h: Define __NO_MATH_INLINES if not using
875 * sysdeps/posix/tempname.c: Test for error but EEXIST after open
876 call. If EMFILE, ENFILE, or EINTR return with error.
878 Wed Dec 11 14:43:52 1996 Ulrich Drepper <drepper@cygnus.com>
880 * gnu-versions.h: Set _GNU_OBSTACK_INTERFACE_VERSION back to 1.
881 We are compatible again.
882 * new-malloc/obstack.h (struct obstack): Add back alloc_failed bit
883 even though it is not used.
884 * malloc/obstack.h: Likewise.
885 * new-malloc/obstack.c (_obstack_begin, _obstack_begin_1): Initialize
886 alloc_failed bit to 0.
888 * time/strftime.c: Extend for Emacs' needs. Recognize field width,
889 %P format and `0' modifier.
891 Tue Dec 10 21:20:44 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
893 * Makerules (make-link): Don't discard exit codes of intermediate
894 commands. Always use rellns-sh if symbolic links are available.
896 Tue Dec 10 20:09:51 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
898 * sysdeps/unix/sysv/linux/netinet/in.h: Enclose #include
899 <linux/in.h> in __BEGIN_DECLS/__END_DECLS to avoid linkage
900 conflict of ntohs etc. in <asm/byteorder.h>.
902 Wed Dec 11 01:04:30 1996 Ulrich Drepper <drepper@cygnus.com>
904 Add NIS NSS implementation.
905 * shlib-versions: Add versions for NIS libraries.
906 * sysdeps/unix/inet/Subdirs: Add nis.
907 * nis/Banner: New file.
908 * nis/Makefile: New file.
909 * nis/nss-nis.h: New file.
910 * nis/yp_xdr.h: New file.
911 * nis/ypclnt.h: New file.
912 * nis/ypupdate_xdr.c: New file.
913 * nis/nss_compat/compat-grp.c: New file.
914 * nis/nss_compat/compat-pwd.c: New file.
915 * nis/nss_compat/compat-spwd.c: New file.
916 * nis/nss_nis/nis-alias.c: New file.
917 * nis/nss_nis/nis-ethers.c: New file.
918 * nis/nss_nis/nis-grp.c: New file.
919 * nis/nss_nis/nis-hosts.c: New file.
920 * nis/nss_nis/nis-netgrp.c: New file.
921 * nis/nss_nis/nis-network.c: New file.
922 * nis/nss_nis/nis-proto.c: New file.
923 * nis/nss_nis/nis-publickey.c: New file.
924 * nis/nss_nis/nis-pwd.c: New file.
925 * nis/nss_nis/nis-rpc.c: New file.
926 * nis/nss_nis/nis-service.c: New file.
927 * nis/nss_nis/nis-spwd.c: New file.
928 * nis/rpcsvc/yp.h: New file.
929 * nis/rpcsvc/yp.x: New file.
930 * nis/rpcsvc/yp_prot.h: New file.
931 * nis/rpcsvc/ypclnt.h: New file.
932 * nis/rpcsvc/ypupd.h: New file.
934 * libio/_G_config.h: Define _G_HAVE_SYS_WAIT and _G_HAVE_PRINTF_FP.
936 * locale/C-numeric.c: Update copyright.
938 * locale/Makefile: Add rules to build libBrokenLocale.
939 * locale/broken_cur_max.c: New file.
940 * locale/mb_cur_max.c: Update copyright.
941 (__ctype_get_mb_cur_max): Make function weak.
943 * new-malloc/malloc.c: Correct copyright.
944 * new-malloc/thread-m.h: Correct key handling.
946 * shadow/lckpwdf.c: Update copyright.
947 (PWD_LOCKFILE): Change to /etc/.pwd.lock.
949 * stdlib/strtod.c: Add another assertion.
950 * stdlib/tst-strtod.c: Add another test case.
952 * sysdeps/generic/paths.h: Add _PATH_PRESERVE. Needed by nvi.
953 * sysdeps/unix/sysv/linux/paths.h: Likewise.
955 * sysdeps/gnu/utmpbits.h: Rename ut_addr field to ut_addr_v6.
956 ut_addr names a single element in ut_addr_v6.
958 * sysdeps/mach/hurd/xmknod.c: Remove alias from __mknod to mknod.
959 Patch by Thomas Bushnell, n/BSG.
961 Tue Dec 10 11:35:28 1996 Richard Henderson <rth@tamu.edu>
963 * sysdeps/alpha/strncmp.S: Fix aligned short truncated compare
966 * sysdeps/alpha/memchr.S: Don't read ahead, even if the load
967 did fit nicely into that delay slot (patch from David Mosberger-Tang).
969 Mon Dec 9 23:53:43 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
971 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Renamed from
973 (ttyname_r): New alias.
975 Tue Dec 10 02:17:31 1996 Ulrich Drepper <drepper@cygnus.com>
977 * stdio-common/printf_fp.c (__guess_grouping): Fix off by one
978 error in computation of number of groups.
979 Patch sent by Harald Schreiber <Harald.Schreiber@post.rwth-aachen.de>.
981 Tue Dec 10 01:50:07 1996 Ulrich Drepper <drepper@cygnus.com>
983 * version.h: Set version to 1.99.
985 * Make-dist (routines): Add malloc and new-malloc.
987 * Makeconfig: Allow Makefiles to set $(CPPFLAGS-$(<F)) and
988 $(CPPFLAGS-$(@F)) to be added to CPPFLAGS.
989 Same for $(CFLAGS-$(@F)) and CFLAGS.
991 * gmon/sys/gmon_out.h: Add __BEGIN_DECLS/__END_DECLS. Unify
993 * io/sys/poll.h: Likewise.
994 * sysdeps/stub/sys/ipb_buf.h: Likewise.
995 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Likewise.
996 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
997 * sysdeps/unix/sysv/linux/sys/ipc_buf.h: Likewise.
998 * sysdeps/unix/sysv/linux/sys/kdaemon.h: Likewise.
999 * sysdeps/unix/sysv/linux/sys/klog.h: Likewise.
1000 * sysdeps/unix/sysv/linux/sys/mman.h: Likewise.
1001 * sysdeps/unix/sysv/linux/sys/module.h: Likewise.
1002 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
1003 * sysdeps/unix/sysv/linux/sys/msq_buf.h: Likewise.
1004 * sysdeps/unix/sysv/linux/sys/param.h: Likewise.
1005 * sysdeps/unix/sysv/linux/sys/procfs.h: Likewise.
1006 * sysdeps/unix/sysv/linux/sys/ptrace.h: Likewise.
1007 * sysdeps/unix/sysv/linux/sys/reboot.h: Likewise.
1008 * sysdeps/unix/sysv/linux/sys/sem_buf.h: Likewise.
1009 * sysdeps/unix/sysv/linux/sys/shm_buf.h: Likewise.
1010 * sysdeps/unix/sysv/linux/sys/socketcall.h: Likewise.
1011 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
1012 * sysdeps/unix/sysv/linux/sys/sysctl.h: Likewise.
1013 * sysdeps/unix/sysv/linux/sys/sysinfo.h: Likewise.
1014 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Likewise.
1015 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
1016 * sysvipc/sys/sem.h: Likewise.
1017 * sysvipc/sys/shm.h: Likewise.
1019 * new-malloc/Makefile: Set CPPFLAGS-malloc.o.
1020 * new-malloc/malloc.c: Remove problem with 64 bits pointers.
1021 Add statistics for threads.
1022 * new-malloc/malloc.h: Likewise.
1023 * new-malloc/thread-m.h: Likewise.
1025 * time/strftime.c: Declare tzname if if HAVE_TZNAME is defined.
1027 * time/strptime.c: Update copyright.
1029 Mon Dec 9 14:51:10 1996 Ulrich Drepper <drepper@cygnus.com>
1031 * Make-dist: Make sure both malloc directories get distributed.
1033 Sun Dec 8 23:14:10 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1035 * libio/iogets.c (_IO_gets): Fix early returns to not leave the
1038 Sat Dec 7 22:08:09 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1040 * sysdeps/unix/sysv/linux/sys/module.h: Enclose declarations in
1041 __BEGIN_DECLS/__END_DECLS.
1043 Sat Dec 7 14:23:12 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1045 * login/utmp_file.c: Consistently set file_offset to the position
1046 after the entry just read.
1048 Mon Dec 9 03:39:30 1996 Ulrich Drepper <drepper@cygnus.com>
1050 * config.make.in (defines): Add @USE_NEW_MALLOC@.
1051 * Makefile.in: Define USE_NEW_MALLOC to -DUSE_NEW_MALLOC if
1052 we use the new malloc.
1054 * malloc.h: Use either <malloc/malloc.h> or <new-malloc/malloc.h>
1055 depending on USE_NEW_MALLOC.
1057 Fix some more POSIX.1 problems.
1058 * libio/fileops.c (_IO_file_underflow): Set errno to EBADF if used
1059 on a write-only stream.
1060 (_IO_file_overflow): Set errno to EBADF if used on a read-only
1062 (_IO_file_seekoff): POSIX.1 requires that fseek() after an fflush()
1063 call really positions the file offset to the correct position
1064 and no read-ahead happens.
1066 * locale/C-monetary.c: Set mon_grouping file to "" and "\377"
1067 to pass POSIX test suite.
1068 * stdio-common/vfprintf.c: Handle empty string as grouping command
1070 * stdlib/grouping.h: Likewise.
1072 * misc/syslog.c: Case first argument of __libc_cleanup_region_start.
1074 * signal/sigsetops.h: Update copyright. Don't include ansidecl.h.
1076 * stdio-common/printf_fp.c: Update copyright.
1078 Sun Dec 8 16:39:28 1996 Andreas Jaeger <aj@arthur.pfalz.de>
1080 * time/Makefile: Compile ap.c with NO_MCHECK flag if new-malloc
1081 used (not otherwise).
1083 Sun Dec 8 06:56:49 1996 Ulrich Drepper <drepper@cygnus.com>
1085 * io/getwd.c: Use PATH_MAX not LOCAL_PATH_MAX. Fix typo in
1087 * stdlib/canonicalize.c: Correct bugs in last change.
1090 * libio/Makefile (routines): Remove ioprims.
1091 (aux): Remove cleanup.
1092 Add IO_DEBUG option for .o files.
1093 * libio/cleanups.c: Removed.
1094 * libio/ioprims.c: Removed.
1095 * libio/filedoalloc.c: More updates from libg++-2.8b5.
1096 * libio/fileops.c: Likewise.
1097 * libio/genops.c: Likewise.
1098 * libio/iolibio.h: Likewise.
1099 * libio/iopopen.c: Likewise.
1100 * libio/iovsprintf.c: Likewise.
1101 * libio/iovsscanf.c: Likewise.
1102 * libio/libio.h: Likewise.
1103 * libio/libioP.h: Likewise.
1104 * libio/memstream.c: Likewise.
1105 * libio/strfile.h: Likewise.
1106 * libio/vasprintf.c: Likewise.
1107 * libio/vsnprintf.c: Likewise.
1109 * libio/stdio.h: Define P_tmpdir only is __USE_SVID.
1111 * manual/arith.texi: Change references to ANSI C to ISO C.
1112 * manual/conf.texi: Likewise.
1113 * manual/creature.texi: Likewise.
1114 * manual/ctype.texi: Likewise.
1115 * manual/errno.texi: Likewise.
1116 * manual/filesys.texi: Likewise.
1117 * manual/intro.texi. Likewise.
1118 * manual/io.texi: Likewise.
1119 * manual/lang.texi: Likewise.
1120 * manual/libc.texinfo: Likewise.
1121 * manual/locale.texi: Likewise.
1122 * manual/maint.texi: Likewise.
1123 * manual/mbyte.texi: Likewise.
1124 * manual/memory.texi: Likewise.
1125 * manual/process.texi: Likewise.
1126 * manual/process.texi: Likewise.
1127 * manual/search.texi: Likewise.
1128 * manual/setjmp.texi: Likewise.
1129 * manual/signal.texi: Likewise.
1130 * manual/startup.texi: Likewise.
1131 * manual/stdio.texi: Likewise.
1132 * manual/string.texi: Likewise.
1133 * manual/time.texi: Likewise.
1135 * manual/locale.texi: Remove description of LC_RESPONSE and add
1138 * Makefile (subdirs): Change malloc in $(malloc).
1139 * config.make.in: Add variable malloc which is initialized from
1141 * configure.in: Add new option --enable-new-malloc to use new
1142 malloc. This is the default on Linux.
1143 * sysdeps/unix/sysv/linux/configure.in: Define malloc to new-malloc
1145 * new-malloc/Makefile: New file. Improved malloc implementation.
1146 * new-malloc/malloc.c: Likewise.
1147 * new-malloc/malloc.h: Likewise.
1148 * new-malloc/mallocbug.c: Likewise.
1149 * new-malloc/obstack.c: Likewise.
1150 * new-malloc/obstack.h: Likewise.
1151 * new-malloc/thread-m.h: Likewise.
1152 * time/Makefile: Compile ap.c with NO_MCHECK flag for now.
1153 * time/ap.c: Don't call mcheck if NO_MCHECK is defined.
1155 * resolv/Makefile: Add rule to rebuiild libresolv.so when libc.so
1158 * stdio/feof.c: Update copyright.
1159 * stdio/stdio.h: Add field for lock to FILE structure.
1160 Add cast to *MAGIC constants to prevent warnings.
1162 * stdio-common/bug7.c: Correct test. Stream must not be closed
1165 * stdlib/Makefile (routines): Add secure-getenv.
1166 * stdlib/secure-getenv.c: New file. __secure_getenv function
1167 moved to here from sysdeps/generic/getenv.c. Otherwise an
1168 application cannot replace the getenv function in the libc.
1169 * sysdeps/generic/getenv.c: Remove __secure_getenv function.
1170 * sysdeps/stub/getenv.c: Remove __secure_getenv alias.
1172 * sysdeps/mach/libc-lock.h: Define__libc_mutex_lock to __mutex_lock.
1174 * sysdeps/posix/fdopen.c: Update copyright. Don't use EXFUN.
1176 * time/test-tz.c: Comment fifth test out. PROBLEM.
1178 * time/tzset.c: De-ANSI-declfy.
1179 (__tzset): Don't increment pointer tz when no DST information is
1182 * misc/syslog.c (vsyslog): Cast argument to __libc_cleanup_region
1183 to get Hurd macros right.
1185 Sat Dec 7 23:47:54 1996 Ulrich Drepper <drepper@cygnus.com>
1187 * sysdeps/mach/libc-lock.h [_LIBC]: Add definition of
1189 Patch by Thomas Bushnell.
1191 * sysdeps/unix/sysv/linux/timebits.h: Load <asm/param.h> only
1194 * sysdeps/unix/sysv/linux/Dist: Add llseek.c.
1196 Sat Dec 7 12:18:56 1996 Ulrich Drepper <drepper@cygnus.com>
1198 * time/strftime (%c format): Remove %Z from default string.
1199 Reported by Paul Eggert
1201 Sat Dec 7 03:24:36 1996 Ulrich Drepper <drepper@cygnus.com>
1203 * configure.in: Discard error message from test in test for
1206 * io/getwd.c: Don't apply getcwd on user supplied buffer.
1207 Instead always use temporary buffer and only copy the result.
1209 * stdlib/canonicalize.c: Likewise.
1211 * libio/fileops.c: Change comments according to libg++2.8b5.
1212 * libio/iosetvbuf.c: Follow change in libg++-2.8b5 to clear
1216 * manual/nss.texi: Correct prototypes.
1218 * misc/syslog.c: Make reentrant. Catch SIGPIPE signal to prevent
1219 crash if syslog daemon is restarted.
1221 * stdlib/rand_r.c: New file. Implementation of POSIX.2 function
1223 * stdlib/Makefile (routines): Add rand_r.
1225 * sysdeps/stub/libc-lock.h: Define __libc_lock_trylock and
1228 * configure.in: Add --disable-sanity-check option.
1229 * sysdeps/unix/sysv/linux/configure.in: If linuxthreads or
1230 des-crypt are not available and --disbale-sanity-check is not
1231 given abort with a message.
1233 Thu Dec 5 19:19:53 1996 Richard Henderson <rth@tamu.edu>
1235 * posix/glob.c: Tests against STDC_HEADERS should also test
1238 Thu Dec 5 16:20:55 1996 Ulrich Drepper <drepper@cygnus.com>
1240 * misc/err.c (vwarn): Set errno again before using %m format.
1242 Thu Dec 5 10:14:05 1996 Andreas Jaeger <aj@arthur.pfalz.de>
1244 * grp/grp.h: Add declaration of __getgrent_r.
1246 * io/fts.c (fts_build): Remove "register" from variables dirbuf
1247 and dp since their address is needed.
1249 * sysdeps/posix/getcwd.c (__getcwd): Remove "register" from
1250 variable d since d's address is needed.
1252 * misc/tst-dirname.c (main): Provide prototype.
1253 * misc/ioctltst.c (main): Dito.
1255 * Makefile: Add gnu/lib-names.h to install-others before including
1258 Wed Dec 4 16:00:09 1996 Ulrich Drepper <drepper@cygnus.com>
1260 * sysdeps/unix/sysv/linux/sys/socketvar.h: New file. Simply use
1262 * sysdeps/unix/sysv/linux/Dist: Add sys/socketvar.h.
1263 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=inet)]: Add
1264 sys/socketvar.h to sysdep_headers.
1266 Tue Dec 3 08:38:15 1996 Richard Henderson <rth@tamu.edu>
1268 * sysdeps/unix/alpha/sysdep.S: Remove definition of __errno_location.
1271 * elf/rtld.c (_dl_start): Don't dereference the value returned by
1272 elf_machine_got to get _DYNAMIC, instead call new function
1273 elf_machine_dynamic.
1274 * sysdeps/alpha/dl-machine.h: Permute elf_machine_got to
1275 elf_machine_dynamic. Reformat copyright.
1276 * sysdeps/i386/dl-machine.h: Likewise.
1277 * sysdeps/m68k/dl-machine.h: Likewise.
1278 * sysdeps/mips/dl-machine.h: Likewise.
1279 * sysdeps/sparc/dl-machine.h: Likewise.
1280 * sysdeps/stub/dl-machine.h: Likewise.
1282 Tue Oct 15 23:46:00 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1284 * MakeTAGS (sysdep_dirs): Include add-on sysdep directories.
1286 Tue Dec 3 02:06:18 1996 Ulrich Drepper <drepper@cygnus.com>
1288 * Makerules ($(libdir)/libc.so): Make first line of generated
1289 link script contain `/* GNU ld script'. This will be used in
1290 ldconfig to check for linker scripts.
1291 * sysdeps/mach/hurd/libc-ldscript: Likewise.
1292 * sysdeps/mach/hurd/libc_p-ldscript: Likewise.
1294 * stdlib/getsubopt.c: Update copyright. Correct typo in comment.
1296 Mon Dec 2 15:32:15 1996 Ulrich Drepper <drepper@cygnus.com>
1298 * elf/dl-lookup.c (_dl_lookup_symbol_skip): Remove unused variable
1301 * misc/ttyslot.c: Use ttyname_r instead of ttyname.
1303 * assert/assert-perr.c: Use __strerror_r instead of strerror.
1304 * assert/assert.c: De-ANSIdecl-fy. Update copyright.
1305 * string/string.h: Declare __strerror_r.
1306 * string/strerror_r.c: Make strerror_r a weak alias of __strerror_r.
1307 * stdio-common/vfprintf.c: Save current errno value on entry so
1308 that %m format finds the correct value.
1309 * io/getwd.c: Use __strerror_r instead of strerror.
1310 * misc/err.c (vwarn): Use %m printf format instead of explicitly
1312 * inet/rcmd.c: Likewise.
1313 * misc/error.c (error, error_at_line): Use __strerror_r instead
1314 of strerror when this function is available.
1316 * stdlib/rand.c: Update copyright and de-ANSI-declfy.
1317 * stdlib/random_r.c: Don't make srand_r weak alais of __srandom_r.
1318 * stdlib/stdlib.h: Define prototype for rand_r.
1320 * string/strfry.c: Update copyright. Use reentrant random functions.
1322 * dirent/scandir.c: Use __readdir_r instead of readdir.
1323 * posix/glob.c: Likewise.
1324 * sysdeps/posix/ttyname.c: Likewise.
1325 * sysdeps/posix/ttyname_r.c: Likewise.
1326 * io/ftw.c: Likewise.
1327 * io/fts.c: Likewise.
1328 * sysdeps/posix/getcwd.c: Likewise.
1329 * dirent/dirent.h: Add prototype for __readdir_r.
1330 * sysdeps/unix/readdir_r: Update copyright.
1332 * time/ctime.c: Use __localtime_r and __asctime_r instead of
1333 non reentrant versions.
1334 * time/ctime_r.c: Update copyright.
1336 * intl/l10nflist.c (_nl_make_l10nflist): Pretty print.
1338 * locale/Makefile (localepath): Correct value.
1340 * nss/nss_files/files-XXX.c: Include <netdb.h> to define
1342 Fix typo in using H_ERRNO_SET macro.
1344 Fri Nov 29 23:22:14 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1346 * Makerules (elfobjdir): Definition removed.
1347 * Makeconfig (elfobjdir): Define it here instead, so that
1348 expanding $(rpath-link) gets the right value.
1351 * misc/a.out.h: Moved to...
1352 * sysdeps/generic/a.out.h: ...here.
1353 * sysdeps/unix/sysv/linux/a.out.h: New file. Wrapper around
1356 Mon Dec 2 03:59:38 1996 Ulrich Drepper <drepper@cygnus.com>
1358 * grp/initgroups.c: Update and reformat copyright.
1359 Use __getgrent_r instead of getgrent.
1361 * inet/rcmd.c: Update and reformat copyright.
1362 Use __gethostbyname_r instead of gethostbyname.
1363 * inet/rexec.c: Likewise.
1365 * intl/finddomain.c: Correct comment about CEN sponsor and revision.
1366 * locale/findlocale.c: Likewise.
1367 * intl/l10nflist.c: Correct handling of CEN sponsor and revision.
1368 * locale/Makefile (CPPFLAGS): Add definition of LOCALEDIR.
1369 * locale/setlocale.c (setlocale): Correctly split value of
1371 * locale/programs/localedef.c: Use LOCALEDIR not LOCALE_PATH to
1372 find output directory.
1374 * nss/getXXbyYY.c [NEED_H_ERRNO]: Before enlarging buffer test
1375 h_errno_tmp variable.
1376 Save error value from being changed during `free' call.
1377 * nss/getXXent.c: Likewise.
1379 * nss/nss_files/files-XXX.c: Set h_errno variable to NETDB_INTERNAL
1380 before returning ERANGE error.
1382 * posix/glob.c: Use getlogin_r and getpwnam_r function when available
1385 * pwd/getpw.c: Use getpwuid_r instead of getpwuid.
1387 * sunrpc/clnt_gen.c: Use gethostbyname_r and getprotobyname_r.
1388 * sunrpc/clnt_simp.c: Likewise.
1389 * sunrpc/getrpcport.c: Likewise.
1390 * sysdeps/unix/sysv/linux/gethostid.c: Likewise.
1392 * posix/getconf.c: Treat _SC_UNIT_MAX and _SC_ULONG_MAX separately
1393 since the value might be outside the range of the `long int'.
1394 Print string `undefined' when a value is undefined.
1396 * stdlib/l64a.c: Return correct pointer.
1397 Patch by NIIBE Yutaka <gniibe@mri.co.jp>.
1399 * string/Makefile (routines): Add argz-addsep.
1400 * string/argz-addsep.c: New file.
1401 * string/argz.h: Add prototypes for argz_add_sep.
1403 * string/argz-ctsep.c: Prevent memory leak.
1405 * string/strcoll.c: Correct typo in comment.
1407 Sat Nov 30 02:53:59 1996 Ulrich Drepper <drepper@cygnus.com>
1409 * sysdeps/unix/sysv/linux/sys/serial.h: Removed again. The file is
1410 not general enough to be part of the libc.
1411 * sysdeps/unix/sysv/linux/Dist: Remove sys/serial.h.
1412 * sysdeps/unix/sysv/linux/Makefile: Don't install sys/serial.h.
1414 Thu Nov 28 20:04:41 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1416 * login/Makefile: Fix typo.
1418 * nss/Makefile (generated): Filter out db-alias.c.
1420 Thu Nov 28 14:44:01 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1422 * time/Makefile (echo-zonenames): Don't depend on non-existing
1425 Thu Nov 28 12:34:05 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1428 * nss/nsswitch.c: Use it.
1430 * printf.h: Fix file name.
1431 * stdlib/strfmon.c: Use it.
1433 Thu Nov 28 23:03:32 1996 Ulrich Drepper <drepper@cygnus.com>
1435 * sysdeps/unix/sysv/linux/netinet/in_systm.h: New file.
1436 * sysdeps/unix/sysv/linux/Dist: Add netinet/in_systm.h.
1437 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=inet] (sysdep_headers):
1438 Add netinet/in_systm.h.
1439 Reported by NIIBE Yutaka <gniibe@mri.co.jp>.
1441 Thu Nov 28 03:11:11 1996 Ulrich Drepper <drepper@cygnus.com>
1443 * libio/fileops.c: Update from latest libg++.
1445 * sysdeps/unix/sysv/linux/init-first.c: Reformat copyright.
1447 * sysdeps/stub/libc-lock.h: Add __libc_lock_init_recursive.
1448 * libio/genops.c (_IO_init): Use __libc_lock_init_recursive
1449 instead of __libc_lock_init for streams.
1450 Reported by a sun <asun@zoology.washington.edu>.
1452 * sysdeps/unix/sysv/linux/i386/brk.c: Reformat copyright.
1454 * sysdeps/generic/errno-loc.c: New file. Generic definition of
1455 __errno_location function.
1456 * sysdeps/unix/sysv/linux/i386/sysdep.S: Remove definition of
1458 * sysdeps/unix/sysv/linux/m68k/sysdep.S: Likewise.
1459 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=csu]: Add errno-loc
1462 * sysdeps/unix/sysv/linux/configure: Add test for linuxthreads
1463 and crypt add-on and warn if not available.
1465 Wed Nov 27 23:09:37 1996 Ulrich Drepper <drepper@cygnus.com>
1467 * po/ko.po: Update from Bang Jun-Young <bangjy@nownuri.nowcom.co.kr>.
1469 * sysdeps/unix/sysv/linux/syscalls.list: Remove _llseek.
1470 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=misc] (routines): Add
1472 * sysdeps/unix/sysv/linux/llseek.c: New file. Uses syscall.
1473 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add __sys_llseek.
1474 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Add __sys_llseek.
1475 Reported by HJ Lu <hjl@gnu.ai.mit.edu>.
1476 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add llseek.
1477 * sysdeps/unix/sysv/linux/alpha/llseek.S: Remove. Generic syscall
1479 Patch by Richard Henderson <rth@tamu.edu>.
1481 * sysdeps/unix/sysv/linux/alpha/sys/io.h: Add prototypes for
1482 pciconfig_read and pciconfig_write.
1483 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add new syscalls
1484 pciconfig_read and pciconfig_write.
1486 * login/getutent_r.c: Fix several bugs in last change.
1488 Wed Nov 27 06:10:10 1996 Ulrich Drepper <drepper@cygnus.com>
1490 * Makefile: Fix typo.
1492 * configure: Require autoconf-2.11.
1494 * elf/dl-deps.c: Terminate duplicate list.
1496 * libio/libio.h: Add prototypes for _IO_seekoff and _IO_seekpos.
1497 * libio/strfile.h: Update from current libg++.
1498 * libio/strops.c: Likewise.
1500 * login/Makefile (routines): Update after correction of reentrant
1502 * login/endutent.c: Removed.
1503 * login/endutent_r.c: Likewise.
1504 * login/pututline.c: Likewise.
1505 * login/pututline_r.c: Likewise.
1506 * login/setutent.c: Likewise.
1507 * login/setutent_r.c: Likewise.
1508 * login/getutent.c: Update for new interface.
1509 * login/getutent_r.c: Likewise.
1510 * login/getutid.c: Likewise.
1511 * login/getutid_r.c: Likewise.
1512 * login/getutline.c: Likewise.
1513 * login/getutline_r.c: Likewise.
1514 * login/login.c: Likewise.
1515 * login/logout.c: Likewise.
1516 * login/logwtmp.c: Likewise.
1517 * login/utmp.h: Likewise.
1518 * sysdeps/unix/getlogin.c: Likewise.
1519 * sysdeps/unix/getlogin_r.c: Likewise.
1520 * login/utmp-private.h: New private header.
1521 * login/utmp_db.c: Stub DB backend for utmp handler.
1522 * login/utmp_file.c: File backend for utmp handler.
1523 * sysdeps/gnu/utmpbits.h (struct utmp): Add some more fields.
1524 (enum utlogin): List of record types.
1525 (struct exit_status): Record to align with other implementations.
1527 * sysdeps/generic/paths.h: Add _PATH_UTMP_DB.
1528 * sysdeps/unix/sysv/linux/paths.h: Likewise.
1530 * sysdeps/generic/pty.c: Use getgrnam_r instead of getgrnam.
1532 * sysdeps/stub/getlogin.c: Update copyright.
1533 * sysdeps/stub/getlogin_r.c: Likewise.
1535 * nss/getXXbyYY_r.c: Use -1l for error-pointer value instead of -1.
1536 * nss/getXXent_r.c: Likewise.
1537 * nss/nsswitch.c: Likewise.
1539 * posix/Makefile (headers): Add wait.h.
1540 * posix/wait.h: New file.
1542 * posix/sys/types.h: Always define intN_t types.
1544 * stdio-common/Makefile: Update copyright.
1545 Use -Wno-format flag for scanf4.c and scanf7.c.
1547 * stdlib/stdlib.h: Reformat.
1549 Fri Nov 22 19:34:12 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1551 * sysdeps/posix/getcwd.c (__getcwd): After resizing the buffer
1552 move the current contents to the end and relocate file name
1553 pointer to upper half of the buffer.
1555 Sun Nov 24 04:56:19 1996 Ulrich Drepper <drepper@cygnus.com>
1557 * time/africa: Update from ADO tzdata1996m.
1558 * time/antarctica: Likewise.
1559 * time/asia: Likewise.
1560 * time/australia: Likewise.
1561 * time/etcetera: Likewise.
1562 * time/europe: Likewise.
1563 * time/nothamerica: Likewise.
1564 * time/southameria: Likewise.
1565 * time/zone.tab: Likewise.
1567 * sysdeps/unix/sysv/linux/sys/serial.h: New file.
1568 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=misc] (sysdep_headers):
1570 * sysdeps/unix/sysv/linux/Dist: Add sys/serial.h.
1572 * posix/wait.h: New file.
1573 * posix/Makefile (headers): Add wait.h.
1575 Sat Nov 23 17:27:52 1996 Roland McGrath <roland@gnu.ai.mit.edu>
1577 * Makeconfig ($(common-objpfx)soversions.mk): Use regular
1578 expression instead of shell pattern matching.
1579 * shlib-versions: Change to regular expressions.
1581 Sat Nov 23 13:24:55 1996 Ulrich Drepper <drepper@cygnus.com>
1583 * io/stat.c: Add section from libgcc to copyright comment
1584 to allow this file to be statically linked in applications.
1585 * io/fstat.c: Likewise.
1586 * io/lstat.c: Likewise.
1587 * io/mknod.c: Likewise.
1589 Fri Nov 22 15:14:23 1996 Ulrich Drepper <drepper@cygnus.com>
1591 * csu/initfini.c: Add section from libgcc to copyright comment
1592 to allow this file to be statically linked in applications.
1594 * malloc/obstack.h [!_LIBC && !HAVE_STRING_H]: Define memcpy if
1595 not already defined.
1596 (obstack_grow, obstack_grow0): Correct placement of braces.
1598 * gnu-versions.h (_GNU_OBSTACK_INTERFACE_VERSION): Define to 2.
1599 * malloc/obstack.c (OBSTACK_INTERFACE_VERSION): Define to 2.
1601 Thu Nov 21 19:54:51 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1603 * Makerules (make-link): Simplify by changing directory only if
1604 not using rellns-sh; check whether we really have symbolic links.
1606 * rellns-sh: Fix the case of $(dirname $2) being a prefix of
1607 $(dirname $1); use status of ln for exit code; make more robust
1608 against multiple slashes in a row.
1610 Thu Nov 21 13:05:21 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
1612 * configure.in (after AC_CANONICAL_HOST): mutate *-*-gnu* names
1614 * shlib-versions (gnu versions): Recognize *-*-gnu-gnu* instead of
1615 the three-part name, to distinguish correctly from *-*-linux-gnu*.
1617 * sysdeps/mach/hurd/Makefile ($(libdir)/libc.so): Depend on
1620 * sysdeps/mach/hurd/Makefile (install-others): Add
1622 ($(libdir)/libc_p.a): New rule.
1623 * sysdeps/mach/hurd/libc_p-ldscript: New file.
1624 * sysdeps/mach/hurd/Dist: Add libc_p-ldscript.
1626 Wed Nov 20 20:28:21 1996 Richard Henderson <rth@tamu.edu>
1628 * Makerules (make-link): Use $(shell) to find rellns-sh before we cd.
1629 * time/Makefile: Likewise.
1631 * sysdeps/alpha/elf/Makefile: New file. Build crtbegin.o & crtend.o.
1632 * sysdeps/alpha/elf/Dist: New file.
1633 * sysdeps/alpha/elf/crtbegin.S, sysdeps/alpha/elf/crtend.S: New files.
1634 The bits currently distributed with GCC fail in two ways -- they don't
1635 understand multiple .got subsections and the extents of the lists are
1636 dynamicly bound meaning that the application's lists get executed
1637 multiple times and the library's lists never get executed.
1639 Wed Nov 20 00:42:45 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1641 * stdlib/strtod.c: Fix previous change.
1643 Wed Nov 20 22:07:58 1996 Andreas Jaeger <aj@arthur.pfalz.de>
1645 * time/Makefile ($(installed-localtime-file)): Use $(..) to find
1648 Wed Nov 20 12:50:54 1996 Ulrich Drepper <drepper@cygnus.com>
1650 * stdio-common/Makefile: Add CFLAGS-scanf7.c to prevent warning.
1651 Likesie for scanf4.c
1653 Wed Nov 20 02:04:11 1996 Ulrich Drepper <drepper@cygnus.com>
1655 * sysdeps/unix/sysv/linux/sigsuspend.c: Make sigsuspend a weak
1656 alias of __sigsuspend.
1658 * grp/grp.h: Correct comment about POSIX compliance.
1659 * pwd/pwd.h: Likewise.
1661 * login/utmp.h: Update copyright and pretty-print prototypes.
1662 * sysdeps/generic/paths.h: Add _PATH_LASTLOG, _PATH_UTMP and
1663 _PATH_WTMP from utmpbits.h.
1664 * sysdeps/unix/sysv/linux/paths.h: Likewise.
1665 * sysdeps/generic/utmpbits.h: Remove here.
1666 * sysdeps/gnu/utmpbits.h: Likewise.
1668 * misc/sys/uio.h: Place __BEGIN_DECLS correctly.
1669 Pretty-print prototypes.
1671 * sysdeps/unix/sysv/linux/sparc/clone.S: New file. Taken from
1674 Tue Nov 19 13:43:07 1996 Richard Henderson <rth@tamu.edu>
1676 * inet/ether_hton.c: Include <string.h>.
1677 * inet/ether_ntoh.c: Likewise.
1678 * inet/rexec.c: Get errno, index, getpass, getlogin from headers.
1679 * misc/search.h: Fix hcreate_r argument type (unsigned -> size_t).
1681 * misc/sys/cdefs.h: Change __long_double_t definition from typedef
1682 to define. Jim Nance reports problems building XEmacs otherwise.
1684 * resolv/gethnamaddr.c: Protect h_errno redefinition.
1685 * resolv/getnetnamadr.c: Likewise.
1686 * resolv/herror.c: Likewise.
1688 * sysdeps/generic/sigset.h (__SIGSETFN): Operator ## doesn't work
1689 with -traditional. Reported by Eric Youngdale. While we're at this,
1690 don't do error checking in the __ functions. This is consistent
1691 with the sysv4 definitions and seems Right.
1692 * signal/signal.h: Don't __OPTIMIZE__ sigops to __ versions. Add
1693 prototype for __sigsuspend.
1694 * sysdeps/posix/sigblock.c: Optimize sigmask <-> sigset_t conversions
1695 for sigset_t == unsigned long. De-ansidecl-ify. Reformat copyright.
1696 * sysdeps/posix/sigpause.c: Likewise.
1697 * sysdeps/posix/sigsetmask.c: Likewise.
1698 * sysdeps/posix/sigvec.c: Likewise.
1699 * sysdeps/posix/sigintr.c: Reformat copyright.
1700 * sysdeps/posix/signal.c: Check signal number out of range since
1701 __sigismember doesn't anymore. Reformat copyright.
1702 * sysdeps/posix/sigwait.c: Use __ versions of sigfillset, sigismember,
1703 sigdelset, sigaction, and sigsuspend.
1705 * stdlib/drand48-iter.c (__drand48_iterate): Cast state fragments
1706 to the wider type before shifting.
1708 * sysdeps/alpha/bsd-_setjmp.S: Silence assembler warning "$at used
1709 without .set noat" in profiling hook.
1710 * sysdeps/alpha/bsd-setjmp.S: Likewise.
1711 * sysdeps/alpha/htonl.S: Likewise.
1712 * sysdeps/alpha/htons.S: Likewise.
1713 * sysdeps/alpha/s_copysign.S: Likewise.
1714 * sysdeps/alpha/setjmp.S: Likewise.
1715 * sysdeps/alpha/stpcpy.S: Likewise.
1716 * sysdeps/alpha/strcat.S: Likewise.
1717 * sysdeps/alpha/strcpy.S: Likewise.
1718 * sysdeps/alpha/strncat.S: Likewise.
1719 * sysdeps/unix/sysv/linux/alpha/brk.S: Likewise.
1720 * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
1721 * sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S: Likewise.
1722 * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Likewise.
1723 * sysdeps/unix/sysv/linux/alpha/llseek.S: Likewise.
1724 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S: Likewise. Rename
1725 function to __sigsuspend and add weak alias.
1726 * sysdeps/unix/sysv/linux/alpha/syscall.S: Likewise. Add missing END.
1728 * sysdeps/alpha/w_sqrt.S: Define _ERRNO_H so <errnos.h> defines EDOM.
1730 * sysdeps/unix/execve.S: Match PSEUDO_END symbol with the symbol
1731 SYSCALL__ actually generated.
1733 * sysdeps/unix/sysv/linux/errnos.h [_LIBC_REENTRANT]: Reflexively
1734 #define __set_errno, as several imported subsystems (eg. BIND) check
1735 that the symbol is defined.
1737 * sysdeps/unix/sysv/linux/getsysstats.c: Include <alloca.h>.
1739 * sysdeps/alpha/memcpy.S: Temporarily remove until I can find a bug
1740 that manifests in GCC.
1742 Tue Nov 19 11:10:05 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
1744 * sysdeps/posix/writev.c (writev): COUNT parm is now int.
1745 * sysdeps/posix/readv.c (readv): Likewise.
1747 Tue Nov 19 15:28:29 1996 Ulrich Drepper <drepper@cygnus.com>
1749 * nss/nss_dns/dns-network.c: Change return type of all functions
1751 Reported by NIIBE Yutaka.
1752 * nss/nss_dns/dns-host.c: Update copyright.
1754 Fri Nov 15 20:16:38 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1756 * config.make.in: Remove definition of top_absdir.
1757 * configure.in: Likewise. Use $(..) instead.
1758 * Makerules (make-link): Use $(..) to find rellns-sh script.
1760 Sat Nov 16 15:52:29 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1762 * manual/nss.texi (Name Service Switch): Fix reference to
1765 Fri Nov 15 22:08:33 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1767 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1770 Mon Nov 18 05:51:13 1996 Ulrich Drepper <drepper@cygnus.com>
1772 * sysdeps/generic/waitstatus.h (__WIFSIGNALED): Rename local
1773 variable from __stat to __status to prevent shadowing.
1774 * sunrpc/rpc/clnt.h (clntudp_create, clntudp_bufcreate): Likewise
1775 for parameter __wait.
1776 Reported by NIIBE Yutaka.
1778 Mon Nov 18 02:05:38 1996 Ulrich Drepper <drepper@cygnus.com>
1780 * misc/regexp.c: New file. Implementation of obsolete interface
1781 to regular expression matcher (required in XPG4.2).
1782 * misc/regexp.h: New file. Header for above.
1783 * misc/Makefile (headers): Add regexp.h.
1784 (routines): Add regexp.c.
1787 Sun Nov 17 21:50:24 1996 Andreas Jaeger <aj@arthur.pfalz.de>
1789 * stdlib/tst-strtod.c (main): Add arguments for main.
1790 * stdlib/tst-strtol.c (main): Likewise.
1792 Sun Nov 17 21:15:05 1996 Ulrich Drepper <drepper@cygnus.com>
1794 * configure.in: Substitute libc_cv_slibdir and libc_cv_sysconfdir
1796 * sysdepes/unix/sysv/linux/configure: Define libc_cv_slibdir to /lib
1797 and sysconfdir to /etc if $prefix is /usr.
1798 * config.make.in: Add slibdir, sysconfdir and BASH to be replaced.
1800 * elf/Makefile ($(objpfx)ldd): Install ldd.bash.in if
1801 $(have-bash2) is yes.
1802 * elf/ldd.bash.in: Add copyright and various cleanups.
1803 * elf/ldd.sh.in: Likewise.
1805 Implement RTLD_NEXT.
1806 * elf/dlfcn.h: Define RTLD_NEXT.
1807 * elf/dl-deps.c: Build second searchlist which contains duplicates.
1808 * elf/dl-lookup.c (_dl_lookup_symbol_skip): New function. Used
1809 for RTLD_NEXT lookup.
1810 Rewrite _dl_lookup_symbol to put common parts for both lookup
1811 functions in a separate function.
1812 * elf/dlsym.c: Handle RTLD_NEXT by calling _dl_lookup_symbol_skip.
1813 * elf/link.h (struct link_map): Add l_dupsearchlist and
1815 Add prototype for _dl_lookup_symbol_skip.
1817 * sunrpc/Makefile (rpcsvc): Add rusers.
1818 * sunrpc/rpcsvc/rnusers.x: Remove. Obsolteted by rusers.x.
1819 * sunrpc/rpcsvc/rusers.x: New file.
1821 Sun Nov 17 04:24:35 1996 Ulrich Drepper <drepper@cygnus.com>
1823 * stdio-common/vfprintf.c [USE_IN_LIBIO] (buffered_vfprintf): Call
1824 __libc_lock_init for local lock.
1825 Reported by a sun <asun@zoology.washington.edu>.
1826 [!USE_IN_LIBIO] (PAD): Optimize a bit.
1828 Sun Nov 17 03:13:57 1996 Ulrich Drepper <drepper@cygnus.com>
1830 * db/makedb.c: Update and reformat copyright.
1831 * elf/Makefile: Likewise.
1832 * elf/dl-close.c: Likewise.
1833 * elf/dl-debug.c: Likewise.
1834 * elf/dl-deps.c: Likewise.
1835 * elf/dl-error.c: Likewise.
1836 * elf/dl-fini.c: Likewise.
1837 * elf/dl-init.c: Likewise.
1838 * elf/dl-load.c: Likewise.
1839 * elf/dl-lookup.c: Likewise.
1840 * elf/dl-minimal.c: Likewise.
1841 * elf/dl-object.c: Likewise.
1842 * elf/dl-open.c: Likewise.
1843 * elf/dl-reloc.c: Likewise.
1844 * elf/dl-runtime.c: Likewise.
1845 * elf/dl-support.c: Likewise.
1846 * elf/dl-symbol.c: Likewise.
1847 * elf/dladdr.c: Likewise.
1848 * elf/dlclose.c: Likewise.
1849 * elf/dlerror.c: Likewise.
1850 * elf/dlopen.c: Likewise.
1851 * elf/dlsym.c: Likewise.
1852 * elf/do-rel.h: Likewise.
1853 * elf/dynamic-link.h: Likewise.
1854 * elf/eval.c: Likewise.
1855 * elf/rtld.c: Likewise.
1856 * inet/ether_hton.c: Likewise.
1857 * inet/ether_ntoh.c: Likewise.
1858 * inet/ether_line.c: Likewise.
1859 * inet/getnetgrent_r.c: Likewise.
1861 * inet/Makefile (+gccwarn): Remove definition.
1862 Instead set CFLAGS-rcmd.c, CFLAGS-rexec.c, and CFLAGS-ruserpass.c
1864 * inet/aliases.h: Add C++ protection.
1865 * inet/ether_hton.c: Add prototype for __nss_ethers_lookup.
1866 (ether_hostton): Remove unused variable result.
1867 * inet/ether_ntoh.c: Likewise.
1868 * inet/ether_line.c: Include <ctype.h> and <string.h>.
1869 * inet/getnetgrent_r.c: Include <stdlib.h>.
1870 Use casts to prevent warnings.
1871 (innetgr): Initialize `known' and `needed'.
1872 * inet/inet_net.c: Make local variable `i' of type u_int32_t.
1873 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)) [NEED__RES]: Don't
1874 return NULL. Instead set *RESULT to NULL and return -1.
1875 * nss/getXXent_r.c (INTERNAL (REENTRANT_GETNAME)): Likewise.
1876 (SETFUNC_NAME, ENDFUNC_NAME) [NEED__RES]: Don't return anything.
1878 * nss/nss_files/files-alias.c: Debug function. I didn't worked at
1881 Sat Nov 16 15:25:34 1996 Ulrich Drepper <drepper@cygnus.com>
1883 * sysdeps/posix/readv.c: Don't use PTR anymore.
1884 * sysdeps/posix/writev.c: Likewise.
1886 * version.h (VERSION): Bump to 1.98.
1888 * nss/db-Makefile: Generate lines for getXXXent iteration.
1890 * sysdeps/alpha/Dist: Don't distribute removed files divlu.S,
1891 divqu.S, remlu.S, and remqu.S.
1893 Fri Nov 15 08:55:54 1996 Andreas Jaeger <aj@arthur.pfalz.de>
1895 * posix/unistd.h: Correct typo in documentation.
1897 Thu Nov 14 18:08:14 1996 a sun <asun@zoology.washington.edu>
1899 * inet/netinet/tcp.h: Use __ protected versions instead of
1900 BYTE_ORDER, LITTLE_ENDIAN, and BIG_ENDIAN directly.
1902 Sat Nov 16 13:44:55 1996 Ulrich Drepper <drepper@cygnus.com>
1904 * intl/loadmsgcat.c (_nl_msg_cat_cntr): Initialize so that
1905 references in libc.so are not anymore undefined.
1907 Sat Nov 16 18:17:36 1996 NIIBE Yutaka <gniibe@mri.co.jp>
1909 * io/utime.h: Rename second parameter for utime to prevent warning
1911 * dirent/dirent.h: Same here for scandir prototype.
1912 * math/mathcalls.h: Likewise for frexp and ldexp.
1913 * sysdeps/unix/sysv/linux/netinet/in.h: Likewise for bindresvport.
1915 Sat Nov 16 03:49:27 1996 Ulrich Drepper <drepper@cygnus.com>
1917 * stdlib/tst-strtod.c: Add test for error case below.
1919 Sat Nov 16 03:48:39 1996 Wolfram Gloger <Wolfram.Gloger@dent.med.uni-muenchen.de>
1921 * stdlib/strtod.c: Recognize numbers like 0e-19.
1923 Fri Nov 15 08:38:43 1996 Andreas Jaeger <aj@arthur.pfalz.de>
1925 * time/Makefile ($(installed-localtime-file)): Fix path to
1928 * Makefile: Don't generate and install gnu/lib-names.h if
1929 $(build-shared) is not `yes'.
1931 Thu Nov 14 09:23:58 1996 H.J. Lu (hjl@gnu.ai.mit.edu)
1933 * sysdeps/posix/Makefile ($(common-objpfx)mk-stdiolim): Depend
1934 on $(..)posix/posix1_lim.h, not ../posix/posix1_lim.h.
1936 * Makerules (REAL_MAKE_VERSION): New, use it instead of
1939 Thu Nov 14 22:10:43 1996 Ulrich Drepper <drepper@cygnus.com>
1941 * nss/nss_files/files-XXX.x (_nss_files_get,ENTNAME_r): Fix typo.
1942 * nss/getXXent_r.c: Fix typo. Set correct return value when
1943 no further service is available.
1945 Thu Nov 14 17:48:13 1996 Ulrich Drepper <drepper@cygnus.com>
1947 * db/recno/rec_put.c: Add cast to avoid warning.
1948 * db/recno/rec_close.c: Likewise.
1949 * db/mpool/mpool.c: Likewise.
1950 * db/hash/hash_bigkey.h: Likewise.
1951 * db/hash/hash.c: Likewise.
1952 * db/btree/bt_split.c: Likewise.
1953 * db/btree/bt_put.c: Likewise.
1955 Thu Nov 14 14:11:44 1996 Ulrich Drepper <drepper@cygnus.com>
1957 * dirent/dirent.h: Update copyright.
1958 * elf/elf.h: Likewise.
1959 * elf/link.h: Likewise.
1960 * gmon/sys/gmon_out.h: Likewise.
1961 * gnu-versions.h: Likewise.
1962 * intl/libintl.h: Likewise.
1963 * io/fcntl.h: Likewise.
1964 * io/ftw.h: Likewise.
1965 * io/sys/statfs.h: Likewise.
1966 * io/utime.h: Likewise.
1967 * locale/langinfo.h: Likewise.
1968 * malloc/malloc.h: Likewise.
1969 * malloc/obstack.h: Likewise.
1970 * misc/ar.h: Likewise.
1971 * misc/error.h: Likewise.
1972 * misc/mntent.h: Likewise.
1973 * misc/sgtty.h: Likewise.
1974 * misc/sys/cdefs.h: Likewise.
1975 * misc/sys/dir.h: Likewise.
1976 * misc/sys/file.h: Likewise.
1977 * misc/sys/ioctl.h: Likewise.
1978 * misc/sys/ustat.h: Likewise.
1979 * posix/fnmatch.h: Likewise.
1980 * posix/getopt.h: Likewise.
1981 * posix/glob.h: Likewise.
1982 * posix/posix2_lim.h: Likewise.
1983 * posix/regex.h: Likewise.
1984 * posix/sys/times.h: Likewise.
1985 * posix/sys/types.h: Likewise.
1986 * posix/sys/utsname.h: Likewise.
1987 * posix/tar.h: Likewise.
1988 * posix/wordexp.h: Likewise.
1989 * resource/sys/resource.h: Likewise.
1990 * resource/sys/vlimit.h: Likewise.
1991 * resource/sys/vtimes.h: Likewise.
1992 * socket/sys/socket.h: Likewise.
1993 * socket/sys/un.h: Likewise.
1994 * stdio-common/printf.h: Likewise.
1995 * stdlib/alloca.h: Likewise.
1996 * string/argz.h: Likewise.
1997 * string/endian.h: Likewise.
1998 * string/envz.h: Likewise.
1999 * string/memory.h: Likewise.
2000 * string/strings.h: Likewise.
2001 * sysdeps/generic/crypt.h: Likewise.
2002 * sysdeps/generic/direntry.h: Likewise.
2003 * sysdeps/generic/gnu/types.h: Likewise.
2004 * sysdeps/generic/ioctl-types.h: Likewise.
2005 * sysdeps/generic/netinet/in.h: Likewise.
2006 * sysdeps/generic/resourcebits.h: Likewise.
2007 * sysdeps/generic/sigset.h: Likewise.
2008 * sysdeps/generic/sockaddrcom.h: Likewise.
2009 * sysdeps/generic/sys/mman.h: Likewise.
2010 * sysdeps/generic/sys/ptrace.h: Likewise.
2011 * sysdeps/generic/termbits.h: Likewise.
2012 * sysdeps/generic/waitstatus.h: Likewise.
2013 * sysdeps/ieee754/huge_val.h: Likewise.
2014 * sysdeps/ieee754/nan.h: Likewise.
2015 * sysdeps/mach/hurd/local_lim.h: Likewise.
2016 * sysdeps/mach/hurd/statbuf.h: Likewise.
2017 * sysdeps/stub/huge_val.h: Likewise.
2018 * sysdeps/stub/libc-lock.h: Likewise.
2019 * sysdeps/stub/signum.h: Likewise.
2020 * sysdeps/stub/statbuf.h: Likewise.
2021 * sysdeps/stub/waitflags.h: Likewise.
2022 * sysdeps/unix/bsd/bsd4.4/sockaddrcom.h: Likewise.
2023 * sysdeps/unix/bsd/osf/alpha/statbuf.h: Likewise.
2024 * sysdeps/unix/bsd/osf/sys/mman.h: Likewise.
2025 * sysdeps/unix/bsd/signum.h: Likewise.
2026 * sysdeps/unix/bsd/statbuf.h: Likewise.
2027 * sysdeps/unix/bsd/sun/signum.h: Likewise.
2028 * sysdeps/unix/bsd/sun/sunos4/resourcebits.h: Likewise.
2029 * sysdeps/unix/bsd/sun/sunos4/sys/mman.h: Likewise.
2030 * sysdeps/unix/bsd/sun/sunos4/termbits.h: Likewise.
2031 * sysdeps/unix/bsd/ultrix4/sys/mman.h: Likewise.
2032 * sysdeps/unix/bsd/waitflags.h: Likewise.
2033 * sysdeps/unix/sysv/irix4/signum.h: Likewise.
2034 * sysdeps/unix/sysv/irix4/statbuf.h: Likewise.
2035 * sysdeps/unix/sysv/irix4/sys/mman.h: Likewise.
2036 * sysdeps/unix/sysv/linux/alpha/statbuf.h: Likewise.
2037 * sysdeps/unix/sysv/linux/alpha/sys/io.h: Likewise.
2038 * sysdeps/unix/sysv/linux/direntry.h: Likewise.
2039 * sysdeps/unix/sysv/linux/gnu/types.h: Likewise.
2040 * sysdeps/unix/sysv/linux/ioctl-types.h: Likewise.
2041 * sysdeps/unix/sysv/linux/local_lim.h: Likewise.
2042 * sysdeps/unix/sysv/linux/netinet/in.h: Likewise.
2043 * sysdeps/unix/sysv/linux/resourcebits.h: Likewise.
2044 * sysdeps/unix/sysv/linux/signum.h: Likewise.
2045 * sysdeps/unix/sysv/linux/statbuf.h: Likewise.
2046 * sysdeps/unix/sysv/linux/sys/io.h: Likewise.
2047 * sysdeps/unix/sysv/linux/sys/klog.h: Likewise.
2048 * sysdeps/unix/sysv/linux/sys/mman.h: Likewise.
2049 * sysdeps/unix/sysv/linux/sys/ptrace.h: Likewise.
2050 * sysdeps/unix/sysv/linux/syscall.h: Likewise.
2051 * sysdeps/unix/sysv/linux/termbits.h: Likewise.
2052 * sysdeps/unix/sysv/local_lim.h: Likewise.
2053 * sysdeps/unix/sysv/sco3.2.4/syscall.h: Likewise.
2054 * sysdeps/unix/sysv/sco3.2/local_lim.h: Likewise.
2055 * sysdeps/unix/sysv/signum.h: Likewise.
2056 * sysdeps/unix/sysv/sysv4/i386/statbuf.h: Likewise.
2057 * sysdeps/unix/sysv/sysv4/signum.h: Likewise.
2058 * sysdeps/unix/sysv/sysv4/sigset.h: Likewise.
2059 * sysdeps/unix/sysv/sysv4/solaris2/signum.h: Likewise.
2060 * sysdeps/unix/sysv/sysv4/solaris2/statbuf.h: Likewise.
2061 * sysdeps/unix/sysv/sysv4/waitflags.h: Likewise.
2062 * sysdeps/vax/huge_val.h: Likewise.
2063 * values.h: Likewise.
2065 Thu Nov 14 04:22:41 1996 Ulrich Drepper <drepper@cygnus.com>
2067 * malloc/obstack.h: Use memcpy instead of bcopy and define a macro
2068 `memcpy' using bcopy if memcpy is not available.
2070 * manual/stdio.texi: Correct description of printf customization.
2071 The argument info function is not optional anymore and the
2072 interface for `printf_function' also changed.
2073 * manual/examples/rprintf.c: Define and use argument info function.
2075 * stdio-common/printf.h (struct printf_info): Change type for field
2077 Correct comment for `register_printf_function'.
2079 * nss/getXXbyYY.c [NEED_H_ERRNO]: Don't pass pointer to h_errno
2080 to reentrant function. Instead use temporary variable and set
2081 h_errno if an error occured.
2082 Reported by NIIBE Yutaka.
2084 Fri Nov 15 12:27:25 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
2086 * sysdeps/mach/hurd/statbuf.h (S_IPTRANS, S_IATRANS, S_IROOT,
2087 S_ITRANS): New macros.
2088 (S_ISPARE): Update to include new macros and S_IUSEUNK.
2090 * sysdeps/mach/hurd/select.c (__select): Construct arg to
2091 mach_msg_destroy more nicely.
2093 * sysdeps/mach/hurd/ioctl.c: Include <mach/mig-support.h>.
2095 * stdio/fopen.c (__getmode): Declare with prototype.
2096 * stdio/memstream.c (enlarge_buffer, seek, free_info): Likewise.
2097 * stdio/internals.c (__stdio_check_funcs, init_stream,
2098 seek_to_target, flushbuf, fillbuf): Likewise.
2100 * stdio-common/vfscanf.c (encode_error) [! USE_IN_LIBIO]: Call
2101 funlockfile, not _IO_funlockfile.
2103 * sysdeps/posix/readv.c (readv): Change return type to ssize_t.
2105 * sysdeps/posix/writev.c (writev): Likewise.
2107 * sysdeps/mach/hurd/lchown.c: Include <fcntl.h> and fix typo.
2109 Thu Nov 14 12:53:16 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
2111 * sysdeps/mach/hurd/i386/init-first.c (_dl_start): Make this a
2112 prototyped definition.
2114 * sysdeps/mach/hurd/select.c (__select): Deal properly when there
2115 are no bits set in the masks. Reported by baldazzi@csr.unibo.it.
2117 Thu Nov 14 02:00:33 1996 Ulrich Drepper <drepper@cygnus.com>
2119 * inet/Makefile (headers): Add aliases.h.
2120 (routines): Add getaliasent_r, getaliasent, getaliasname, and
2122 * aliases.h: New file.
2123 * inet/aliases.h: New file.
2124 * inet/getaliasent.c: New file.
2125 * inet/getaliasent_r.c: New file.
2126 * inet/getaliasname.c: New file.
2127 * inet/getaliasname_r.c: New file.
2128 * nss/Makefile (databases): Add alias.
2129 * nss/alias-lookup.c: New file.
2130 * nss/databases.def: Add aliases and publickey.
2131 * nss/nss_db/db-alias.c: New file.
2132 * nss/nss_files/files-alias.c: New file.
2134 * inet/getnetgrent_r.c (__internal_getnetgrent): Buffer length
2135 argument to lookup function is of type size_t.
2136 (innetgr): Likewise.
2137 * nss/getXXbyYY_r.c: Likewise.
2138 * nss/getXXent_r.c: Likewise.
2139 * nss/nss_db/db-XXX.c: Likewise.
2141 * nss/getXXbyYY.c: Don't provide static buffer. Resize if call
2142 failed because buffer was too small.
2143 * nss/getXXent.c: Likewise.
2145 * nss/nss_files/files-XXX.c: Correct handling of shared file. The
2146 getXXent_r function now uses f[gs]etpos to get to the correct
2149 * nss/nss_files/files-parse.c: Indent lines for better readability.
2151 * malloc/obstack.c: Add new variable obstack_alloc_failed_handler
2152 and new function print_and_abort. Remove all references to
2154 Add new function _obstack_memory_used.
2155 * malloc/obstack.h (struct obstack): Remove field alloc_field.
2156 Remove all references to alloc_failed field.
2157 Add prototype for _obstack_memory_used.
2159 * posix/unistd.h: Correct typo.
2161 Wed Nov 13 03:09:16 1996 Ulrich Drepper <drepper@cygnus.com>
2163 * configure.in: Require at least autoconf-2.10.2.
2165 Tue Nov 12 16:58:41 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
2167 * mach/mach.h (__mach_msg_destroy, mach_msg_destroy, __mach_msg):
2170 * mach/msg-destroy.c (mach_msg_destroy_port,
2171 mach_msg_destroy_memory): Use prototype syntax.
2172 * hurd/hurdmalloc.c (more_memory, malloc_fork_prepare,
2173 malloc_fork_parent, malloc_fork_child): Likewise.
2175 * stdio/stdio.h: Repair broken cpp syntax.
2177 * sysdeps/mach/hurd/lchown.c: New file. Guts from chown.c, except
2178 we pass O_NOLINK on the open.
2180 * manual/errno.texi (EBADMSG, EIDRM, EMULTIHOP, ENODATA, ENOLINK,
2181 ENOMSG, ENOSR, ENOSTR, EOVERFLOW, EPROTO, ETIME): Redesignate as
2182 an XOPEN error code, move to before the "Linux only" section, and
2183 give it a new number for the Hurd.
2185 Tue Nov 12 03:35:01 1996 Christian von Roques <roques@pond.sub.org>
2187 * malloc/obstack.h: Add new macro `obstack_make_room'.
2188 * malloc/obstack.c: Add function implementation for
2189 `obstack_make_room'.
2191 Mon Nov 11 13:54:04 1996 Ulrich Drepper <drepper@cygnus.com>
2193 Update to BIND-4.9.5-REL.
2194 * resolv/Banner: Set to 4.9.5-REL.
2195 * resolv/inet_net_pton.c: Was doing bad things to subnets and b'casts.
2196 * resolv/res_debug.c (__fp_nquery): Could read past end of buffer.
2199 * config.make.in: Add definition for top_absdir.
2200 * Makerules (make-link): Fix path to rellns-sh script.
2202 Sat Nov 9 02:15:24 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2204 * posix/unistd.h: Fix comment.
2206 * manual/arith.texi: Fix misspellings. Use `zero', not `null',
2207 when talking about numbers.
2208 * manual/users.texi: Likewise.
2209 * manual/creature.texi: Likewise. Use @defvarx for a secondary
2212 Sat Nov 9 19:25:11 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2214 * sysdeps/posix/Makefile ($(common-objpfx)mk-stdiolim): Depend on
2215 the real posix1_lim.h file so that it works in all subdirs, not
2218 Sat Nov 9 02:08:34 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2220 * Makefile ($(includedir)/gnu/lib-names.h): Quote arguments of tr.
2222 Sat Nov 9 02:06:17 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2224 * sysdeps/unix/Makefile ($(common-objpfx)s-proto.d): Don't depend
2225 on $(before-compile) which hasn't been properly setup yet at this
2228 Sat Nov 9 02:02:48 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2230 * sysdeps/generic/sigset.h: Don't use implicit int which will
2231 probably require a diagnostic in the next revision of the C
2233 * sysdeps/stub/lockfile.c: Likewise.
2235 Sat Nov 9 01:57:17 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2237 * sysdeps/unix/sysv/linux/m68k/syscall.S: Correct last change.
2238 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
2240 Mon Nov 11 02:53:14 1996 Ulrich Drepper <drepper@cygnus.com>
2242 * time/strftime.c: Update copyright. Small cosmetic changes.
2244 Sun Nov 10 23:28:16 1996 Ulrich Drepper <drepper@cygnus.com>
2246 * inet/getprtname_r.c: Reformat copyright.
2248 * nss/Makefile (databases): Add key.
2249 (libnss_files-routines): Exclude key database.
2250 (libnss_db-routines): Likewise.
2251 * nss/key-lookup.c: New file.
2253 * nss/getXXent_r.c (last_nip): Remember last service used since
2255 (SETFUNC): Don't force to work through whole list of services in
2257 Update last_nip if necessary.
2258 (ENDFUNC): Only process endXXent function up to currently used
2260 (GETFUNC): Update last_nip if necessary.
2262 * nss/nss_files/files-netgrp.c (_nss_netgroup_parseline): Don't
2265 * rpc/auth_des.h: New file.
2266 * sunrpc/Makefile (headers): Add auth_des.h.
2267 (routines): Add publickey.
2268 * sunrpc/publickey.c: New file. Interface to public key handling.
2269 * sunrpc/rpc/auth_des.h: New file.
2270 * sunrpc/rpc/netdb.h: Really include <rpc/auth_des.h>.
2272 Sun Nov 10 02:37:15 1996 Ulrich Drepper <drepper@cygnus.com>
2274 * inet/gethstent_r.c: Update copyright.
2275 * nss/getXXbyYY_r.c: Likewise.
2276 * nss/nsswitch.c: Likewise.
2277 * nss/getXXent_r.c: Likewise.
2278 * nss/nss_files/files-XXX.c: Likewise.
2279 * nss/nss_files/files-netgroup.c: Likewise.
2280 * nss/nss_files/files-parse.c: Likewise.
2282 * nss/getXXent_r.c: Change implementation. It's not necessary to
2283 call all setXXent functions. Just find first available and
2284 when necessary let getXXent_r call the others.
2286 * nss/nss_files/files-XXX.c: Make really reentrant. Now calls
2287 of getXXent and getXXbyYY can be mixed. The cursor for traversing
2288 the database with getXXent will be remembered.
2290 * stdlib/test-canon.c (cwd): Change size to PATH_MAX.
2292 Sat Nov 9 15:34:48 1996 Ulrich Drepper <drepper@cygnus.com>
2294 * sysdeps/unix/sysv/linux/Dist: Add sys/mtio.h.
2295 * sysdeps/unix/sysv/linux/sys/mtio.h: New file.
2297 * signal/signal.h [__USE_BSD]: Add prototype for siggetmask.
2299 Fri Nov 8 13:29:30 1996 Ulrich Drepper <drepper@cygnus.com>
2301 * ctype/ctype.h (__isascii): Don't test for seventh bit not to be
2302 set. Instead for none beside the first seven bits to be set.
2303 X/Open allows the argument to be an `int' value.
2304 Reported by Alain Williams <addw@phcomp.co.uk>.
2305 (toascii, isascii): Define macro also when __USE_XOPEN.
2307 * sysdeps/posix/fpathconf.c: Use fstatfs to compute NAME_MAX, not
2310 Thu Nov 7 03:04:29 1996 Ulrich Drepper <drepper@cygnus.com>
2312 * nss/getXXXent_r.c (SETFUNC_NAME): Reset `nip' after loop to
2313 NULL so that GETFUNC will see first entry.
2314 (ENDFUNC_NAME): Likewise.
2316 Rewrite Netgroups implementation to avoid global data.
2317 * inet/netgroup.h: Add definition of name_list and struct
2319 Add prototypes for internal netgroup functions.
2320 * nss/nss_files/files-netgroup.c (_nss_files_setnetgrent): Take
2321 extra argument and use the included data instead of global vars.
2322 (_nss_files_endnetgrent): Likewise.
2323 (_nss_netgroup_parseline): Change to be static and use data
2324 included in the RESULT structure.
2325 * inet/getnetgrent_r.c (startp): Move into setup function.
2326 (known_groups, needed_groups): new part of the __netgrent sruct.
2327 (freememory): Take extra argument and use included data.
2328 (__internal_endnetgrent): Likewise.
2329 (internal_setnetgrent): Renamed to __internal_setnetgrent_reuse
2330 and take extra argument.
2331 (__internal_setnetgrent): New function. Call
2332 __internal_setnetgrent_reuse after calling free_memory.
2333 (setnetgrent): Only call __internal_setnetgrent.
2334 (__getnetgrent_r): Split into two functions. __getnetgrent_r
2335 calls __internal_getnetgrent after locking.
2336 (innetgr): Use dynamic data only. I.e., innetgr now is fully
2339 Thu Nov 7 00:15:14 1996 Ulrich Drepper <drepper@cygnus.com>
2341 * sysdeps/stub/setenv.c: Correct typo: unseenv -> unsetenv.
2342 Reported by Joshua Cowan <jcowan@jcowan.reslife.okstate.edu>.
2344 Wed Nov 6 13:13:37 1996 Ulrich Drepper <drepper@cygnus.com>
2346 * manual/creature.texi: Document that _GNU_SOURCE is no longer the
2347 default when no *_SOURCE macro is given.
2348 Reported by Karsten Weiss <karsten@addx.au.s.shuttle.de>.
2349 * NOTES: remade from manual/creature.texi.
2350 * manual/libc.texinfo: Add back line about GPL translation which
2353 * Make-dist (dist.tar): Depend on README being updated.
2355 * rellns-sh: Correct thinko in removing leading /.
2356 Reported by Andreas Jaeger <aj@arthur.pfalz.de>.
2358 * pwd/fgetpwent_r.c: Recognize lines containing only names starting
2359 with `+' or `-' in parser.
2360 * grp/fgetgrent_r.c: Likewise.
2361 * shadow/sgetspent_r.c: Likewise.
2362 * nss/nss_files/files-spwd.c: Don't accept entries starting with
2365 Wed Nov 6 04:30:26 1996 Ulrich Drepper <drepper@cygnus.com>
2367 * sysdeps/unix/sysv/linux/syscalls.list: Add weak alias llseek for
2368 _llseek syscall. Reported by Andy Sewell <puck@pookhill.demon.co.uk>.
2370 * string/argz.h: Don't protect by __USE_GNU.
2372 Tue Nov 5 23:38:28 1996 Ulrich Drepper <drepper@cygnus.com>
2374 * Lots of files: Update and reformat copyright.
2376 * Makefile (headers): Add xopen_lim.h.
2378 * catgets/nl_types.h: Move __BEGIN_DECLS before definition of nl_catd.
2380 * grp/grp.h: Define setgrent, getgrent, endgrent, and getgrent_r
2381 if __USE_XOPEN_EXTENDED is defined.
2382 * pwd/pwd.h: Define setpwent, getpwent, endpwent, and getpwent_r
2383 if __USE_XOPEN_EXTENDED is defined.
2385 * io/Makefile (routines): Add lchown.
2386 * sysdeps/stub/lchown.c: New file.
2388 * io/sys/poll.h: Add definition of POLLWRNORM.
2390 * io/sys/stat.h: Declare lstat, fchmod, mknod when
2391 __USE_XOPEN_EXTENDED is defined.
2393 * libio/Makefile (routines): Add obprintf.
2394 * libio/obprintf.c: New file.
2395 * libio/iolibio.h: Add prototypes for _IO_obstack_vprintf and
2397 * libio/libio.h: Fix typo.
2398 * libio/stdio.h: Declare tempnam if __USE_XOPEN_EXTENDED is defined.
2399 Add prototypes for obstack_vprintf and obstack_printf.
2401 * manual/creature.texi: Describe _XOPEN_SOURCE macro.
2402 * manual/intro.texi: Add reference to NSS chapter.
2403 * manual/libc.texinfo: Update UPDATED.
2404 Comment out `@printindex cp'. It works again.
2405 * manual/memory.texi: Add description for obstack_ptr_grow,
2406 obstack_int_grow, obstack_ptr_grow_fast, and obstack_int_grow_fast.
2407 * manual/nss.texi: Add a few @cindex entries and change NSS_STATUS_*
2408 index entries to @vindex.
2409 * manual/users.texi: Correct @cindex entry for Netgroup.
2411 * math/mathcalls.h: Use __USE_XOPEN and __USE_XOPEN_EXTENDED to
2412 make declarations visible for X/Open sources.
2414 * misc/search.h: Declare insque/remque only is __USE_SVID or
2415 __USE_XOPEN_EXTENDED is defined.
2417 * misc/sys/uio.h (readv, writev): Change return value from int to
2420 * posix/Makefile (headers): Add re_comp.h.
2421 * posix/re_comp.h: New file. XPG interface to regex functions.
2423 * posix/getconf.c: Add all names from XPG4.2.
2424 * posix/posix1_lim.h: Increase minimum values for _POSIX_CHILD_MAX
2425 and _POSIX_OPEN_MAX to minimums from XPG4.2.
2426 * sysdeps/generic/confname.h: Add all _SC_* names from XPG4.2.
2427 * sysdeps/posix/sysconf.c: Handle new _SC_* values.
2428 * sysdeps/stub/sysconf.c: Likewise.
2430 * posix/unistd.h: Add declaration of ualarm and lchown. Declare
2431 usleep, fchown, fchdir, nice, getpgid, setsid, getsid, setreuid,
2432 setregid, vfork, ttyslot, symlink, readlink, gethostid, truncate,
2433 ftruncate, getdtablesize, brk, sbrk, lockf when
2434 __USE_XOPEN_EXTENDED is defined.
2436 * posix/sys/wait.h: Declare wait3 if __USE_XOPEN_EXTENDED is defined.
2438 * shadow/shadow.h: Define SHADOW using _PATH_SHADOW.
2439 * sysdeps/generic/paths.h: Define _PATH_SHADOW.
2440 * sysdeps/unix/sysv/linux/paths.h: Likewise.
2442 * signal/signal.h: Declare killpg, sigstack and sigaltstack when
2443 __USE_XOPEN_EXTENDED is defined.
2445 * stdio/stdio.h: Declare tempnam when __USE_XOPEN is defined.
2447 * stdlib/stdlib.h: Make rand48 functions available when __USE_XOPEN
2449 Likewise for valloc, putenv, realpath, [efg]cvt*, and getsubopt
2452 * string/string.h: Make memccpy, strdup, bcmp, bcopy, bzero, index,
2453 and rindex available when __USE_XOPEN_EXTENDED is defined.
2455 * sysdeps/mach/getpagesize.c: De-ANSI-fy. Change return type to int.
2456 * sysdeps/posix/getpagesize.c: Likewise.
2457 * sysdeps/stub/getpagesize.c: Likewise.
2458 * sysdeps/unix/getpagesize.c: Likewise.
2460 * time/africa: Update from tzdata1996l.
2461 * time/asia: Likewise.
2462 * time/australia: Likewise.
2463 * time/europe: Likewise.
2464 * time/northamerica: Likewise.
2465 * time/pacificnew: Likewise.
2466 * time/southamerica: Likewise.
2467 * time/tzfile.h: Update from tzcode1996m.
2469 * time/time.h: Declare strptime if __USE_XOPEN.
2470 Declare daylight and timezone also if __USE_XOPEN.
2472 * time/sys/time.h: Remove declaration of ualarm.
2474 * wctype/wctype.h: Just reference ISO C standard.
2476 Tue Nov 5 01:26:32 1996 Richard Henderson <rth@tamu.edu>
2478 * crypt/Makefile: Add crypt routines to libc as well iff
2479 $(crypt-in-libc) is set. Do this for temporary binary compatibility
2480 on existing Linux/Alpha installations.
2482 * stdlib/div.c, sysdeps/generic/div.c: Move file to .../generic/.
2483 * stdlib/ldiv.c, sysdeps/generic/ldiv.c: Likewise.
2484 * stdlib/lldiv.c, sysdeps/generic/lldiv.c: Likewise.
2485 * sysdeps/alpha/Makefile (divrem): Add divlu, dviqu, remlu, and
2487 * sysdeps/alpha/div.S: New file.
2488 * sysdeps/alpha/ldiv.S: New file.
2489 * sysdeps/alpha/lldiv.S: New file.
2490 * sysdeps/alpha/divrem.h: Merge signed and unsigned division.
2491 Take pointers from Linus and tighten the inner loops a bit.
2492 * sysdeps/alpha/divl.S: Change defines for merged routines.
2493 * sysdeps/alpha/divq.S: Likewise.
2494 * sysdeps/alpha/reml.S: Likewise.
2495 * sysdeps/alpha/remq.S: Likewise.
2496 * sysdeps/alpha/divlu.S: Remove file.
2497 * sysdeps/alpha/divqu.S: Likewise.
2498 * sysdeps/alpha/remlu.S: Likewise.
2499 * sysdeps/alpha/remqu.S: Likewise.
2501 * sysdeps/alpha/bsd-_setjmp.S: If PROF, call _mcount.
2502 * sysdeps/alpha/bsd-setjmp.S: Likewise.
2503 * sysdeps/alpha/bzero.S: Likewise.
2504 * sysdeps/alpha/ffs.S: Likewise.
2505 * sysdeps/alpha/htonl.S: Likewise.
2506 * sysdeps/alpha/htons.S: Likewise.
2507 * sysdeps/alpha/memchr.S: Likewise.
2508 * sysdeps/alpha/memset.S: Likewise.
2509 * sysdeps/alpha/s_copysign.S: Likewise.
2510 * sysdeps/alpha/s_fabs.S: Likewise.
2511 * sysdeps/alpha/setjmp.S: Likewise.
2512 * sysdeps/alpha/stpcpy.S: Likewise.
2513 * sysdeps/alpha/stpncpy.S: Likewise.
2514 * sysdeps/alpha/strcat.S: Likewise.
2515 * sysdeps/alpha/strchr.S: Likewise.
2516 * sysdeps/alpha/strcpy.S: Likewise.
2517 * sysdeps/alpha/strlen.S: Likewise.
2518 * sysdeps/alpha/strncat.S: Likewise.
2519 * sysdeps/alpha/strncpy.S: Likewise.
2520 * sysdeps/alpha/strrchr.S: Likewise.
2521 * sysdeps/alpha/udiv_qrnnd.S: Likewise. Fix private labels.
2522 Convert two small jumps to use conditional moves.
2523 * sysdeps/unix/alpha/sysdep.h: Compress all __STDC__ nastiness.
2524 (PSEUDO): If PROF, call _mcount.
2525 * sysdeps/unix/sysv/linux/alpha/brk.S: If PROF, call _mcount.
2526 * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
2527 * sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S: Likewise.
2528 * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Likewise.
2529 * sysdeps/unix/sysv/linux/alpha/llseek.S: Likewise.
2530 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S: Likewise.
2531 * sysdeps/unix/sysv/linux/alpha/syscall.S: Likewise.
2533 * sysdeps/alpha/memcpy.S: New file. Odd layout because it should
2534 eventually contain memmove as well.
2535 * sysdeps/alpha/strcmp.S: New file.
2536 * sysdeps/alpha/strncmp.S: New file.
2537 * sysdeps/alpha/w_sqrt.S: New file.
2539 Tue Nov 5 18:06:06 1996 Ulrich Drepper <drepper@cygnus.com>
2541 * sysdeps/mach/hurd/ttyname_r.c: Use `size_t' for len variable.
2543 Tue Nov 5 12:09:29 1996 Ulrich Drepper <drepper@cygnus.com>
2545 * sysdeps/generic/sysdep.h: Define END only if not yet defined.
2546 * sysdeps/unix/sysdep.h: Define PSEUDO_END only if not yet defined.
2547 Reported by Thomas Bushnell, n/BSG.
2549 Mon Nov 4 22:46:53 1996 Ulrich Drepper <drepper@cygnus.com>
2551 * manual/users.texi (Netgroup Data): Remove { } around @cindex.
2553 Mon Nov 4 19:07:05 1996 Ulrich Drepper <drepper@cygnus.com>
2555 * malloc/calloc.c: Check for overflow before trying to allocate
2556 memory. Proposed by Neil Matthews <nm@adv.sbc.sony.co.jp>.
2558 Fri Nov 1 18:18:32 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2560 * manual/llio.texi (Operating Modes): Add missing arguments to
2561 @deftypevr in O_NONBLOCK description.
2563 * manual/time.texi (Time Zone Functions): Enclose type name in
2564 braces in description of tzname. FIXME: this does not yet work
2567 Sun Nov 3 17:29:06 1996 Ulrich Drepper <drepper@cygnus.com>
2569 * features.h: Add X/Open macros.
2570 * posix/unistd.h: Define X/Open macros.
2571 * sysdeps/generic/confname.h: Add _SC_XOPEN_XCU_VERSION,
2572 _SC_XOPEN_UNIX, _SC_XOPEN_CRYPT, _SC_XOPEN_ENH_I18N,
2573 _SC_XOPEN_SHM, _SC_2_CHAR_TERM, _SC_2_C_VERSION, and _SC_2_UPE.
2574 * sysdeps/posix/sysconf.c: Handle new constants.
2575 * sysdeps/stub/sysconf.c: Likewise.
2576 * sysdeps/unix/sysv/linux/posix_opt.h: Add definition of _XOPEN_SHM.
2578 * catgets/catgets.c (catopen): Set errno to ENOMEM when
2579 we run out of memory.
2580 (catgets): Set errno to EBADF when catalog handle is invalid.
2581 Set errno to ENOMSG when translation is not available.
2582 (catclose): Set errno to EBADF when catalog handle is invalid.
2584 * ctype/ctype.h: Declare isascii and toascii when __USE_XOPEN.
2585 Likewise for _toupper and _tolower.
2587 * manual/arith.texi: Document strtoq, strtoll, strtouq, strtoull,
2588 strtof, and strtold.
2589 * manual/math.texi: Document HUGE_VALf and HUGE_VALl.
2590 * manual/stdio.h: Document ' flag for numeric formats of scanf.
2591 * manual/users.texi: Document that cuserid shouldn't be used.
2593 * misc/Makefile (routines): Add dirname.
2594 (headers): Add libgen.h.
2595 (tests): Add tst-dirname.
2596 * misc/dirname.c: New file.
2597 * misc/libgen.h: New file.
2598 * misc/tst-dirname.c: New file.
2600 * misc/search.h: Parameter of hcreate must be of type size_t.
2601 * misc/hsearch.c: Likewise.
2602 * misc/hsearch_r.c: Likewise for hcreate_r.
2603 * misc/search.h: Parameters of insque and remque must be `void *'.
2604 * misc/insremque.c: Likewise.
2606 * posix/unistd.h: Move declarations of mktemp and mkstemp to...
2607 * stdlib/stdlib.h: ...here.
2608 * posix/unistd.h [__USE_XOPEN]: Add prototypes for crypt, setkey,
2611 * stdio-common/printf-parse.h (struct printf_spec): Add pa_wchar
2613 (parse_one_spec): Remove Linux compatibility code.
2614 Recognize %C and %S formats.
2615 * stdio-common/printf.h: Add PA_WCHAR and PA_WSTRING.
2616 * stdio-common/vfprintf.c: Add implementation of %C and %S format.
2617 * stdio-common/vfscanf.c: Likewise for scanf.
2619 * stdlib/l64a.c: Return value for 0 must be the empty string.
2620 * stdlib/stdlib.h: Declare reentrant function from rand49 family
2621 only if __USE_REENTRANT.
2622 Declare rand48 functions also if __USE_XOPEN.
2624 * stdlib/strtol.c: Return 0 and set errno to EINVAL when BASE is
2626 Return 0 and set errno to EINVAL when strou* sees negativ number.
2627 * stdlib/tst-strtol.c: De-ANSI-fy.
2628 Change expected results for test of unsigned function and negative
2631 * string/stratcliff.c: Prevent warnings.
2632 * string.h: Move declaration of swab to <unistd.h>.
2633 * string/swab.c: De-ANSI-fy.
2635 * sysdeps/posix/cuserid.c: Implement using getpwuid_r.
2636 * sysdeps/posix/mkstemp.c: Include <stdlib.h> for prototype.
2637 * sysdeps/posix/mktemp.c: Likewise.
2638 * sysdeps/stub/mkstemp.c: Likewise.
2639 * sysdeps/stub/mktemp.c: Likewise.
2641 * sysvipc/sys/ipc.h: Prototypes of ftok have to be of types `const
2643 * sysvipc/ftok.c: Likewise. Make sure only lower 8 bits of
2646 Sun Nov 3 03:21:28 1996 Heiko Schroeder <Heiko.Schroeder@post.rwth-aachen.de>
2648 * locale/programs/ld-numeric.c (numeric_output): Compute idx[0]
2651 Sat Nov 2 17:44:32 1996 Ulrich Drepper <drepper@cygnus.com>
2653 * sysdeps/posix/cuserid.c: Use reentrant functions.
2654 * manual/users.texi: Tell that cuserid is marked to be withdrawn in
2657 Sat Nov 2 14:26:37 1996 Ulrich Drepper <drepper@cygnus.com>
2659 Linus said he will make sure no system call will return a value
2660 in -1 ... -4095 as a valid result.
2661 * sysdeps/unix/sysv/linux/i386/sysdep.h: Correct test for error.
2662 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
2663 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
2664 * sysdeps/unix/sysv/linux/m68k/syscall.S: Likewise.
2666 Sat Nov 2 16:54:49 1996 NIIBE Yutaka <gniibe@mri.co.jp>
2668 * sysdeps/stub/lockfile.c [!USE_IN_LIBIO]: Define weak alias for
2669 __funlockfile, not a circular alias.
2670 Define __IO_ftrylockfile if USE_IN_LIBIO and __ftrylockfile if not,
2673 * sysdeps/unix/sysv/linux/i386/sysdep.S (__errno_location): Make
2675 * sysdeps/unix/sysv/linux/m68k/sysdep.S (__errno_location): Likewise.
2677 Tue Nov 5 00:04:48 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
2679 * stdio-common/vfprintf.c: Include <libc-lock.h>.
2681 Mon Nov 4 16:57:42 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
2683 * sysdeps/mach/hurd/ttyname_r.c (ttyname_r): Change prototype to
2686 * sysdeps/stub/lockfile.c [! USE_IN_LIBIO]: Second definition of
2687 __internal_funlockfile (in terms of itself) should actually be a
2688 definition of __funlockfile.
2690 * pwd/pwd.h: Get `size_t' from <stddef.h>.
2691 * grp/grp.h: Likewise.
2692 * shadow/shadow.h: Likewise.
2694 * stdlib/atexit.c (__new_exitfn): Add missing semicolons after
2695 calls to __libc_lock_lock and __libc_lock_unlock.
2696 * stdlib/random.c (__srandom, __initstate, __setstate, __random):
2699 * hurd/hurdsig.c (write_corefile): Fix typo.
2701 * sysdeps/mach/hurd/sigwait.c: New file.
2703 Sat Nov 2 01:48:47 1996 Ulrich Drepper <drepper@cygnus.com>
2705 * sysdeps/unix/sysv/linux/errnos.h: Move declaration of errno
2706 and __errno_location to correct position.
2708 Thu Oct 31 22:51:25 1996 Ulrich Drepper <drepper@cygnus.com>
2710 * Makefile (distribute): Add rellns-sh.
2711 * rellns-sh: New file.
2712 * Makerules (make-link): Use rellns-sh.
2713 * time/Makefile ($(installed-localtime-file)): Likewise.
2715 Thu Oct 31 11:33:01 1996 Ulrich Drepper <drepper@cygnus.com>
2717 * elf/Makefile ($objpfx)ldd) Substitute $(version) for @VERSION@.
2718 (distribute): Add ldd.bash.in.
2719 * elf/ldd.sh.in: Process --help and --version parameter.
2721 * elf/ldd.bash.in: New file.
2723 * stdlib/stdlib.h: Add prototype for clearenv.
2724 * sysdeps/generic/setenv.c: Add implementation of clearenv.
2725 (setenv): Handle __environ == NULL correctly.
2726 * sysdeps/stub/setenv.c: Add stub definition for unsetenv and
2729 * sysdeps/generic/putenv.c: Correct layout to fit in libit.
2730 * sysdeps/generic/setenv.c: Likewise.
2731 * stdlib/strtol.h: Likewise.
2733 * time/sys/time.h: Define __need_timeval and include <timebits.h>.
2734 Remove definition of struct timeval.
2735 * sysdeps/stub/timebits.h [__need_timeval]: Define struct timeval
2736 using `time_t' for members.
2737 * sysdeps/unix/sysv/linux/timebits.h [__need_timeval]: Likewise.
2738 * sysdeps/unix/sysv/linux/alpha/timebits.h: New file. Same
2739 as old Linux specific version.
2741 Thu Oct 31 00:01:39 1996 Ulrich Drepper <drepper@cygnus.com>
2743 * signal/Makefile (routines): Add sigwait.
2744 * signal/signal.h: Add prototype for sigwait.
2745 * sysdeps/posix/sigwait.c: New file. Implementation of sigwait
2746 function from POSIX.1c.
2747 * sysdeps/stub/sigwait.c: New file. Stub version of sigwait.
2749 Wed Oct 30 02:01:17 1996 Richard Henderson <rth@tamu.edu>
2751 * sunrpc/xdr_float.c (xdr_float): Handle sizeof(float)!=sizeof(long),
2752 but don't bother going farther than sizeof(float)==sizeof(int).
2753 (xdr_double): Handle little-endian machines! Handle sizeof(double)
2754 != 2*sizeof(long), though again don't bother with more than int.
2756 Thu Oct 29 16:09:42 1996 Craig Metz <cmetz@inner.net>
2758 * sysdeps/posix/getaddrinfo.c: Use buffer limits for inet_ntop
2761 Tue Oct 29 12:37:22 1996 Ulrich Drepper <drepper@cygnus.com>
2763 * Makerules: Create symbolic links for linking in $(libdir).
2764 (make-link): Use absolute path for destination if this is not in
2767 * elf/rtld.c (dl_main): When verifying don't check the name of
2770 * shlib-versions: Change entries for Hurd specific libs from
2771 *-*-gnu* to *-*-gnu?* so that i586-pc-linux-gnu does not match
2774 * assert/assert.h: Reformat copyright.
2775 Change reference to ANSI into reference to ISO C.
2776 * ctype/ctype.h: Likewise.
2777 * errno.h: Likewise.
2778 * limits.h: Likewise.
2779 * math/math.h: Likewise.
2780 * setjmp/setjmp.h: Likewise.
2781 * stdio/stdio.h: Likewise.
2782 * libio/stdio.h: Likewise.
2783 * stdlib/stdlib.h: Likewise.
2784 * string/string.h: Likewise.
2785 * time/time.h: Likewise.
2787 * string/argz.h: Use __const in definitions.
2789 * elf/dlfcn.h: Use __const and __P. Reformat copyright.
2790 * misc/err.h: Likewise.
2792 * wctype/wctype.h (wctrans_t): Use __const instead of const.
2794 * Makeconfig ($(common-objpfx)soversions.mk): Generate list of
2795 sonames for versioned libraries.
2796 * Makefile: Remove code to generate libc-version.h.
2797 Generate gnu/lib-names.h with info from soversions.mk.
2798 * features.h: Define __GLIBC__ and __GLIBC_MINOR__.
2800 * dirent/tst-seekdir.c: Initialize save3.
2801 * grp/testgrp.c: Initialize my_group.
2803 * grp/fgetgrent_r.c: Change interface to follow POSIX.1c.
2804 * grp/grp.h: Likewise.
2805 * nss/getXXbyYY.c: Likewise.
2806 * nss/getXXbyYY_r.c: Likewise.
2807 * nss/getXXent.c: Likewise.
2808 * nss/getXXent_r.c: Likewise.
2809 * pwd/fgetpwent_r.c: Likewise.
2810 * pwd/pwd.h: Likewise.
2811 * shadow/fgetspent_r.c: Likewise.
2812 * shadow/sgetspent.c: Likewise.
2813 * shadow/sgetspent_r.c: Likewise.
2814 * grp/fgetgrent.c: Adapt for change in interface of fgetgrent_r.
2815 * pwd/fgetpwent.c: Likewise, for fgetpwent_r.c.
2816 * shadow/fgetspent.c: Likewise, for fgetpwent_r.c.
2817 * resolv/netdb.h: Adapt prototypes for reentrant functions to
2819 * sunrpc/rpc/netdb.h: Likewise,
2820 * shadow/shadow.h: Likewise.
2822 * inet/getnetgrent_r.c: Follow change in pwd/grp function interface.
2824 * sysdeps/unix/getlogin_r.c: Return ERANGE when buffer is too small.
2826 * inet/herrno.c: Don't define __h_errno, only h_errno otherwise the
2827 ELF aliasing creates strange situations.
2828 * sysdeps/unix/sysv/linux/errnos.H: Define __set_errno as inline
2830 * sysdeps/unix/sysv/linux/i386/sysdep.S: Don't define __errno.
2831 * sysdeps/unix/sysv/linux/m68k/sysdep.S: Likewise.
2833 * libio/libio.h: Don't declare _IO_flockfile and _IO_funlockfile
2836 * locale/programs/charmap.c: Add casts to prevent warnings.
2837 * locale/programs/linereader.h: Likewise.
2838 * locale/programs/ld-collate.c: Likewise.
2839 * locale/programs/stringtrans.c: Likewise.
2840 Change types for various variables to prevent warnings.
2841 * locale/programs/ld-ctype.c: Likewise.
2842 * locale/programs/linereader.h (lr_ungetc): Likewise.
2843 * locale/programs/charset.h (struct charset): Use `unsigned int'
2844 as type for width_default.
2845 * posix/regex.c: Change type of `this_reg' variables.
2846 * stdio-common/Makefile: Use -Wno-format for tstdiomisc.c.
2847 * stdio-common/bug5.c: De-ANSI-fy. Use correct types for
2849 * stdio-common/printf_fp.c: Initialize to_shift.
2850 * stdio-common/test_rdwr.c: Add cast.
2851 * stdio-common/vfprintf.c: Add casts and use correct types to
2853 * stdio-common/vfscanf.c: Initialize str and strptr.
2854 * sysdeps/libm-ieee754/e_jnf.c: Use correct types to prevent warnings.
2855 * sysdeps/libm-ieee754/e_pow.c: Likewise.
2856 * sysdeps/libm-ieee754/e_powf.c: Likewise.
2857 * sysdeps/libm-ieee754/e_rem_pio2f.c: Likewise.
2858 * time/test-tz.c: Likewise.
2860 * manual/creature.texi: Document _REENTRANT and _THREAD_SAFE.
2861 * manual/libc.texinfo: Prevent makeinfo failure by avoiding
2862 libc.cp index. This must be fixed.
2863 * manual/nss.texi: Adapt for correct POSIX.1c interface of
2864 reentrant functions.
2865 * manual/users.texi: Document netgroup functions.
2867 * po/es.po: Updated.
2868 * po/fr.po: Updated.
2870 * posix/fnmatch.c: Change to match libit version.
2872 * posix/unistd.h: Change prototype for ttyname_r to match POSIX.1c.
2873 * sysdep/posix/ttyname_r.c: Likewise.
2875 * stdlib/atexit.h (__new_exitfn): Add internal locking.
2876 * stdlib/exit.c: De-ANSI-fy. Handle new ef_us value for flavor.
2877 * stdlib/exit.h: De-ANSI-fy. Define new ef_us value for flavor.
2878 * stdlib/random.c (__srandom): Add internal locking.
2879 (__initstate): Likewise.
2880 (__setstate): Likewise.
2881 (__random): Likewise.
2883 Mon Oct 28 22:28:37 1996 NIIBE Yutaka <gniibe@mri.co.jp>
2885 * sysdeps/generic/crypt-entry.c (crypt_r): Use __set_errno.
2887 * resolv/gethnamaddr.c (gethostbyname2): Likewise.
2888 * sysdeps/generic/uname.c: Likewise.
2889 * sysdeps/posix/rename.c: Likewise.
2890 * sysdeps/stub/setrlimit.c: Likewise.
2892 * nss/nss_db/db-netgrp.c (_nss_db_setnetgrent): Fix typo.
2894 Sun Oct 27 11:12:50 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2896 * locale/programs/ld-collate.c (collate_order_elem): Fix format
2898 (collate_element_to): Cast field width argument to `int' for
2900 (collate_symbol): Likewise.
2901 (collate_order_elem): Likewise.
2902 (collate_weight_bsymbol): Likewise.
2903 (collate_simple_weight): Likewise.
2905 * locale/programs/ld-time.c (STRARR_ELEM): Fix format string.
2907 * locale/programs/ld-ctype.c (ctype_class_newP): Add missing
2908 argument for format string.
2909 (ctype_map_newP): Likewise.
2910 (set_class_defaults): Fix format string.
2912 * locale/programs/localedef.c (construct_output_path): Putting an
2913 explicit \0 into the format string does not work, use %c.
2915 Sat Oct 26 20:38:36 1996 Richard Henderson <rth@tamu.edu>
2917 * Makerules: Install all shared libraries in $(slibdir).
2919 * login/Makefile: Build libutil.so in others pass after
2922 * misc/mntent.h: Include <paths.h> for _PATH_MNTTAB & _PATH_MOUNTED.
2924 * string/stratcliff.c: Allocate 3 pages instead of one, then use
2925 mprotect so that we know that the adjacent pages are inaccessible.
2927 * resource/sys/resource.h: Move all structures and enums to ...
2928 * sysdeps/generic/resourcebits.h: ... here ...
2929 * sysdeps/unix/bsd/sun/sunos4/resourcebits.h: ... and here.
2930 * sysdeps/unix/sysv/linux/alpha/resourcebits.h: Remove.
2931 * sysdeps/unix/sysv/linux/i386/resourcebits.h: Remove.
2932 * sysdeps/unix/sysv/linux/m68k/resourcebits.h: Remove.
2933 * sysdeps/unix/sysv/linux/mips/resourcebits.h: Remove.
2934 * sysdeps/unix/sysv/linux/resourcebits.h: New file. Use kernel
2935 header for RLIMIT_* definitions. The members of struct rlimit
2939 Thu Oct 24 17:43:34 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2941 * MakeTAGS (sysdep-dirs): Fix typo.
2943 Thu Oct 24 17:32:57 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
2945 * hurd/hurdsig.c (write_corefile): If we can't create the core
2946 file, still call crash_dump_task with a null FILE arg. Maybe it
2947 won't actually need the file.
2949 Wed Oct 23 03:45:22 1996 Ulrich Drepper <drepper@cygnus.com>
2951 * Makefile (headers): Don't mention libc-version.h.
2952 (install-others): ...but here.
2954 Tue Oct 22 21:38:21 1996 Ulrich Drepper <drepper@cygnus.com>
2956 * version.h: Bump version number to 1.97.
2958 * features.h: Undo change of Sun Oct 20 22:19:58 1996.
2959 Include libc-version.h.
2960 * features.h.in: Removed.
2961 * Makefile: Change rules to generate libc-version.h instead of
2964 * malloc/free.c: Add cast to prevent warning.
2965 * malloc/malloc-walk.c: Likewise.
2966 * malloc/ralloc.c: Likewise.
2967 * malloc/realloc.c: Likewise.
2969 * grp/fgetgrent_r.c: Accept empty numeric field if name start with +
2971 * pwd/fgetpwent_r.c: Likewise.
2972 * nss/nss_files/files-grp.c: Don't accept entries with names starting
2973 with + or - in lookup functions.
2974 * nss/nss_files/files-pwd.c: Likewise.
2976 * Makerules: Call autolock.sh using $(SHELL).
2978 Mon Oct 21 22:52:16 1996 NIIBE Yutaka <gniibe@mri.co.jp>
2980 * elf/dl-minimal.c: Don't define `dgettext' replacement but
2981 `dcgettext'. When optimizing the macros in <libintl.h> define
2982 `dgettext' as a macro and so this function will never be called.
2984 Mon Oct 21 15:41:59 1996 Ulrich Drepper <drepper@cygnus.com>
2986 * sysdeps/i386/sysdep.h: Define END to use .size when available.
2987 (PSEUDO_END): Use END.
2988 * sysdeps/unix/sysv/linux/i386/sysdep.h: Define PSEUDO_END to
2989 define SYSCALL_ERROR_HANDLER before using END.
2990 (SYSCALL_ERROR_HANDLER): Don't use .size directive.
2991 * sysdeps/unix/sysv/linux/clone.S: Don't use SYSCALL_ERROR_HANDLER
2992 and .size directive but PSEUDO_END.
2993 * sysdeps/unix/sysv/linux/mmap.S: Likewise.
2994 * sysdeps/unix/sysv/linux/socket.S: Likewise.
2995 * sysdeps/unix/sysv/linux/syscall.S: Likewise.
2996 * sysdeps/unix/sysv/linux/sysdep.S (__errno_location): Use END.
2997 * sysdeps/unix/i386/sysdep.S (__syscall_error): Likewise.
2998 * sysdeps/i386/__longjmp.S: Use END instead of PSEUDO_END.
2999 * sysdeps/i386/bsd-_setjmp.S: Likewise.
3000 * sysdeps/i386/bsd-setjmp.S: Likewise.
3001 * sysdeps/i386/memchr.S: Likewise.
3002 * sysdeps/i386/memcmp.S: Likewise.
3003 * sysdeps/i386/setjmp.S: Likewise.
3004 * sysdeps/i386/stpcpy.S: Likewise.
3005 * sysdeps/i386/stpncpy.S: Likewise.
3006 * sysdeps/i386/strchr.S: Likewise.
3007 * sysdeps/i386/strcspn.S: Likewise.
3008 * sysdeps/i386/strpbrk.S: Likewise.
3009 * sysdeps/i386/strrchr.S: Likewise.
3010 * sysdeps/i386/strspn.S: Likewise.
3011 * sysdeps/i386/strtok.S: Likewise.
3012 * sysdeps/i386/i486/strcat.S: Likewise.
3013 * sysdeps/i386/i486/strlen.S: Likewise.
3014 * sysdeps/i386/i586/memset.S: Likewise.
3015 * sysdeps/i386/i586/strchr.S: Likewise.
3016 * sysdeps/i386/i586/strlen.S: Likewise.
3018 * sysdeps/i386/strlen.c: De-ANSI-fy.
3020 * sysdeps/generic/_strerror.c: Undo change of Mon Oct 21 01:32:36 1996.
3021 Define dgettext if not defined to use dcgettext.
3022 * sysdeps/mach/_strerror.c: Likewise.
3024 * sysdeps/unix/sysv/i386/time.S: Add PSEUDO_END to get
3025 __syscall_error defined.
3027 Sat Oct 19 12:27:50 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3029 * sysdeps/unix/sysv/linux/m68k/mmap.S: Fix braino: CALL_MCOUNT is
3030 already included in the ENTRY macro. Remove SYSCALL_ERROR_HANDLER
3031 now provided by PSEUDO_END.
3032 * sysdeps/unix/sysv/linux/m68k/sigreturn.S: Likewise.
3033 * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
3034 * sysdeps/unix/sysv/linux/m68k/syscall.S: Likewise.
3035 * sysdeps/unix/sysv/linux/m68k/sysdep.S: Likewise.
3036 * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise. Use JUMPTARGET.
3038 * sysdeps/generic/sysdep.h (END): Provide default empty
3040 * sysdeps/unix/sysv/linux/m68k/sysdep.h (END): Redefine to use
3042 (PSEUDO): Don't include SYSCALL_ERROR_HANDLER.
3043 (PSEUDO_END): Include it here instead.
3044 (SYSCALL_ERROR_HANDLER): Remove type directive.
3045 * sysdeps/m68k/bsd-_setjmp.S: Use END, not PSEUDO_END.
3046 * sysdeps/m68k/bsd-setjmp.S: Likewise.
3047 * sysdeps/unix/sysv/linux/m68k/sigreturn.S: Likewise.
3048 * sysdeps/unix/sysv/linux/m68k/sysdep.S: Likewise.
3049 (__syscall_error): Can't use ENTRY macro.
3051 Sat Oct 19 12:13:24 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3053 * sysdeps/unix/sysv/linux/syscalls.list (getresuid, setresuid):
3054 Set caller to EXTRA.
3056 Mon Oct 21 01:32:36 1996 Ulrich Drepper <drepper@cygnus.com>
3058 * elf/rtld.c (dl_main): Move initialization of `_dl_starting_up'
3059 to beginning of function. So libc functions can use this flag.
3060 * sysdeps/generic/_strerror.c: Don't use dgettext for message
3061 translation while `_dl_starting_up' is nonzero.
3063 * elf/dl-deps.c (_dl_map_object_deps): Add new parameter
3065 Pass parameter value to _dl_map_object.
3066 * elf/dl-load (_dl_map_object): Add new parameter TRACE_MODE.
3067 If TRACE_MODE is nonzero don#t signal error when shared lib
3068 is not found. Instead create fake entry for link map.
3069 * dl-open.c (dl-open): Pass 0 for new argument to _dl_map_object.
3070 * dl-runtime.c (_dl_object_relocation_scope): Pass 0 for new
3071 argument to _dl_map_object_deps.
3072 * elf/link.h: Add new parameter TRACE_MODE for prototypes of
3073 _dl_map_object and _dl_map_object_deps.
3074 * elf/rtld.c (dl_main): Pass 0 for new argument to _dl_map_object
3075 and _dl_map_object_deps.
3076 When mode == trace test for l_opencount == 0 before printing
3077 link information since this means the lib is not found.
3079 Sun Oct 20 22:19:58 1996 Ulrich Drepper <drepper@cygnus.com>
3081 * rpm/template: Add INSTALL to %doc line to follow copyright
3082 restrictions which demand the distribution of the copyright
3083 messages in INSTALL even for binary distributions.
3085 * features.h: Rename to...
3086 * features.h.in: ...this. Change value of __GNU_LIBRARY__ to 2
3087 (for major version numberof package) and add __GNU_LIBRARY_MINOR__
3088 and __GNU_LIBRARY_INTERFACE__.
3089 * Makefile ($(objpfx)features.h): New rule to generate features.h
3090 from template features.h.in.
3092 * sysdeps/unix/sysv/linux/getsysstats.c: Include <paths.h>.
3094 Sun Oct 20 00:00:13 1996 Richard Henderson <rth@tamu.edu>
3096 * locale/programs/linereader.c (lr_open): Cast away const before free.
3097 (lr_close): Likewise.
3099 * misc/mntent.h: Move _PATH_MNTTAB & _PATH_MOUNTED to paths.h.
3100 * misc/paths.h: Move to ...
3101 * sysdeps/generic/paths.h: ... here.
3103 * sysdeps/unix/sysv/linux/paths.h: New file. Correct _PATH_STDPATH,
3104 _PATH_MAILDIR, _PATH_MOUNTED, _PATH_UNIX to comply with the fsstd.
3106 * nss/nss_db/db-netgrp.h: Include <string.h>.
3108 * stdio-common/psignal.c: De-ansidecl-ify. Allow NULL entries in
3109 _sys_siglist, which result in the "Unknown signal" message.
3110 * string/strsignal.c: Likewise.
3111 * sysdeps/generic/Makefile [stdio-common]: If $(inhibit-siglist),
3112 don't auto-generate siglist.c.
3113 * sysdeps/unix/sysv/linux/Makefile [stdio-common]: Set inhibit-siglist.
3114 * sysdeps/unix/sysv/linux/siglist.c: New file. Not needing to
3115 autogenerate makes bootstrapping and cross-compiling much easier.
3116 * sysdeps/unix/sysv/linux/siglist.h: New file.
3118 * stdlib/longlong.h: Prototype __udiv_qrnnd.
3120 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_headers): Remove
3121 sys/io.h. It is already added in .../linux/Makefile.
3123 * sysdeps/unix/sysv/linux/alpha/sigaction.h: New file.
3124 * sysdeps/unix/sysv/linux/alpha/signum.h: New file.
3125 * sysdeps/unix/sysv/linux/alpha/statbuf.h: New file.
3127 Sun Oct 20 17:17:12 1996 Ulrich Drepper <drepper@cygnus.com>
3129 Add implementation of POSIX.1g function getaddrinfo.
3130 * posix/Makefile (routines): Add getaddrinfo.
3131 * sysdeps/posix/getaddrinfo.c.: New file. Add implementation by
3133 * sysdeps/stub/getaddrinfo.c: New file. Stub implementation.
3134 * resolv/netdb.h [__USE_POSIX]: Add getaddrinfo prototypes and
3135 related constants and structures.
3137 Sun Oct 20 13:02:34 1996 Ulrich Drepper <drepper@cygnus.com>
3139 * sysdeps/stub/lockfile.c: Rename functions to __internal_*.
3140 Make all old names weak alises so that they can be replaced
3143 * stdio-common/vfprintf.c: Only declare __flockfile and __funlockfile
3145 [USE_IN_LIBIO]: Call _IO_flockfile and _IO_funlockfile instead of
3146 __flockfile and __funlockfile.
3147 Reported by NIIBE Yutaka.
3149 * crypt/md5.c: Change form of copyright message according to GNITS
3151 Add warning for requirement on RESBUF parameter for `md5_finish_ctx'
3152 and `md5_read_ctx' function.
3153 * crypt/md5.h: Likewise.
3155 * grp/testgrp.c: Don't use perror for error cases since getgr* and
3156 getpw* functions do not return usable error codes.
3158 Sun Oct 19 23:05:32 1996 Jim Meyering <meyering@asic.sc.ti.com>
3160 * crypt/md5.c (md5_process_bytes): Used casting for pointer
3163 Sun Oct 20 03:53:23 1996 Ulrich Drepper <drepper@cygnus.com>
3165 * sunrpc/Makefile (others): Remove portmap here, too.
3167 Sat Oct 19 17:42:24 1996 Ulrich Drepper <drepper@cygnus.com>
3169 * intl/locale.alias: Language for entry `czech' is `cs'.
3171 Fri Oct 17 13:20:35 1996 Thorsten Kukuk <kukuk@weber.uni-paderborn.de>
3173 * sunrpc/etc.rpc: Update from ti-rpcsvc 2.3.
3175 Fri Oct 18 22:56:45 1996 Ulrich Drepper <drepper@cygnus.com>
3177 * sunrpc/Makefile (install-sbin): Remove portmap. This version is
3178 buggy and more competent people work on a usable version which is
3179 distributed separately.
3180 * sunrpc/portmap.c: Removed.
3181 Suggested by Thorsten Kukuk.
3183 Fri Oct 18 12:17:09 1996 Enrique Melero <justine@iprolink.ch>
3185 * sysdeps/libm-ieee754/s_finitel.c: Change function name to
3188 Fri Oct 18 00:01:10 1996 Ulrich Drepper <drepper@cygnus.com>
3190 * string/Makefile (tests): Add stratcliff.
3191 * string/stratcliff.c: New file. Test for string function at
3192 the edge of the usable memory.
3194 Thu Oct 17 22:10:19 1996 Ulrich Drepper <drepper@cygnus.com>
3196 * Makerules ($(libdir)/libc.so): Fix typo.
3198 * elf/ldd.sh.in: Test whether given file really exist and give
3199 better message if it is not available.
3201 Thu Oct 17 04:25:38 1996 Ulrich Drepper <drepper@cygnus.com>
3203 * sysdeps/unix/sysv/linux/sys/shm_buf.h: Add definition for
3206 Thu Oct 17 01:55:34 1996 Ulrich Drepper <drepper@cygnus.com>
3208 * sunrpc/Makefile ($(objpfx)rpcsvc/%.h, $(objpfx)x%.c): Write
3209 output to $@T and move to $@ later since the new rpcgen will not
3210 overwrite existing files.
3212 * po/Makefile (libc.pot): Fix typo.
3214 Sun Oct 13 20:52:07 1996 Thorsten Kukuk <kukuk@weber.uni-paderborn.de>
3216 Update rpcgen program to TI-rpc code.
3217 * sunrpc/Makefile (rpcgen-objs): Add rpc_tblout.o and rpc_sample.o.
3218 (distribute): Add proto.h.
3219 * sunrpc/proto.h: New file. Prototypes for all the RPC functions.
3220 * sunrpc/rpc_clntout.c: Change to allow generation of ISO C code.
3221 * sunrpc/rpc_cout.c: Likewise.
3222 * sunrpc/rpc_hout.c: Likewise.
3223 * sunrpc/rpc_main.c: Likewise.
3224 * sunrpc/rpc_parse.c: Likewise.
3225 * sunrpc/rpc_parse.h: Likewise.
3226 * sunrpc/rpc_scan.c: Likewise.
3227 * sunrpc/rpc_scan.h: Likewise.
3228 * sunrpc/rpc_svcout.c: Likewise.
3229 * sunrpc/rpc_util.c: Likewise.
3230 * sunrpc/rpc_util.h: Likewise.
3232 * sunrpc/rpc_tblout.c: New file.
3233 * sunrpc/rpc_sample.c: Likewise.
3235 Thu Oct 17 00:26:20 1996 NIIBE Yutaka <gniibe@mri.co.jp>
3237 * sysdeps/unix/opendir.c: Add semicolon for consistency.
3239 Wed Oct 16 12:26:53 1996 Sven Verdoolaege <skimo@breughel.ufsia.ac.be>
3241 * locale/programs/localedef.c (main): Test with -1 to find out
3242 whether read failed.
3244 Wed Oct 16 14:54:59 1996 Ulrich Drepper <drepper@cygnus.com>
3246 * sysdeps/unix/sysv/linux/i386/clone.S: Use JUMPTARGET and
3249 Tue Oct 15 21:27:42 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3251 * sysdeps/unix/sysv/linux/m68k/sigcontext.h: Removed.
3253 Tue Oct 15 15:52:29 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3255 * sysdeps/unix/sysv/linux/m68k/clone.S: Add CALL_MCOUNT.
3256 * sysdeps/unix/sysv/linux/m68k/mmap.S: Likewise.
3257 * sysdeps/unix/sysv/linux/m68k/sigreturn.S: Likewise.
3258 * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
3259 * sysdeps/unix/sysv/linux/m68k/sysdep.S (__errno_location):
3261 * sysdeps/unix/sysv/linux/m68k/syscall.S: Likewise.
3262 Correct generation of system call.
3264 Tue Oct 15 15:13:16 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3266 * Makerules (sysd-Makefile): Fix command so that it works in the
3268 (BUILD_CFLAGS): Change back using $(..) instead of
3269 $(common-objpfx), the latter fails in the toplevel directory when
3270 $(objdir) is relative.
3271 (common-objdir-compile): Run compiler in $(objdir).
3272 * sysdeps/posix/Makefile (mk-stdiolim): Likewise.
3274 Tue Oct 15 23:39:48 1996 Ulrich Drepper <drepper@cygnus.com>
3276 * string/string.h [__USE_SVID]: Add prototype for swab.
3277 * time/sys/time.h [__USE_BSD]: Add prototype for ualarm.
3278 Reported by Andreas Jaeger.
3280 The available nlist implementation is not generally usable.
3281 Especially on the currently supported ELF systems the nlist
3282 function comes with the libelf.
3283 * misc/Makefile (headers): Remove nlist.h.
3284 (routines): Remove nlist.
3286 * Makefile ($(objpfx)version-info.h): Include information about
3287 system the libc is built on in version-info.h file.
3289 * po/Makefile (distribute): Add header.pot.
3291 Tue Oct 15 16:34:15 1996 Andreas Jaeger <aj@arthur.pfalz.de>
3293 * sysdeps/unix/sysv/linux/sleep.c: Include file with prototype.
3294 * sysdeps/unix/sysv/linux/reboot.c: Likewise.
3295 * misc/error.c: Likewise.
3297 Tue Oct 15 22:41:27 1996 Ulrich Drepper <drepper@cygnus.com>
3299 * sysdeps/unix/sysv/linux/syscalls.list: Add {get,set}resuid.
3301 Tue Oct 15 08:06:02 1996 Andreas Jaeger <aj@arthur.pfalz.de>
3303 * crypt/Makefile (rpath-link): Extend search path to current directory.
3305 Fri Oct 11 09:18:06 1996 Sven Verdoolaege <skimo@breughel.ufsia.ac.be>
3307 * sysdeps/i386/i586/strlen.S: Correct handling of prolog for
3310 Tue Oct 15 02:13:21 1996 Ulrich Drepper <drepper@cygnus.com>
3312 * stdio-common/vfprintf.c: Don't declare __flockfile as weak.
3314 * crypt/md5-crypt.c (md5_crypt_r): Add cast to prevent warning.
3316 Tue Oct 15 14:37:40 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
3318 * sysdeps/mach/hurd/fcntlbits.h (O_HURD): Add O_EXLOCK and
3321 Tue Oct 15 14:37:40 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
3323 * sysdeps/mach/hurd/fcntlbits.h (O_HURD): Add O_EXLOCK and
3326 Sun Oct 13 19:16:10 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3328 * sysdeps/unix/sysv/linux/m68k/sysdep.h (POUND): Macro removed,
3330 (PSEUDO_END): Provide definition to use .size directive.
3331 (PSEUDO): Don't interpret negative return values less than -128 as
3333 * sysdeps/unix/sysv/linux/m68k/syscall.S (syscall): Likewise.
3335 * sysdeps/m68k/bsd-_setjmp.S: Use PSEUDO_END macro to provide
3337 * sysdeps/m68k/bsd-setjmp.S: Likewise.
3338 * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
3339 * sysdeps/unix/sysv/linux/m68k/mmap.S: Likewise.
3340 * sysdeps/unix/sysv/linux/m68k/sigreturn.S: Likewise.
3341 * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
3342 * sysdeps/unix/sysv/linux/m68k/syscall.S: Likewise.
3343 * sysdeps/unix/sysv/linux/m68k/sysdep.S: Use PSEUDO_END instead of
3344 explicit .size directive.
3346 Sun Oct 13 22:52:56 1996 Ulrich Drepper <drepper@cygnus.com>
3348 * shlib-versions: Add version number/name for ld.so.
3349 * Makeconfig: Move definition of rtld-installed-name after
3350 inclusion of soversions.mk.
3351 Don't add . before version number from shlib-versions file when
3352 when name does not start with digit. This is needed for ld.so.
3354 Sat Oct 12 20:31:58 1996 Richard Henderson <rth@tamu.edu>
3356 * libio/iogets.c: Warn when gets is used.
3357 * stdio/gets.c: Strengthen the warning.
3359 Sat Oct 12 23:10:43 1996 Ulrich Drepper <drepper@cygnus.com>
3361 * libio/Makefile [_LIBC_REENTRANT] (routines): Add peekc.
3362 * libio/libio.h: Add prototypes for _IO_getc, _IO_putc, _IO_feof,
3363 _IO_ferror, _IO_peekc_locked, and _IO_ftrylockfile.
3364 Remove prototypes for _IO_getc_locked and _IO_putc_locked.
3365 [_IO_MTSAFE_IO]: Add weak aliases for _IO_flockfile and
3367 [! _IO_MTSAFE_IO]: Define _IO_ftrylockfile as empty.
3368 Define _IO_getc, _IO_peekc, _IO_putc, _IO_feof, _IO_ferror to
3369 appropriate values according to __USE_REENTRANT.
3370 * libio/stdio.h: Add prototype for ftrylockfile.
3371 [!_LIBC]: Define getc_locked, getchar_locked, putchar_locked,
3372 getc, getchar, putc, and putchar using _IO_* names.
3373 * libio/feof.c: Rename to _IO_feof and make feof weak alias.
3374 * libio/ferror.c: Rename to _IO_ferror and make ferror weak alias.
3375 * libio/getc.c: Rename to _IO_getc and make getc weak alias.
3376 * libio/putc.c: Rename to _IO_putc and make putc weak alias.
3377 * libio/putc_u.c: Don't define alias _IO_putc_unlocked.
3378 * libio/peekc.c: New file.
3380 * stdio-common/vfprintf.c (vfprintf): Unconditionally call
3383 * sysdeps/stub/locfile.c [USE_IN_LIBIO]: Also define _IO_* names.
3385 * crypt/Makefile (tests): Add md5test and md5c-test.
3386 * crypt/md5-crypt.c: Correct various error. Now md5_process_bytes
3387 is called, the buffer limit is honoured and a loop in a inner
3389 * crypt/md5.h (struct md5_ctx): Add new fields.
3390 Add prototypes for new functions.
3391 * crypt/md5.c (md5_init_ctx): Initialize new fields.
3392 (md5_finish_ctx): New function. Like md5_read_ctx but before
3393 perform correct finalization.
3394 (md5_process_bytes): New function. Similar to md5_proces_block,
3395 but does not require input size to be multiple of 64.
3396 (md5_stream): Rewrite using md5_process_bytes and md5_finish_ctx.
3397 (md5_buffer): Likewise.
3398 (md5_process_block): Count number of bytes.
3399 * crypt/md5test.c: New file. Test program for MD5 functions.
3400 * crypt/md5c-test.c: New file: Test program for MD5 crypt
3405 * time/strptime.c: Recognize %s, %u, %g, and %G format.
3407 * posix/getopt.c: Add some more casts and initializations to
3410 Sat Oct 12 16:15:29 1996 Ulrich Drepper <drepper@cygnus.com>
3412 * sysdeps/unix/sysv/linux/speed.c (speeds): Removed. We provide
3413 an extra function to provide this functionality.
3414 (cfgetospeed): Simply return masked value.
3415 (cfsetospeed): Don't use speeds array and so we can simply test
3416 the value of SPEED for illegal values.
3417 * termios/cfsetspeed.c: Rewrite. We convert here between the
3418 real values and the B* constants.
3419 Changes suggested by Uwe Ohse <uwe@tirka.gun.de>.
3421 Fri Oct 11 21:45:34 1996 Andreas Jaeger <aj@arthur.pfalz.de>
3423 * locale/programs/xstrdup.c: Define prototypes.
3424 * locale/programs/xmalloc.c: Likewise.
3426 * stdio-common/xbug.c (main): Change definition to avoid warning.
3428 Fri Oct 11 23:36:31 1996 Miles Bader <miles@gnu.ai.mit.edu>
3430 * db/hash/hash.c (__hash_open): Correctly test for a read-write db.
3432 Fri Oct 11 19:13:34 1996 Ulrich Drepper <drepper@cygnus.com>
3434 * locale/Makefile (CPPFLAGS): Set CHARMAP_PATH to
3435 "$(i18ndir)/charmaps".
3437 Fri Oct 11 22:12:41 1996 NIIBE Yutaka <gniibe@mri.co.jp>
3439 * sysdeps/unix/sysv/linux/sys/procfs.h: Include <asm/user.h>
3440 to get definition of FPU description struct.
3442 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=socket] (subdir_headers):
3443 Add net/if.h, net/if_ppp.h, net/ppp-comp.h, net/ppp_defs.h,
3444 net/if_arp.h, and net/route.h.
3445 * sysdeps/unix/sysv/linux/net/if_arp.h: New file.
3446 * sysdeps/unix/sysv/linux/net/route.h: New file.
3448 Fri Oct 11 14:49:13 1996 Ulrich Drepper <drepper@cygnus.com>
3450 * sysdeps/stub/readdir_r.c: New file. We need a stub version.
3451 * sysdeps/stub/e_acosl.c: Likewise.
3452 * sysdeps/stub/e_asinl.c: Likewise.
3453 * sysdeps/stub/e_atan2l.c: Likewise.
3454 * sysdeps/stub/e_expl.c: Likewise.
3455 * sysdeps/stub/e_fmodl.c: Likewise.
3456 * sysdeps/stub/e_log10l.c: Likewise.
3457 * sysdeps/stub/e_logl.c: Likewise.
3458 * sysdeps/stub/e_sqrtl.c: Likewise.
3459 * sysdeps/stub/s_atanl.c: Likewise.
3460 * sysdeps/stub/s_log1pl.c: Likewise.
3462 * Makefile (distribute): Add nsswitch.h and netgroup.h.
3464 * nss/Makefile (generated): db-netgrp.c is not generated.
3466 * sysdeps/alpha/Dist: Add stxcpy.S and stxncpy.S.
3468 * Make-dist (+out): Add $(dont_distribute).
3470 Fri Oct 11 00:27:18 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3472 * stdio-common/Makefile (routines): Add tmpnam_r.
3474 Fri Oct 11 05:32:51 1996 Ulrich Drepper <drepper@cygnus.com>
3476 * version.h: Bump version to 1.96.
3478 Fri Oct 11 18:13:47 1996 Andreas Jaeger <aj@arthur.pfalz.de>
3480 * stdio-common/tst-printf.c: Some more cleanups.
3482 Fri Oct 11 02:48:02 1996 Ulrich Drepper <drepper@cygnus.com>
3484 * resolv/arpa/nameser.h: Update from bind-4.9.5-T6B.
3485 * resolv/resolv.h: Likewise.
3486 * resolv/gethnamaddr.c: Likewise.
3487 * resolv/res_comp.c: Likewise.
3488 * resolv/res_debug.c: Likewise.
3489 * resolv/res_init.c: Likewise.
3490 * resolv/res_send.c: Likewise.
3491 * resolv/Banner: Update version number.
3493 * nss/nss_dns/dns-host.c: Update according to change in
3494 resolv/gethnamaddr.c.
3496 Fri Oct 10 20:52:28 1996 Ralph Loader <loader@maths.ox.ac.uk>
3498 * crypt/md5.c (md5_stream): When reading the block in several
3499 pieces append to instead of replace previously read data.
3501 Thu Oct 10 15:53:17 1996 Richard Henderson <rth@tamu.edu>
3503 * sysdeps/alpha/stxcpy.S ($unaligned): In single word copy, correct
3504 last-byte-written bit for source word misalignment.
3505 * sysdeps/alpha/strchr.c: Removed. There is now an assembler
3508 Thu Oct 10 17:17:23 1996 Ulrich Drepper <drepper@cygnus.com>
3510 * sunrpc/Makefile (rpcsvc): Remove yp.x. The corrected version
3511 comes with glibc-nis.
3512 * sunrpc/rpcsvc/yp.x: Removed.
3514 * nss/nss_files/files-netgr.c (_nss_netgroup_parseline): Test
3515 for *CURSOR to be NULL and dump a core if yes.
3517 Thu Oct 9 20:09:53 1996 Matthew Jacob <mjacob@feral.com>
3519 * sysdeps/unix/sysv/linux/alpha/brk.S: Define _ERRNO_H before
3520 including <errnos.h> to get error numbers.
3522 Thu Oct 10 14:00:01 1996 Ulrich Drepper <drepper@cygnus.com>
3524 * sysdeps/unix/sysv/linux/i386/sigcontext.h: Moved file...
3525 * sysdeps/unix/sysv/linux/sigcontext.h: ...to here. So the
3526 Alpha people find a correct file.
3527 * sysdeps/libm-ieee754/w_cabs.c: We cannot make __cabsl simply
3528 an alias of __cabs since the structures have different names.
3529 * sysdeps/libm-ieee754/w_log10.c: Fix typo in weak_alias.
3530 Reported by Matthew Jacob <mjacob@feral.com>.
3532 Thu Oct 10 17:25:55 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
3534 * Makerules (sysd-Makefile): Look for sysdep Makefiles using $(..)
3535 so that it still works right if we happen to get called in a
3536 subdir it still works.
3538 * sysdeps/mach/hurd/fcntlbits.h (O_SHLOCK, O_EXLOCK): Redesignate
3539 as file name translation flags.
3540 * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Don't pretend
3541 to do anything for O_SHLOCK or O_EXLOCK. Those are now file name
3544 * Makerules ($(libdir)/libc.so): Mention the actual libc.a archive
3545 name (changed according to libc-name) to avoid getting the
3546 Hurd-ish linker script for libc.a when we only want the archive
3549 Wed Oct 9 00:24:52 1996 Jim Meyering <meyering@asic.sc.ti.com>
3551 * time/strftime.c: Allow old K&R compilers compile this file.
3553 Wed Oct 9 12:03:56 1996 Ulrich Drepper <drepper@cygnus.com>
3555 * posix/execlp.c: Add first argument parameter to be compliant
3556 with POSIX. Rearrange body to start vararg counter after
3559 Wed Oct 9 04:34:50 1996 Ulrich Drepper <drepper@cygnus.com>
3561 * sysdeps/unix/sysv/linux/sys/procfs.h: Rewrite. We cannot use
3562 simply a wrapper around the <linux/elfcore.h> file since the
3563 kernel header is not clean enough. We provide the definitions
3564 in this file instead.
3566 Wed Oct 9 01:43:18 1996 Ulrich Drepper <drepper@cygnus.com>
3568 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Avoid
3569 get?id calls by using __libc_enable_secure.
3571 Wed Oct 9 00:30:33 1996 Ulrich Drepper <drepper@cygnus.com>
3573 * inet/getnetgrent_r.c: Correct netgroup implementation. A
3574 specification of a netgroup can also name another netgroup.
3575 * nss/nss_files/files-netgrp.c: Likewise.
3576 * inet/netgroup.h: Add fields to hold additional information.
3578 Tue Oct 8 21:51:14 1996 Arnold D. Robbins <arnold@skeeve.atl.ga.us>
3580 * posix/getopt.c: Implement POSIX -W option handling. When the
3581 option string contains "W;" -W foo is handled like --foo.
3583 Tue Oct 8 12:27:26 1996 Ulrich Drepper <drepper@cygnus.com>
3585 * sysdeps/unix/sysv/linux/i386/clone.S: Define _ERRNO_H before
3586 inclusing <errnos.h> so we really get error symbols defined.
3587 * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
3588 * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
3590 * sunrpc/auth_unix.c (authunix_create_default): Don't use fixed
3591 size array for getgroups call. Instead get maximal number via
3592 sysconf. But discard list to NGRPS elements before calling XDR
3593 function since Sun's code cannot handle longer lists.
3594 Based on a patch by Thorsten Kukuk <kukuk@weber.uni-paderborn.de>.
3596 * sysdeps/stub/e_j0l.c: Define y0l as well.
3597 * sysdeps/stub/e_j1l.c: Define y1l as well.
3598 * sysdeps/stub/e_jnl.c: Define ynl as well.
3600 * posix/unistd.h: Correct prototype for execlp.
3602 * sysdeps/unix/sysv/linux/posix_opt.h: Define _POSIX_NO_TRUNC.
3604 Mon Oct 7 22:18:03 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3606 * Makeconfig (sysdep-library-path): New variable.
3607 (built-program-cmd): Use it here to properly build a colon
3608 separated library path.
3610 Mon Oct 7 22:11:55 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3612 * crypt/md5-crypt.c (md5_crypt_r): Add missing parens around &
3613 within comparison. Fix comments.
3614 (md5_crypt): Fix comment.
3616 Tue Oct 8 05:10:49 1996 Ulrich Drepper <drepper@cygnus.com>
3618 * sysdeps/unix/sysv/linux/errnos.h: Only include <linux/errnos.h>
3619 when _ERRNO_H is defined.
3620 [!_ERRNO_H && __need_Emath]: Define value for EDOM and ERANGE.
3621 Should there ever be a Linux port where the numeric values are
3622 not 33 and 34 this file must change.
3624 Mon Oct 7 13:54:04 1996 Ulrich Drepper <drepper@cygnus.com>
3626 * libio/iofgets.c (_IO_fgets): Use _IO_flockfile instead of
3629 Mon Oct 7 11:01:45 1996 Andreas Jaeger <aj@arthur.pfalz.de>
3631 * string/tst-strlen.c (main): Provide prototype.
3632 * malloc/mallocbug.c: Likewise.
3633 * io/test-utime.c: Likewise.
3635 * sysdeps/generic/crypt-entry.c: Correct typo.
3637 Mon Oct 7 13:42:20 1996 Ulrich Drepper <drepper@cygnus.com>
3639 * elf/dl-open.c (_dl_open): Check against _dl_sysdep_start to
3640 test for libc.a. Checking _DYNAMIC is of no worth here.
3641 Suggested by Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>.
3643 * nss/nss_files/files-parse.c: Define LOOKUP_NAME even if
3644 EXTERN_PARSER is defined.
3646 Sat Oct 5 17:05:36 1996 Andreas Jaeger <aj@arthur.pfalz.de>
3648 * Rules (dep-dummy-lib): Correct prototype for __dummy__.
3650 * crypt/md5-crypt.c: Fix typos in comments.
3652 * gmon/gmon.c: Provide prototypes.
3653 * db/makedb.c: Likewise.
3654 * locale/programs/xmalloc.c: Likewise.
3655 * stdio-common/bug11.c (main): Likewise.
3656 * stdio-common/bug7.c (main): Likewise.
3657 * stdio-common/bug8.c (main): Likewise.
3658 * stdio-common/bug9.c (main): Likewise.
3659 * stdio-common/scanf1.c (main): Likewise.
3660 * stdio-common/scanf2.c (main): Likewise.
3661 * stdio-common/scanf5.c (main): Likewise.
3662 * stdio-common/scanf6.c (main): Likewise.
3663 * stdio-common/scanf7.c (main): Likewise.
3664 * stdio-common/scanf8.c (main): Likewise.
3665 * stdio-common/temptest.c (main): Likewise.
3666 * stdio-common/test-fwrite.c (main): Likewise.
3667 * stdio-common/tst-printf.c: Likewise.
3668 * stdio-common/tstdiomisc.c: Likewise.
3669 * stdio-common/tstgetln.c (main): Likewise.
3670 * stdlib/testmb.c (main): Likewise.
3672 * stdio-common/scanf4.c (main): Correct prototype, remove unused
3675 * stdio-common/scanf3.c (main): Correct prototype, change
3676 declaration of s to reduce warnings.
3677 * stdio-common/bug10.c (main): Likewise.
3679 * stdio-common/tfformat.c: Provide prototype, remove unused
3680 reference to dump_stats, add braces in sprint_doubles.
3681 * stdio-common/tiformat.c: Likewise.
3683 * stdio-common/test_rdwr.c (main): Parameter `where' is long in
3686 Mon Oct 7 14:04:26 1996 NIIBE Yutaka <gniibe@mri.co.jp>
3688 * sysdeps/unix/sysv/linux/sys/soundcard.h: Fix typo.
3690 * shadow/putspent.c: Don't write colon after flag field.
3692 * sysdeps/unix/sysv/linux/net/if_ppp.h: New file. Wrapper around
3694 * sysdeps/unix/sysv/linux/net/ppp-comp.h: Likewise.
3695 * sysdeps/unix/sysv/linux/net/ppp_defs.h: Likewise.
3696 * sysdeps/unix/sysv/linux/Dist: Mention new files.
3698 Mon Oct 7 00:58:19 1996 Ulrich Drepper <drepper@cygnus.com>
3700 * sysdeps/i386/i586/strchr.S: Correct handling of first bytes to
3701 get pointer aligned. Reported by Matthias Urlichs <smurf@noris.de>.
3703 * sysdeps/posix/euidaccess.c [_LIBC]: Avoid calling get?id functions
3704 by using __libc_enable_secure variable.
3706 Tue Oct 8 13:58:31 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
3708 * hurd/ports-get.c (_hurd_ports_get): If the requested port is
3709 null, don't attempt mach_port_mod_refs.
3711 Mon Oct 7 14:51:52 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
3713 * sysdeps/mach/hurd/pipestream.c: New file to avoid use of
3714 sysdeps/unix/pipestream.c.
3716 * sysdeps/mach/hurd/readdir_r.c: New file, guts copied entirely
3717 from sysdeps/mach/hurd/readdir.c.
3719 * stdio/freopen.c: Complete de-ansideclification.
3720 * stdio/fgets.c (fgets): Likewise.
3721 * stdio/getdelim.c (__getdelim): Likewise.
3722 * sysdeps/posix/pipestream.c (readdecl, writedecl, seekdecl,
3725 * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
3726 * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
3728 * sysdeps/mach/hurd/wait4.c (__wait4): Allow a null value for
3729 STAT_LOC without error.
3731 Sun Oct 6 02:05:52 1996 Ulrich Drepper <drepper@cygnus.com>
3733 * posix/getopt.c: Add casts to prevent warnings.
3734 * posix/regex.c: Likewise.
3736 * math/Makefile (long-m-routines, long-m-yes): Define to correct
3737 values to make `long double' functions available.
3738 (distribute): Add $(long-m-yes:=.c).
3740 * sysdeps/libm-i387/s_copysignl.S: Correct loading of return value.
3741 Use long double instruction.
3743 * sysdeps/libm-ieee754/e_atanhl.c (huge): Correct constant.
3744 * sysdeps/libm-ieee754/e_asinhl.c: Likewise.
3745 * sysdeps/libm-ieee754/s_tanhl.c: Likewise.
3747 * sysdeps/libm-ieee754/e_coshl.c: New file.
3749 * sysdeps/libm-ieee754/s_asinh.c [!NO_LONG_DOUBLE]: Define names
3750 for `long double' version as alias.
3751 * sysdeps/libm-ieee754/s_atan.c: Likewise.
3752 * sysdeps/libm-ieee754/s_cbrt.c: Likewise.
3753 * sysdeps/libm-ieee754/s_ceil.c: Likewise.
3754 * sysdeps/libm-ieee754/s_copysign.c: Likewise.
3755 * sysdeps/libm-ieee754/s_cos.c: Likewise.
3756 * sysdeps/libm-ieee754/s_erf.c: Likewise.
3757 * sysdeps/libm-ieee754/s_expm1.c: Likewise.
3758 * sysdeps/libm-ieee754/s_fabs.c: Likewise.
3759 * sysdeps/libm-ieee754/s_finite.c: Likewise.
3760 * sysdeps/libm-ieee754/s_floor.c: Likewise.
3761 * sysdeps/libm-ieee754/s_frexp.c: Likewise.
3762 * sysdeps/libm-ieee754/s_ilogb.c: Likewise.
3763 * sysdeps/libm-ieee754/s_ldexp.c: Likewise.
3764 * sysdeps/libm-ieee754/s_log1p.c: Likewise.
3765 * sysdeps/libm-ieee754/s_logb.c: Likewise.
3766 * sysdeps/libm-ieee754/s_modf.c: Likewise.
3767 * sysdeps/libm-ieee754/s_nextafter.c: Likewise.
3768 * sysdeps/libm-ieee754/s_rint.c: Likewise.
3769 * sysdeps/libm-ieee754/s_scalbn.c: Likewise.
3770 * sysdeps/libm-ieee754/s_significand.c: Likewise.
3771 * sysdeps/libm-ieee754/s_sin.c: Likewise.
3772 * sysdeps/libm-ieee754/s_tan.c: Likewise.
3773 * sysdeps/libm-ieee754/s_tanh.c: Likewise.
3774 * sysdeps/libm-ieee754/w_acos.c: Likewise.
3775 * sysdeps/libm-ieee754/w_acosh.c: Likewise.
3776 * sysdeps/libm-ieee754/w_sin.c: Likewise.
3777 * sysdeps/libm-ieee754/w_atan2.c: Likewise.
3778 * sysdeps/libm-ieee754/w_atanh.c: Likewise.
3779 * sysdeps/libm-ieee754/w_cabs.c: Likewise.
3780 * sysdeps/libm-ieee754/w_cosh.c: Likewise.
3781 * sysdeps/libm-ieee754/w_drem.c: Likewise.
3782 * sysdeps/libm-ieee754/w_exp.c: Likewise.
3783 * sysdeps/libm-ieee754/w_fmod.c: Likewise.
3784 * sysdeps/libm-ieee754/w_gamma.c: Likewise.
3785 * sysdeps/libm-ieee754/w_gamma_r.c: Likewise.
3786 * sysdeps/libm-ieee754/w_hypot.c: Likewise.
3787 * sysdeps/libm-ieee754/w_j0.c: Likewise.
3788 * sysdeps/libm-ieee754/w_j1.c: Likewise.
3789 * sysdeps/libm-ieee754/w_jn.c: Likewise.
3790 * sysdeps/libm-ieee754/w_lgamma.c: Likewise.
3791 * sysdeps/libm-ieee754/w_lgamma_r.c: Likewise.
3792 * sysdeps/libm-ieee754/w_log.c: Likewise.
3793 * sysdeps/libm-ieee754/w_log10.c: Likewise.
3794 * sysdeps/libm-ieee754/w_pow.c: Likewise.
3795 * sysdeps/libm-ieee754/w_remainder.c: Likewise.
3796 * sysdeps/libm-ieee754/w_scalb.c: Likewise.
3797 * sysdeps/libm-ieee754/w_sinh.c: Likewise.
3798 * sysdeps/libm-ieee754/w_sqrt.c: Likewise.
3800 Stub files for missing long double math functions.
3801 * sysdeps/stub/e_acoshl.c: New file.
3802 * sysdeps/stub/e_hypotl.c: New file.
3803 * sysdeps/stub/e_j0l.c: New file.
3804 * sysdeps/stub/e_j1l.c: New file.
3805 * sysdeps/stub/e_jnl.c: New file.
3806 * sysdeps/stub/e_lgammal_r.c: New file.
3807 * sysdeps/stub/e_powl.c: New file.
3808 * sysdeps/stub/e_rem_pio2l.c: New file.
3809 * sysdeps/stub/e_sinhl.c: New file.
3810 * sysdeps/stub/k_cosl.c: New file.
3811 * sysdeps/stub/k_rem_pio2l.c: New file.
3812 * sysdeps/stub/k_sinl.c: New file.
3813 * sysdeps/stub/k_tanl.c: New file.
3814 * sysdeps/stub/s_erfl.c: New file.
3815 * sysdeps/stub/s_expm1l.c: New file.
3817 * sysdeps/i386/__longjmp.S: Use PSEUDO_END macro to provide
3819 * sysdeps/i386/bsd-_setjmp.S: Likewise.
3820 * sysdeps/i386/bsd-setjmp.S: Likewise.
3821 * sysdeps/i386/memchr.S: Likewise.
3822 * sysdeps/i386/memcmp.S: Likewise.
3823 * sysdeps/i386/setjmp.S: Likewise.
3824 * sysdeps/i386/stpcpy.S: Likewise.
3825 * sysdeps/i386/stpncpy.S: Likewise.
3826 * sysdeps/i386/strchr.S: Likewise.
3827 * sysdeps/i386/strcspn.S: Likewise.
3828 * sysdeps/i386/strpbrk.S: Likewise.
3829 * sysdeps/i386/strrchr.S: Likewise.
3830 * sysdeps/i386/strspn.S: Likewise.
3831 * sysdeps/i386/strtok.S: Likewise.
3832 * sysdeps/i386/i486/strcat.S: Likewise.
3833 * sysdeps/i386/i486/strlen.S: Likewise.
3834 * sysdeps/i386/i586/memset.S: Likewise.
3835 * sysdeps/i386/i586/strchr.S: Likewise.
3836 * sysdeps/i386/i586/strlen.S: Likewise.
3837 * sysdeps/libm-i387/e_acos.S: Likewise.
3838 * sysdeps/libm-i387/e_acosl.S: Likewise.
3839 * sysdeps/libm-i387/e_asin.S: Likewise.
3840 * sysdeps/libm-i387/e_asinl.S: Likewise.
3841 * sysdeps/libm-i387/e_atan2.S: Likewise.
3842 * sysdeps/libm-i387/e_atan2l.S: Likewise.
3843 * sysdeps/libm-i387/e_exp.S: Likewise.
3844 * sysdeps/libm-i387/e_expl.S: Likewise.
3845 * sysdeps/libm-i387/e_fmod.S: Likewise.
3846 * sysdeps/libm-i387/e_fmodl.S: Likewise.
3847 * sysdeps/libm-i387/e_log.S: Likewise.
3848 * sysdeps/libm-i387/e_log10.S: Likewise.
3849 * sysdeps/libm-i387/e_log10l.S: Likewise.
3850 * sysdeps/libm-i387/e_logl.S: Likewise.
3851 * sysdeps/libm-i387/e_remainder.S: Likewise.
3852 * sysdeps/libm-i387/e_remainderf.S: Likewise.
3853 * sysdeps/libm-i387/e_remainderl.S: Likewise.
3854 * sysdeps/libm-i387/e_scalb.S: Likewise.
3855 * sysdeps/libm-i387/e_scalbl.S: Likewise.
3856 * sysdeps/libm-i387/e_sqrt.S: Likewise.
3857 * sysdeps/libm-i387/e_sqrtf.S: Likewise.
3858 * sysdeps/libm-i387/e_sqrtl.S: Likewise.
3859 * sysdeps/libm-i387/s_atan.S: Likewise.
3860 * sysdeps/libm-i387/s_atanf.S: Likewise.
3861 * sysdeps/libm-i387/s_atanl.S: Likewise.
3862 * sysdeps/libm-i387/s_ceil.S: Likewise.
3863 * sysdeps/libm-i387/s_ceilf.S: Likewise.
3864 * sysdeps/libm-i387/s_ceill.S: Likewise.
3865 * sysdeps/libm-i387/s_copysign.S: Likewise.
3866 * sysdeps/libm-i387/s_copysignf.S: Likewise.
3867 * sysdeps/libm-i387/s_copysignl.S: Likewise.
3868 * sysdeps/libm-i387/s_cos.S: Likewise.
3869 * sysdeps/libm-i387/s_cosf.S: Likewise.
3870 * sysdeps/libm-i387/s_cosl.S: Likewise.
3871 * sysdeps/libm-i387/s_finite.S: Likewise.
3872 * sysdeps/libm-i387/s_finitef.S: Likewise.
3873 * sysdeps/libm-i387/s_finitel.S: Likewise.
3874 * sysdeps/libm-i387/s_floor.S: Likewise.
3875 * sysdeps/libm-i387/s_floorf.S: Likewise.
3876 * sysdeps/libm-i387/s_floorl.S: Likewise.
3877 * sysdeps/libm-i387/s_ilogb.S: Likewise.
3878 * sysdeps/libm-i387/s_ilogbf.S: Likewise.
3879 * sysdeps/libm-i387/s_ilogbl.S: Likewise.
3880 * sysdeps/libm-i387/s_log1p.S: Likewise.
3881 * sysdeps/libm-i387/s_log1pf.S: Likewise.
3882 * sysdeps/libm-i387/s_log1pl.S: Likewise.
3883 * sysdeps/libm-i387/s_logb.S: Likewise.
3884 * sysdeps/libm-i387/s_logbf.S: Likewise.
3885 * sysdeps/libm-i387/s_logbl.S: Likewise.
3886 * sysdeps/libm-i387/s_rint.S: Likewise.
3887 * sysdeps/libm-i387/s_rintf.S: Likewise.
3888 * sysdeps/libm-i387/s_rintl.S: Likewise.
3889 * sysdeps/libm-i387/s_scalbn.S: Likewise.
3890 * sysdeps/libm-i387/s_scalbnf.S: Likewise.
3891 * sysdeps/libm-i387/s_scalbnl.S: Likewise.
3892 * sysdeps/libm-i387/s_significand.S: Likewise.
3893 * sysdeps/libm-i387/s_significandf.S: Likewise.
3894 * sysdeps/libm-i387/s_significandl.S: Likewise.
3895 * sysdeps/libm-i387/s_sin.S: Likewise.
3896 * sysdeps/libm-i387/s_sinf.S: Likewise.
3897 * sysdeps/libm-i387/s_sinl.S: Likewise.
3898 * sysdeps/libm-i387/s_tan.S: Likewise.
3899 * sysdeps/libm-i387/s_tanf.S: Likewise.
3900 * sysdeps/libm-i387/s_tanl.S: Likewise.
3902 * sysdeps/unix/sysv/linux/i386/clone.S: Add .size directive.
3903 * sysdeps/unix/sysv/linux/i386/mmap.S. Likewise.
3904 * sysdeps/unix/sysv/linux/i386/socket.S. Likewise.
3905 * sysdeps/unix/sysv/linux/i386/sysdep.S. More compact .size line.
3907 * sysdeps/i386/sysdep.h (ASM_SIZE_DIRECTIVE): New macro. Used
3908 to provide .size directive on ELF systems.
3910 * sysdeps/unix/sysv/linux/i386/profil-counter.h: Include
3911 <sigcontext.h> and rename parameter type to sigcontext.
3912 * sysdeps/unix/sysv/linux/i386/sigcontext.h New file.
3914 * sysdeps/unix/sysv/linux/i386/syscall.S: From Linux 2.1 on
3915 negative values might occur as positive results. Test against
3916 -125 to decide for error or not.
3917 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise for system calls.
3919 Thu Oct 3 21:07:58 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3921 * elf/dl-open.c: Use _DYNAMIC instead of _dl_start to decide
3922 whether this is a statically linked program. The latter is now
3925 Fri Oct 4 17:30:22 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
3927 * hurd/hurdsig.c (signal_allowed): Add SIGWINCH to the list that
3928 controlling terminals are allowed to send.
3930 * hurd/alloc-fd.c (_hurd_alloc_fd): If SIZE is so big that the
3931 table is larger than the allowable address size, then return
3934 Fri Oct 4 02:08:10 1996 Bang Jun-Young <bangjy@nownuri.nowcom.co.kr>
3938 Fri Oct 4 02:07:46 1996 Michel Robitaille <robitail@IRO.UMontreal.CA>
3940 * po/fr.po: New file.
3942 Fri Oct 4 05:04:52 1996 Ulrich Drepper <drepper@cygnus.com>
3944 * sysdeps/unix/sysv/linux/i386/sigcontext.h: New file.
3946 Add support for MD5 crypt replacement.
3947 * Makefile (subdirs): Add crypt.
3948 * shlib-versions: Add entry for libcrypt.
3949 * crypt/md5-crypt.c: New file.
3950 * crypt/md5.c: New file.
3951 * crypt/md5.h: New file.
3952 * sysdeps/generic/crypt-entry.c: New file.
3953 * sysdeps/generic/crypt.h: New file.
3955 Thu Oct 3 20:53:23 1996 Andreas Jaeger <aj@arthur.pfalz.de>
3957 * dirent/tst-seekdir.c: Provide correct prototypes.
3958 * io/test-utime.c: Likewise.
3959 * malloc/mallocbug.c: Likewise.
3960 * posix/testfnm.c: Likewise.
3961 * stdio-common/xbug.c: Likewise.
3962 * sysdeps/posix/cuserid.c: Likewise.
3964 Wed Oct 2 13:33:48 1996 Richard Henderson <rth@tamu.edu>
3966 Provide optimized string functions for Alpha processors.
3967 * sysdeps/alpha/bzero.S: New file.
3968 * sysdeps/alpha/memset.S: New file.
3969 * sysdeps/alpha/stpcpy.S: New file.
3970 * sysdeps/alpha/stpncpy.S: New file.
3971 * sysdeps/alpha/strcat.S: New file.
3972 * sysdeps/alpha/strchr.S: New file.
3973 * sysdeps/alpha/strcpy.S: New file.
3974 * sysdeps/alpha/strncat.S: New file.
3975 * sysdeps/alpha/strncpy.S: New file.
3976 * sysdeps/alpha/strrchr.S: New file.
3977 * sysdeps/alpha/stxcpy.S: New file.
3978 * sysdeps/alpha/stxncpy.S: New file.
3980 * sysdeps/alpha/Makefile [$(sudir)==string]: Add stxcpy and
3981 stxncpy to sysdep_routines.
3984 Thu Oct 3 13:33:31 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
3986 * sysdeps/generic/gnu/types.h: Added __loff_t.
3987 Don't declare key_t here.
3989 * hurd/alloc-fd.c (_hurd_alloc_fd): If realloc fails, bother to
3990 set errno (to ENOMEM).
3992 Wed Oct 2 13:41:48 1996 Ulrich Drepper <drepper@cygnus.com>
3994 * sysdeps/generic/strtok.c: Don't set stored pointer to NULL when
3995 nothing is found. This guarantees all subsequent calls behave
3997 * sysdeps/generic/strtok_r.c: Likewise.
3999 Mon Sep 30 22:27:36 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4001 * sysdeps/posix/tempname.c (__stdio_gen_tempname): Don't declare
4004 Mon Sep 30 22:38:29 1996 Richard Henderson <rth@tamu.edu>
4006 * sysdeps/generic/strtok.c: When we hit EOS, don't set olds to
4007 NULL immediately; we're going to get called one more time.
4008 * sysdeps/generic/strtok_r.c: Likewise.
4010 Tue Oct 1 09:12:21 1996 Ulrich Drepper <drepper@cygnus.com>
4012 * locale/programs/ld-time.c: Always write some bytes at the end of
4013 the file even if no `era's are specified.
4015 * stdio-common/tmpname.c (tmpbuf): Don't define as array of
4018 Tue Oct 1 01:43:11 1996 Ulrich Drepper <drepper@cygnus.com>
4020 * libio/iofclose.c: Move unlocking to right position.
4022 Mon Sep 30 03:08:34 1996 Richard Henderson <rth@tamu.edu>
4024 * misc/Makefile: Kill force-wrapper.
4025 * misc/force-wrapper.c: Delete.
4027 * elf/eval.c: Add <string.h>.
4029 * gmon/sys/gmon_out.h: Nonsense like `char foo[sizeof(char*)]'
4030 followed by `bcopy(&ptr, &foo, sizeof(foo))' helps portability
4031 and binary compatibility not at all. Better to do `char *foo'
4032 followed by `foo = ptr' as it is much cleaner.
4033 (struct gmon_hdr): Fix version.
4034 (struct gmon_hist_hdr): Fix low_pc, high_pc, hist_size, prof_rate.
4035 (struct gmon_cg_arc_record): Fix from_pc, self_pc, count.
4036 * gmon/gmon.c: De-ansidecl-ify.
4037 (write_hist): De-bcopy-fy.
4038 (write_call_graph): Likewise.
4040 * gmon/mcount.c: Assume _MCOUNT_DECL does the entire declaration.
4041 * sysdeps/alpha/machine-gmon.h: Update _MCOUNT_DECL.
4042 * sysdeps/generic/machine-gmon.h: Likewise.
4044 * resolv/netdb.h: Add __set_h_errno to mimic __set_errno.
4045 * nss/getXXent_r.c: Use __set_h_errno to set h_errno in all funcs.
4046 * nss/nss_dns/dns-network.c: Likewise.
4047 * resolv/getunamaddr.c: Likewise. Also use __set_errno where needed.
4048 * resolv/getnetnamadr.c: Likewise.
4049 * resolv/res_debug.c: Likewise.
4050 * resolv/res_mkquery.c: Likewise.
4051 * resolv/res_query.c: Likewise.
4053 * libio/clearerr_u.c: It's not necessary to define __ protected
4054 function so don't do it.
4055 * libio/feof_u.c, libio/ferror_u.c, libio/fputc_u.c,
4056 libio/getc_u.c, libio/getchar_u.c, libio/iofflush_u.c: Likewise.
4058 * libio/fgetc.c: Avoid a warning by casting _IO_funlockfile for
4059 the cleanup registrar.
4060 * libio/fputc.c, libio/freopen.c, libio/fseek.c, libio/getc.c,
4061 libio/getchar.c, libio/iofclose.c, libio/iofflush.c,
4062 libio/iofgetpos.c, libio/iofgets.c, libio/iofputs.c,
4063 libio/iofread.c, libio/iofsetpos.c, libio/ioftell.c,
4064 libio/iofwrite.c, libio/iogetdelim.c, libio/iogets.c,
4065 libio/ioputs.c, libio/iosetbuffer.c, libio/iosetvbuf.c,
4066 libio/ioungetc.c, libio/putc.c, libio/putchar.c, libio/rewind.c:
4069 * locale/programs/ld-ctype.c: Include <alloca.h>.
4071 * login/login_tty.c: Get login_tty prototype from <utmp.h>.
4073 * posix/sys/types.h: Change #defines to typedefs. This is looking
4074 forward to more comprehensive namespace cleanups for C++.
4075 * posix/unistd.h: Likewise for ssize_t.
4077 * pwd/getpw.c: Prototype and rename getpw -> __getpw and add a
4080 * resolv/base64.c: Don't do `for (NULL; ...)' as it causes
4081 `statement with no effect' warnings.
4082 * resolv/inet_neta.c: Include <string.h> for strlen.
4084 * stdio-common/getline.c: Undef ssize_t before libio redefinition.
4085 * stdio-common/tstgetln.c: Same. De-ansidecl-ify.
4086 * stdio-common/vfprintf.c: Same for va_list.
4087 * stdio-common/vfscanf.c: Same.
4088 * stdio-common/reg-printf.c: Prototype the __ function.
4089 * stdio-common/scanf.c [USE_IN_LIBIO]: Include <libioP.h> for
4090 _IO_vscanf declaration.
4092 * string/tester.c: Tsk, tsk. Don't cast pointers to int,
4093 but to unsigned long for the health of 64-bit systems.
4095 * sunrpc/svc_udp.c: Define MAX only if we don't have it yet.
4096 Many system's <sys/param.h> pulls this in.
4098 * sysdeps/generic/dl-cache.c: Kill the bottom half of the
4101 * sysdeps/generic/pty.c (forkpty): Get login_tty decl from <utmp.h>
4102 instead of defining it locally.
4104 * sysdeps/posix/sigvec.c: Prototype wrapper_handler and convert_mask.
4105 * sysdeps/stub/chflags.c: Prototype chflags.
4106 * sysdeps/stub/fchflags.c: Prototype fchflags.
4107 * sysdeps/stub/sstk.c: Prototype sstk.
4109 * sysdeps/unix/alpha/sysdep.S: Add strong alias from errno
4110 variable to __errno. Update __syscall_error to store to both
4111 the global and per-thread variables.
4113 * sysdeps/unix/sysv/linux/init-first.c: Change include of
4114 init-first.h from "" to <> as "" does not search the include path.
4115 Prototype _dl_start.
4117 Sun Sep 29 14:41:17 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4119 * sysdeps/unix/Makefile ($(common-objpfx)s-proto.d): Make it a
4120 pattern rule to get the right stem.
4122 Sat Sep 28 01:30:06 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4124 * Makefile ($(objpfx)version-info.h): Fix typo in previous change.
4126 Sat Sep 28 00:44:38 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4128 * sysdeps/posix/euidaccess.c (__set_errno): Fix typo.
4130 Sat Sep 28 00:40:38 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4132 * malloc/free.c (_free_internal): Don't call free recursively, use
4133 the internal functions instead.
4135 Sat Sep 28 00:23:20 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4137 * sysdeps/posix/tempname.c (__stdio_gen_tempname) [USE_IN_LIBIO &&
4138 _IO_MTSAFE_IO]: Allocate and initialize the file lock.
4140 Fri Sep 27 23:58:17 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4142 * catgets/gencat.c (main): Print version information on stdout,
4144 * db/makedb.c: Likewise.
4145 * locale/programs/locale.c: Likewise.
4146 * locale/programs/localedef.c: Likewise.
4148 Mon Sep 30 00:14:26 1996 Ulrich Drepper <drepper@cygnus.com>
4150 Add implementation of netgroup.
4151 * inet/Makefile (distributes): Add netgroup.h.
4152 (routines): Add getnetgrent.c and getnetgrent_r.c.
4153 * inet/getnetgrent.c: New file.
4154 * inet/getnetgrent_r.c: New file.
4155 * inet/netgroup.h: New file.
4156 * netgroup.h: New file.
4157 * nsswitch.h: New file.
4158 * nss/Makefile (databases): Add getgrp.
4159 * nss/databases.def: Add netgroup.
4160 * nss/db-Makefile: Add rules for netgroup.
4161 * nss/netgrp-lookup.c: New file.
4162 * nss/nss.h: Add new status value NSS_STATUS_RETURN which will
4163 always return without a check of the transition table.
4164 * nss/nsswitch.h (struct service_user): Extend actions array to
4166 * nss/nsswitch.c (__nss_next): Allow NSS_STATUS_RETURN as legal
4168 (nss_parse_service_list): Initialize action for NSS_STATUS_RETURN
4169 to NSS_ACTION_RETURN.
4170 * nss/nss_db/db-netgrp.c: New file.
4171 * nss/nss_files/files-netgrp.c: New file.
4172 * nss/nsswitch.conf: Add entry for netgroup.
4173 * resolv/netdb.h: Add prototypes for netgroup functions.
4175 * nss/nss_db/db-XXX.c: Use `enum nss_status' type when status
4178 Sun Sep 29 12:55:58 1996 Ulrich Drepper <drepper@cygnus.com>
4180 * sysdeps/unix/sysv/linux/syscalls.list: Change function name for
4181 _llseek to _llseek (not llseek).
4182 Reported by Matthias Urlichs <smurf@smurf.noris.de>.
4184 Sun Sep 29 05:34:32 1996 Ulrich Drepper <drepper@cygnus.com>
4186 * inet/rcmd.c: Remove definition of MIN.
4188 Sat Sep 28 14:22:51 1996 Ulrich Drepper <drepper@cygnus.com>
4190 * dirent/readdir_r.c: Removed. We indeed need a real implementation.
4191 * sysdeps/unix/readdir_r.c: New file.
4192 * sysdeps/unix/readdir.c: Remove check for correct parameter
4193 values. Let them simply die.
4194 * manual/filesys.texi: Document readdir_r.
4196 * sysdeps/gnu/errlist.awk: Define _sys_errlist as `const char* const'.
4197 Proposed by Per Abrahamsen <abraham@dina.kvl.dk>.
4199 Sat Sep 28 03:02:49 1996 Ulrich Drepper <drepper@cygnus.com>
4201 * dirent/Makefile (routines): Add readdir_r.
4202 * dirent/readdir_r.c: New file. Wrapper around readdir.c.
4203 * dirent/dirent.h: Add prototype for readdir_r.
4205 * misc/hsearch_r.c (ENTRY): Make field `used' of type `unsigned int'
4206 to prevent warnings.
4208 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path):
4209 Initialize `result'.
4211 Sat Sep 28 01:16:42 1996 Ulrich Drepper <drepper@cygnus.com>
4213 * sysdeps/generic/strsep.c: Rename to __strsep and make strsep
4215 * string/string.h: Add prototype for __strsep.
4216 * misc/mntent_r.c: Use __strsep instead of strsep to keep
4219 * sysdeps/stub/nanosleep.c: Rename to __libc_nanosleep and make
4220 __nanosleep and nanosleep weak aliases.
4221 * sysdeps/unix/sysv/linux/syscalls.list: Add __nanosleep as weak
4223 * sysdeps/unix/sysv/linux/sleep.c: Call __nanosleep instead of
4224 nanosleep to keep namespace clean.
4226 * sysdeps/posix/ttyname.c (ttyname): Add cast to prevent warning.
4227 * sysdeps/posix/ttyname_r.c (ttyname_r): Likewise.
4228 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
4230 * sysdeps/unix/nlist.c: Use ISO C definition since we don't always
4233 * login/Makefile (headers): Add pty.h.
4234 * login/pty.h: New file.
4235 * sysdeps/generic/pty.h: Include <pty.h>.
4236 * login/pututline_r.c: Add cast to prevent warning.
4238 * gmon/gmon.c: Add prototype for __profile_frequency.
4239 (monstartup): Add cast to prevent warning.
4240 * sysdeps/generic/prof-freq.c: Change to use ISO C style definition.
4242 * locale/programs/ld-time.c (time_output): Write `era' information
4245 Sat Sep 28 00:11:08 1996 Ulrich Drepper <drepper@cygnus.com>
4247 * sysdeps/unix/sysv/linux/syscalls.list: Add weak alias
4249 Set caller for mlock, mlockall, mremap, munlock, and munlockall
4251 Reported by Matthias Urlichs <smurf@smurf.noris.de>.
4253 1996-09-27 Paul Eggert <eggert@twinsun.com>
4255 * strftime.c (strftime): Output incomplete formats like %E
4258 1996-09-27 Paul Eggert <eggert@twinsun.com>
4260 * strftime.c (strftime): Add support for %EC and %Ey.
4261 Fix support for %EY. This uses the new _nl_get_era_entry function.
4263 Fri Sep 27 14:12:27 1996 Ulrich Drepper <drepper@cygnus.com>
4265 Security related patch by Elliot Lee <sopwith@redhat.com> and
4266 David Holland <dholland@eecs.harvard.edu>.
4268 * inet/rexec.c (rexec): Increase size of `num' array from 8 to 32.
4269 * inet/ruserpass.c (ruserpass): Don't allow $HOME envvar to not exist.
4271 * sysdeps/generic/getenv.c (__secure_getenv): New function. Return
4272 NULL when programs runs with SUID or SGID enabled.
4273 * sysdeps/stub/getenv.c: Make __secure_getenv an alias of getenv.
4274 * stdlib/stdlib.h: Add prototype for __secure_getenv.
4276 * locale/setlocale.c: Use __secure_getenv.
4277 * resolv/res_init.c: Likewise.
4278 * resolv/res_query.c: Likewise.
4279 * inet/ruserpass.c: Likewise.
4280 * sysdeps/posix/tempname.c: Likewise.
4281 * malloc/mtrace.c: Likewise.
4282 * catgets/catgets.c: Likewise.
4284 Make temporary file handling functions reentrant.
4286 * stdio-common/tmpnam.c: Rewrite to have own buffer to write
4287 result to. The called __stdio_gen_tempname function must be
4289 * stdio-common/tmpnam_r.c: New file.
4290 * stdio/stdio.h: Add prototype for `tmpnam_r'.
4291 Change prototype for __stdio_gen_tempname.
4292 * stdio/libio.h: Likewise.
4293 * sysdeps/posix/tempname.c: Add new parameters and use them instead
4295 Don't reset `indeces' when PID changed between calls.
4296 Don't fail for long running programs when index counter once
4298 * sysdeps/stub/tempname.c: Likewise.
4299 * stdio-common/tempnam.c: Provide local buffer as extra argument
4300 to __stdio_gen_tempname. This makes this function reentrant.
4301 * stdio-common/tmpfile.c: Likewise.
4302 * stdio-common/temptest.c: Provide extra argument to
4303 __stdio_gen_tempname.
4304 * manual/filesys.texi: Describe tmpnam_r and add comments about
4305 reentrancy of the functions.
4307 * inet/rcmd.c: Fixed address length handling.
4309 * sysdeps/posix/mk-stdiolim.c: Count final \0 byte in L_tmpnam value.
4311 * time/strftime.c: Remove unused variables alt_digits and
4314 * sysdeps/unix/sysv/linux/sys/sysinfo.h: Correct prototype names
4315 for get_nprocs and get_nprocs_conf.
4316 * sysdeps/generic/sys/sysinfo.h: Likewise.
4318 * stdlib/test-canon.c: Finally do the right fix.
4320 * misc/Makefile: Only compile force-wrapper when compiling
4323 Fri Sep 27 03:49:56 1996 Ulrich Drepper <drepper@cygnus.com>
4325 Add support for cancelable system calls.
4327 * csu/initfini.c: Make in crti.o reference to symbol
4328 __libc_force_cancel_wrapper when compiling reentrant version.
4329 * misc/Makefile (routines): Add force-wrapper.
4330 * misc/force-wrapper.c: New file.
4332 * posix/system.c: Rename function to __libc_system and make system
4334 * sysdeps/stub/system.c: Likewise.
4335 * posix/wait.c: Rename function to __libc_wait and make __wait a
4336 weak alias. De-ANSI-fy.
4337 * sysdeps/standalone/read.c: Rename function to __libc_read and
4338 make __read a weak alias.
4339 * sysdeps/stub/read.c: Likewise.
4340 * sysdeps/standalone/write.c: Rename function to __libc_write and
4341 make __write a weak alias.
4342 * sysdeps/stub/write.c: Likewise.
4343 * sysdeps/stub/tcdrain.c: Rename function to __libc_tcdrain and
4344 make tcdrain a weak alias.
4345 * sysdeps/unix/bsd/tcdrain.c: Likewise.
4346 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Likewise.
4347 * sysdeps/unix/sysv/tcdrain.c: Likewise.
4348 * sysdeps/unix/sysv/linux/tcdrain.c: Likewise.
4349 * sysdeps/unix/bsd/bsd4.4/wait.c: Rename function to __libc_wait
4350 and make __wait a weak alias.
4351 * sysdeps/stub/waitpid.c: Rename function to __libc_waitpid and
4352 make __waitpid a weak alias.
4353 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Likewise.
4354 * sysdeps/unix/sysv/linux/waitpid.c: Likewise.
4355 * sysdeps/unix/sysv/sysv4/waitpid.c: Likewise.
4356 * sysdeps/unix/common/pause.c: Rename function to __libc_pause
4357 and make pause a weak alias. De-ANSI-fy.
4359 * sysdeps/unix/syscalls.list: Change name for close, fcntl, fsync,
4360 lseek, open, read, and write to have __libc_ prefix and make old
4362 * sysdeps/unix/mman/syscalls.list: Likewise for msync.
4363 * sysdeps/unix/sysv/linux/syscalls.list: Likewise for nanosleep.
4365 * io/creat.c: De-ANSI-fy.
4367 * sysdeps/unix/sysv/linux/syscalls.list: Add pause.
4369 Thu Sep 26 19:15:55 1996 Ulrich Drepper <drepper@cygnus.com>
4371 * misc/mntent.h: Add MNTTYPE_* and MNTOPT_* macros.
4372 Reported by Hans Grobler <grobh@nolian.ee.sun.ac.za>.
4374 Thu Sep 26 14:40:10 1996 Ulrich Drepper <drepper@cygnus.com>
4376 * sysdeps/posix/pathconf.c: Pass descriptor for just opened file
4378 Reported by Martin von Loewis <martin@mira.isdn.cs.tu-berlin.de>.
4380 Thu Sep 26 04:02:43 1996 Ulrich Drepper <drepper@cygnus.com>
4382 * locale/programs/locfile.c (write_locale_data): Allocate room
4383 even for file name for LC_MESSAGES locale.
4384 (locafile_read): `tok_era' must be handled as a string list.
4385 * locale/programs/ld-time.c: Finish correction of handling `era'.
4386 * locale/C-time.c (_nl_C_LC_TIME): Add initializer for new fields.
4387 * locale/categories.def: Add postload function for LC_TIME.
4388 * locale/setlocale.c: Make lock global and rename to
4389 __libc_setlocale_lock.
4390 * locale/localeinfo.h (struct era_entry): New type. Used in strftime.
4391 Add prototypes for _nl_get_era_entry and _nl_get_alt_digit.
4392 * locale/lc-time.c (_nl_postload_time): New function. Initialize
4394 (_nl_get_era_entry): New function. Return era entry which corresponds
4396 (_nl_get_alt_digit): New function. Return string with alternate
4397 digit representation for given number.
4399 * time/strftime.c (strftime): Use _nl_get_alt_digit to get
4400 string representing alternate digit notation.
4402 Wed Sep 25 17:31:55 1996 Ulrich Drepper <drepper@cygnus.com>
4404 * sysdeps/generic/waitstatus.h (union wait): Add w_status field.
4405 Reported by Hans Grobler <grobh@nolian.ee.sun.ac.za>.
4407 * elf/rtld.c (dl_main): Process LD_PRELOAD before loading
4408 ld.so.preload. Suggested by David Engel <david@elo.ods.com>.
4410 Wed Sep 25 13:10:57 1996 Ulrich Drepper <drepper@cygnus.com>
4412 * catgets/gencat.c (main): Change --version again because RMS wants
4413 the package name in parentheses.
4414 * db/makedb.c: Likewise.
4415 * locale/programs/locale.c: Likewise.
4416 * locale/programs/localedef.c: Likewise.
4418 Tue Sep 24 01:28:05 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4420 * Makefile ($(objpfx)sysd-dirs): Depend on Subdirs files, command
4422 ($(objpfx)version-info.h): Depend on Banner files, command
4425 Wed Sep 25 02:44:41 1996 Ulrich Drepper <drepper@cygnus.com>
4427 * sysdeps/unix/sysv/linux/sleep.c: New file. Based on nanosleep.
4429 Tue Sep 24 21:46:02 1996 Ulrich Drepper <drepper@cygnus.com>
4431 * shadow/lckpwdf.c (PWD_LOCKFILE): Change to /etc/lock.pwd to be
4432 on the same device as the password file.
4433 * shadow/shadow.h (struct spwd): Change type of numeric fields
4434 to `long int' since there value are days, not seconds.
4435 * shadow/putspent.c: Change casts from time_t to `long int'.
4436 * shadow/sgetspent_r.c (LINE_READER): Likewise.
4438 Mon Sep 23 23:05:24 1996 Ulrich Drepper <drepper@cygnus.com>
4440 * sysdeps/unix/sysv/linux/errnos.h: Define __set_errno to make
4441 sure the thread specific variable is set as well as the global
4443 * sysdeps/mach/hurd/errnos.awk: Define macro for source code
4445 * sysdeps/stub/errnos.h: Likewise.
4446 * sysdeps/unix/bsd/bsd4.4/errnos.h: Likewise.
4448 * shadow/putspent.c: Don't include <errno.h>.
4450 * dirent/scandir.c (scandir): Use __set_errno to set errno
4452 * elf/dl-load.c (open_path): Likewise.
4453 * inet/rcmd.c (rcmd): Likewise.
4454 (rresvport): Likewise.
4455 * intl/dcgettext.c [!__set_errno]: Define __set_errno.
4456 (DCGETTEXT): Use __set_errno to set errno variable.
4457 * io/fts.c (fts_open): Likewise.
4458 (fts_close): Likewise.
4459 (fts_read): Likewise.
4460 (fts_set): Likewise.
4461 (fts_children): Likewise.
4462 (fts_build): Likewise.
4463 (fts_stat): Likewise.
4464 * io/ftw.c (ftw_dir): Likewise.
4466 * io/getwd.c (getwd): Likewise.
4467 * io/lockf.c (lockf): Likewise.
4468 * libio/libioP.h [EINVAL]: Use __set_errno to define MAYBE_SET_EINVAL.
4469 * libio/iofdopen.c (_IO_fdopen): Use MAYBE_SET_EINVAL to errno.
4470 * libio/iogetdelim.c (_IO_getdelim): Likewise.
4471 * libio/fileops.c (_IO_file_open): Use __set_errno to set errno
4473 * libio/iofgetpos.c (_IO_fgetpos): Likewise.
4474 * libio/iofsetpos.c (_IO_fsetpos): Likewise.
4475 * libio/ioftell.c (_IO_ftell): Likewise.
4476 * locale/loadlocale.c (_nl_load_locale): Likewise.
4477 * locale/nl_langinfo.c (nl_langinfo): Likewise.
4478 * locale/setlocale.c (ERROR_RETURN): Likewise.
4479 * login/getutid_r (__getutid_r): Likewise.
4480 * login/getutline_r (__getutline_r): Likewise.
4481 * login/login.c (tty_name): Likewise.
4482 * login/oututline_r.c (__pututline_r): Likewise.
4483 * malloc/malloc.c (morecore): Likewise.
4484 * misc/efgcvt_r.c (fcvt_r): Likewise.
4485 * misc/hsearch_r.c (hcreate_r): Likewise.
4486 (hdestroy_r): Likewise.
4487 (hsearch_r): Likewise.
4488 * nss/nsswitch.c (__nss_configure_lookup): Likewise.
4489 * nss/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): Likewise.
4490 (_nss_dns_gethostbyaddr_r): Likewise.
4491 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
4492 * nss/nss_files/files-parse.c (parse_list): Likewise.
4493 * posix/confstr.c (confstr): Likewise. De-ANSI-fy.
4494 * posix/execvp.c (execvp): Likewise.
4495 * posix/glob.c: Define __set_errno.
4496 (glob): Use __set_errno to set errno variable.
4497 (glob_in_dir): Likewise.
4498 * pwd/getpw.c: Likewise. De-ANSI-fy.
4499 * pwd/putpwent.c: Likewise.
4500 * resolv/inet_net_ntop.c: Likewise.
4501 * resolv/inet_net_pton.c: Likewise.
4502 * resolv/inet_neta.c: Likewise.
4503 * resolv/inet_ntop.c: Likewise.
4504 * resolv/inet_pton.c: Likewise.
4505 * resolv/res_query.c (res_search): Likewise.
4506 * resolv/res_send.c (Aerror): Likewise.
4508 (res_send): Likewise.
4509 * signal/sigaddset.c: Likewise. De-ANSI-fy.
4510 * signal/sigdelset.c: Likewise.
4511 * signal/sigempty.c: Likewise.
4512 * signal/sigfillset.c: Likewise.
4513 * signal/sigismem.c: Likewise.
4514 * stdio/fclose.c: Likewise.
4515 * stdio/feof.c: Likewise.
4516 * stdio/ferror.c: Likewise.
4517 * stdio/fflush.c: Likewise.
4518 * stdio/fgetc.c: Likewise.
4519 * stdio/fgetpos.c: Likewise.
4520 * stdio/fgets.c: Likewise.
4521 * stdio/fileno.c: Likewise.
4522 * stdio/fmemopen.c: Likewise.
4523 * stdio/fopen.c: Likewise.
4524 * stdio/fputc.c: Likewise.
4525 * stdio/fread.c: Likewise.
4526 * stdio/freopen.c: Likewise.
4527 * stdio/fseek.c: Likewise.
4528 * stdio/fsetpos.c: Likewise.
4529 * stdio/ftell.c: Likewise.
4530 * stdio/fwrite.c: Likewise.
4531 * stdio/getdelim.c: Likewise.
4532 * stdio/gets.c: Likewise.
4533 * stdio/glue.c: Likewise.
4534 * stdio/internals.c: Likewise.
4535 * stdio/memstream.c: Likewise.
4536 * stdio/setvbuf.c: Likewise.
4537 * stdio/ungetc.c: Likewise.
4538 * stdio/vsscanf.c: Likewise.
4539 * stdio-common/reg-printf.c: Likewise.
4540 * stdio-common/vfprintf.c: Likewise.
4541 * stdio-common/vfscanf.c: Likewise.
4542 * stdlib/canonicalize.c: Likewise.
4543 * stdlib/msort.c: Likewise.
4544 * stdlib/random_r.c: Likewise.
4545 * stdlib/strfmon.c: Likewise.
4546 * stdlib/strtod.c: Likewise.
4547 * stdlib/strtol.c: Likewise.
4548 * sunrpc/bindrsvprt.c: Likewise.
4549 * time/asctime.c: Likewise.
4550 * time/localtime.c: Likewise.
4551 * wcsmbs/mbrtowc.c: Likewise.
4552 * wcsmbs/mbsnrtowcs.c: Likewise.
4553 * wcsmbs/mbsrtowcs.c: Likewise.
4554 * wcsmbs/wcrtomb.c: Likewise.
4555 * wcsmbs/wcsnrtombs.c: Likewise.
4556 * wcsmbs/wcsrtombs.c: Likewise.
4557 * wcsmbs/wcstok.c: Likewise.
4558 * sysdeps/generic/ftime.c: Likewise.
4559 * sysdeps/generic/pty.c: Likewise.
4560 * sysdeps/generic/setenv.c: Likewise.
4561 * sysdeps/generic/speed.c: Likewise.
4562 * sysdeps/generic/sysd-stdio.c: Likewise.
4563 * sysdeps/generic/uname.c: Likewise.
4564 * sysdeps/generic/vlimit.c: Likewise.
4565 * sysdeps/libm-ieee754/k_standard.c: Likewise.
4566 * sysdeps/libm-ieee754/s_ldexp.c: Likewise.
4567 * sysdeps/libm-ieee754/s_ldexpf.c: Likewise.
4568 * sysdeps/libm-ieee754/s_ldexpl.c: Likewise.
4569 * sysdeps/libm-ieee754/w_scalb.c: Likewise.
4570 * sysdeps/libm-ieee754/w_scalbf.c: Likewise.
4571 * sysdeps/libm-ieee754/w_scalbl.c: Likewise.
4572 * sysdeps/posix/dup2.c: Likewise.
4573 * sysdeps/posix/euidaccess.c: Likewise.
4574 * sysdeps/posix/fdopen.c: Likewise.
4575 * sysdeps/posix/flock.c: Likewise.
4576 * sysdeps/posix/fpathconf.c: Likewise.
4577 * sysdeps/posix/getcwd.c: Likewise.
4578 * sysdeps/posix/gettimeofday.c: Likewise.
4579 * sysdeps/posix/isatty.c: Likewise.
4580 * sysdeps/posix/isfdtype.c: Likewise.
4581 * sysdeps/posix/killpg.c: Likewise.
4582 * sysdeps/posix/mkstemp.c: Likewise.
4583 * sysdeps/posix/mktemp.c: Likewise.
4584 * sysdeps/posix/pathconf.c: Likewise.
4585 * sysdeps/posix/pipestream.c: Likewise.
4586 * sysdeps/posix/remove.c: Likewise.
4587 * sysdeps/posix/rename.c: Likewise.
4588 * sysdeps/posix/sigintr.c: Likewise.
4589 * sysdeps/posix/signal.c: Likewise.
4590 * sysdeps/posix/sigsuspend.c: Likewise.
4591 * sysdeps/posix/sigvec.c: Likewise.
4592 * sysdeps/posix/sleep.c: Likewise.
4593 * sysdeps/posix/sysconf.c: Likewise.
4594 * sysdeps/posix/system.c: Likewise.
4595 * sysdeps/posix/tempname.c: Likewise.
4596 * sysdeps/posix/truncate.c: Likewise.
4597 * sysdeps/posix/ttyname.c: Likewise.
4598 * sysdeps/posix/ttyname_r.c: Likewise.
4599 * sysdeps/posix/wait3.c: Likewise.
4600 * sysdeps/standalone/close.c: Likewise.
4601 * sysdeps/standalone/open.c: Likewise.
4602 * sysdeps/standalone/read.c: Likewise.
4603 * sysdeps/standalone/write.c: Likewise.
4604 * sysdeps/stub/__longjmp.c: Likewise.
4605 * sysdeps/stub/accept.c: Likewise.
4606 * sysdeps/stub/access.c: Likewise.
4607 * sysdeps/stub/acct.c: Likewise.
4608 * sysdeps/stub/adjtime.c: Likewise.
4609 * sysdeps/stub/alarm.c: Likewise.
4610 * sysdeps/stub/bind.c: Likewise.
4611 * sysdeps/stub/brk.c: Likewise.
4612 * sysdeps/stub/chdir.c: Likewise.
4613 * sysdeps/stub/chflags.c: Likewise.
4614 * sysdeps/stub/chmod.c: Likewise.
4615 * sysdeps/stub/chown.c: Likewise.
4616 * sysdeps/stub/chroot.c: Likewise.
4617 * sysdeps/stub/clock.c: Likewise.
4618 * sysdeps/stub/close.c: Likewise.
4619 * sysdeps/stub/closedir.c: Likewise.
4620 * sysdeps/stub/connect.c: Likewise.
4621 * sysdeps/stub/ctermid.c: Likewise.
4622 * sysdeps/stub/cuserid.c: Likewise.
4623 * sysdeps/stub/dirfd.c: Likewise.
4624 * sysdeps/stub/dup.c: Likewise.
4625 * sysdeps/stub/dup2.c: Likewise.
4626 * sysdeps/stub/euidaccess.c: Likewise.
4627 * sysdeps/stub/execve.c: Likewise.
4628 * sysdeps/stub/fchdir.c: Likewise.
4629 * sysdeps/stub/fchflags.c: Likewise.
4630 * sysdeps/stub/fchmod.c: Likewise.
4631 * sysdeps/stub/fchown.c: Likewise.
4632 * sysdeps/stub/fcntl.c: Likewise.
4633 * sysdeps/stub/fdopen.c: Likewise.
4634 * sysdeps/stub/fexecve.c: Likewise.
4635 * sysdeps/stub/flock.c: Likewise.
4636 * sysdeps/stub/fork.c: Likewise.
4637 * sysdeps/stub/fpathconf.c: Likewise.
4638 * sysdeps/stub/fstatfs.c: Likewise.
4639 * sysdeps/stub/fsync.c: Likewise.
4640 * sysdeps/stub/ftruncate.c: Likewise.
4641 * sysdeps/stub/fxstat.c: Likewise.
4642 * sysdeps/stub/getcwd.c: Likewise.
4643 * sysdeps/stub/getdents.c: Likewise.
4644 * sysdeps/stub/getdomain.c: Likewise.
4645 * sysdeps/stub/getdtsz.c: Likewise.
4646 * sysdeps/stub/getegid.c: Likewise.
4647 * sysdeps/stub/getenv.c: Likewise.
4648 * sysdeps/stub/geteuid.c: Likewise.
4649 * sysdeps/stub/getgid.c: Likewise.
4650 * sysdeps/stub/getgroups.c: Likewise.
4651 * sysdeps/stub/gethostid.c: Likewise.
4652 * sysdeps/stub/gethostname.c: Likewise.
4653 * sysdeps/stub/getitimer.c: Likewise.
4654 * sysdeps/stub/getlogin.c: Likewise.
4655 * sysdeps/stub/getlogin_r.c: Likewise.
4656 * sysdeps/stub/getpagesize.c: Likewise.
4657 * sysdeps/stub/getpeername.c: Likewise.
4658 * sysdeps/stub/getpid.c: Likewise.
4659 * sysdeps/stub/getppid.c: Likewise.
4660 * sysdeps/stub/getpriority.c: Likewise.
4661 * sysdeps/stub/getrlimit.c: Likewise.
4662 * sysdeps/stub/getrusage.c: Likewise.
4663 * sysdeps/stub/getsid.c: Likewise.
4664 * sysdeps/stub/getsockname.c: Likewise.
4665 * sysdeps/stub/getsockopt.c: Likewise.
4666 * sysdeps/stub/getsysstats.c: Likewise.
4667 * sysdeps/stub/gettimeofday.c: Likewise.
4668 * sysdeps/stub/getuid.c: Likewise.
4669 * sysdeps/stub/gtty.c: Likewise.
4670 * sysdeps/stub/ioctl.c: Likewise.
4671 * sysdeps/stub/isatty.c: Likewise.
4672 * sysdeps/stub/isfdtype.c: Likewise.
4673 * sysdeps/stub/kill.c: Likewise.
4674 * sysdeps/stub/killpg.c: Likewise.
4675 * sysdeps/stub/link.c: Likewise.
4676 * sysdeps/stub/listen.c: Likewise.
4677 * sysdeps/stub/lseek.c: Likewise.
4678 * sysdeps/stub/lxstat.c: Likewise.
4679 * sysdeps/stub/madvice.c: Likewise.
4680 * sysdeps/stub/mkdir.c: Likewise.
4681 * sysdeps/stub/mkfifo.c: Likewise.
4682 * sysdeps/stub/mkstemp.c: Likewise.
4683 * sysdeps/stub/mktemp.c: Likewise.
4684 * sysdeps/stub/mmap.c: Likewise.
4685 * sysdeps/stub/morecore.c: Likewise.
4686 * sysdeps/stub/mprotect.c: Likewise.
4687 * sysdeps/stub/msgctl.c: Likewise.
4688 * sysdeps/stub/msgget.c: Likewise.
4689 * sysdeps/stub/msgrcv.c: Likewise.
4690 * sysdeps/stub/msgsnd.c: Likewise.
4691 * sysdeps/stub/msync.c: Likewise.
4692 * sysdeps/stub/munmap.c: Likewise.
4693 * sysdeps/stub/nanosleep.c: Likewise.
4694 * sysdeps/stub/nice.c: Likewise.
4695 * sysdeps/stub/nlist.c: Likewise.
4696 * sysdeps/stub/open.c: Likewise.
4697 * sysdeps/stub/opendir.c: Likewise.
4698 * sysdeps/stub/pathconf.c: Likewise.
4699 * sysdeps/stub/pause.c: Likewise.
4700 * sysdeps/stub/pipe.c: Likewise.
4701 * sysdeps/stub/pipestream.c: Likewise.
4702 * sysdeps/stub/poll.c: Likewise.
4703 * sysdeps/stub/profil.c: Likewise.
4704 * sysdeps/stub/ptrace.c: Likewise.
4705 * sysdeps/stub/putenv.c: Likewise.
4706 * sysdeps/stub/raise.c: Likewise.
4707 * sysdeps/stub/read.c: Likewise.
4708 * sysdeps/stub/readdir.c: Likewise.
4709 * sysdeps/stub/readlink.c: Likewise.
4710 * sysdeps/stub/readv.c: Likewise.
4711 * sysdeps/stub/reboot.c: Likewise.
4712 * sysdeps/stub/recv.c: Likewise.
4713 * sysdeps/stub/recvfrom.c: Likewise.
4714 * sysdeps/stub/recvmsg.c: Likewise.
4715 * sysdeps/stub/remove.c: Likewise.
4716 * sysdeps/stub/rename.c: Likewise.
4717 * sysdeps/stub/revoke.c: Likewise.
4718 * sysdeps/stub/rewinddir.c: Likewise.
4719 * sysdeps/stub/rmdir.c: Likewise.
4720 * sysdeps/stub/sbrk.c: Likewise.
4721 * sysdeps/stub/sched_getp.c: Likewise.
4722 * sysdeps/stub/sched_gets.c: Likewise.
4723 * sysdeps/stub/sched_primax.c: Likewise.
4724 * sysdeps/stub/sched_primin.c: Likewise.
4725 * sysdeps/stub/sched_rr_gi.c: Likewise.
4726 * sysdeps/stub/sched_setp.c: Likewise.
4727 * sysdeps/stub/sched_sets.c: Likewise.
4728 * sysdeps/stub/sched_yield.c: Likewise.
4729 * sysdeps/stub/seekdir.c: Likewise.
4730 * sysdeps/stub/select.c: Likewise.
4731 * sysdeps/stub/semctl.c: Likewise.
4732 * sysdeps/stub/semget.c: Likewise.
4733 * sysdeps/stub/semop.c: Likewise.
4734 * sysdeps/stub/send.c: Likewise.
4735 * sysdeps/stub/sendmsg.c: Likewise.
4736 * sysdeps/stub/sendto.c: Likewise.
4737 * sysdeps/stub/setdomain.c: Likewise.
4738 * sysdeps/stub/setegid.c: Likewise.
4739 * sysdeps/stub/setenv.c: Likewise.
4740 * sysdeps/stub/seteuid.c: Likewise.
4741 * sysdeps/stub/setgid.c: Likewise.
4742 * sysdeps/stub/setgroups.c: Likewise.
4743 * sysdeps/stub/sethostid.c: Likewise.
4744 * sysdeps/stub/sethostname.c: Likewise.
4745 * sysdeps/stub/setitimer.c: Likewise.
4746 * sysdeps/stub/setjmp.c: Likewise.
4747 * sysdeps/stub/setlogin.c: Likewise.
4748 * sysdeps/stub/setpgid.c: Likewise.
4749 * sysdeps/stub/setpriority.c: Likewise.
4750 * sysdeps/stub/setregid.c: Likewise.
4751 * sysdeps/stub/setreuid.c: Likewise.
4752 * sysdeps/stub/setrlimit.c: Likewise.
4753 * sysdeps/stub/setsid.c: Likewise.
4754 * sysdeps/stub/setsockopt.c: Likewise.
4755 * sysdeps/stub/settimeofday.c: Likewise.
4756 * sysdeps/stub/setuid.c: Likewise.
4757 * sysdeps/stub/shmat.c: Likewise.
4758 * sysdeps/stub/shmctl.c: Likewise.
4759 * sysdeps/stub/shmdt.c: Likewise.
4760 * sysdeps/stub/shmget.c: Likewise.
4761 * sysdeps/stub/shutdown.c: Likewise.
4762 * sysdeps/stub/sigaction.c: Likewise.
4763 * sysdeps/stub/sigaltstack.c: Likewise.
4764 * sysdeps/stub/sigblock.c: Likewise.
4765 * sysdeps/stub/sigintr.c: Likewise.
4766 * sysdeps/stub/signal.c: Likewise.
4767 * sysdeps/stub/sigpause.c: Likewise.
4768 * sysdeps/stub/sigpending.c: Likewise.
4769 * sysdeps/stub/sigprocmask.c: Likewise.
4770 * sysdeps/stub/sigreturn.c: Likewise.
4771 * sysdeps/stub/sigsetmask.c: Likewise.
4772 * sysdeps/stub/sigstack.c: Likewise.
4773 * sysdeps/stub/sigsuspend.c: Likewise.
4774 * sysdeps/stub/sigvec.c: Likewise.
4775 * sysdeps/stub/sleep.c: Likewise.
4776 * sysdeps/stub/socket.c: Likewise.
4777 * sysdeps/stub/socketpair.c: Likewise.
4778 * sysdeps/stub/sstk.c: Likewise.
4779 * sysdeps/stub/statfs.c: Likewise.
4780 * sysdeps/stub/stime.c: Likewise.
4781 * sysdeps/stub/stty.c: Likewise.
4782 * sysdeps/stub/swapoff.c: Likewise.
4783 * sysdeps/stub/swapon.c: Likewise.
4784 * sysdeps/stub/symlink.c: Likewise.
4785 * sysdeps/stub/sync.c: Likewise.
4786 * sysdeps/stub/syscall.c: Likewise.
4787 * sysdeps/stub/sysconf.c: Likewise.
4788 * sysdeps/stub/sysd-stdio.c: Likewise.
4789 * sysdeps/stub/system.c: Likewise.
4790 * sysdeps/stub/tcdrain.c: Likewise.
4791 * sysdeps/stub/tcflow.c: Likewise.
4792 * sysdeps/stub/tcflush.c: Likewise.
4793 * sysdeps/stub/tcgetattr.c: Likewise.
4794 * sysdeps/stub/tcgetpgrp.c: Likewise.
4795 * sysdeps/stub/tcsendbrk.c: Likewise.
4796 * sysdeps/stub/tcsetattr.c: Likewise.
4797 * sysdeps/stub/tcsetpgrp.c: Likewise.
4798 * sysdeps/stub/telldir.c: Likewise.
4799 * sysdeps/stub/tempname.c: Likewise.
4800 * sysdeps/stub/time.c: Likewise.
4801 * sysdeps/stub/times.c: Likewise.
4802 * sysdeps/stub/truncate.c: Likewise.
4803 * sysdeps/stub/ttyname.c: Likewise.
4804 * sysdeps/stub/ttyname_r.c: Likewise.
4805 * sysdeps/stub/ualarm.c: Likewise.
4806 * sysdeps/stub/ulimit.c: Likewise.
4807 * sysdeps/stub/umask.c: Likewise.
4808 * sysdeps/stub/unlink.c: Likewise.
4809 * sysdeps/stub/usleep.c: Likewise.
4810 * sysdeps/stub/ustat.c: Likewise.
4811 * sysdeps/stub/utime.c: Likewise.
4812 * sysdeps/stub/utimes.c: Likewise.
4813 * sysdeps/stub/vhangup.c: Likewise.
4814 * sysdeps/stub/wait.c: Likewise.
4815 * sysdeps/stub/wait3.c: Likewise.
4816 * sysdeps/stub/wait4.c: Likewise.
4817 * sysdeps/stub/waitpid.c: Likewise.
4818 * sysdeps/stub/write.c: Likewise.
4819 * sysdeps/stub/writev.c: Likewise.
4820 * sysdeps/stub/xmknod.c: Likewise.
4821 * sysdeps/stub/xstat.c: Likewise.
4822 * sysdeps/unix/closedir.c: Likewise.
4823 * sysdeps/unix/fxstat.c: Likewise.
4824 * sysdeps/unix/getlogin.c: Likewise.
4825 * sysdeps/unix/getlogin_r.c: Likewise.
4826 * sysdeps/unix/mkdir.c: Likewise.
4827 * sysdeps/unix/nice.c: Likewise.
4828 * sysdeps/unix/nlist.c: Likewise.
4829 * sysdeps/unix/opendir.c: Likewise.
4830 * sysdeps/unix/readdir.c: Likewise.
4831 * sysdeps/unix/rmdir.c: Likewise.
4832 * sysdeps/unix/stime.c: Likewise.
4833 * sysdeps/unix/xmknod.c: Likewise.
4834 * sysdeps/unix/xstat.c: Likewise.
4835 * sysdeps/unix/bsd/isatty.c: Likewise.
4836 * sysdeps/unix/bsd/setegid.c: Likewise.
4837 * sysdeps/unix/bsd/seteuid.c: Likewise.
4838 * sysdeps/unix/bsd/setsid.c: Likewise.
4839 * sysdeps/unix/bsd/sigaction.c: Likewise.
4840 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
4841 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
4842 * sysdeps/unix/bsd/tcflow.c: Likewise.
4843 * sysdeps/unix/bsd/tcflush.c: Likewise.
4844 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
4845 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
4846 * sysdeps/unix/bsd/times.c: Likewise.
4847 * sysdeps/unix/bsd/ulimit.c: Likewise.
4848 * sysdeps/unix/common/lxstat.c: Likewise.
4849 * sysdeps/unix/common/tcsendbrk.c: Likewise.
4850 * sysdeps/unix/sysv/setrlimit.c: Likewise.
4851 * sysdeps/unix/sysv/settimeofday.c: Likewise.
4852 * sysdeps/unix/sysv/sigaction.c: Likewise.
4853 * sysdeps/unix/sysv/tcflow.c: Likewise.
4854 * sysdeps/unix/sysv/tcflush.c: Likewise.
4855 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
4856 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
4857 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
4858 * sysdeps/unix/bsd/ultrix4/sysconf.c: Likewise.
4859 * sysdeps/unix/sysv/irix4/getpriority.c: Likewise.
4860 * sysdeps/unix/sysv/irix4/setpriority.c: Likewise.
4861 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
4862 * sysdeps/unix/sysv/linux/gethostid.c: Likewise.
4863 * sysdeps/unix/sysv/linux/gethostname.c: Likewise.
4864 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
4865 * sysdeps/unix/sysv/linux/ptrace.c: Likewise.
4866 * sysdeps/unix/sysv/linux/speed.c: Likewise.
4867 * sysdeps/unix/sysv/linux/ulimit.c: Likewise.
4868 * sysdeps/unix/sysv/sysv4/sigaction.c: Likewise.
4869 * sysdeps/unix/sysv/sysv4/sysconf.c: Likewise.
4870 * sysdeps/unix/bsd/sun/m68k/sigtramp.c: Likewise.
4871 * sysdeps/unix/bsd/sun/sparc/sigtramp.c: Likewise.
4872 * sysdeps/unix/bsd/sun/sunos4/speed.c: Likewise.
4873 * sysdeps/unix/bsd/sun/sunos4/tcsetattr.c: Likewise.
4874 * sysdeps/unix/sysv/linux/alpha/ioperm.c: Likewise.
4875 * sysdeps/unix/sysv/linux/i386/brk.c: Likewise.
4876 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
4877 * sysdeps/unix/sysv/linux/m68k/brk.c: Likewise.
4879 * sunrpc/clnt_tcp.c: Protect declaration of errno by #ifndef.
4880 * sunrpc/clnt_udp.c: Likewise.
4881 * sunrpc/bindrsvprt.c: Likewise.
4882 * sunrpc/pm_getmaps.c: Likewise.
4883 * sunrpc/pmap_rmt.c: Likewise.
4884 * sunrpc/svc.c: Likewise.
4885 * sunrpc/svc_run.c: Likewise.
4886 * sunrpc/svc_tcp.c: Likewise.
4887 * sunrpc/svc_udp.c: Likewise.
4889 * sysdeps/generic/strtok.c: Don't check argument, just crash.
4890 * sysdeps/generic/strtok_r.c: Likewise.
4892 * sysdeps/stub/start.c: Make __errno a strong alias of errno.
4893 * sysdeps/unix/start.c: Likewise. De-ANSI-fy.
4894 * sysdeps/unix/sparc/start.c: Likewise.
4895 * sysdeps/standalone/m68k/m68020/start.S: Likewise.
4896 * sysdeps/unix/sysv/irix4/start.c: Likewise.
4897 * sysdeps/unix/bsd/ultrix4/mips/start.S: Likewise.
4898 * sysdeps/unix/sysv/linux/i386/sysdep.S: Likewise.
4899 * sysdeps/unix/sysv/linux/m68k/sysdep.S: Likewise.
4901 Mon Sep 23 17:54:57 1996 Ulrich Drepper <drepper@cygnus.com>
4903 * catgets/gencat.c (main): Put package name in --version message
4904 in parantheses. Reported by Jim Meyering.
4905 * db/makedb.c: Likewise.
4906 * locale/programs/locale.c: Likewise.
4907 * locale/programs/localedef.c: Likewise.
4909 * sysdeps/i386/fpu/__math.h (tan): Make sure gcc knows we use
4910 two registers. Patch by John Bowman.
4912 Sat Sep 21 15:08:25 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4914 * sysdeps/mach/libc-lock.h: Fix comment.
4915 * sysdeps/stubs/libc-lock.h: Likewise.
4917 Sat Sep 21 13:50:40 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4919 * libio/genops.c (_IO_init) [_IO_MTSAFE_IO]: Dereference pointer
4920 to lock when passing it to __libc_lock_init macro.
4921 (_IO_default_finish) [_IO_MTSAFE_IO]: Dereference pointer to lock
4922 when passing it to __libc_lock_fini macro.
4924 Sat Sep 21 14:35:40 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4926 * sysdeps/unix/sysv/linux/m68k/sysdep.h (SYSCALL_ERROR_HANDLER)
4927 [_LIBC_REENTRANT]: Add missing semicolon.
4929 * sysdeps/unix/sysv/linux/m68k/sysdep.S: Move inclusion of
4930 sysdep.h to the top outside of #ifndef PIC. Don't include errnos.h.
4931 Use the ENTRY macro.
4933 Sat Sep 21 14:33:41 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4935 * libio/Makefile: Make `all' the default target.
4936 * po/Makefile: Likewise.
4938 Mon Sep 23 15:49:47 1996 Ulrich Drepper <drepper@cygnus.com>
4940 * stdlib/test-canon.c: Correct patch from Thu Sep 12 23:01:16 1996.
4941 I applied it incorrectly.
4942 * sysdeps/m68k/fpu/s_scalbn.c: Likewise.
4943 * sysdeps/m68k/fpu/s_scalbnf.c: Likewise.
4944 * sysdeps/m68k/fpu/s_scalbnl.c: Likewise.
4946 Mon Sep 23 03:00:10 1996 Ulrich Drepper <drepper@cygnus.com>
4948 * shadow/sgetspent_r.c (LINE_PARSER): Accept empty 9th field.
4949 Patch by NIIBE Yutaka <gniibe@mri.co.jp>.
4951 * shadow/sgetspent_r.c (LINE_PARSER): Don't accept any chars after
4954 * sysdeps/unix/sysv/linux/Makefile [$(subdir)==misc]
4955 (sysdep_headers): Add sys/debugreg.h, sys/kd.h, sys/soundcard.h,
4957 * sysdeps/unix/sysv/linux/sys/debugreg.h: New file.
4958 * sysdeps/unix/sysv/linux/sys/kd.h: New file.
4959 * sysdeps/unix/sysv/linux/sys/soundcard.h: New file.
4960 * sysdeps/unix/sysv/linux/sys/vt.h: New file.
4961 Reported by NIIBE Yutaka <gniibe@mri.co.jp>.
4963 Thu Sep 26 13:44:29 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
4965 * hurd/Makefile (installed-sunrpc-headers): New variable.
4966 (sunrpc-headers): New variable.
4967 (install-headers-nosubir): Depend on $(installed-sunrpc-headers),
4968 not just <rpc/netdb.h>.
4969 ($(installed-sunrpc-headers)): Provide rule for all of these.
4971 Mon Sep 23 15:31:04 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
4973 * hurd/Makefile ($(includedir)/rpc/netdb.h): There is no make
4974 variable `top_srcdir' in libc; use $(..) instead.
4976 * sysdeps/mach/hurd/Makefile (rtld-installed-name): Delete special
4977 definition. It was a *Mistake*. (With a capital M.)
4979 * sysdeps/mach/getsysstats.c (__get_nprocs): Renamed from
4981 (__get_nprocs_conf): Renamed from __get_nproc_conf.
4983 Sun Sep 22 15:18:41 1996 Ulrich Drepper <drepper@cygnus.com>
4985 * sysdeps/unix/sysv/linux/init-first.c: Define dummy function
4986 `_dl_start' so that linking fails if this file should ever be used
4989 * catgets/gencat.c (main): Change --version message according to
4990 RMS' last standard revision.
4991 * db/makedb.c: Likewise.
4992 * locale/programs/locale.c: Likewise.
4993 * locale/programs/localedef.c: Likewise.
4995 Sat Sep 21 23:42:39 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
4997 * sysdeps/mach/getsysstats.c: Include <sys/sysinfo.h>.
4998 (__get_nproc_conf): New function.
5000 Sun Sep 22 03:40:52 1996 Ulrich Drepper <drepper@cygnus.com>
5002 * resolv/resolv.h: Update to bind-4.9.5-T4B.
5003 * resolv/base64.c: Likewise.
5004 * resolv/res_debug.c: Likewise.
5005 * resolv/res_query.c: Likewise.
5006 * resolv/gethnamaddr.c: Likewise.
5007 * nss/nss_dns/dns-host.c: Likewise.
5008 * resolv/res_comp.c: Likewise.
5009 * resolv/res_send.c: Likewise.
5010 * resolv/arpa/nameser.h: Likewise. Attention: MAXDNAME is much
5013 * resolv/Banner: New file.
5014 * resolv/Makefile (distribute): Add Banner.
5016 Sat Sep 21 19:15:24 1996 Ulrich Drepper <drepper@cygnus.com>
5018 * sysdeps/stub/getsysstats.c: New file.
5019 * sysdeps/unix/sysv/linux/getsysstats.c: New file.
5021 * misc/Makefile (headers): Add sys/sysinfo.h.
5022 (routines): Add getsysstats.
5023 * sysdeps/unix/sysv/linux/Makefile [$(subdir)==misc]
5024 (sysdep_headers): Remove sys/sysinfo.h.
5025 * sysdeps/generic/sys/sysinfo.h: New file.
5026 * sysdeps/unix/sysv/linux/sys/sysinfo.h: Add prototype for get_nprocs,
5027 get_phys_pages, and get_avphys_pages.
5029 * misc/Makefile (routines): Add mntent_r.
5030 * misc/mntent_r.c: New file.
5031 * misc/mntent.c: Remove all functions but getmntent and use
5033 * misc/mntent.h: Add prototype for __getmntent_r.
5034 * misc/fstab.c: Use __getmntent_r function instead of getmntent.
5035 This will not clobber the state in getmntent.
5037 * sysdeps/generic/confname.h: Add _SC_PROCESSORS_CONF,
5038 _SC_NPROCESSORS_ONLN, _SC_PHYS_PAGES, _SC_AVPHYS_PAGES,
5039 _SC_ATEXIT_MAX, and _SC_PASS_MAX.
5040 * sysdeps/stub/sysconf.c: Add handling _SC_PROCESSORS_CONF and
5041 _SC_NPROCESSORS_ONLN by calling __get_nprocs, _SC_PHYS_PAGES by
5042 calling __get_phys_pages, _SY_AVPHYS_PAGES by calling
5043 __get_avphys_pages, _SC_ATEXIT_MAX and _SC_PASS_MAX.
5044 * sysdeps/posix/sysconf.c: Likewise.
5045 * posix/getconf.c (vars): Add _NPROCESSORS_CONF, _NPROCESSORS_ONLN,
5046 _PHYS_PAGES, _AVPHYS_PAGES, ATEXIT_MAX, and PASS_MAX entries.
5048 Sat Sep 21 05:20:36 1996 Ulrich Drepper <drepper@cygnus.com>
5050 * version.h (VERSION): Bump to 1.95.
5052 * Make-dist (+tsrcs): Don't filter out files in subdirs which
5053 match files in the sysdeps hierachy (welcome back,
5056 * resolv/Makefile (libresolv-routines): Remove getnetnamad.
5058 Sat Sep 21 03:00:19 1996 Ulrich Drepper <drepper@cygnus.com>
5060 * locale/loadlocale.c (_nl_free_locale): Remove function.
5061 * locale/localeinfo.h: Remove prototype for _nl_free_locale.
5062 * locale/setlocale.c (setlocale): Don't free locale data of
5063 categories which succeeded to load after a wrong or missing data
5066 * locale/setlocale (setlocale): Initialize NEWNAME correctly so
5067 that it works even when the locale data is not used.
5069 * stdlib/random_r.c: Fix typo in comment.
5070 * stdlib/drand48-iter.c: Likewise.
5071 * stdlib/drand48.c: Likewise.
5072 * stdlib/erand48.c: Likewise.
5073 * stdlib/jrand48.c: Likewise.
5074 * stdlib/lcong48.c: Likewise.
5075 * stdlib/lrand48.c: Likewise.
5076 * stdlib/mrand48.c: Likewise.
5077 * stdlib/nrand48.c: Likewise.
5078 * stdlib/random.c: Likewise.
5079 * stdlib/seed48.c: Likewise.
5080 * stdlib/srand48.c: Likewise.
5081 * misc/search.h: Likewise.
5082 * misc/hsearch.c: Likewise.
5083 * misc/hsearch_r.c: Likewise.
5085 Sat Sep 21 14:59:22 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
5087 * sysdeps/mach/getsysstats.c: New file.
5089 * shlib-versions (*-*-gnu*): Increment libc to 0.2 for upcoming
5090 binary distribution.
5092 * sysdeps/mach/hurd/Makefile (rtld-installed-name): Provide
5093 definition to override dangerous one in Makeconfig.
5095 * hurd/Makefile (install-headers-nosubdir): Install <rpc/netdb.h>.
5096 ($(includedir)/rpc/netdb.h): New rule.
5097 [ This is XXX until sunrpc can be built; <rpc/netdb.h> is
5100 Fri Sep 20 16:06:06 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
5102 * sysdeps/mach/hurd/i386/init-first.c (_dl_start): Add definition,
5103 to guarantee link errors if this is included in ld.so.
5105 Thu Sep 19 23:36:19 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
5107 * hurd/hurdinit.c (__libc_argv): Provide common decl.
5108 (_hurd_setproc): Don't declare __libc_argv here.
5110 Tue Sep 17 10:51:58 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
5112 * malloc/memalign.c (memalign): Only acquire __libc_malloc_lock
5113 for actual modifications to global state.
5115 Fri Sep 13 01:21:36 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
5117 * sysdeps/mach/Makefile (includes): Add -I$(common-objpfx)mach/.
5118 * sysdeps/mach/hurd/Makefile (includes): Add
5119 -I$(common-objpfx)hurd/. Reported by Marcus Daniels.
5121 * sysdeps/generic/schedbits.h (struct sched_param): Renamed from
5122 struct sched_params.
5123 * sysdeps/stub/sched_setp.c (__sched_setparam): struct
5124 sched_params -> struct sched_param.
5125 * sysdeps/stub/sched_getp.c (__sched_getparam): Likewise.
5126 * sysdeps/stub/sched_sets.c (__sched_setscheduler): Likewise.
5128 Thu Sep 12 23:58:25 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
5130 * sysdeps/mach/libc-lock.h (__libc_cleanup_region_start): Fix
5133 * stdio-common/Makefile: Put lockfile in routines
5136 * stdio-common/vfprintf.c (__flockfile, __funlockfile): Declare
5137 this always, not just if _LIBC_REENTRANT.
5138 (__funlockfile): Don't use weak_extern for this one;
5139 __libc_cleanup_region_end might be defined and the use of
5140 __funlockfile can't be protected the way the use of __flockfile
5143 Thu Sep 19 21:50:55 1996 Ulrich Drepper <drepper@cygnus.com>
5145 * sysdeps/posix/gettimeofday.c (__gettimeofday): Use localtime_r
5146 instead of localtime.
5147 Reported by Matthias Urlichs.
5149 * shlib-versions: Remove version number for libcrypt.
5150 * features.h: Define __USE_REENTRANT if _REENTRANT or _THREAD_SAFE.
5151 * libc-symbols.h: Define _REENTRANT while compiling libc.
5153 * sysdeps/unix/sysv/linux/i386/sysdep.S (__errno_location):
5154 Define even if !_LIBC_REENTRANT.
5155 * sysdeps/unix/sysv/linux/m68k/sysdep.S (__errno_location):
5158 * sysdeps/posix/cuserid.h: Remove prototype for geteuid().
5161 * MakeTAGS ($P/libc.pot): Generate correctly formed header.
5162 * po/header.pot: Correct title line.
5165 Thu Sep 19 18:59:55 1996 Ulrich Drepper <drepper@cygnus.com>
5167 * Makeconfig (soversions.mk): Prefer shared lib version numbers
5168 is add ons over version in libc itself.
5170 * sysdeps/unix/sysv/linux/i386/sysdep.S: Include <sysdep.h>.
5171 * sysdeps/unix/sysv/linux/i386/sysdep.h: Prevent multiple
5174 * libio/iofgets.c: Use __flockfile and __funlockfile instead of
5175 _IO_flockfile and _IO_funlockfile resp.
5177 * locale/categories.def: Partly support for correct `era' handling
5178 in LC_TIME category.
5179 * locale/langinfo.h: Likewise.
5180 * locale/programs/ld-time.c: Likewise.
5181 * locale/localeinfo.h: Change comment a bit.
5183 * malloc/memalign.c: Don't use goto, not necessary anymore.
5185 1996-09-18 Paul Eggert <eggert@twinsun.com>
5187 * time/mktime.c (ydhms_tm_diff): Work correctly even if year
5188 is negative, or if time_t is unsigned.
5189 * time/strftime.c (tm_diff): Work correctly even if tm_year
5192 Tue Sep 17 16:14:34 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5194 * sysdeps/m68k/fpu/__math.h (__inline_mathop): Changed to generate
5195 all three versions of the math function.
5196 (__inline_mathopf, __inline_mathopl): Removed.
5197 (__inline_functions): New temporary definition containing all
5198 non-trivial inline functions.
5200 Wed Sep 18 00:25:41 1996 Ulrich Drepper <drepper@cygnus.com>
5202 * time/strftime.c (strftime): The T_FMT_AMPM string may be empty.
5204 Tue Sep 17 20:27:18 1996 Ulrich Drepper <drepper@cygnus.com>
5206 * math/Makefile (extra-libs-others): Use $(extra-libs) instead
5209 Tue Sep 17 17:09:44 1996 Ulrich Drepper <drepper@cygnus.com>
5211 * sysdeps/stub/fpu_control.h: Correct end of file comment.
5213 Tue Sep 17 05:39:18 1996 Ulrich Drepper <drepper@cygnus.com>
5215 * stdio-common/bug3.c, stdio-common/bug4.c, stdio-common/bug5.c,
5216 stdio-common/test-popen.c: Remove temporary files after test.
5217 * stdio-common/bug5.c: Use `system' instead of `execlp'.
5218 Patches by Andreas Jaeger.
5220 * stdio-common/bug5.c: Create string for `system' argument to
5221 make sure the input and output file names are really correct.
5223 Sun Sep 15 12:46:44 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5225 * configure.in: If $os contains a hyphen add the part before the
5228 Sun Sep 15 18:14:02 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5230 * sysdeps/m68k/fpu/__math.h (__ieee754_pow, __ieee754_powf,
5231 __ieee754_powl): Rename local variable i to __i.
5232 (__ieee754_atan2, __ieee754_atan2f, __ieee754_atan2l): New inline
5234 * sysdeps/m68k/fpu/e_atan2.c, sysdeps/m68k/fpu/e_atan2f.c,
5235 sysdeps/m68k/fpu/e_atan2l.c: New files.
5237 1996-09-15 Paul Eggert <eggert@twinsun.com>
5239 * manual/time.texi: Change `range X to Y' to `range X through
5240 Y', to avoid ambiguity in English.
5242 (strftime): Numbers that do not have a range indicated are not padded.
5243 Describe E and O modifiers.
5244 %g, %G, %u: New formats.
5245 %C, %y, %Y: Describe behavior on negative years.
5246 %e: Fix typo (was labeled %d).
5247 %l, %V: Fix typo in range.
5248 %M, %S, %U, %w, %W: Give ranges.
5249 %p: Clarify how noon and midnight are handled for AM and PM.
5250 %s: Clarify leap second handling.
5251 %r: Now locale-defined.
5252 %C, %D, %e, %h, %n, %r, %t, %T: Say that they are POSIX.2 extensions.
5253 %z: Say that it is a GNU extension.
5256 * time/strftime.c: (strftime):
5257 %V: Fix mishandling of week numbers near year boundaries.
5258 %g, %G: New formats (suggested by Arthur David Olson).
5259 %U, %W: Use inline expression instead of `week' function.
5260 %C, %y: Handle negative years portably.
5261 %C, %Y: Use width 1, since values can be arbitrarily wide.
5262 %r: Use T_FMT_AMPM format if _NL_CURRENT is defined.
5263 %u: New Posix.2 format.
5264 %w: Width is 1, not 2.
5265 (iso_week_days): New function, for %V, %G, %g.
5266 (week): Remove; it didn't handle %V correctly.
5267 (__isleap): New macro.
5268 (mbsinit): Use arg, to pacify GCC -Wall.
5270 1996-09-13 Paul Eggert <eggert@twinsun.com>
5272 * time/strftime.c (strftime):
5273 If using the GNU C library, do not bother to check for
5274 multibyte encodings, since they're safe in formats. Otherwise:
5275 - Check for multibyte encodings when encountering any character that
5276 is not in the basic execution character set of the C Standard.
5277 - Use mbrlen (if available) instead of mblen, to avoid modifying
5278 mblen's internal state.
5279 - Do not assume that '%' cannot appear as the first character of a
5280 multibyte character sequence, since this is possible when not in the
5281 initial shift state.
5282 (HAVE_MBRLEN, MULTIBYTE_IS_FORMAT_SAFE): Define if _LIBC is defined.
5283 (DO_MULTIBYTE): New macro.
5284 (<ctype.h>): Do not include.
5285 (<wchar.h>): Include if HAVE_MBRLEN.
5286 (mbstate_t, mbrlen, mbsinit): Define if ! HAVE_MBRLEN.
5287 (mbstate_zero): New constant.
5289 1996-09-12 Paul Eggert <eggert@twinsun.com>
5291 * time/strftime.c (strftime):
5292 Use an empty zone if it can't be determined; POSIX.2 requires this.
5293 Use plain `int' for pad and modifier (which now contain char value).
5294 Use plain `int' for number_value, to print negative values correctly.
5295 Use plain `int' for digits; there was no need to make it unsigned.
5296 Initialize subfmt consistently.
5297 Remove incorrect code for %EC and %Ey; they aren't implemented yet.
5298 For %O, if there is no alternate digit, output Ascii instead of "".
5299 Output the `%' of an unknown format; this is most likely the right
5300 thing to do if a multibyte string has been misparsed.
5302 Thu Sep 12 23:23:13 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5304 * stdio-common/scanf7.c (main): Remove extra conversion from
5305 printf format string.
5307 Thu Sep 12 23:01:16 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5309 * stdlib/test-canon.c (tests): Rename structure member from errno
5310 to error, all uses changed.
5312 Thu Sep 12 20:08:06 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5314 * sysdeps/m68k/fpu/__math.h (__ldexp, __ldexpf, __ldexpl):
5316 * sysdeps/m68k/fpu/s_ldexp.c, sysdeps/m68k/fpu/s_ldexpf.c,
5317 sysdeps/m68k/fpu/s_ldexpl.c: Removed, use generic implementation
5319 * sysdeps/m68k/fpu/s_scalbn.c, sysdeps/m68k/fpu/s_scalbnf.c,
5320 sysdeps/m68k/fpu/s_scalbnl.c: Replaced with old contents of
5321 s_ldexp.c, s_ldexpf.c and s_ldexpl.c, resp., suitably adpted.
5323 * sysdeps/m68k/fpu/__math.h (__frexp, __frexpf, __frexpl):
5324 Return value must be in [0.5, 1), not [1, 2). Reported by Chris
5326 (__ilogb, __ilogbf, __ilogbl): Check for argument being zero.
5327 (__scalbn, __scalbnf, __scalbnl): Use second argument directly.
5329 Thu Sep 12 19:59:24 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5331 * sysdeps/libm-ieee754/e_acoshl.c: Fix typos.
5332 * sysdeps/libm-ieee754/s_cbrtl.c: Remove unused variable.
5334 Thu Sep 12 19:59:24 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5336 * sysdeps/libm-ieee754/e_acoshl.c: Fix typos.
5337 * sysdeps/libm-ieee754/s_cbrtl.c: Remove unused variable.
5339 Thu Sep 12 19:56:07 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5341 * inet/herrno.c (__h_errno_location): Fix return type.
5343 Thu Sep 19 23:36:19 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
5345 * hurd/hurdinit.c (__libc_argv): Provide common decl.
5346 (_hurd_setproc): Don't declare __libc_argv here.
5348 Fri Sep 13 04:33:08 1996 Ulrich Drepper <drepper@cygnus.com>
5350 * sched.h: New file. Helper to access posix/sched.h.
5351 * posix/sched.h: Change `sched_params' to `sched_param' to follow
5354 Thu Sep 12 20:12:40 1996 Ulrich Drepper <drepper@cygnus.com>
5356 * db/makedb.c (usage): Print bug report address separately to
5357 ease translators task.
5358 * catgets/gencat.c (usage): Likewise.
5359 * locale/locale.c (usage): Likewise.
5360 * locale/localedef.c (usage): Likewise.
5362 1996-09-12 Paul Eggert <eggert@twinsun.com>
5364 * time/strftime.c (my_localtime_r): Define if ! HAVE_LOCALTIME_R,
5365 and #define localtime_r to it. If _LIBC, use __localtime_r instead.
5366 (my_gmtime_r): Similar, except it's not needed if ! HAVE_TM_GMTOFF.
5368 Thu Sep 12 14:03:29 1996 Ulrich Drepper <drepper@cygnus.com>
5370 * crypt/Makefile: Include Makeconfig and add crypt object dir to
5371 rpath-link so that running the check finds the new library.
5372 * crypt/cert.c: provide correct prototypes to prevent warnings.
5373 Reported by Andreas Jaeger.
5375 * sysdeps/mach/hurd/Makefile (rpath-link): Don't use += because
5376 old and new value must be glued using `:'.
5377 Reported by Marcus Daniels.
5379 Thu Sep 12 12:33:52 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
5381 * sysdeps/mach/hurd/dl-cache.c: Delete second copy of file
5382 accidentally added on.
5384 * sysdeps/stub/intr-msg.h: New file.
5386 * stdio-common/vfprintf.c: Include <libc-lock.h>.
5387 * stdio-common/vfscanf.c: Include <libc-lock.h>.
5389 * sysdeps/mach/libc-lock.h (__libc_cleanup_region_start): New
5391 (__libc_cleanup_region_end): New macro.
5393 Thu Sep 12 12:33:52 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
5395 * sysdeps/mach/hurd/dl-cache.c: Delete second copy of file
5396 accidentally added on.
5398 * sysdeps/stub/intr-msg.h: New file.
5400 * stdio-common/vfprintf.c: Include <libc-lock.h>.
5401 * stdio-common/vfscanf.c: Include <libc-lock.h>.
5403 * sysdeps/mach/libc-lock.h (__libc_cleanup_region_start): New
5405 (__libc_cleanup_region_end): New macro.
5407 Thu Sep 12 03:35:27 1996 Ulrich Drepper <drepper@cygnus.com>
5409 * sysdeps/unix/sysv/linux/i386/Dist: Remove init-first.h.
5410 * sysdeps/unix/sysv/linux/m68k/Dist: Likewise.
5411 * sysdeps/unix/sysv/linux/Dist: Add init-first.h.
5413 1996-09-11 Paul Eggert <eggert@twinsun.com>
5415 * strftime.c (strftime):
5416 Handle E and O modifiers, required for POSIX.2 and XPG4.
5417 Don't use sprintf to format numbers; this way, we can handle time_t
5418 correctly regardless of whether it's signed.
5419 Don't dump core if format ends in %.
5420 In default %c format, use %e instead of %d, for POSIX.2 compatibility.
5422 Use tm_gmtoff if available.
5423 Output nothing if tm_isdst is negative.
5424 Output correct value even if arg is 1969-12-31 23:59:59 UTC.
5425 Don't assume that UTC offset is less than 24 hours;
5426 Posix requires support for 24 hours, and there's no point
5428 (HAVE_TM_GMTOFF, TYPE_SIGNED, INT_STRLEN_BOUND): New macros.
5429 (CHAR_BIT): Define if <limits.h> doesn't.
5430 (tm_diff): New function.
5431 (fmt, <stdio.h>): Remove; no longer used.
5433 Thu Sep 12 02:21:44 1996 Ulrich Drepper <drepper@cygnus.com>
5435 * db/Makefile: Add extra-libs-others variable so that shared
5436 library is built in `others' pass.
5437 * elf/Makefile: Likewise.
5438 * math/Makefile: Likewise.
5439 * resolv/Makefile: Likewise.
5441 * Makefile (generated): Add version.info.h.
5443 * time/checktab.awk: New file. From ADO 96k.
5444 * time/iso3166.tab: Likewise.
5445 * time/tzselect.ksh: Likewise.
5446 * time/zone.tab: Likewise.
5448 * stdio-common/vfprintf.c: Correct cleanup registration. We
5451 1996-09-11 Paul Eggert <eggert@twinsun.com>
5453 * time/time.h (tm_gmtoff, tm_zone): Prefix with `__' unless
5454 __USE_BSD; this is required for ANSI C compatibility.
5455 * manual/time.texi: Replace GMT by UTC, daylight savings by
5456 daylight saving, timezone by time zone.
5457 Rewrite description of %V to match ISO 8601.
5458 Fix TZ Posix string example for US Eastern time.
5459 Explain tzname[1] when DST isn't used.
5460 Explain tzname when multiple abbreviations used (e.g. EST/EWT/EDT).
5461 Explain that timezone's sign is opposite from tm_gmtoff, and that
5462 timezone lacks DST adjustment whereas tm_gmtoff has it.
5463 Deprecate tzname and timezone.
5465 Tue Sep 10 14:46:16 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5467 Implement Roland McGrath's idea of how to put an .interp into
5469 * interp.c: New file.
5470 * Makerules (interp-obj): New object, linked into every shared
5472 (common-generated): Add interp.so.
5473 (CFLAGS-interp.c): Pass name of interpreter.
5475 Tue Sep 10 21:09:35 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5477 * db/Makefile: Fix typo.
5479 Tue Sep 10 19:29:53 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5481 * nss/db-Makefile ($(VAR_DB)/passwd.db): Look for multiple
5482 occurences of the same uid, and only generate a mapping for the
5485 Tue Sep 10 03:14:59 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5487 * sysdeps/unix/sysv/linux/system.c: New file, to override
5488 sysdeps/unix/system.c.
5490 Tue Sep 10 15:05:40 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5492 * Makefile (before-compile): Add version-info.h, needed to build
5495 Tue Sep 10 14:14:33 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5497 * sysdeps/unix/sysv/linux/m68k/sysdep.S: Remove check for
5498 EWOULDBLOCK, never true on Linux.
5499 (__errno_location): New function.
5500 [_LIBC_REENTRANT]: Set errno using __errno_location function.
5501 * sysdeps/unix/sysv/linux/m68k/sysdep.h [PIC]: Add second
5502 syscall_error handler for reentrant libc.
5504 Tue Sep 10 13:27:49 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5506 * elf/Makefile (extra-objs): Add eval.so to get dependencies.
5508 Wed Sep 11 04:40:57 1996 Ulrich Drepper <drepper@cygnus.com>
5510 * time/tzset.c (__tzname_cur_max): Use type `size_t' to avoid
5512 * time/tzfile.c (compute_tzname_max): Likewise.
5514 Wed Sep 11 02:57:31 1996 Ulrich Drepper <drepper@cygnus.com>
5516 * configure.in: Quote $add_ons argument in loop to generated
5519 Tue Sep 10 20:43:45 1996 Ulrich Drepper <drepper@cygnus.com>
5521 * db/makedb.c: Include <locale.h>. Reported by Fila Kolodny.
5523 Tue Sep 10 14:42:39 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
5525 * elf/dl-cache.c: Rename to ...
5526 * sysdeps/generic/dl-cache.c: ... here.
5527 * sysdeps/mach/hurd/dl-cache.c: New file.
5529 * mach/Makefile (distribute): Add `errsystems.awk'.
5530 * hurd/Makefile (distribute): Add `Notes' and `intr-msg.h'.
5531 * hurd/hurdintr.awk: Delete file. (Not used in ages.)
5532 * hurd/intr-rpc.awk: Likewise.
5533 * hurd/invoke-trans.c: Likewise.
5534 * sysdeps/mach/hurd/i386/longjmp-ctx.c: Likewise.
5535 * sysdeps/mach/hurd/alpha/longjmp-ctx.c: Likewise.
5536 * sysdeps/mach/hurd/mips/longjmp-ctx.c: Likewise.
5537 * sysdeps/mach/hurd/i386/init-fault.c: Likewise.
5538 * sysdeps/mach/hurd/mips/init-fault.c: Likewise.
5539 * sysdeps/stub/init-fault.c: Likewise.
5540 * sysdeps/stub/longjmp-ctx.c: Likewise.
5542 Tue Sep 10 13:49:08 1996 Ulrich Drepper <drepper@cygnus.com>
5544 * inet/herrno.c: Initialize `h_errno' so that we can provide
5547 * Makefile (version-info.h): Fix typo in shell script.
5549 * sysdeps/i386/i586/strlen.S: Optimize startup code a bit.
5550 * sysdeps/i386/i586/strchr.S: Likewise.
5552 Mon Sep 9 20:31:27 1996 Ulrich Drepper <drepper@cygnus.com>
5554 * version.c (banner): Report to bug-glibc@prep not @gnu.
5555 Reported by Andreas Jaeger.
5557 * libio/stdio.h [!__USE_REENTRANT]: Don't define getc as
5559 [__USE_REENTRANT]: Don't define
5561 Mon Sep 9 15:59:32 1996 Ulrich Drepper <drepper@cygnus.com>
5563 * sysdeps/i386/strrchr.c: Fix bug where NUL byte is not recognized
5564 when it is the third byte in the string. Reported by
5566 * string/tester.c: Add tests for above bug to strlen, strchr, and
5569 Fri Sep 6 21:23:33 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5571 * sysdeps/m68k/fpu/e_acos.c: Deansideclized. Include
5572 "math_private.h" to get prototype.
5573 * sysdeps/m68k/fpu/e_fmod.c: Likewise.
5574 * sysdeps/m68k/fpu/k_cos.c: Likewise.
5575 * sysdeps/m68k/fpu/k_sin.c: Likewise.
5576 * sysdeps/m68k/fpu/k_tan.c: Likewise.
5578 * sysdeps/m68k/fpu/k_sin.c: Remove uneeded indirection of
5580 * sysdeps/m68k/fpu/k_tan.c: Likewise.
5582 Sun Sep 1 18:01:35 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5584 * sysdeps/m68k/fpu/__math.h: Check for __NO_M81_MATH_INLINES
5585 instead of __NO_MATH_INLINES.
5586 (__M81_MATH_INLINES): Renamed from __MATH_INLINES.
5587 * sysdeps/m68k/fpu/e_acos.c: Define __NO_M81_MATH_INLINES.
5588 * sysdeps/m68k/fpu/e_fmod.c: Likewise.
5589 * sysdeps/m68k/fpu/k_cos.c: Likewise.
5590 * sysdeps/m68k/fpu/k_sin.c: Likewise.
5591 * sysdeps/m68k/fpu/k_tan.c: Likewise.
5592 * sysdeps/m68k/fpu/s_atan.c: Likewise.
5593 * sysdeps/m68k/fpu/s_frexp.c: Likewise.
5594 * sysdeps/m68k/fpu/s_ilogb.c: Likewise.
5595 * sysdeps/m68k/fpu/s_isinf.c: Likewise.
5596 * sysdeps/m68k/fpu/s_ldexp.c: Likewise.
5597 * sysdeps/m68k/fpu/s_modf.c: Likewise.
5598 * sysdeps/m68k/fpu/k_cos.c: Use inline version of __cos.
5599 * sysdeps/m68k/fpu/k_sin.c: Likewise.
5600 * sysdeps/m68k/fpu/k_tan.c: Likewise.
5602 Mon Sep 9 12:55:14 1996 Ulrich Drepper <drepper@cygnus.com>
5604 * nss/nss_files/files-parse.c (INT_FIELD_MAYBE_NULL): Check for
5605 available character before converting number and return with
5606 error if none is available.
5608 Fri Sep 6 22:09:08 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5610 * sysdeps/unix/sysv/linux/init-first.h: New file, generic
5611 implementation for architectures where parameters are passed on
5613 * sysdeps/unix/sysv/linux/m68k/init-first.h: Removed.
5614 * sysdeps/unix/sysv/linux/i386/init-first.h: Removed.
5616 Fri Sep 6 22:05:32 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5618 * configure.in: Remove unneeded sysnames frobbing.
5620 Mon Sep 9 05:29:09 1996 Ulrich Drepper <drepper@cygnus.com>
5622 * time/zic.c: Update from ADO 96l.
5623 * time/africa: Update from ADO 96k.
5624 * time/antarctica: Likewise.
5625 * time/asia: Likewise.
5626 * time/australia: Likewise.
5627 * time/europe: Likewise.
5628 * time/northamerica: Likewise.
5629 * time/southamerica: Likewise.
5631 Mon Sep 9 05:03:47 1996 NIIBE Yutaka <gniibe@mri.co.jp>
5633 * sysdeps/unix/sysv/linux/i386/init-first.h: Work around buggy
5634 gcc <= 2.7.2.1 which optimizes away address operations on weak
5637 * nss/nss_files/files-parse.c (INT_FIELD_MAYBE_NULL): New macro.
5638 Like INT_FIELD but also accept non-existing field.
5639 * shadow/sgetspent_r.c (LINE_PARSER): Use INT_FIELD_MAYBE_NULL
5640 for last four fields.
5641 * shadow/putspent.c (putspent): Print `:' after numeric value.
5643 Mon Sep 9 02:42:48 1996 Richard Henderson <rth@tamu.edu>
5645 * libio/stdio.h (BUFSIZ): Define using _IO_BUFSIZ.
5647 Sun Sep 8 16:43:56 1996 Ulrich Drepper <drepper@cygnus.com>
5649 * Make-dist: Filter out $(add-ons) from $(subdirs).
5650 Don't distribute TAGS files.
5651 ($(tardir).tar): Remove dist.tar when all is done.
5652 * manual/Makefile (distribute): Add libc.info*.
5653 * libio/Makefile (distribute): Add Banner.
5654 * inet/Makefile (headers): Add netinet/tcp.h.
5656 * resolv/Makefile (libresolv-routines): Add getnetnamadr.
5658 * crypt-README: Removed.
5659 * gnu-stabs.h: Removed.
5661 * sysdeps/alpha/copysign.S: Renamed to...
5662 * sysdeps/alpha/s_copysign.S: ...this.
5663 * sysdeps/alpha/fabs.S: Renamed to...
5664 * sysdeps/alpha/s_fabs.S: ...this.
5666 * sysdeps/m68k/isinfl.c: Renamed to...
5667 * sysdeps/m68k/s_isinfl.c: ...this.
5668 * sysdeps/m68k/isnanl.c: Renamed to...
5669 * sysdeps/m68k/s_isnanl.c: ...this.
5671 * sysdeps/sparc/sqrt.c: Renamed to...
5672 * sysdeps/sparc/e_sqrt.c: ...this. Function name now is
5675 * sysdeps/generic/get_str.c: Removed.
5677 * sysdeps/ieee754/cbrt.c: Removed.
5678 * sysdeps/ieee754/drem.c: Removed.
5679 * sysdeps/ieee754/logb.c: Removed.
5680 * sysdeps/ieee754/sqrt.c: Removed.
5682 * sysdeps/stub/cbrt.c: Removed.
5683 * sysdeps/stub/cos.c: Removed.
5684 * sysdeps/stub/drem.c: Removed.
5685 * sysdeps/stub/isinf.c: Removed.
5686 * sysdeps/stub/isinfl.c: Removed.
5687 * sysdeps/stub/isnanl.c: Removed.
5688 * sysdeps/stub/logb.c: Removed.
5689 * sysdeps/stub/sin.c: Removed.
5690 * sysdeps/stub/sqrt.c: Removed.
5692 * sysdeps/tahoe/log10.c: Removed.
5694 * sysdeps/vax/index.s: Removed.
5695 * sysdeps/vax/rindex.s: Removed.
5696 * sysdeps/vax/bcmp.s: Removed.
5697 * sysdeps/vax/log10.c: Removed.
5698 * sysdeps/vax/infnan.c: Removed.
5699 * sysdeps/vax/Dist: Add fl.h.
5701 * sysdeps/unix/sysv/linux/alpha/Dist: Add llseek.S.
5703 * inet/rcmd.c (rcmd): Make messages more uniform.
5705 Sun Sep 8 14:15:42 1996 Ulrich Drepper <drepper@cygnus.com>
5710 * po/pl.po: New file.
5711 * po/nl.po: New file.
5713 Sat Sep 7 18:41:17 1996 Richard Henderson <rth@tamu.edu>
5715 * Makeconfig (+link): Filter out start, pre & postinit from the
5716 generic depenancies as well.
5717 * Rules: Add start, pre & postinit to the dependancies of
5718 $(others) and $(tests).
5720 * configure.in: elf_dirs missing "sysdeps" component.
5722 Sun Sep 8 02:36:02 1996 Ulrich Drepper <drepper@cygnus.com>
5724 * locale/SYS_libc.c (_libc_intl_domainname): Change value to "libc".
5725 This is consistent with all other GNU packages. We shouldn't
5726 take care for a possible clash. Nobody will name the domain
5727 of a package libc if it is not the libc itself.
5728 * MakeTAGS ($P/SYS_libc.pot): Rename to $P/libc.pot.
5729 * po/Makefile (domainname): Change to libc.
5730 (distribute): Now ship libc.pot.
5731 * catgets/gencat.c (usage): Use `PACKAGE' for package name in
5732 version information banner.
5733 Change bug report address to bug-glibc@prep not @gnu.
5734 * db/makedb.c (PACKAGE): New macro. Set to _libc_intl_domain.
5735 (main): Use `PACKAGE' for package name in version information
5737 Change bug report address to bug-glibc@prep not @gnu.
5738 * locale/programs/locale.c (main): Use `PACKAGE' for package name
5739 in version information banner.
5740 Change bug report address to bug-glibc@prep not @gnu.
5741 * locale/programs/localedef.c (main): Likewise.
5743 * version.h (VERSION): Bump to 1.94.
5745 * locale/Makefile (distribute): Add locale.c and localedef.c.
5747 Sat Sep 7 14:00:33 1996 David Mosberger-Tang <davidm@azstarnet.com>
5749 * catgets/catgets.c (catopen): Allocate sizeof(*result) bytes
5750 instead of sizeof(nl_catd) (which is just a pointer!).
5752 Sat Sep 7 19:39:19 1996 Ulrich Drepper <drepper@cygnus.com>
5754 * Makefile ($(objpfx)version-info.h): Generate from Banner files.
5755 * version.c (banner): Add contents of version-info.h to string.
5757 * Makerules: If $($(subdir)-version) is available name versioned
5758 shared library according to this value instead of glibc's version.
5760 * libio/Banner: New file.
5762 * elf/eval.c (funcall): Write error message in case function is
5764 (eval): Recognize `_' in names.
5766 Sat Sep 7 05:15:45 1996 Ulrich Drepper <drepper@cygnus.com>
5768 * libio/iofdopen: Initialize _lock field only if _IO_MTSAFE_IO.
5769 * libio/iofopen: Likewise.
5770 * libio/iofopncook.c: Likewise.
5771 * libio/iopopen.c: Likewise.
5772 * libio/iovsprintf.c: Likewise.
5773 * libio/iovsscanf.c: Likewise.
5774 * libio/memstream.c: Likewise.
5775 * libio/vasprintf.c: Likewise.
5776 * libio/vdprintf.c: Likewise.
5777 * libio/vsnprintf.c: Likewise.
5779 Sat Sep 7 03:55:47 1996 Ulrich Drepper <drepper@cygnus.com>
5781 * Makeconfig (soversions.mk): Also use shlib-versions files
5782 in add-on directories.
5783 * config.make.in (config-defines): Remove. Not used anymore.
5784 (defines): New variable. Initiliazed by @DEFINES@.
5785 * configure.in: Add AC_SUBST(DEFINES).
5787 * libio/Makefile (routines): When compiling reentrant libc add
5788 clearerr_u, feof_u, ferror_u, fputc_u, getc_u, getchar_u,
5789 iofflush_u, putc_u, putchar_u, ioflockfile.
5790 (CPPFLAGS): Add -D_IO_MTSAFE_IO for reentrant libc.
5792 * sysdeps/stub/libc-lock.h: Add stubs for __libc_cleanup_region_start
5793 and __libc_cleanup_region_end.
5795 * sysdeps/unix/i386/sysdep.S [_LIBC_REENTRANT]: Set errno
5796 using __errno_location function.
5797 * sysdeps/unix/sysv/linux/i386/sysdep.S [_LIBC_REENTRANT]: Set errno
5798 using __errno_location function.
5799 (__errno_location): New function.
5800 * sysdeps/unix/sysv/linux/i386/sysdep.h [PIC]: Add second
5801 syscall_error handler for reentrant libc.
5803 * sysdeps/unix/opendir.c: Remove unneeded `;'.
5805 * libio.h [_IO_MTSAFE_IO]: Include <pthread.h>.
5806 [!_IO_MTSAFE_IO]: Define _IO_flockfile and _IO_funlockfile
5808 * libioP.h: Include <libc-lock.h>.
5809 * libio/stdio.h: Add prototypes for *_locked and *_unlocked
5812 * libio/clearerr.c: Use _IO_ protected versions of flockfile
5813 and funlockfile to be namespace clean.
5815 * libio/genops.c: Use __libc_lock_* macros for handling lock.
5817 * libio/iofdopen: Add initialization of _lock in _IO_FILE.
5818 * libio/iofopen: Likewise.
5819 * libio/iofopncook.c: Likewise.
5820 * libio/iopopen.c: Likewise.
5821 * libio/iovsprintf.c: Likewise.
5822 * libio/iovsscanf.c: Likewise.
5823 * libio/memstream.c: Likewise.
5824 * libio/vasprintf.c: Likewise.
5825 * libio/vdprintf.c: Likewise.
5826 * libio/vsnprintf.c: Likewise.
5828 * libio/fgetc.c: Use __libc_cleanup_region_* macros instead
5830 * libio/fputc.c: Likewise.
5831 * libio/freopen.c: Likewise.
5832 * libio/fseek.c: Likewise.
5833 * libio/getc.c: Likewise.
5834 * libio/getchar.c: Likewise.
5835 * libio/iofclose.c: Likewise.
5836 * libio/iofflush.c: Likewise.
5837 * libio/iofgetpos.c: Likewise.
5838 * libio/iofgets.c: Likewise.
5839 * libio/iofputs.c: Likewise.
5840 * libio/iofread.c: Likewise.
5841 * libio/iofsetpos.c: Likewise.
5842 * libio/ioftell.c: Likewise.
5843 * libio/iofwrite.c: Likewise.
5844 * libio/iogetdelim.c: Likewise.
5845 * libio/iogets.c: Likewise.
5846 * libio/ioputs.c: Likewise.
5847 * libio/iosetbuffer.c: Likewise.
5848 * libio/iosetvbuf.c: Likewise.
5849 * libio/ioungetc.c: Likewise.
5850 * libio/putc.c: Likewise.
5851 * libio/putchar.c: Likewise.
5852 * libio/rewind.c: Likewise.
5853 * stdio-common/vfprintf.c: Likewise.
5854 * stdio-common/vfscanf.c: Likewise.
5856 * libio/clearerr_u.c: Correct alias name.
5857 * libio/ferror_u.c: Likewise.
5858 * libio/fileno.c: Likewise.
5859 * libio/fputc_u.c: Likewise.
5860 * libio/getc.c: Likewise.
5861 * libio/getc_u.c: Likewise.
5862 * libio/getchar.c: Likewise.
5863 * libio/getchar_u.c: Likewise.
5864 * libio/putc.c: Likewise.
5865 * libio/putchar.c: Likewise.
5867 * libio/feof_u.c: Undefine macro with name of function before
5868 definition of function itself.
5870 * libio/ioflockfile.c: New file. Implementation of flockfile and
5873 * libio/putchar_u.c: Fix typo. Use stdout instead of fp.
5875 * malloc/malloc.h: Don't include <libc-lock.h> and don't declare
5878 * malloc/free.c: Include <libc-lock.h>.
5879 * malloc/realloc.c: Likewise.
5880 * malloc/malloc-find.c: Likewise.
5881 * malloc/malloc-size.c: Likewise.
5882 * malloc/malloc-walk.c: Likewise.
5883 * malloc/memalign.c: Likewise.
5884 * malloc/malloc.c: Likewise.
5886 * sysdeps/i386/dl-machine.h: Correct clearing of _dl_starting_up.
5888 Fri Sep 6 19:38:49 1996 Ulrich Drepper <drepper@cygnus.com>
5890 * sysdeps/stub/libc-lock.h: Define __libc_lock_critical_start
5891 and __libc_lock_critical_end as empty macros.
5893 * malloc/malloc.h: Don't include <libc-lock.h> and don't declare
5895 * malloc/free.c: Include <libc-lock.h>.
5896 * malloc/malloc-find.c: Likewise.
5897 * malloc/malloc-size.c: Likewise.
5898 * malloc/malloc-walk.c: Likewise.
5899 * malloc/malloc.c: Likewise.
5900 * malloc/memalign.c: Likewise.
5901 * malloc/realloc.c: Likewise.
5903 * Makefile: Undo change from Mon Sep 2 22:15:14 1996. No more
5906 * extra-lib.mk: Likewise.
5907 * manual/Makefile: Likewise.
5909 * db/Makefile (makedb): Choose dependecies based on build-shared.
5910 Patch by Andres Schwab.
5912 * sysdeps/posix/sysconf.c: Don't use PTHREAD_DESTRUCTOR_ITERATIONS
5913 but _POSIX_THREAD_DESTRUCTOR_ITERATIONS.
5915 * sysdeps/unix/sysv/linux/errnos.h: New file.
5916 * sysdeps/unix/sysv/linux/schedbits.h: New file.
5917 * sysdeps/unix/sysv/linux/waitflags.h: New file.
5919 * sysdeps/unix/sysv/linux/gnu/types.h: Add definition of `key_t'.
5921 Fri Sep 6 08:26:31 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5923 * rpm/template: Fix typo in %build section.
5925 Fri Sep 6 03:31:07 1996 Ulrich Drepper <drepper@cygnus.com>
5927 * sysdeps/unix/sysv/linux/errnos.h: Don't define errno macro when
5928 building libc without thread support.
5929 * resolv/netdb.h: Likewise for h_errno macro.
5931 Thu Sep 5 23:01:48 1996 Ulrich Drepper <drepper@cygnus.com>
5933 * libc-symbols.h: Add new macro weak_const_function. It's like
5934 weak_function, but the function is additionally marked as const.
5935 * features.h: Only include <sys/cdefs.h> if !__ASSEMBLER__.
5937 Thu Sep 5 22:55:49 1996 Richard Henderson <rth@tamu.edu>
5939 * inet/herrno.c (__h_errno_location): New function.
5940 (h_errno): Make strong_alias __h_errno so that we can access
5941 the variable even if `h_errno' is a macro.
5942 * resolv/netdb.h: Define macro h_errno to access thread specific
5943 version of h_errno variable. Declare alias __h_errno for h_errno.
5944 * resolv/res_query (h_errno): Remove definition.
5945 * sysdeps/unix/sysv/linux/errnos.h [!__ASSEMBLER__ && __USE_REENTRANT]:
5946 Add macro `errno' to get thread specific variable.
5947 * sysdeps/unix/alpha/sysdep.S [_LIBC_REENTRANT]: Set errno using
5948 __errno_location function.
5949 (__errno_location): New function.
5951 Thu Sep 5 21:08:44 1996 Ulrich Drepper <drepper@cygnus.com>
5953 * posix/gnu/types.h: Remove definition of key_t.
5954 * sysdeps/generic/gnu/types.h: Move it to here.
5955 * sysdeps/unix/sysv/linux/gnu/types.h: Add Linux specific
5956 definition of key_t.
5958 * sysdeps/unix/sysv/linux/waitflags.h: New file. Linux specific
5960 * sysdeps/unix/sysv/linux/schedbits.h: New file. Include
5961 clone prototypes and associated flags.
5963 Thu Sep 5 13:18:25 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
5965 * sysdeps/mach/hurd/i386/init-first.c (__libc_argc, __libc_argv):
5967 (init1): Initialize them.
5968 * hurd/hurdinit.c (_hurd_setproc): Now that happens to be
5969 available, pass __libc_argv in call to __proc_set_arg_locations.
5971 * gmon/gmon.c (write_hist): Call __profile_frequency instead of
5973 (hertz): Delete function.
5974 * gmon/Makefile (routines): Add `prof-freq'.
5975 * sysdeps/generic/prof-freq.c: New file.
5976 * sysdeps/mach/hurd/prof-freq.c: New (stubby) file.
5977 * sysdeps/mach/hurd/profil.c (profile_tick): New variable.
5978 (update_waiter): Store frequency in profile_tick.
5979 (__profile_frequency): New function.
5981 * sysdeps/mach/hurd/sendto.c (sendto): Use prototype definition
5984 * Rules (generated): Restore reference to $(generated).
5986 * mach/Machrules (mig.uh, mig.__h): Don't include $(user-MIGFLAGS)
5989 * malloc/free.c (free): __lib_malloc_lock -> __libc_malloc_lock.
5991 * malloc/free.c: Provide extern decl of __libc_malloc_lock.
5992 * malloc/realloc.c: Likewise.
5993 * malloc/malloc-find.c: Likewise.
5994 * malloc/malloc-size.c: Likewise.
5995 * malloc/malloc-walk.c: Likewise.
5996 * malloc/memalign.c: Likewise.
5998 Thu Sep 5 08:58:47 1996 Richard Henderson <rth@tamu.edu>
6000 * sysdeps/alpha/elf/start.S: Make _start global again.
6002 Thu Sep 5 03:20:42 1996 Ulrich Drepper <drepper@cygnus.com>
6004 Change configuration and Makefiles to allow add-ons to have a
6005 sysdeps/ directory hierachy.
6006 * configure.in: Test for sysdeps/ directory in add-ons. Before
6007 all test and searches in these hierachies, too.
6008 * Makeconfig (full-config-subdirs): Define based on $(config-sysdirs).
6009 Extend with $(..) if not absolute path.
6010 Use $(full-config-subdirs) where $(config-sysdirs) was used.
6011 * Makefile ($(objpfx)sysd-dirs): Use config-sysdirs.
6012 * MakeTAGS: Use $(full-config-subdirs).
6013 * Makerules: Change comment to libc.so link script.
6014 (sysdirs): Define based on $(full-config-subdirs).
6015 (sysd-Makefile): Define using config-sysdirs.
6016 (sysd-rules): Likewise.
6017 * sysdeps/unix/Makefile (sysd-syscalls): Define based on +sysdep-dirs.
6018 * sysdeps/unix/make-syscalls.sh: Remove basedir argument.
6020 Wed Sep 4 01:32:21 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6022 * sysdeps/m68k/fpu/k_cos.c: Rewritten for better accuracy.
6023 * sysdeps/m68k/fpu/k_sin.c: Likewise.
6024 * sysdeps/m68k/fpu/k_tan.c: Likewise.
6026 Thu Sep 5 01:06:09 1996 Richard Henderson <rth@tamu.edu>
6028 * malloc/free.c (free): Protect by using __libc_malloc_lock.
6029 * malloc/malloc-find.c (malloc_find_object_address): Likewise.
6030 * malloc/malloc-size.c (malloc_usable_size): Likewise.
6031 * malloc/malloc-walk.c (malloc_walk): Likewise.
6032 * malloc/memalign.c (memalign): Likewise.
6033 * malloc/realloc.c (realloc): Likewise.
6034 * malloc/malloc.c: Define __libc_malloc_lock.
6035 (_malloc_internal): Don't use `malloc'. Instead look for
6036 `__malloc_hook' or call `_malloc_internal'.
6037 (malloc): Protect by using `__libc_malloc_lock'.
6038 * malloc/malloc.h: Declare `__libc_malloc_lock'.
6040 Mon Sep 2 22:42:59 1996 Richard Henderson <rth@tamu.edu>
6042 * sysdeps/alpha/elf/start.S: Use weak_alias for __start
6043 instead of the hard definition.
6045 * sysdeps/alpha/dl-machine.h (RTLD_START): Add type info for
6046 _start and _dl_start_user.
6048 * sysdeps/unix/sysv/linux/alpha/init-first.h (SYSDEP_CALL_INIT):
6049 Make _dl_starting_up weak. Add type info for NAME.
6051 Mon Sep 2 22:15:14 1996 Richard Henderson <rth@tamu.edu>
6053 * Makefile (all): Add extra_solibs pass.
6054 (+subdir_targets): Same.
6055 * Rules (extra_solibs): New phony empty target for subdirs without
6057 * extra-lib.mk: Build lib*.so* in extra_solibs not lib-noranlib.
6058 * manual/Makefile: Add dummy extra_solibs target.
6060 Sun Sep 1 15:41:22 1996 Richard Henderson <rth@tamu.edu>
6062 * Makeconfig (+link): Add $(link-extra-libs).
6063 (link-extra-libs): New variable which expands to the full paths of
6064 the other libraries needed by a program, as controled by LDLIBS-$(@F).
6065 * db/Makefile: Use LDLIBS-makedb to link libdb not a dependency, as
6066 the later attempts to install the library before linking it.
6068 * sysdeps/unix/alpha/sysdep.S: Align errno.
6070 * sysdeps/unix/sysv/linux/alpha/ioperm.c (struct platform): Add
6072 (io): Move bus_memory_base and sparse_bus_memory_base into struct.
6073 (_hae_shift): New function.
6074 * sysdeps/unix/sysv/linux/alpha/sys/io.h: New file. Prototypes
6075 for the bus query functions.
6077 Sat Aug 31 18:14:54 1996 Richard Henderson <rth@tamu.edu>
6079 * elf/dl-close.c (_dl_close): In static executables, map->l_prev
6080 can be NULL when unloading a library.
6082 * elf/dl-open.c (_dl_open): Pass __environ instead of __libc_envp
6083 to the library .init function.
6085 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Since we omitted
6086 part of the COPY reloc processing earlier, omit the rest now --
6087 we'll get into less trouble later when some fool does use a COPY.
6089 * sysdeps/unix/sysv/linux/init-first.c (init): Accept argc et al as
6090 parameters. Move all argc and __libc_multiple_libcs calculation out
6091 to init-first.h. Use __environ not __libc_envp.
6092 * sysdeps/unix/sysv/linux/alpha/init-first.h: Rewrite.
6093 * sysdeps/unix/sysv/linux/i386/init-first.h: Rewrite.
6095 Thu Aug 29 20:26:40 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6097 * sysdeps/posix/profil.c (profil): Don't clobber saved timer and
6098 signal settings when profiling was already turned on.
6100 * csu/gmon-start.c (__gmon_start__) [HAVE_INITFINI]: Protect from
6103 Wed Sep 4 01:31:50 1996 Ulrich Drepper <drepper@cygnus.com>
6105 * sysdeps/unix/sysv/linux/i386/mmap.S: Test for
6106 0 < return value < -4096 and not < 0 to decide about failure.
6107 Reported by Andreas Jaeger.
6109 Tue Sep 3 19:04:05 1996 Ulrich Drepper <drepper@cygnus.com>
6111 * stdio-common/vfscanf.c (__vfscanf): Don't count EOF char
6114 Sat Aug 31 18:10:51 1996 Ulrich Drepper <drepper@cygnus.com>
6116 * wcsmbs/wchar.h: Define prototypes for wcstoq and wcstouq only
6119 Sat Aug 31 12:34:29 1996 Ulrich Drepper <drepper@cygnus.com>
6121 * version.c: Add missing newline character in banner.
6123 * sysdeps/unix/sysv/linux/alpha/Dist: Correct typo.
6124 * sysdeps/unix/sysv/linux/i386/Dist: Likewise.
6126 Sat Aug 31 03:07:39 1996 Ulrich Drepper <drepper@cygnus.com>
6128 * intl/l10nflist.c (_nl_normalize_codeset): We convert to lower
6129 case, so don't prepend uppercase `ISO' for only numeric arg.
6131 Wed Sep 4 16:16:13 1996 Ulrich Drepper <drepper@cygnus.com>
6133 * sysdeps/mach/hurd/send.c (__send): De-ANSI-fy.
6134 * sysdeps/mach/hurd/sendto.c (sendto): Likewise.
6136 Tue Sep 3 11:16:07 1996 Thomas Bushnell/ n/BSG <thomas@gnu.ai.mit.edu>
6138 * shadow/lckpwdf.c (__ulckpwdf): Don't take address of LOCK in
6139 call to __libc_lock_lock.
6141 * sysdeps/mach/hurd/send.c (__send): Declare BUF const.
6142 * sysdeps/mach/hurd/sendto.c (sendto): Likewise.
6144 * sysdeps/stub/ustat.c: Include <sys/ustat.h>.
6146 * misc/syslog.c (vsyslog): Fix typo (`mow_tm' -> `now_tm').
6148 Fri Aug 30 19:55:27 1996 Ulrich Drepper <drepper@cygnus.com>
6150 * libio/genops.c: Make _cleanup an alias of _IO_cleanup.
6151 Reported by Erik Troan.
6153 Fri Aug 30 15:40:04 1996 Ulrich Drepper <drepper@cygnus.com>
6155 * sysdeps/unix/sysv/linux/Dist: Add sys/procfs.h and
6156 sys/sysmacros.h. Reported by Curtiss <1CMC3466@IBM.MTSAC.EDU>.
6158 Fri Aug 30 13:53:32 1996 Andreas Jaeger <aj@arthur.pfalz.de>
6160 * sysdeps/unix/mman/syscalls.list: `mmap' has 6 arguments, not 5.
6162 Fri Aug 30 13:01:10 1996 NIIBE Yutaka <gniibe@mri.co.jp>
6164 * sysdeps/i386/fpu/__math.h (tan): Pop 1.0 in ST to get
6167 Fri Aug 30 03:33:33 1996 Ulrich Drepper <drepper@cygnus.com>
6169 * sysdeps/libm-ieee754/s_cbrtl.c: New file. `long double'
6172 Fri Aug 30 13:39:21 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
6174 * Makerules (BUILD_CFLAGS): Use @(common-objpfx) for config.h, not
6175 $(..). Some rules (like sysdeps/posix/Makefile for mk-stdiolim)
6177 (sed-remove-objpfx): Don't substitute for $(objpfx) anymore;
6178 $(common-objpfx) is good enough.
6179 * Rules (common-generated): Provide default (empty) value.
6180 (dummy.o, dummy.c, empty.o, empty.c): Put these in
6181 $(common-generated), not $(generated), and without $(..).
6182 (subdir_echo-distinfo): Treat $(common-generated) just like
6184 (generated): Depend on the (suitably mutated) $(common-generated)
6186 * Makerules (common-clean): Remove common-generated files too.
6187 * sysdeps/mach/hurd/Makefile (generated): Don't put errnos.d and
6189 (common-generated): Do put errnos.d and stamp-errnos here.
6190 (rpath-link): Don't use +=; $(rpath-link) is a colon separated list.
6192 * sysdeps/mach/hurd/Makefile (before-compile): Add auth; also add
6193 auth to following rule to get it built.
6195 Fri Aug 30 01:26:44 1996 Ulrich Drepper <drepper@cygnus.com>
6197 * sysdeps/unix/sysv/linux/i386/Dist: Add clone.S.
6198 * sysdeps/unix/sysv/linux/m68k/Dist: Likewise.
6199 * sysdeps/unix/sysv/linux/alpha/Dist: Likewise.
6201 * version.c: Add comment about where to report bugs to.
6202 * catgets/gencat.c (usage): Likewise.
6203 * db/makedb.c (usage): Likewise.
6204 * locale/programs/locale.c (usage): Likewise.
6205 * locale/programs/localedef.c (usage): Likewise.
6207 * manual/socket.texi: A little bit better wording.
6209 Thu Aug 29 18:03:06 1996 Ulrich Drepper <drepper@cygnus.com>
6211 * Makerules: Make sure directory exists before generating stamp file.
6212 (BUILD_CFLAGS): Always refer to using $(..).
6213 * manual/Makefile: Make sure directory exists before generating
6215 (make-target-directory): Add macro definition.
6216 * sysdeps/generic/Makefile: Make sure directory exists before
6217 generating stamp file.
6219 * Makefile (distribute): Add autolock.sh. Reported by Fila Kolodny.
6221 Tue Aug 27 10:06:22 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6223 When compiling in separate directory put objects into
6224 subdirectories matching the source layout.
6225 * Makeconfig (objpfx) [ifdef objdir]: Append $(subdir).
6226 When looking for configparms try in $(common-objpfx).
6227 Use $(common-objpfx)SUBDIR to find objects from other subdirectory
6229 * Makerules: Add $(objpfx) to vpath list.
6230 (make-dummy-dep): Use $(common-objpfx) to avoid creating dummy.d
6231 more than once. All uses in dependency lists changed.
6232 (+make-deps): Make target directory.
6233 (sed-remove-objpfx): Substitute $(common-objpfx).
6234 (do-ar, build-extra-lib, $(common-objpfx)stub-$(subdir)): Use
6235 $(objpfx) instead of $(objdir) for cd command.
6236 (O%-lib): Always find libc relative to $(..).
6237 (subdir-stamps): Collect stamp files from subdirs.
6238 (common-mostlyclean): Remove stub file in $(common-objpfx).
6239 * MakeTAGS ($P/siglist.pot): Find siglist.c in stdio-common.
6240 * Rules (dep-dummy-lib): Use $(common-objpfx) to avoid creating to
6242 ($(objpfx)dummy.c, $(objpfx)empty.c): Change target name to use
6243 $(common-objpfx). All uses in dependency lists changed.
6244 (generated): Prepend $(..) to names.
6245 * bare/Makefile ($(objpfx)lib$(config-vendor).a): Remove $(objpfx)
6247 * nss/Makefile ($(objpfx)libnss_dns.so, $(objpfx)libnss_db.so):
6248 Use $(common-objpfx) instead of $(..) in dependencies.
6249 * sysdeps/mach/Makefile (mach-objpfx): Unconditionally use
6250 $(common-objpfx) instead of $(..) and (objpfx).
6251 * sysdeps/mach/hurd/Makefile (hurd-objpfx): Likewise.
6252 (rpath-link): Likewise.
6253 (rpcuserlibs): Likewise.
6254 * sysdeps/unix/Makefile [$(subdir) = stdio-common]: Check for
6255 errlist.c in $(objpfx), not $(common-objpfx).
6256 ($(common-objpfx)s-proto.d): Special rule not covered by pattern
6258 * sysdeps/unix/make-syscalls.sh: Make syscall rules depending on
6259 s-proto.d in $(common-objpfx), not $(objpfx).
6261 Thu Aug 29 17:45:49 1996 Ulrich Drepper <drepper@cygnus.com>
6263 * nss/nsswitch.c (nss_dlerror_run): Free returned error
6266 Thu Aug 29 15:53:33 1996 Ulrich Drepper <drepper@cygnus.com>
6268 * sysdeps/libm-ieee754/e_acoshl.c: New file. `long double'
6270 * sysdeps/libm-ieee754/e_atanhl.c: Likewise.
6271 * sysdeps/libm-ieee754/e_remainderl.c: Likewise.
6272 * sysdeps/libm-ieee754/e_scalbl.c: Likewise.
6273 * sysdeps/libm-ieee754/s_asinhl.c: Likewise.
6274 * sysdeps/libm-ieee754/s_cosl.c: Likewise.
6275 * sysdeps/libm-ieee754/s_sinl.c: Likewise.
6276 * sysdeps/libm-ieee754/s_tanhl.c: Likewise.
6277 * sysdeps/libm-ieee754/s_tanl.c: Likewise.
6279 Thu Aug 29 12:00:30 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
6281 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Correct
6282 spelling error of _hurd_itimerval.
6284 * mach/Makefile (MIGFLAGS-mach/mach4): Define variable.
6285 * mach/Machrules (mig.uh, mig.__h): Include $(user-MIGFLAGS) and
6286 $(MIGFLAGS-$*) here too, as well as in the code-generating MiG calls.
6288 * hurd/hurdinline.c: Include "hurd.h" for function definitions too.
6290 * stdio/fseek.c (fseek): Don't assume we know the file position;
6291 other handles may have changed it. So set STREAM.__offset to -1
6292 before calling __stdio_check_offset to make sure we have a correct
6295 Thu Aug 29 00:28:08 1996 Ulrich Drepper <drepper@cygnus.com>
6297 * stdio-common/printf_fp.c (__printf_fp): Use default value '.' if
6298 `decimal' char is 0.
6300 * C-numeric.c (not_available): New constant.
6301 (_nl_C_LC_NUMERIC): Use `not_available' for grouping value.
6303 * nss/nsswitch.conf: Example configuration file.
6304 * nss/db-Makefile: Example Makefile for generation of databases
6306 * nss/Makefile (distribute): Add nsswitch.conf and db-Makefile.
6308 1996-08-28 Paul Eggert <eggert@twinsun.com>
6310 * C-messages.c (_nl_C_LC_MESSAGES): Set yesexpr to "^[yY]" and
6311 noexpr to "^[nN]"; this conforms to POSIX.2.
6313 * C-time.c (_nl_C_LC_TIME): Change %d to %e in d_t_format, to
6316 1996-08-28 Paul Eggert <eggert@twinsun.com>
6318 * C-monetary.c (not_available): New constant.
6319 (_nl_C_LC_MONETARY): Set mon_decimal_point to "", and set
6320 mon_grouping, int_frac_digits, frac_digits, p_cs_precedes,
6321 p_sep_by_space, n_cs_precedes, n_sep_by_space, p_sign_posn, and
6322 n_sign_posn to CHAR_MAX, as required by the POSIX Standard.
6324 Wed Aug 28 23:12:28 1996 Ulrich Drepper <drepper@cygnus.com>
6326 * nss/nss_db/db-XXX.c: Correct function names. They must be
6327 `_nss_db_*' instead of `_nss_files_*'.
6328 (lookup): `parse_line' returns 1 if succesful.
6329 * nss/nss_files/files-service.c (servbyname): Key for database
6330 must also contain protocol names.
6331 (servbypt): Likewise.
6332 Test must also check for protocol. Add `proto' argument.
6334 Tue Aug 27 09:56:13 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6336 * MakeTAGS ($P/subdirs.pot): Prefix all file names, not only the
6339 Tue Aug 27 17:45:21 1996 Ulrich Drepper <drepper@cygnus.com>
6341 * Makerules: Add some test for correct version of GNU Make.
6343 * io/fcntl.h: Undo change from Mon Aug 26 22:22:17 1996.
6344 * sysdeps/unix/sysv/linux/fcntlbits.h: Place macros here instead.
6346 * sysdeps/generic/dl-sysdep.c: Initialize break address to
6347 avoid overwriting last page (OK, Roland).
6349 Tue Aug 27 16:20:37 1996 Ulrich Drepper <drepper@cygnus.com>
6351 * resolv/resolv.h: Update from BIND-4.9.5-T3A.
6352 * resolv/arpa/nameser.h: Likewise.
6353 * resolv/res_init.c: Likewise.
6354 * resolv/res_debug.c: Likewise.
6355 * resolv/res_mkquery.c: Likewise.
6357 Tue Aug 27 15:47:04 1996 Ulrich Drepper <drepper@cygnus.com>
6359 * elf/dl-error.c (catch): Define errstring element not as const.
6360 (_dl_catch_error): ERRSTRING argument is not const pointer.
6361 Initialize *ERRSTRING and *OBJNAME separately.
6362 * elf/link.h: Change prototype for `_dl_catch_error'.
6364 * elf/dl-load.c (_dl_map_object): Use separate variable for
6365 copied NAME to avoid `const' warning.
6367 * elf/dlerror.c: Make `last_errstring' variable not const pointer.
6369 * elf/rtld.c: Implement reading of /etc/ld.so.preload. This
6370 provides preloading even for SUID binaries.
6371 Add some more casts to avoid signed<->unsigned warnings.
6373 Tue Aug 27 15:40:28 1996 NIIBE Yutaka <gniibe@mri.co.jp>
6375 * posix/sys/types.h: Define loff_t.
6376 * sysdeps/unix/sysv/linux/gnu/types.h: Define __loff_t.
6378 Mon Aug 26 22:22:17 1996 Ulrich Drepper <drepper@cygnus.com>
6380 * io/fcntl.h: Add definition for BSD F* macros.
6382 * misc/init-misc.c (__init_misc): Make static.
6383 * misc/Makefile: Pass -fkeep-inline-functions flag for init-misc.c.
6385 * configure.in: Add test for -fno-exception option of gcc.
6386 * config.make.in: Add definition of have-no-exceptions.
6387 * Makerules: Define no-exceptions based on have-no-exceptions.
6388 * csu/Makefile: When translating initfini.c pass $(no-exceptions).
6389 This is necessary for gcc >= ss-960816.
6391 Mon Aug 26 17:16:48 1996 Richard Henderson <rth@tamu.edu>
6393 * sysdeps/alpha/dl-machine.h: Clear startup flag.
6395 Fri Aug 16 21:17:50 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6397 * Makerules (o-iterator-doit): Simplify reference to autolock
6400 Sat Aug 24 15:27:41 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6402 * sysdeps/mach/hurd/getcwd.c
6403 (_hurd_canonicalize_directory_name_internal): After resizing the
6404 buffer move the current contents to the end. Correctly relocate
6405 file name pointer to upper half of the buffer.
6407 Mon Aug 26 15:49:59 1996 Ulrich Drepper <drepper@cygnus.com>
6409 * rtld.c (dl_main): Remove code to call ld.so initializer. This
6410 was introduced for compatibility with Linux ld.so and would not
6411 be used anymore. Now we don't have any good values to use as the
6412 parameters to the initializer so simply remove it.
6414 Sun Aug 25 18:25:52 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6416 * gmon/gmon.c (ERR): Don't write the terminating NUL.
6418 * sysdeps/posix/profil.c (profil): Disable the profiling timer at
6420 (profil_count): Use 64 bit arithmethic to avoid overflow.
6422 * sysdeps/generic/machine-gmon.h (MCOUNT): Fix argument order.
6424 Mon Aug 26 16:31:33 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
6426 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Tolerate NEW
6427 being null; in that case don't touch the timer at all (but do
6428 return something in OLD if necessary).
6430 Mon Aug 26 13:35:16 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
6432 * sysdeps/mach/hurd/i386/init-first.c (__libc_multiple_libcs): New
6434 * sysdeps/i386/init-first.c: Likewise.
6435 * sysdeps/stub/init-first.c: Likewise.
6437 Mon Aug 26 02:01:37 1996 Ulrich Drepper <drepper@cygnus.com>
6439 * elf/dl-open.c (_dl_open): Call library initializer with
6440 correct command line arguments and environment information.
6441 * elf/rtld.c (dl_main): Provide arguments to initializer of
6444 Sun Aug 25 19:15:46 1996 Ulrich Drepper <drepper@cygnus.com>
6446 * shadow/Makefile (routines): Add lckpwdf.
6447 * shadow/lckpwdf.c: New file.
6449 * sysdeps/i386/fpu_control.h (_FPU_GETCW, _FPU_SETCW): Force
6450 argument `cw' to be placed in memory. Patch by Torbjorn Granlund.
6452 Sun Aug 25 12:53:37 1996 Ulrich Drepper <drepper@cygnus.com>
6454 * configure.in: Add definition for `__eh_pc' and `__throw' in
6455 test for --no-whole-archive. The compiler generates dependencies
6456 for this but none of the standard librares and startup files
6457 are used. Necessary for gcc >= ss-960816.
6459 Sun Aug 25 01:31:33 1996 Ulrich Drepper <drepper@cygnus.com>
6461 * elf/dl-error.c (_dl_signal_error): If error is catched, malloc
6462 return string since string might be on stack.
6463 * elf/dl-lookup.c (_dl_lookup_symbol): Undo change of
6464 Wed Aug 21 10:14:59 1996.
6465 * elf/dlerror.c (dlerror): Free error string after printing.
6466 (_dlerror_run): If error string was not printed since last error
6468 * rtld.c (dl_main): Free error string in case of error.
6470 Sat Aug 24 03:16:47 1996 Ulrich Drepper <drepper@cygnus.com>
6472 * misc/syslog.c (vsyslog): Don't use `localtime' or `gmtime' since
6473 this changes the global state for `localtime' and `gmtime'. Use
6474 `__localtime_r'/`__gmtime_r' instead.
6475 * resolv/res_debug.c (__p_secstodate): Likewise.
6476 * sysdeps/generic/ftime.c: Likewise.
6477 * sysdeps/posix/gettimeofday.c: Likewise.
6478 Reported by Paul Eggert.
6480 * time/gmtime.c: De-ANSI-fy.
6481 * time/strftime.c: Don't call non-reentrant functions which change
6484 Wed Aug 21 10:14:59 1996 Richard Henderson <rth@tamu.edu>
6486 * elf/dl-lookup.c (_dl_lookup_symbol): Malloc the error string rather
6487 than putting it on the stack.
6489 Wed Aug 21 10:12:42 1996 Richard Henderson <rth@tamu.edu>
6491 * elf/rtld.c (dl_main): When looking up symbols in response to --list,
6492 don't find .plt entries.
6494 Mon Aug 19 23:18:12 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6496 * sysdeps/m68k/dl-machine.h (RTLD_START): Optimize clearing
6499 Tue Aug 20 17:42:10 1996 Miles Bader <miles@gnu.ai.mit.edu>
6501 * stdio/linewrap.c (line_wrap_stream): Initialize D->seek.
6503 Sat Aug 17 12:19:37 1996 David Mosberger-Tang <davidm@azstarnet.com>
6505 * login/pututline_r.c (__pututline_r): Fix handling of case where
6506 getutid_r() fails with ESRCH. Reported by Miquel van Smoorenburg.
6508 Wed Aug 14 14:10:54 1996 David Mosberger-Tang <davidm@azstarnet.com>
6510 * sysdeps/unix/sysv/linux/alpha/ioperm.c (platform): Change entry
6511 for "Jensen" so _bus_base() returns 0 on that platform. Use
6512 _bus_base_sparse() to determine base address of sparse memory.
6514 * sysdeps/unix/sysv/linux/sys/io.h: Enclose #include <asm/io.h>
6515 and declarations in __BEGIN_DECLS/__END_DECLS.
6517 Sun Aug 18 13:37:09 1996 Ulrich Drepper <drepper@cygnus.com>
6519 * err.h: New file. Wrapper around misc/err.h.
6521 Correct solution of multiple initialization problem by
6523 * csu/initfini.c: Remove global variable __libc_is_static.
6524 * elf/rtld.c: Introduce new global variable _dl_starting_up.
6525 It's nonzero during the startup.
6526 * elf/dl-open.c (_dl_open): When _dl_start function is not
6527 available (i.e., if in static libc) set `__libc_multiple_libcs'
6529 * sysdeps/unix/sysv/linux/init-first.c (__libc_multiple_libc):
6530 New global variable.
6531 (init): Undo change of Fri Aug 2 03:12:40 1996.
6532 Initialize `__libc_multiple_libcs' to nonzero only if this is
6533 a shared lib called from a statically linked program and don't
6534 call `personality' and `setfpucw' in this case either.
6535 * sysdeps/generic/sbrk.c: Undo change of Fri Aug 2 03:12:40 1996.
6536 Don't call brk(0) until `__libc_multiple_libcs' is nonzero.
6537 * sysdeps/i386/dl-machine.h (RTLD_START): Clear _dl_starting_up
6538 before jumping to user code.
6539 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
6541 Fri Aug 16 04:59:01 1996 Ulrich Drepper <drepper@cygnus.com>
6543 * sysdeps/unix/sysv/linux/init-first.c: Remove hack from
6544 Thu Aug 8 12:40:20 1996.
6545 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = csu]: Use
6546 -fkeep-inline-functions flag instead.
6548 Fri Aug 16 16:11:25 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
6550 * nss/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): Treat
6551 EPFNOSUPPORT and EAFNOSUPPORT as implying NSS_STATUS_UNAVAIL just
6552 like ECONNREFUSED already does.
6553 (_nss_dns_gethostbyaddr_r): Likewise.
6554 * nss/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Likewise.
6555 (_nss_dns_getnetbyaddr_r): Likewise.
6557 * sysdeps/mach/hurd/socket.c (socket): For message transmission
6558 and RPC errors that indicate that the socket server is not really
6559 present and able to do its job, turn the error into EPFNOSUPPORT.
6561 Fri Aug 16 01:24:33 1996 Ulrich Drepper <drepper@cygnus.com>
6563 * inet/ruserpass.c (userpass): Allocate buffer for .netrc file
6564 name dynamically. Reported by Alan Cox.
6565 Uncomment warnings and mark as translatable.
6567 * time/strftime (strftime): Add implementation for %s and %z
6568 format. Change behaviour for unknown format character: now
6569 simply print it. This matches the behaviour of printf.
6570 Reported by Jim Meyering.
6571 * manual/time.texi: Document all formats and flags of strftime.
6573 Thu Aug 15 18:02:51 1996 Ulrich Drepper <drepper@cygnus.com>
6575 * elf/rtld.c (dl_main): Loaded object has type lt_executable,
6578 * misc/sys/select.h: Define fd_set using typedef, not #define.
6579 Proposed by David Mosberger-Tang.
6581 Thu Aug 15 12:48:21 1996 Ulrich Drepper <drepper@cygnus.com>
6583 * po/header.pot: Use real description line.
6585 Thu Aug 15 04:42:44 1996 Ulrich Drepper <drepper@cygnus.com>
6587 * elf/rtld.c (dl_main): When started with --verify prevent
6588 any warning. Just exit with an error.
6589 * elf/ldd.sh.in: Don't run given object directly. This fails for
6590 libraries. Instead use $RTLD again.
6592 Thu Aug 15 02:08:59 1996 Ulrich Drepper <drepper@cygnus.com>
6594 * manual/nss.texi: New file. Document NSS.
6595 * manual/nsswitch.texi: New file. Example configuration.
6597 * manual/string.texi: Document stpncpy, strdupa, and strndupa.
6598 * manual/example/strdupa.c: New file. Example for strdupa.
6600 Wed Aug 14 21:36:16 1996 Ulrich Drepper <drepper@cygnus.com>
6602 * stdlib/strtod.c (STRTOD): Correct assertion about size of
6603 wint_t and wchar_t. Reported by David Mosberger-Tang.
6605 Mon Aug 12 22:40:16 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6607 * elf/dl-lookup.c (_dl_lookup_symbol): Remove fifth parameter
6608 RELOC_ADDR and make NOPLT a set of flags. All callers
6609 changed. Delete condition that checks for resolving to the
6610 location being filled in. Add condition to skip the
6611 executable's symbols if requested.
6612 * elf/link.h: Change declaration of _dl_lookup_symbol
6614 (DL_LOOKUP_NOEXEC, DL_LOOKUP_NOPLT): New definitions.
6615 * elf/dl-reloc.c (RESOLVE): Remove second parameter and rename
6617 * elf/dl-runtime.c (RESOLVE): Likewise.
6618 * elf/rtld.c (RESOLVE): Likewise.
6619 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Pass
6620 DL_LOOKUP_NOEXEC as second argument to the RESOLVE macro if
6621 processing a copy reloc, DL_LOOKUP_NOPLT for a jump slot
6622 reloc, zero otherwise.
6623 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
6624 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
6625 * sysdeps/mips/dl-machine.h (elf_machine_rel): Likewise.
6627 Wed Aug 14 17:57:08 1996 Ulrich Drepper <drepper@cygnus.com>
6629 * MakeTAGS: Clean up use of --omit-header and -n for xgettext.
6630 * po/header.pot: Add empty line at end.
6632 Sun Aug 11 13:45:33 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6634 * MakeTAGS (all-pot): Remove $P/errlist.pot, all error messages
6635 are now in $P/stdio-common.pot.
6636 (XGETTEXTFLAGS-errlist.pot): Variable removed.
6638 Mon Aug 12 19:25:03 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6640 * Makerules (do-ar, o-iterator-doit): Compute path to autolock
6641 script at run time, not configure time.
6642 * config.make.in, configure.in: Undo previous change.
6644 Wed Aug 14 13:20:02 1996 Ulrich Drepper <drepper@cygnus.com>
6646 * sysdeps/unix/sysv/linux/i386/close.S: Push return value of thread
6647 on stack as argument for `_exit'. Reported by Andreas Schwab.
6649 Mon Aug 12 19:36:25 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6651 * sysdeps/unix/sysv/linux/m68k/clone.S: New file.
6653 Wed Aug 14 04:22:35 1996 Richard Henderson <rth@tamu.edu>
6655 * elf/dl-load.c (_dl_map_object): Save name in malloced memory.
6656 (_dl_map_object_from_fd): Free name on error.
6658 Wed Aug 14 13:00:09 1996 Ulrich Drepper <drepper@cygnus.com>
6660 * string/strdup.c: Use result of memcpy to avoid reloading.
6662 Tue Aug 13 00:55:03 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6664 * shadow/sgetspent_r.c (__sgetspent_r): Copy string to buffer, not
6665 the other way round.
6667 Tue Aug 13 20:51:21 1996 Ulrich Drepper <drepper@cygnus.com>
6669 * stdlib/canonicalize.c (canonicalize): Add cast to prevent
6672 * Makerules (o-iterator-doit): Use autolock.sh when running ranlib.
6674 Tue Aug 13 18:26:45 1996 Ulrich Drepper <drepper@cygnus.com>
6676 * nss/nsswitch.c (__nss_configure_lookup): Use fact that list is
6679 Update from bind-4.9.5-T1A.
6680 * resolv/Makefile (libresolv-routines): Add base64, inet_net_ntop,
6681 inet_net_pton, inet_net.
6683 * resolv/gethnamaddr.c: Include <sys/types.h>.
6684 * resolv/getnetnamadr.c: Likewise.
6685 * resolv/herror.c: Likewise.
6686 * resolv/inet_addr.c: Likewise.
6687 * resolv/nsap_addr.c: Likewise.
6688 * resolv/res_comp.c: Likewise.
6689 * resolv/res_data.c: Likewise.
6690 * resolv/res_init.c: Likewise.
6691 * resolv/res_mkquery.c: Likewise.
6692 * resolv/res_query.c: Likewise.
6693 * resolv/res_send.c: Likewise.
6695 * resolv/gethnamaddr.c [! SPRINTF_CHAR] (SPRINTF): Cast return
6697 * resolv/inet_ntop.c: Likewise.
6699 * resolv/gethnamaddr.c [BSD]: Include <stdlib.h>.
6700 Remove prototype of gethostbyname_ipv4.
6702 * resolv/inet_ntop.c, resolv/inet_pton.c: Use ISO C `mem*'
6703 functions instead of BSD `b*' functions.
6705 * resolv/nsap_addr.c: Add copyright message.
6707 * resolv/res_comp.c: Remove comment explaining label format.
6708 (res_mailok): Correct check.
6710 * resolv/res_debug: Include missing headers.
6711 (__fp_nquery): Handle `unused', `ad', and `cd' bits.
6712 (__p_fqnname): New function to print FQDN from compressed name.
6713 (__p_rr): Use __p_fqnname. Correct printing of ". Handle T_TXT
6714 correctly. Add handling of T_KEY and T_SIG.
6715 Handle class and type names by using name arrays instead of
6716 explicit `switch'es.
6717 (__sym_ston, __sym_ntos, __sym_ntop): New functions to use arrays.
6718 (__dn_count_labels, __p_secstodate): New functions.
6720 * resolv/resolv.h (__RES): Update version number.
6721 (res_sym): New type.
6722 Add #defines for new functions.
6723 Declare sym_ntos, sym_ntop, b64_ntop, b64_pton, __p_fqnname,
6724 __p_secstodate, dn_count_labels.
6726 * resolv/arpa/nameser.h (__BIND): Update version number.
6727 Add KEYFLAG_* and ALGORITHM_* symbols.
6728 (HEADER): Add `ad' and `cd' flags.
6730 * inet/ient.h: Add prototypes for inet_neta, inet_net_ntop,
6733 * manual/maint.texi: Document that we use bind-4.9.5.
6736 Mon Aug 12 19:03:22 1996 Thomas Bushnell n/BSG <thomas@psilocin.gnu.ai.mit.edu>
6738 * sysdeps/generic/gnu/types.h: Declare __fd_mask as `unsigned long'.
6740 * mach/Makefile (mach/mach_host.uh): Depend on
6741 $(objpfx)/mach-syscalls.mk.
6742 ($(objpfx)mach-shortcuts.h): Depend on $(objpfx)mach/mach_host.h.
6743 (This fixes a make loop; thanks to Marcus Daniels
6744 <marcus@sysc.pdx.edu> for the patch.)
6746 Mon Aug 12 16:41:52 1996 Thomas Bushnell n/BSG <thomas@gnu.ai.mit.edu>
6748 * io/getwd.c (getwd) [! PATH_MAX]: Don't assume that the user's
6749 buffer is any longer than the amount necessary to hold the
6750 filename; the Hurd getcwd uses the *entire* contents of the
6751 buffer, however long it is specified to be.
6753 Mon Aug 12 04:33:09 1996 Ulrich Drepper <drepper@cygnus.com>
6755 * nss/nsswitch.c (__nss_database_lookup): Always release locks
6756 before returning. Reported by Miles Bader.
6758 Mon Aug 12 03:31:58 1996 Ulrich Drepper <drepper@cygnus.com>
6760 * nss/nsswitch.c (__nss_configure_lookup): New function.
6761 Allows to specify services.
6762 * nss/XXX-lookup.h: Rename database variable and make global.
6763 * nss/databases.def: New file. Real names of all databases.
6765 * nss/nss.h: New file. Contains declaration useful for users
6766 and service developers.
6767 * nss/nsswitch.h: Move some declarations to nss/nss.h.
6768 * nss.h: New file. Wrapper around nss/nss.h.
6770 * nss/Makefile (headers): Add nss.h.
6771 (distributes): Add databases.def.
6773 Sun Aug 11 16:19:42 1996 Ulrich Drepper <drepper@cygnus.com>
6775 Help the poor people with fast machines by making sure only
6776 one `ar' commands works on the library.
6777 * autolock.sh: New file. Written by Tom Tromey.
6778 * Makerules (do-ar): Call autolock.sh shell script instead of
6779 directly using `ar'.
6780 * config.make.in: Make configuration variable AUTOLOCK which
6781 gets initialized by configure.
6782 * configure.in: Define variable AUTOLOCK to point to autolock.sh
6783 script and mark it to substitute.
6785 * string/Makefile: Add -fno-builtin for tst-strlen.c, too.
6787 * sysdeps/generic/sbrk.c (__sbrk): Get kernel brk address
6788 always only if in static libc or if statically linked program
6791 * sysdeps/generic/sbrk.c (__sbrk): Get kernel brk address
6792 always only if in static libc or if statically linked program
6795 Sun Aug 11 01:12:38 1996 Richard Henderson <rth@tamu.edu>
6797 * sysdeps/alpha/dl-machine.h (elf_alpha_fix_plt): Optimize LD_BIND_NOW
6798 startup by moving Icache flush from here ...
6799 (ELF_MACHINE_RUNTIME_TRAMPOLINE): ... to here.
6800 (ELF_MACHINE_USER_ADDRESS_MASK): Delete; it is unused.
6802 * sysdeps/alpha/divrem.h: Update comment to reflect the actual
6803 calling conventions. The code is already correct.
6805 Sun Aug 11 01:06:42 1996 Richard Henderson <rth@tamu.edu>
6807 * string/Makefile: Compile tester with -fno-builtin as we want to
6808 test our implementations, not gcc's.
6810 Sat Aug 10 13:17:27 1996 David Mosberger-Tang <davidm@azstarnet.com>
6812 * shadow.h: New file.
6814 * sysdeps/unix/sysv/linux/netinet/in.h: Move
6815 __BEGIN_DECLS/__END_DECLS up so ntohl() et al are bracketed as
6818 * socket/sys/socket.h [__cplusplus]: Use old-style __SOCKADDR_ARG.
6819 g++ 2.7.2 (and earlier) has no transparent unions support.
6821 Fri Aug 9 18:50:06 1996 David Mosberger-Tang <davidm@azstarnet.com>
6823 * sysdeps/unix/sysv/linux/alpha/ioperm.c (_bus_base_sparse): New
6824 function to determine the base address of sparse bus memory.
6825 (APECS_*): Rename to CIA_*.
6826 (APECS_SPARSE_MEM, CIA_SPARSE_MEM): New macros.
6827 (platform): Add sparse_bus_memory_base member and initialize.
6828 (sparse_bus_memory_base): New variable.
6830 Tue Aug 6 10:23:18 1996 David Mosberger-Tang <davidm@azstarnet.com>
6832 * sysdeps/posix/ttyname_r.c (ttyname_r),
6833 sysdeps/posix/ttyname.c (ttyname): Return -1/NULL if
6834 !__isatty(fd) (POSIX.1 says so.)
6836 * sysdeps/unix/getlogin.c (getlogin): Fix to check fd 0 only.
6837 This is not a gross hack, after all---for compatibility,
6838 getlogin() really should check fd 0 only and not try to base its
6839 operation on the controlling tty.
6841 Wed Jul 17 10:54:20 1996 David Mosberger-Tang <davidm@azstarnet.com>
6843 * sysdeps/unix/getlogin.c (getlogin): Add static variable NAME,
6844 change utmp_data from static to auto.
6846 Sun Aug 11 02:56:08 1996 Ulrich Drepper <drepper@cygnus.com>
6848 * posix/unistd.h [__USE_MISC]: Add prototype for `nice'.
6849 Reported by David Mosberger-Tang.
6851 Sat Aug 10 02:05:28 1996 Richard Henderson <richard@twiddle.tamu.edu>
6853 * sysdeps/libm-ieee754/s_isnan.c [NO_LONG_DOUBLE]: Add strong
6854 alias to `__isnanl'.
6856 Fri Aug 9 17:38:58 1996 Ulrich Drepper <drepper@cygnus.com>
6858 * sysdeps/unix/sysv/linux/sys/timex.h: Include <sys/time.h> to
6859 get `struct timeval'.
6860 * sysdeps/unix/sysv/linux/sys/acct.h: Get time_t from <time.h>.
6861 * sysdeps/unix/sysv/linux/sys/module.h: Get size_t from <stddef.h>.
6862 * sysdeps/unix/sysv/linux/sys/io.h: Get definition of __P.
6863 * sysdeps/unix/sysv/linux/sys/klog.h: Likewise.
6864 * gmon/sys/gmon.h: Include <sys/types.h> to get u_long.
6865 * sysdeps/unix/sysv/linux/direntry.h: Complete types in
6867 * io/fts.h: Include <sys/types.h> to get dev_t.
6868 Reported by Matthias Urlichs.
6870 * sysdeps/posix/tempname.c [USE_IN_LIBIO]: Don't clear
6871 _IO_file_flags. It's the same as _flags.
6872 Reported by Miquel van Smoorenburg <miquels@Q.cistron.nl>.
6874 Wed Aug 7 19:38:47 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6876 * sysdeps/unix/sysv/linux/m68k/resourcebits.h: Add RLIMIT_AS.
6878 Thu Aug 8 16:17:38 1996 Ulrich Drepper <drepper@cygnus.com>
6880 * pwd/getpwent.c: Define BUFLEN from NSS_BUFLEN_PASSWD.
6881 * pwd/getpwent_r.c: Likewise.
6882 * pwd/getpwnam.c: Likewise.
6883 * pwd/getpwnam_r.c: Likewise.
6884 * pwd/getpwuid.c: Likewise.
6885 * pwd/getpwuid_r.c: Likewise.
6887 * grp/getgrent.c: Define BUFLEN from NSS_BUFLEN_GROUP.
6888 * grp/getgrent_r.c: Likewise.
6889 * grp/getgrgid.c: Likewise.
6890 * grp/getgrgid_r.c: Likewise.
6891 * grp/getgrnam.c: Likewise.
6893 * pwd/fgetpwent_r.c: New file. Reentrant version of fgetpwent.
6894 * pwd/fgetpwent.c: Rewrite to use fgetpwent_r.
6895 * pwd/Makefile (routines): Add fgetpwent_r.
6896 * pwd/pwd.h: Add prototypes for __fgetpwent_r and fgetpwent_r.
6898 * grp/fgetgrent_r.c: New file. Reentrant version of fgetgrent.
6899 * grp/fgetgrent.c: Rewrite to use fgetgrent_r.
6900 * grp/Makefile (routines): Add fgetgrent_r.
6901 * grp/grp.h: Add prototypes for __fgetgrent_r and fgetgrent_r.
6903 Implement shadow password lookup functions. This is no complete
6904 shadow password suite.
6905 * shadow/Makefile: New file.
6906 * shadow/fgetspent.c: New file.
6907 * shadow/fgetspent_r.c: New file.
6908 * shadow/getspent.c: New file.
6909 * shadow/getspent_r.c: New file.
6910 * shadow/getspnam.c: New file.
6911 * shadow/getspnam_r.c: New file.
6912 * shadow/putspent.c: New file.
6913 * shadow/sgetspent.c: New file.
6914 * shadow/sgetspent_r.c: New file.
6915 * shadow/shadow.h: New file.
6916 * shadow/spwd-lookup.c: New file.
6917 * shadow/nss_files/files-spwd.c: New file.
6919 Thu Aug 8 13:33:45 1996 Ulrich Drepper <drepper@cygnus.com>
6921 * sysdeps/unix/sysv/linux/ftime.c: New file. Available system
6922 call is only a stub.
6923 Reported by Matthias Urlichs.
6925 * Makeconfig [!default_cflags]: Change default value from `-g'
6928 * configure.in: Recognize i686.
6929 * sysdeps/i386/i686/Implies: Default on i586 optimized code.
6931 Thu Aug 8 12:40:20 1996 Matthias Urlichs <smurf@smurf.noris.de>
6933 * Makeconfig [$(build-omitfp) == yes]: Add to CFLAGS-.so
6934 value of CFLAGS-.o, not CFLAGS-o.
6936 * sysdeps/unix/sysv/linux/init-first.c (init): Add volatile
6937 pointer to ourself. Otherwise `gcc -O3' optimized init away.
6939 Thu Aug 8 01:41:43 1996 Ulrich Drepper <drepper@cygnus.com>
6941 * elf/Makefile: Undo change of Tue Aug 6 14:27:11 1996.
6942 * elf/dl-support: Add definition of `_dl_sysdep_read_whole_file'.
6944 Thu Aug 8 01:15:59 1996 Ulrich Drepper <drepper@cygnus.com>
6946 * sysdeps/i386/fpu_control.h (_FPU_DEFAULT, _FPU_IEEE): Set
6947 to 0x137f to allow long double operations.
6949 Sun Aug 4 13:12:05 1996 Richard Henderson <rth@tamu.edu>
6953 * nss/nsswitch.c (_res): Remove redundant variable definition.
6954 The real one is in resolve/res_init.c, and having both prevents
6955 using -fno-common when building the shared library.
6956 * sunrpc/rpc_prot.c (_null_auth): Same. Original is in rpc_common.c.
6958 * sysdeps/unix/sysv/linux/alpha/brk.S: When PIC, define __curbrk as
6959 a .bss object not a COMMON symbol.
6961 * sysdeps/alpha/bsd-_setjmp.S, sysdeps/alpha/bsd-setjmp.S: Must load
6962 $gp before referencing __sigsetjmp symbol. Retain LITUSE for same.
6966 * sysdeps/alpha/strlen.S: Rearrange first-word setup and thense the
6967 main loop for better dual-issue on EV5. Rearrange binary search to
6968 pipeline better and trim one instruction.
6972 * time/localtime.c (localtime_r): Move lock declaration back next to
6973 the comment where it was before the 960724 change.
6975 * INSTALL, manual/maint.texi: alpha-gnu-linux -> alpha-ANYTHING-linux.
6976 The second word is supposed to be the hardware manufacturer.
6978 * sysdeps/alpha/_mcount.S: Retain LITUSE for __mcount.
6979 * sysdeps/alpha/setjmp.S: Retain LITUSE for __sigsetjmp_aux.
6981 * sysdeps/alpha/divrem.h: More local labels, retain LITUSE for _mcount.
6983 * sysdeps/alpha/alphaev5/add_n.S, sysdeps/alpha/alphaev5/lshift.S,
6984 sysdeps/alpha/alphaev5/rshift.S, sysdeps/alpha/alphaev5/sub_n.S:
6985 Same cleanups as with EV4 GMP stuff.
6987 Tue Jul 25 03:30:56 1996 Richard Henderson <rth@tamu.edu>
6989 * sysdeps/unix/sysv/linux/Makefile [misc] (sysdep_routines): Add clone.
6990 * sysdeps/unix/sysv/linux/alpha/clone.S: New file.
6991 * sysdeps/unix/sysv/linux/i386/clone.S: New file.
6993 Sun Aug 4 00:12:41 1996 David Mosberger-Tang <davidm@azstarnet.com>
6995 * sysdeps/unix/sysv/linux/gnu/types.h: Declare __fd_mask as
6998 * misc/sys/select.h: Declare fd_mask as alias of __fd_mask.
7000 Sat Aug 3 16:20:02 1996 David Mosberger-Tang <davidm@azstarnet.com>
7002 * sysdeps/unix/sysv/linux/alpha/ioperm.c (platform): Add entry for
7005 * socket/sys/socket.h (send, __send, sendto): Declare buffer
7008 * string/tester.c (main): Test stpncpy.
7010 * sysdeps/generic/stpncpy.c (__stpncpy): Fix so it works without
7011 segfault when called with an N that is not a multiple of four and
7014 * misc/syslog.c (LogType): New variable.
7015 (openlog): If connect() with SOCK_DGRAM fails with EPROTOTYPE,
7016 try again with SOCK_STREAM (the Linux syslogd uses a socket of the
7018 (vsyslog): When LogType==SOCK_STREAM, also send ASCII NUL
7019 terminator as a record-delimiter. If __send(LogFile) fails,
7020 call closelog() so logfile gets re-opened next time.
7022 Wed Aug 7 15:15:14 1996 Ulrich Drepper <drepper@cygnus.com>
7024 * elf/dl-open (_dl_open): Add cast to avoid warning.
7026 * manual/memory.texi: Improve some examples to give readers better
7027 advice: Use `stpcpy' instead of `strcat' if possible.
7028 * manual/string.texi: Document `strtok_r' and `strtok'.
7030 * sunrpc/Makefile: Move `+gccwarn' definition before inclusion
7032 [$(cross-compiling)=no]: Change test before making librpcsvc
7033 to this from $(cross-compile).
7034 Reported by Andreas Schwab.
7036 Tue Aug 6 14:27:11 1996 Ulrich Drepper <drepper@cygnus.com>
7038 * elf/Makefile (routines): Move dl-sysdep to here...
7039 (rtld-routines): ...from here. This should make static linking
7042 * locale/setlocale.c: Add local variable `lock' and add code to
7043 `setlocale' to avoid simultaneous changing of global data.
7045 * catgets/catgets.c (catopen): Use `__strdup' instead of `strdup'.
7046 * catgets/open_catalog (__open_catalog): Use `__stpcpy', `__open',
7047 `__fstat', `__read', `__mmap', `__munmap' and `__close' instead
7048 of unprotected names.
7050 Tue Aug 6 01:13:56 1996 Ulrich Drepper <drepper@cygnus.com>
7052 Clean name space according to ISO C, ISO C/Amd 1, and POSIX.1.
7053 This requires to rename several functions to use __ protected
7055 * dirent/dirent.h: Add prototypes of __opendir, __closedir,
7057 * sysdeps/mach/hurd/closedir.c: Prepend function name with __
7058 and make old name a weak alias.
7059 * sysdeps/mach/hurd/getrlimit.c: Likewise.
7060 * sysdeps/mach/hurd/opendir.c: Likewise.
7061 * sysdeps/mach/hurd/readdir.c: Likewise.
7062 * sysdeps/stub/closedir.c: Likewise.
7063 * sysdeps/stub/opendir.c: Likewise.
7064 * sysdeps/stub/readdir.c: Likewise.
7065 * sysdeps/unix/closedir.c: Likewise.
7066 * sysdeps/unix/opendir.c: Likewise.
7067 * sysdeps/unix/readdir.c: Likewise.
7069 * sysdeps/unix/opendir.c: Call `__fcntl' instead `fcntl'.
7071 * sysdeps/posix/getcwd.c: Call `__opendir', `__readdir',
7072 `__closedir' instead of unprotected names.
7074 * libio/filedoalloc.c (_IO_file_doallocate): Call `__isatty'
7075 instead of `isatty' since later is not part of ISO C.
7076 * libio/fileops.c (_IO_file_fopen): Call `__open' instead of
7077 `open' since later is not part of ISO C.
7079 * login/endutent.c (endutent): Call `__endutent_r', not
7081 * login/endutent_r.c: Rename defined function to `__endutent_r',
7082 make `endutent_r' weak alias.
7083 * login/getutent.c (getutent): Call `__getutent_r', not
7085 * login/getutid.c (getutid): Call `__getutid_r', not `getutid_r'.
7086 * login/getutid_r.c: Rename defined function to `__getutent_r',
7087 make `getutent_r' weak alias.
7088 * login/getutline.c (getutline): Call `__getutline_r', not
7090 * login/getutline_r.c: Rename defined function to `__getutline_r',
7091 make `getutline_r' weak alias.
7092 * login/pututline_r.c: Rename defined function to `__pututline_r',
7093 make `pututline_r' weak alias.
7094 * login/setutent.c (setutent): Call `__setutline_r', not
7096 * login/setutent_r.c: Rename defined function to `__setutline_r',
7097 make `setutline_r' weak alias.
7098 Rename `utmpname' to `__utmpname' and make former weak alias.
7099 (__utmpname): Call `__strdup', not `strdup'.
7100 * login/utmp.h: Add prototypes for name space clean reentrant
7102 * sysdeps/unix/getlogin.c: Call `__ttyname_r', `__setutent_r',
7103 and `__endutent_r' instead of unprotected names.
7105 * math/math.h: Add prototype for `__matherr'.
7106 * sysdeps/libm-ieee754/k_standard.c: Call `__matherr' instead
7109 * nss/getXXbyYY.c: Call __ protected reentrant function.
7110 * nss/getXXent.c: Likewise.
7111 * nss/getXXbyYY_r.c: Define `get*' function with __ protected
7112 name. Make usual name a weak alias.
7113 * nss/getXXent_r.c: Likewise.
7115 * posix/unistd.h: Add prototype for `__ttyname_r'.
7116 * sysdeps/posix/ttyname_r.c: Rename function to `__ttyname_r'
7117 and make `ttyname_r' a weak alias.
7119 * resource/sys/resource.h: Add prototype for `__getrlimit'.
7120 * sysdeps/stub/getrlimit.c: Prepend function name with __
7121 and make old name a weak alias.
7122 * sysdeps/unix/syscalls.list: Rename system call to `__getrlimit'
7123 and make `getrlimit' weak alias.
7125 * libc/stdio/stdio.h: Add prototype for `__vscanf'.
7126 * libc/stdio/vscanf.c: De-ANSI-fy.
7127 Rename function to `__vscanf' and make `vscanf' a weak alias.
7128 * stdio-common/scanf.c (scanf): Use _IO_vscanf/__vscanf instead
7131 * stdio-common/reg-printf.c: De-ANSI-fy.
7132 Rename function to `__register_printf_function' and make
7133 `register_printf_function' weak alias.
7135 * stdio-common/vfprintf.c: Call `__wcsrtombs' instead of
7138 * stdlib/mbstowcs.c: Call `__mbsrtowcs' instead of `mbsrtowcs'.
7139 * stdlib/mbtowc.c: Call `__mbrtowc' instead of `mbrtowc'.
7140 * stdlib/wcstombs.c: Call `__wcsrtombs' instead of `wcsrtombs'.
7141 * stdlib/wctomb.c: Call `__wcrtomb' instead of `wcrtomb'.
7142 * wcsmbs/mbrtowc.c: Prepend function name with __ and make old
7144 * wcsmbs/mbsrtowcs.c: Likewise.
7145 * wcsmbs/wcrtomb.c: Likewise.
7146 * wcsmbs/wcsrtombs.c: Likewise.
7147 * wcsmbs/wchar.h: Add prototypes for __ protected versions.
7149 * sysdeps/posix/sigsetmask.c (__sigsetmask): Call `__sigprocmask'
7150 instead of `sigprocmask'.
7153 * grp/grp.h [__USE_REENTRANT]: Add prototypes for reentrant
7154 version getgrent_r, getgrgid_r, and getgrnam_r.
7155 * pwd/pwd.h [__USE_REENTRANT]: Add prototypes for reentrant
7156 version getpwent_r, getpwuid_r, getpwnam_r and __ protected
7158 * resolv/netdb.h: Complete rewrite. No more BSD ugliness.
7161 * misc/error.c (private_strerror): Translate messages from table,
7164 * io/fcntl.h: Pretty printing.
7165 * misc/fstab.h: Likewise.
7166 * misc/ttyent.h: Likewise.
7167 * resource/sys/resource.h: Likewise.
7168 * string/argz.h: Likewise.
7169 * string/envz.h: Likewise.
7171 Add support for symbols from POSIX.1c (POSIX threads).
7172 * posix/getconf.c: Handle new sysconf symbols.
7173 * posix/posix1_lim.h: Define _POSIX_TTY_NAME_MAX and
7174 _POSIX_LOGIN_NAME_MAX with minimal maximal values.
7175 * sysdeps/generic/confname.h: Define new symbols.
7176 * sysdeps/posix/sysconf.c: Handle new symbols.
7177 * sysdeps/stub/sysconf.c: Ditto.
7178 * sysdeps/unix/sysv/linux/sysconf.c: Removed. Generic version
7181 * sunrpc/rpc/xdr.h: Move definition of type `xdrproc_t' to
7182 have real prototype.
7184 * sysdeps/generic/resourcebits.h: Add macro definition for
7185 RLIMIT_* values. Some sources test using #ifdef whether specific
7187 * sysdeps/unix/bsd/sun/sunos4/resourcebits.h: Ditto.
7188 * sysdeps/unix/sysv/linux/resourcebits.h: Removed. We need
7189 separate files for the architectures.
7190 * sysdeps/unix/sysv/linux/alpha/resourcebits.h: New file.
7191 * sysdeps/unix/sysv/linux/i386/resourcebits.h: New file.
7192 * sysdeps/unix/sysv/linux/m68k/resourcebits.h: New file.
7193 * sysdeps/unix/sysv/linux/mips/resourcebits.h: New file.
7195 * sysdeps/posix/getdtsz.c: Rewrite to use `__getrlimit' function
7196 and only default on `OPEN_MAX'.
7197 * sysdeps/unix/sysv/sysv4/getdtsz.c: Removed. Default is already
7200 * time/Makefile (routines): Add ctime_r.
7201 * time/asctime.c: Add implementation of `asctime_r'. Make
7202 `asctime' implementation based on reentrant version.
7203 * time/ctime_r.c: New file.
7204 * time/time.h [__USE_REENTRANT]: Add definition of `asctime_r'
7207 Sat Aug 3 18:41:36 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7209 * locale/C-ctype.c (_nl_C_LC_CTYPE_toupper): Fix EOF entry.
7210 (_nl_C_LC_CTYPE): Fix ordering.
7211 * locale/categories.def (LC_CTYPE): Add missing ctype-class32; fix
7214 Sat Aug 3 12:31:06 1996 Richard Henderson <rth@tamu.edu>
7216 * csu/initfini.c: Discover the maximum alignment generated by the
7217 compiler when emitting a function.
7218 (_init): Make sure the end of the crti fragment is aligned.
7221 Fri Aug 2 03:12:40 1996 Ulrich Drepper <drepper@cygnus.com>
7223 * initfini.c: (__libc_is_static): New variable. Will be
7224 initialized in init-first.c. Some actions in the libc work
7225 different when libc is static or dynamic.
7227 * sysdeps/unix/sysv/linux/init-first.c (init): Use
7228 `__libc_is_static' variable to determine whether call to
7229 `personality' and `setfpucw' is necessary. When done set variable
7230 to +-1 depending on library type.
7232 * locale/setlocale.c (setlocale): Use global variable
7233 `__libc_enable_secure' instead of calling `get{,e}{g,u}id()' to
7234 determine whether it's a SET[UG]ID program.
7236 Fri Aug 2 14:40:22 1996 Roland McGrath <roland@fast.cs.utah.edu>
7238 * Version 1.93 test release.
7240 * manual/Makefile: Use -include for chapters-incl too.
7242 * Makeconfig (+link): Add back start.o, mistakenly removed in last
7245 Fri Aug 2 01:04:02 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
7247 * nss/Makefile (generated): Add db-*.c.
7249 * sysdeps/i386/sysdep.h: Get generic/sysdep.h explicitly instead of
7250 using #include_next.
7252 * configure.in (--enable-add-ons): Quote m4 macro args.
7254 * elf/rtld.c (dl_main): For --verify, fail if no dynamic section.
7256 Thu Aug 1 14:40:03 1996 Roland McGrath <roland@fast.cs.utah.edu>
7258 * sunrpc/Makefile [$(cross-compile)=no]: Test before making librpcsvc.
7260 * Makerules (build-shlib): Add -B$(csu-objpfx) to find crt[in].o there.
7262 * Makeconfig (+preinit, +postinit): Prepend $(csu-objpfx) here.
7265 * stdio-common/_itoa.h (_itoa_word): Declare unused to suppress
7266 warning when inline function is elided.
7267 * sysdeps/i386/dl-machine.h (elf_machine_matches_host): Likewise.
7268 (elf_machine_runtime_setup): Likewise.
7269 * elf/dynamic-link.h (elf_get_dynamic_info): Likewise.
7270 * sysdeps/i386/dl-machine.h (elf_machine_got): Likewise.
7271 (elf_machine_load_address): Likewise.
7273 * catgets/gencat.c: Include <locale.h>.
7275 * sysdeps/unix/mk-local_lim.c (param): Add SYMLOOP_MAX/MAXSYMLINKS.
7277 * login/logwtmp.c (logwtmp): Call time, not __time.
7279 * sysdeps/gnu/utmpbits.h (_HAVE_UT_PID): New macro.
7280 * login/login.c (login): Test [_HAVE_UT_PID] to use ut_pid member.
7281 * login/logwtmp.c (logwtmp): Likewise.
7283 * sysdeps/generic/ioctl-types.h (sizeof): Define to 0 around #if
7284 comparing ioctl macro values.
7286 * sysdeps/i386/sysdep.h: Do `#include_next <sysdep.h>'.
7288 * manual/Makefile: Use -include for chapters to suppress warning.
7290 * sysdeps/stub/socket.c: Fix type of TYPE arg.
7291 * sysdeps/stub/socketpair.c: Likewise.
7293 * sysdeps/stub/_exit.c (_exit): Remove obsolete __NORETURN keyword.
7295 * sysdeps/generic/sysdep.h: New file, broken out of ...
7296 * sysdeps/unix/sysdep.h: ... here.
7297 (C_LABEL): Moved out.
7299 * Makeconfig (soversions.mk): Don't use newfangled ${x%%y} syntax;
7300 stick to sed. Do `exit 0' at end because while returns nonzero.
7302 * sysdeps/i386/sysdep.h: New file, broken out of ...
7303 * sysdeps/unix/i386/sysdep.h: ... here. Generic asm macros moved out.
7305 * sysdeps/stub/stdio_lim.h (L_ctermid, L_cuserid): Macros removed.
7306 They are defined unconditionally in libio/stdio.h.
7308 * elf/dl-runtime.c: Include <stddef.h> for `NULL' defn.
7309 * elf/dl-cache.c: Likewise.
7311 Mon Jul 29 19:20:05 1996 Ulrich Drepper <drepper@cygnus.com>
7313 * sysdeps/unix/sysv/linux/Makefile [$(subdir == misc]
7314 (sysdep_headers): Add sys/sysmacros.h.
7315 * sysdeps/unix/sysv/linux/sys/sysmacros.h: New file.
7317 Wed Jul 31 14:21:36 1996 Ulrich Drepper <drepper@cygnus.com>
7319 * termios/termios.h [__OPTIMIZE__]: Remove "optimization" for
7320 tcgetattr. We have weak aliases now.
7321 * stdlib/stdlib.h [__OPTIMIZE__ && __GNUC__ >= 2]: Remove
7322 "optimizations" for random functions.
7324 Mon Jul 29 20:33:42 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7326 * sysdeps/unix/sysv/linux/netinet/in.h (ntohl, ntohs, htonl,
7327 htons) [__BIG_ENDIAN]: #undef them before defining to avoid
7328 redefinition warning.
7330 Mon Jul 29 20:28:27 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7332 * time/time.h: Don't optimize tzset() to __tzset() which bypasses
7335 Tue Jul 30 15:14:50 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
7337 * sunrpc/rpc/pmap_clnt.h: Fix botched patch for multiple inclusion
7340 Tue Jul 30 02:48:28 1996 Ulrich Drepper <drepper@cygnus.com>
7342 * locale/loadlocale.c (_nl_load_locale): Change cast to `size_t'
7344 Reported by Richard Henderson <rth@tamu.edu>.
7346 Tue Jul 30 15:04:50 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
7348 * locale/programs/ld-collate.c (collate_output): Fix typo reported by
7351 Tue Jul 30 13:23:13 1996 Ulrich Drepper <drepper@cygnus.com>
7353 * locale/setlocale.c (setlocale): Don't try to free C locale
7355 Reported by Matthias Urlichs.
7357 Tue Jul 30 14:35:17 1996 Miles Bader <miles@gnu.ai.mit.edu>
7359 * sysdeps/mach/hurd/dl-sysdep.c (__open): Use open_file.
7360 (open_file): New function, contents mostly from __open.
7361 (_dl_sysdep_read_whole_file): New function.
7363 Sat Jul 27 11:23:59 1996 Miles Bader <miles@gnu.ai.mit.edu>
7365 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Quote
7366 `..' dots in sed search string.
7368 Mon Jul 29 01:27:07 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
7370 * sunrpc/rpc/rpc_msg.h: Fix botched patch for multiple inclusion
7373 Sun Jul 28 23:46:14 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
7375 * configure.in: Grok `--enable-add-ons=DIR1,DIR2,...', and configure
7376 in those directories.
7377 * config.make.in (add-ons): New varaible, set from @subdirs@.
7378 * Makefile (subdirs): Added $(add-ons) at the end.
7380 * time/strftime.c (strftime: do_number): Initialize PRINTED to
7381 MAXDIGITS in case P is null and so sprintf is never actually called.
7383 Mon Jul 29 02:46:23 1996 Ulrich Drepper <drepper@cygnus.com>
7385 Add support for the to-be-written internationalized regexp.
7386 This code must be able to use collation symbols and collation
7388 * locale/C-collate.c (_nl_C_LC_COLLATE_symbol_hash,
7389 _nl_C_LC_COLLATE_symbol_strings, _nl_C_LC_COLLATE_symbol_classes):
7390 New global variables for collation classes.
7391 * locale/categories.def: Add new descriptions for collation symbols
7392 and collation classes.
7393 * locale/langinfo.h: Add constants for collation symbols and
7395 * locale/lc-collate.c: Add new global variables for collation symbols
7396 and collation classes.
7397 (_nl_postload_collate): Initialize new variables.
7398 * locale/programs/ld-collate.c: Add code to emit tables for
7399 collation symbols and collation classes.
7400 * locale/programs/locales.h: Change prototype for `collate_output'.
7401 * locale/programs/locfile.c (write_all_categories): Call
7402 `collate_output' with new argument.
7403 * locale/localeinfo.h: Add declaration for new global vars.
7404 (union locale_data_value): New member wstr for `wchar_t' strings.
7405 * locale/programs/locale-spec.c: Handle `collate-classes'
7406 keyword and print information about available collation classes.
7407 * locale/strlen-hash.h: New file. Simple hashing function which
7408 takes a string with known length.
7409 * locale/Makefile (distribute): Add strlen-hash.h.
7410 (locale-modules): New var. Additional files for `locale' program.
7412 * locale/C-ctype.c: Rewrite to avoid using string for giving values
7413 which are of type `u_int32_t'.
7414 Correct entry for EOF in toupper and tolower tables.
7416 * locale/loadlocale.c (_nl_load_locale): Add cast to prevent
7419 * locale/programs/ld-ctype.c (ctype_output): Add code to make
7420 sure that all tables in binary file are word-aligned.
7422 * locale/programs/locfile.c (write_locale_data): Correct handling
7423 of LC_MESSAGES locale. Create directory if necessary.
7425 * locale/setlocale.c (setlocale): Add cast to avoid warning.
7427 * string/string.h: Add prototype for `__strndup'.
7429 Wed Jul 24 19:10:00 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7431 * wcsmbs/mbrtowc.c: Remove unused variable.
7433 Sun Jul 28 22:40:25 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
7435 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION): Update to
7436 2.0.10; some problems were reported with an earlier version, and this
7437 one is known to work.
7439 * sysdeps/generic/dl-sysdep.c (__libc_enable_secure): New variable.
7440 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
7442 Sat Jul 27 13:02:09 1996 Ulrich Drepper <drepper@cygnus.com>
7444 * elf/rtld.c (dl_main): Ignore arguments when environment variable
7445 LD_TRACE_LOADED_OBJECTS is set.
7447 Sun Jul 28 19:42:51 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
7449 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Initialize
7450 __libc_enable_secure instead of _dl_secure.
7451 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Likewise.
7452 * elf/dl-load.c (_dl_map_object): Check __libc_enable_secure instead
7454 * elf/Makefile (routines): Add enbl-secure.
7455 (elide-routines.so): Here too.
7456 * sysdeps/generic/enbl-secure.c: New file.
7457 * posix/unistd.h [__USE_GNU]: Declare `__libc_enable_secure' flag.
7458 * elf/dl-support.c (_dl_secure): Variable removed.
7459 * elf/rtld.c: Likewise. Replace all uses with __libc_enable_secure.
7461 Sun Jul 28 19:26:40 1996 David S. Miller <dm@neteng.engr.sgi.com>
7463 * sysdeps/mips/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
7464 Declare _dl_runtime_resolve with __attribute__ ((unused)) so the
7465 compiler doesn't elide it.
7466 (elf_machine_rel): Follow Jul 14 change in sysdeps/i386/dl-machine.h.
7468 Sat Jul 27 02:58:49 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
7470 * elf/rtld.c (dl_main): Take new option --verify when run directly.
7471 In verify mode, exit with status zero iff the argument object's
7472 PT_INTERP matches argv[0].
7473 * elf/ldd.sh.in: Use ${RTLD} --verify and only run the program if it
7474 exits with zero status. This makes `ldd' secure again.
7476 Fri Jul 26 22:49:58 1996 Ulrich Drepper <drepper@cygnus.com>
7478 * elf/rtld.c (dl_main): Implement LD_TRACE_LOADED_OBJECTS
7479 environment variable handling. This makes the dynamic linker
7480 only print loaded libraries and quit.
7482 * elf/ldd.sh.in: Don't use `rtld --list' but instead
7483 LD_TRACE_LOADED_OBJECTS environment variable to print needed
7486 Sat Jul 27 02:03:26 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
7488 * db/makedb.c (main): Print version on stdout, not stderr. Don't exit
7489 after printing version until after doing usage for --help.
7490 (long_options, main, usage): Rename -l/--lowercase option to
7491 -f/--fold-case (-f matches sort).
7493 Sat Jul 27 04:32:31 1996 Ulrich Drepper <drepper@cygnus.com>
7495 * db/makedb.c: New file. Implement program to create simple <db.h>
7496 database from textual input. This will be used for nss_db.
7498 Sat Jul 27 01:24:05 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
7500 * sunrpc/rpc/auth_unix.h: Fix misapplied patches in last changes.
7501 * sunrpc/rpc/pmap_clnt.h: Likewise.
7502 * sunrpc/rpc/auth.h: Likewise.
7503 * sunrpc/rpc/pmap_rmt.h: Likewise.
7504 * sunrpc/rpc/rpc_msg.h: Likewise.
7506 Sat Jul 27 04:37:34 1996 Ulrich Drepper <drepper@cygnus.com>
7508 * string/string.h (strndupa): Change to use return value of
7509 `memcpy' for more performance.
7510 * string/strndup.c: Likewise.
7512 * string/string.h (strdupa): Don't call __builtin_alloca in argument.
7513 This might lead to problems.
7514 (strndupa): Likewise.
7516 Fri Jul 26 15:24:25 1996 Ulrich Drepper <drepper@cygnus.com>
7518 * sunrpc/rpc/auth.h: Add protection against multiple inclusion
7519 and change K&R prototypes to ANSI prototypes.
7520 * sunrpc/rpc/auth_unix.h: Ditto.
7521 * sunrpc/rpc/clnt.h: Ditto.
7522 * sunrpc/rpc/pmap_clnt.h: Ditto.
7523 * sunrpc/rpc/pmap_prot.h: Ditto.
7524 * sunrpc/rpc/pmap_rmt.h: Ditto.
7525 * sunrpc/rpc/rpc_msg.h: Ditto.
7526 * sunrpc/rpc/svc.h: Ditto.
7527 * sunrpc/rpc/svc_auth.h: Ditto.
7528 * sunrpc/rpc/xdr.h: Ditto.
7530 Fri Jul 26 20:39:42 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
7532 * ctype/test_ctype.c: Test EOF too.
7534 Fri Jul 26 18:06:58 1996 Ulrich Drepper <drepper@cygnus.com>
7536 * sunrpc/rpc/auth.h: Add __BEGIN_DECLS and __END_DECLS.
7537 * sunrpc/rpc/auth_unix.h: Likewise.
7538 * sunrpc/rpc/clnt.h: Likewise.
7539 * sunrpc/rpc/netdb.h: Likewise.
7540 * sunrpc/rpc/pmap_clnt.h: Likewise.
7541 * sunrpc/rpc/pmap_prot.h: Likewise.
7542 * sunrpc/rpc/rpc_msg.h: Likewise.
7543 * sunrpc/rpc/svc.h: Likewise.
7544 * sunrpc/rpc/svc_auth.h: Likewise.
7545 * sunrpc/rpc/xdr.h: Likewise.
7547 * sunrpc/rpc/pmap_clnt.h: Move definition of type `resultproc_t'
7549 * sunrpc/pmap_rmt.c: ...here.
7551 Fri Jul 26 16:10:43 1996 Miles Bader <miles@gnu.ai.mit.edu>
7553 * login/pututline_r.c (pututline_r): Only call getutid_r if ID has a
7555 * login/getutid_r.c (getutid_r): Mark UTMP_DATA->loc_utmp invalid
7558 Fri Jul 26 00:36:50 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
7560 * sysdeps/mips/dl-machine.h: New file, contributed by Kazumoto Kojima
7561 <kkojima@info.kanagawa-u.ac.jp>.
7563 Fri Jul 26 04:41:28 1996 Ulrich Drepper <drepper@cygnus.com>
7565 * intl/libintl.h: Define optimizing macros if __OPTIMIZE__ is
7566 defined, not __OPTIMIZED.
7567 (_nl_msg_cat_cntr): Move declaration outside macro definition
7568 to prevent "nested extern" warning.
7569 (dcgettext): Rename local variable `result' to `__result'.
7571 Thu Jul 25 22:46:30 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
7573 * locale/programs/localedef.c (__progname): Remove decl.
7574 (main): Use program_invocation_short_name instead of __progname.
7575 (usage): Use program_invocation_name instead of __progname.
7577 Fri Jul 26 03:46:08 1996 Ulrich Drepper <drepper@cygnus.com>
7579 * catgets/gencat.c: Use "libc" instead of PACKAGE.
7580 * locale/localedef.c: Ditto.
7581 * locale/locale.c: Ditto.
7583 * locale/findlocale.c (_nl_find_locale): Little optimization.
7584 Use new function `strndup'.
7586 * locale/loadlocale.c: Little optimization. Use constant value
7587 from `_nl_category_num_items' instead of byte-order dependend
7590 * locale/programs/ld-time.c (time_add): Correct string constant.
7592 * locale/programs/locale-spec.c: New file.
7593 * locale/programs/locale.c: Call `locale_special' function if
7594 no other field matches.
7596 * locale/programs/localedef.c: No need to define `program_name'.
7597 Use global variable `__progname'.
7599 * locale/programs/locfile.c (write_locale_data): Always write
7600 LC_MESSAGES data in LC_MESSAGES/SYS_LC_MESSAGES file. This is
7601 necessary since message catalogs are also installed in the
7602 LC_MESSAGES/ directory.
7604 * locale/programs/stringtrans.c (ADDC): Correctly use `encode_char'
7605 function instead of writing single bytes.
7606 (encode_char): Also handle little endian.
7608 * locale/setlocale.c (new_composite_name): Little optimization.
7609 Use return value of `memcpy'.
7611 * misc/ttyent.h: Pretty print prototypes, add missing parameter
7612 names, prepend parameter names with __ and use `__const' instead
7614 * posix/unistd.h: Ditto.
7615 * stdlib/stdlib.h: Ditto.
7616 * string/string.h: Ditto.
7618 * posix/getconf.c: De-ANSI-fy. Recognize POSIX.2 constant names.
7619 Use `error' function instead of doing it by hand.
7620 * sysdeps/posix/sysconf.c: De-ANSI-fy.
7621 Handle _SC_COLL_WEIGHTS_MAX.
7622 * sysdeps/stub/sysconf.c: Handle _SC_CHARCLASS_NAME_MAX,
7623 _SC_COLL_WEIGHTS_MAX, _SC_EQUIV_CLASS_MAX, _SC_2_LOCALEDEF
7624 since these do not depend on the platform.
7625 Add POSIX.4 symbols.
7627 * posix/posix2_lim.h: Add missing definition of
7628 _POSIX2_COLL_WEIGHTS_MAX.
7629 Change _POSIX2_EQUIV_CLASS_MAX and _POSIX2_CHARCLASS_NAME_MAX
7630 to high values since we have no fixed limit.
7632 * sysdeps/generic/confname.h: Add _SC_PAGE_SIZE as alias for
7633 _SC_PAGESIZE for buggy systems (= HP UX) out there.
7635 * wcsmbs/Makefile (routines): Add mbsnrtowcs and wcsnrtombs.
7636 * wcsmbs/mbsnrtowcs.c: New file. Non-standard implementation.
7637 * wcsmbs/wcsnrtombs.c: Ditto.
7638 * wcsmbs/wchar.h [__USE_GNU]: Add prototypes for mbsnrtowcs and
7641 Thu Jul 25 00:25:54 Richard Henderson <rth@tamu.edu>
7643 * nss/nss_db/db-XXX.c: Kill trailing ; from lock defn as a matter of
7645 * nss/getXXent_r.c: Likewise.
7646 * nss/nsswitch.c: Likewise.
7647 * nss/nss_files/files-XXX.c: Likewise.
7648 * sysdeps/mach/hurd/dirstream.h (struct __dirstream): Likewise.
7649 * sysdeps/unix/bsd/telldir.c (struct record): Likewise.
7650 * sysdeps/unix/dirstream.h (struct __dirstream): Likewise.
7652 Thu Jul 25 00:53:06 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
7654 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION): New
7655 macro, now put the needed Linux version just once, here; update to
7656 needing linux-2.0.3 headers.
7657 (libc_cv_linuxVER): New macro derived from that.
7658 (kernel header check): Use those macros and some m4 magic to replace
7659 hard-coded `201' and `2.0.1' in several places.
7661 * Makerules ($(libdir)/libc.so): Fix typos in generated comment.
7663 Wed Jul 24 17:02:30 1996 Ulrich Drepper <drepper@cygnus.com>
7665 * time/localtime.c: Move lock variable declaration to end of
7666 variable declarations since if is a dummy macro the ; at the
7667 end terminates the variable section of the function.
7669 * time/tzset.c: Undefine `tzset' before function declaration.
7670 Use `weak_function' macro instead of `weak_symbol'.
7672 Wed Jul 24 18:57:33 1996 Ulrich Drepper <drepper@cygnus.com>
7674 * stdlib/strtouq.c: Additional weak alias is `strtoull', not
7677 Wed Jul 24 18:26:23 1996 Ulrich Drepper <drepper@cygnus.com>
7679 * locale/C-ctype.c: Increment number of fields after change
7680 from Wed Jun 19 03:24:58 1996.
7682 Tue Jul 23 18:13:37 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
7684 * sysdeps/mach/hurd/Makefile (rpcuserlibs): New variable.
7685 ($(common-objpfx)libc.so): Move deps into that, use it.
7686 [$(subdir) = elf] ($(objpfx)librtld.so): Depend on
7687 $(rpcuserlibs:.so=_pic.a).
7688 * elf/Makefile ($(objpfx)librtld.so): Just depend on libc_pic.a; don't
7691 Thu Jul 18 21:41:25 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7693 * sysdeps/generic/stpncpy.c: Fix semantics to make `stpncpy (d, s,
7694 n)' equivalent to `strncpy (d, s, n), d += strnlen (d, n)'.
7696 Tue Jul 23 02:49:58 1996 Ulrich Drepper <drepper@cygnus.com>
7698 * locale/iso-4217.def: Add India to comment for symbol "INR ".
7699 Reported by Raja R Harinath <harinath@cs.umn.edu>.
7701 Sat Jul 20 14:03:45 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7703 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Remove bogus
7706 Sun Jul 21 06:48:38 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
7708 * time/tzset.c: Include <libc-lock.h>.
7709 (__tzset_lock): New lock variable.
7710 (tzset): New function (weak defn), no longer weak alias for __tzset.
7711 Call __tzset while holding __tzset_lock.
7712 * time/localtime.c: Include <libc-lock.h>.
7713 (__localtime_r): Hold __tzset_lock while doing the work.
7715 * sysdeps/generic/setenv.c (__environ): Change conditional for #define
7716 from [!HAVE_GNU_LD] to [!_LIBC].
7717 [_LIBC]: Include <libc-lock.h> and define a lock.
7718 (LOCK, UNLOCK): New macros, no-ops for [! _LIBC].
7719 (setenv, unsetenv): Use them.
7721 Sun Jul 21 01:44:39 1996 Miles Bader <miles@gnu.ai.mit.edu>
7723 * locale/programs/locfile.c (write_locale_data): Deal with missing
7726 * sysdeps/mach/hurd/socket.c (socket): Make TYPE an int.
7727 * sysdeps/mach/hurd/socketpair.c (socketpair): Likewise.
7729 Sat Jul 20 21:55:31 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
7731 Win32 hacks from <Rob_Tulloh@tivoli.com>.
7732 * posix/glob.c [WIN32]: Don't include <pwd.h>; don't use d_ino;
7733 use void * for my_realloc; include <malloc.h> for alloca.
7734 (glob) [WIN32]: Use "c:/users/default" for ~ if no HOME variable.
7735 * posix/fnmatch.h [WIN32]: Use prototypes even if [!__STDC__].
7736 * posix/glob.h: Likewise.
7738 Sat Jul 20 13:28:52 1996 Miles Bader <miles@gnu.ai.mit.edu>
7740 * sysdeps/mach/hurd/select.c (__select): Don't poll on the last
7741 call __io_select unless there's only a single descriptor, as each
7742 descriptor now has its own reply port.
7743 If there is only a single descriptor, just use its reply port for
7744 everything and don't bother creating the port set.
7746 * sysdeps/mach/hurd/uname.c (uname): Deref UNAME to get nodename.
7747 <unistd.h>: New include.
7749 * sysdeps/mach/libc-lock.h (__libc_lock_define): Backslashify
7752 Sat Jul 20 07:15:33 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
7754 * crypt/Makefile, crypt/nocrypt.c: Removed. It is illegal to export
7755 from the USA any software that even makes it easy to drop in an
7756 encryption module of foreign origin.
7757 * Makerules (cryptobjdir): Variable removed.
7758 ($(libdir)/libc.so): Remove dep on libcrypt.so$(libcrypt.so-version).
7759 * Makefile (subdirs): Remove crypt.
7761 Fri Jul 19 15:45:20 1996 Ulrich Drepper <drepper@cygnus.com>
7763 * locale/C-messages.c (_nl_C_LC_MESSAGES): Add missing Kleene
7764 operator to yesexpr and noexpr string.
7766 Fri Jul 19 15:10:37 1996 David Mosberger-Tang <davidm@azstarnet.com>
7768 * sunrpc/xdr_mem.c (xdrmem_putlong): Don't cast LP to int32 (the
7769 old code would have failed on a big-endian 64-bit architecture).
7770 * sunrpc/xdr_stdio.c (xdrstdio_putlong): Ditto.
7772 * sunrpc/xdr.c (xdr_int): Handle XDR_FREE case.
7773 (xdr_u_long): Use switch instead of chain of if-statements.
7774 Remove gratitous parentheses around return expressions.
7775 (xdr_enum): Open code case where INT_MAX<LONG_MAX.
7777 * sunrpc/svc.c (svc_getreqset): Increment SOCK by 32, not NFDBITS.
7779 * sunrpc/portmap.c (reg_service): Declare ANS and PORT as long,
7782 Fri Jul 19 16:56:41 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
7784 * dlfcn.h, db.h: New wrapper headers.
7786 * posix/glob.h [!_AMIGA && !VMS]: Check this instead of just [!_AMIGA]
7787 for `struct stat;' forward decl.
7789 Fri Jul 19 22:25:19 1996 Ulrich Drepper <drepper@cygnus.com>
7791 * locale/iso-4217.def: Add some more standardized currency
7794 Fri Jul 19 13:18:02 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
7796 * hurd/report-wait.c (describe_number): Use unsigned long int for J.
7798 Thu Jul 18 12:33:57 1996 Roland McGrath <roland@baalperazim.frob.com>
7800 * Rules (dummy.o, empty.o): Targets removed.
7801 (dummy.c, empty.c): New targets replace them.
7803 Thu Jul 18 11:42:39 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
7805 * crypt/Makefile (lib-noranlib): Depend on
7806 $(objpfx)libcrypt.so$(libcrypt.so-version).
7809 Thu Jul 18 04:33:21 1996 Roland McGrath <roland@baalperazim.frob.com>
7811 * sysdeps/mach/hurd/errnos.awk: Move EWOULDBLOCK check before errno==0
7812 check. mib's clueless hacking broke it.
7814 Thu Jul 18 04:27:21 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
7816 * Makerules ($(libdir)/libc.so): Add missing / after $(cryptobjdir).
7818 Wed Jul 17 10:54:20 1996 David Mosberger-Tang <davidm@azstarnet.com>
7820 * misc/sys/ustat.h: New file.
7821 * misc/ustat.h: Ditto.
7822 * sysdeps/generic/ustatbits.h: Ditto.
7823 * sysdeps/stub/ustat.c: Ditto.
7824 * sysdeps/unix/sysv/linux/ustatbits.h: Ditto.
7825 * misc/Makefile (headers): Mention ustat.h, sys/ustat.h, and
7827 (routines): Mention ustat.
7829 * sysdeps/unix/sysv/linux/alpha/start.S: Move to ...
7830 * sysdeps/alpha/elf/start.S: here.
7832 * sysdeps/unix/sysv/linux/syscalls.list: Mention klogctl in
7833 alphabetically correct place. Mention ustat.
7835 * sysdeps/unix/alpha/sysdep.S: Make errno a bss symbol, not a
7836 common symbol (makes errno accessible from gdb).
7838 * login/pututline_r.c (pututline_r): Test ut_id in repositioning
7841 * login/logwtmp.c (logwtmp): Reimplemented. Must ensure that a
7842 record always gets appended at end of file (wtmp is a log file,
7843 after all). Set ut_type to DEAD_PROCESS if name is empty.
7845 * login/getutid_r.c (getutid_r): Handle search for UT_TYPE in
7846 separate loop from search for UT_ID. Fix code so it is in
7847 sync with Unix man page.
7849 * login/getutline_r.c (getutline_r): Stop searching only if
7850 ut_line matches and type is either USER_PROCESS or LOGIN_PROCESS.
7852 Tue Jul 16 15:06:18 1996 David Mosberger-Tang <davidm@azstarnet.com>
7854 * sysdeps/unix/sysv/linux/netinet/in.h: Base on <linux/in.h> to
7855 avoid duplicate declarations.
7857 Sun Jul 14 19:08:55 1996 David Mosberger-Tang <davidm@azstarnet.com>
7859 * manual/maint.texi (Supported Configurations): Add alpha-gnu-linux
7860 and alpha-gnu-linuxecoff targets.
7862 Fri Jul 12 16:58:44 1996 David Mosberger-Tang <davidm@azstarnet.com>
7864 * sysdeps/unix/sysv/linux/netinet/in.h: Declare bindresvport().
7866 Sat Jun 22 23:30:07 1996 David Mosberger-Tang <davidm@azstarnet.com>
7868 * resolv/res_send.c (res_send): Declare FROMLEN as size_t instead
7871 * resolv/res_comp.c (res_hnok): Use empty statement in place
7872 of NULL (which generates a "useless expression" warning in
7875 Wed Jul 17 23:56:35 1996 Roland McGrath <roland@baalperazim.frob.com>
7877 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Replace ../
7878 with $(..) in output.
7880 Wed Jul 17 21:53:45 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
7882 * elf/Makefile (dl-routines): Add dl-cache.
7883 * elf/dl-cache.c: New file.
7884 * elf/dl-load.c (_dl_map_object): Check cache before default path.
7886 Wed Jul 17 20:41:30 1996 Ulrich Drepper <drepper@cygnus.com>
7888 * stdio-common/vfscanf.c: Major change. Now read character
7889 from stream only if needed. Before it was read after the
7890 previous character was used.
7891 Bug reported by Martin Goik <goma0002@FH-Karlsruhe.DE>
7893 * stdio-common/tstscanf.c: Change test program so that return
7894 value is != 0 if one test failed.
7896 Wed Jul 17 17:08:48 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
7898 * sysdeps/m68k/Makefile (crypt): Variable removed.
7899 * sysdeps/sparc/Makefile: Likewise.
7901 * version.h (VERSION): Update to 1.93.
7903 * Makerules ($(libdir)/libc.so): Depend on
7904 $(common-objpfx)libcrypt.so$(libcrypt.so-version).
7906 * crypt/nocrypt.c: New file.
7907 * Makefile (subdirs): Add crypt.
7908 * crypt/Makefile: New file.
7910 * Makerules (soversions.mk): Move this target, include of it, and
7911 include of version.mk to ...
7912 * Makeconfig: ... here.
7913 (soversions.mk): Depend on Makeconfig instead of Makerules.
7915 * shlib-versions (*-*-*): Set libcrypt=0.
7917 Wed Jul 17 11:29:26 1996 Miles Bader <miles@gnu.ai.mit.edu>
7919 * stdio/linewrap.c (lwupdate): Fix boundary condition where a
7920 word extends right up to rmargin.
7922 * stdio/linewrap.c (lwupdate): When we've done a word wrap and
7923 output the wrap margin, set point_col to wmargin.
7924 Use negative point_col to deal with a wmargin of 0.
7925 (line_wrap_point): Return 0 for a negative point_col.
7926 (line_wrap_stream): Make wmargin ssize_t.
7927 * stdio/linewrap.h (struct line_wrap_data): Make wmargin &
7929 (line_wrap_stream): Make wmargin ssize_t.
7930 (line_wrap_point): Return 0 for a negative point_col.
7932 Wed Jul 17 02:43:28 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
7934 * shlib-versions (*-*-gnu*): Set libc=0.0
7936 Tue Jul 16 01:52:42 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7938 * sysdeps/m68k/dl-machine.h: Follow Jul 14 change in
7939 sysdeps/i386/dl-machine.h.
7941 Tue Jul 16 00:18:19 1996 Miles Bader <miles@gnu.ai.mit.edu>
7943 * stdio/linewrap.c (__line_wrap_update): Add hackery from flshfp
7944 to fiddle __put_limit in conjunction with __linebuf_active.
7946 Tue Jul 16 00:14:07 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7948 * sysdeps/unix/inet/syscalls.list (connect, send): Add underscores
7949 to the strong name, not the file name.
7951 Tue Jul 16 16:43:58 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
7953 * csu/initfini.c: More magic. Detect if .end is produced and put it
7954 in the output iff the compiler does.
7956 * elf/dl-lookup.c (_dl_lookup_symbol): Avoid sizeof dynamic auto array
7957 because that is broken on alpha.
7959 * sysdeps/mach/hurd/mmap.c: Use same inheritance arg in second vm_map
7962 * Makerules (make-link): Install the new link with atomic mv -f in
7963 case ln itself requires the library being installed.
7965 Tue Jul 16 00:31:31 1996 Richard Henderson <rth@tamu.edu>
7967 * sysdeps/alpha/dl-machine.h: Mirror Roland's changes to
7968 i386/dl-machine.h of 960713.
7970 * sysdeps/generic/dl-sysdep.c: Include <sys/mman.h>.
7971 (_dl_sysdep_read_whole_file): Fix result variable declaration.
7973 Tue Jul 16 00:53:57 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
7975 * sysdeps/mach/hurd/uname.c: Call __gethostname to fill in the
7978 Mon Jul 15 17:23:53 1996 Ulrich Drepper <drepper@cygnus.com>
7980 * stdio-common/vfprintf.c (vfprintf): Call parse_one_spec
7981 with pointer to local variable instead of NULL.
7983 1996-07-15 Paul Eggert <eggert@twinsun.com>
7985 * time/strftime.c (strftime): Don't pass empty macro argument to `add'.
7987 Sat Jul 13 09:53:39 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7989 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove names
7990 that are already added by other means.
7992 * sysdeps/unix/sysv/linux/syscalls.list: Add more EXTRA's in the
7993 caller column to get those syscalls added automagically.
7995 Mon Jul 15 12:24:54 1996 Miles Bader <miles@gnu.ai.mit.edu>
7997 * login/logout.c (logout): Initialize DATA to a state that will
7998 make setutent_r happy.
8000 Sun Jul 14 01:51:39 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
8002 * elf/rtld.c (dl_main) [ELF_MACHINE_DEBUG_SETUP]: Use this macro
8003 instead of setting the DT_DEBUG pointer.
8005 * csu/initfini.c (_init, _fini): Generate .end directives after
8006 standalone prologues and filter them out from epilogues.
8008 * Makeconfig (rtld-installed-name): Set to ld.so.1.
8009 * sysdeps/unix/sysv/linux/Makefile (rtld-installed-name): Variable
8012 * manual/Makefile (glibc-targets): Remove subdir_ from elts.
8014 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_read_whole_file): New fn.
8016 * MakeTAGS (extract): Pass --add-comments=TRANS.
8017 * sysdeps/gnu/errlist.awk: Write comments into the output with the
8018 descriptive paragraphs from the manual preceded by TRANS.
8020 * elf/rtld.c (RESOLVE): Use the dl's load address, not a constant zero!
8021 (_dl_start): Move RESOLVE defn inside this function and #include
8022 "dynamic-link.h" a second time there.
8023 [RTLD_START]: Move use of this after _dl_start function.
8025 * elf/dl-reloc.c: Include "dynamic-link.h" at file scope.
8027 * elf/rtld.c: Include <string.h>.
8029 * elf/dynamic-link.h (ELF_DYNAMIC_DO_REL, ELF_DYNAMIC_DO_RELA,
8030 ELF_DYNAMIC_RELOCATE): No longer take RESOLVE argument.
8031 Conditionalize defns on [RESOLVE].
8032 * elf/do-rel.h (elf_dynamic_do_rel): Likewise.
8033 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
8034 Instead use RESOLVE macro with same args.
8035 (elf_machine_rel): Conditionalize defn on [RESOLVE].
8036 * elf/dl-reloc.c (RESOLVE): New macro, define before including
8037 "dynamic-link.h". It replaces `resolve' local function.
8038 * elf/dl-runtime.c: Likewise.
8039 * elf/rtld.c: Likewise.
8041 * elf/dl-deps.c (_dl_map_object_deps): Start TAILP at last preload.
8043 * elf/dl-open.c (_dl_open): Force an indirect call for
8044 _dl_relocate_object so there is no chance a PLT fixup will be done
8045 and clobber _dl_global_scope before our call happens.
8047 * sysdeps/i386/fpu/__math.h (tan): Correct output constraint from =u
8048 to =t; must operate on top of fp reg stack, not second from top.
8049 Correct input constraint to 0 from t; must be explicit when input and
8050 output are the same register.
8051 (floor): Use __volatile instead of volatile.
8054 * manual/Makefile ($(objpfx)stamp%-$(subdir)): Separate rule from
8057 Sat Jul 13 23:50:17 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
8059 * manual/Makefile (lib): New phony target. Depend on stamp files.
8060 ($(objpfx)stamp%-$(subdir)): New rule to create them when necessary.
8062 1996-07-13 Paul Eggert <eggert@twinsun.com>
8064 * time/strftime.c (strftime): Use space padding for %e, %k, %l,
8065 to match Emacs format-time-string specification.
8066 (DO_NUMBER_SPACEPAD): Renamed from DO_NUMBER_NOPAD.
8068 Sat Jul 13 20:17:38 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
8070 * elf/dl-deps.c (_dl_map_object_deps): Take new args PRELOADS and
8071 NPRELOADS, vector of `struct link_map *'s; add them to the searchlist
8072 between MAP and its deps.
8073 * elf/link.h: Fix decl.
8074 * elf/rtld.c (dl_main): If not secure, parse LD_PRELOAD for
8075 colon-separated list of names, map those and pass vector of ptrs as
8076 PRELOADS list to _dl_map_object_deps.
8077 * elf/dl-runtime.c (_dl_object_relocation_scope): Pass new args to
8078 _dl_map_object_deps with empty preload list.
8079 * elf/dl-open.c (_dl_open): Likewise.
8081 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_open_zero_fill): Function
8083 (__mmap): Pass MACH_PORT_NULL for memobj port when (flags & MAP_ANON).
8084 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_open_zero_fill):
8085 Conditionalize defn on [! MAP_ANON].
8086 * elf/dl-minimal.c (malloc): Conditionalize use of _dl_zerofd
8088 * elf/rtld.c (dl_main): Likewise.
8089 * elf/dl-load.c (_dl_zerofd): Conditionalize defn on [! MAP_ANON].
8090 (_dl_map_object_from_fd): Conditionalize initialization of _dl_zerofd.
8092 * elf/dl-fini.c (_dl_fini): Skip finalizer for executable itself.
8094 Sat Jul 13 02:47:53 1996 David Mosberger-Tang <davidm@azstarnet.com>
8096 * stdlib/random.c (__random): Declare as int32_t to be in sync
8099 * socket/Makefile (headers): Add socketbits.h.
8101 * misc/mntent.c (endmntent): Allow for NULL stream. SunOS does
8104 * grp/initgroups.c (initgroups): Add groups that user is a member
8105 of, not the ones he is _not_ a member of.
8107 * nss/nsswitch.c (known_compare): Make known_compare() a static
8108 instead of a local function. The latter are difficult to debug
8109 and slow to execute on certain platforms.
8111 * sysdeps/posix/ttyname_r.c (ttyname_r): Use sizeof (dev) - 1 in
8112 place of sizeof (dev). The size of a literal string includes the
8115 * sysdeps/unix/getlogin.c (getlogin): Initialize ut_fd with -1.
8117 Thu Jul 11 16:59:10 1996 David Mosberger-Tang <davidm@azstarnet.com>
8119 * misc/mntent.c (addmntent): Seek to end of file before writing
8120 entry. Return 1 on error, not -1.
8122 Tue Jul 9 19:08:05 1996 David Mosberger-Tang <davidm@azstarnet.com>
8124 * sysdeps/unix/sysv/linux/syscalls.list: Mark bdflush as EXTRA
8127 Fri Jul 5 18:44:55 1996 David Mosberger-Tang <davidm@azstarnet.com>
8129 * sysdeps/unix/sysv/linux/alpha/ioperm.c (port_to_cpu_addr): Size
8130 shift amount for Jensen must be 5 not 4.
8132 Sat Jul 13 20:04:28 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
8134 * socket/sys/socket.h (struct osockaddr): New type.
8136 Sat Jul 13 03:50:53 1996 Ulrich Drepper <drepper@cygnus.com>
8138 * misc/Makefile (routines): Add qefgcvt and qefgcvt_r.
8139 * misc/efgcvt.c, misc/efgcvt_r.c: Change code so that the `double'
8140 and `long double' versions can be generated.
8141 * misc/qefgcvt.c, misc/qefgcvt_r.c: New files. Define macros
8142 so that included efgcvt{,_r}.c file generate `long double'
8144 * stdlib/stdlib.h: Add prototypes for q[efg]cvt() and q[ef]cvt_r()
8147 * manual/startup.texi: Document new getsubopt function.
8148 * manual/examples/subopt.c: New example program for documenting
8151 Fri Jul 12 23:58:37 1996 Ulrich Drepper <drepper@cygnus.com>
8153 * stdlib/Makefile (routines): Add getsubopt.
8154 * stdlib/stdlib.h: Add prototype for getsubopt.
8155 * stdlib/getsubopt.c: New file. Implement getsubopt function
8156 to handle suboption parsing.
8158 Thu Jul 11 20:09:55 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
8160 * inet/getnetent_r.c: Define NEED_H_ERRNO.
8161 * inet/getnetbynm_r.c: Likewise.
8162 * inet/getnetent.c: Likewise.
8163 * inet/getnetbyad_r.c: Likewise.
8164 * inet/getnetbyad.c: Likewise.
8165 * inet/getnetbynm.c: Likewise.
8167 * sysdeps/generic/pselect.c: Include <sys/time.h>.
8169 * misc/sys/select.h: Include <time.h> instead of <sys/time.h> for
8172 * math/Makefile (calls): Add s_frexp, s_ldexp.
8173 (routines): Remove them and &f from here.
8175 * sys/socket.h: New file, wrapper for socket/sys/socket.h.
8177 * nss/nss_files/files-service.c (getservbyname): Take second arg PROTO
8180 * nss/nss_files/files-XXX.c: Comment fix.
8182 Fri Jul 12 01:28:35 1996 Ulrich Drepper <drepper@cygnus.com>
8184 * nss/getXXent_r.c (GETFUNC_NAME_STRING): Define with name
8185 of reentrant function.
8186 (setup): Pass additional argument with function name we are
8188 (SETFUNC_NAME, ENDFUNC_NAME, GETFUNC_NAME): Call setup with
8189 new argument {SET,END,GET}FUNC_NAME_STRING.
8191 * nss/getXXent.c (GETFUNC_NAME): RESULT must be static because
8192 we return a pointer.
8194 Thu Jul 11 18:20:44 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
8196 * nss/nss_files/files-parse.c: Add comment about things to #define.
8198 * nss/nss_files/files-hosts.c (NEED_H_ERRNO): Define it.
8200 * nss/nss_files/files-parse.c (STRING_FIELD): Don't flag NUL before
8201 terminator char as an error.
8203 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set *H_ERRNOP, not h_errno.
8205 Thu Jul 11 03:21:10 1996 Ulrich Drepper <drepper@cygnus.com>
8207 * catgets/gencat.c (write_out): Move code to determine new
8208 best size out of inner loop.
8210 Thu Jul 11 00:22:40 1996 Ulrich Drepper <drepper@cygnus.com>
8212 * sysdeps/libm-ieee754/s_frexpl.c: New file. `long double'
8213 implementation of frexp() function.
8214 * sysdeps/libm-ieee754/s_ldexpl.c: New file. `long double'
8215 implementation of ldexp() function.
8217 * sysdeps/libm-i387/s_isnanl.c (isnanl): Mask explicit one
8220 Wed Jul 10 05:24:40 1996 David Mosberger-Tang <davidm@azstarnet.com>
8222 * misc/mntent.c: Include <sys/types.h>.
8223 (endmntent): Return 1 one success, 0 on failure.
8224 (getmntent): Chop newline and ignore empty lines.
8226 Mon Jul 8 21:18:40 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
8228 * sysdeps/m68k/dl-machine.h (RESOLVE): New macro, defined
8229 differently based on [RTLD_BOOTSTRAP].
8230 (elf_machine_rela): Use it instead of the fn ptr arg directly.
8232 Tue Jul 9 09:37:55 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
8234 * posix/glob.h (__glob_opendir_hook, __glob_readdir_hook,
8235 __glob_closedir_hook): Remove decls.
8237 * sysdeps/generic/machine-gmon.h: Declare mcount_internal.
8239 * sysdeps/unix/inet/syscalls.list: Define __ names with weak aliases
8240 for send and connect syscalls.
8242 * socket/sys/socket.h: New file, taken from non-sysdep parts of
8243 linux/sys/socket.h; break sysdeps parts out into socketbits.h.
8244 Declare __ names for send and connect.
8245 * sysdeps/generic/socketbits.h: New file.
8246 * sysdeps/unix/sysv/linux/socketbits.h: New file.
8247 * sysdeps/unix/sysv/linux/sys/socket.h: File removed.
8248 * sysdeps/generic/sys/socket.h: File removed.
8250 * sysdeps/mach/hurd/connect.c: Define __ name and weak alias.
8251 * sysdeps/mach/hurd/send.c: Likewise.
8253 * sysdeps/mach/libc-lock.h: New file.
8254 * sysdeps/unix/readdir.c: Do locking.
8255 * sysdeps/unix/seekdir.c: Likewise.
8256 * sysdeps/unix/rewinddir.c: Likewise.
8257 * sysdeps/unix/closedir.c: Likewise.
8258 * sysdeps/unix/bsd/telldir.c: Likewise.
8259 * sysdeps/mach/hurd/seekdir.c: Likewise.
8260 * sysdeps/mach/hurd/readdir.c: Likewise.
8261 * sysdeps/mach/hurd/closedir.c: Likewise.
8262 * sysdeps/mach/hurd/opendir.c: Initialize the lock.
8263 * sysdeps/unix/opendir.c: Likewise.
8264 * sysdeps/mach/hurd/dirstream.h: Include <libc-lock.h>.
8265 (struct __dirstream): Add lock member using __libc_lock_define.
8266 * sysdeps/unix/dirstream.h: Likewise.
8268 * sysdeps/stub/libc-lock.h (__libc_lock_fini): New macro.
8270 * stdlib/mbstowcs.c: Pass address of pointer to mbsrtowcs.
8272 * stdlib/wcstombs.c: Use wcsrtombs instead of mbsrtowcs.
8274 Thu Jul 4 01:34:04 1996 Ulrich Drepper <drepper@cygnus.com>
8276 * locale/programs/stringtrans.c: Fix typo in copyright.
8278 * stdio-common/printf-prs.c: Add casts to prevent
8279 signed<->unsigned warnings.
8281 * stdio-common/printf-parse.h: Initialize state variable before
8283 * stdio-common/printf-prs.c: Don't initialize state variable here.
8284 * stdio-common/vfprintf.c: Don't initialize state variable.
8285 (vfprintf): While determining length of multibyte string don't
8286 try to be clever in determining characters to use for first
8289 Add real implementation of multibyte<->wide char conversion
8290 functions. The functions always convert between the fixed wide
8291 char format (ISO 10646 in UCS4) and the UTF8 representation of
8292 this character set. Conversion between the currently used
8293 8bit character set and ISO 10646 will not take place. This is
8294 what iconv() is for.
8295 * wcsmbs/wchar.h (mbstate_t): Define as structure to replace
8297 Add optimized version of `mbrlen' function.
8298 * wcsmbs/btowc.c (btowc): Restrict range of legal characters
8300 * wcsmbs/wctob.c (wctob): Restrict range of legal characters
8302 * wcsmbs/mbrlen.c: Make mbrlen a weak alias of __mbrlen.
8303 This is needed in the wchar.h header.
8304 * wcsmbs/mbrtowc.c: Replace dummy implementation. Convert UTF8
8305 encoded character to UCS4.
8306 * wcsmbs/mbsinit.c: Replace dummy implementation. Test COUNT
8307 element of `mbstate_t' for initial state.
8308 * wcsmbs/mbsrtowcs.c: Replace dummy implementation. Convert UTF8
8309 encoded string to UCS4 string.
8310 * wcsmbs/wcrtomb.c: Replace dummy implementation. Convert UCS4
8311 character to UTF8 encoded form.
8312 * wcsmbs/wcsrtombs.c: Replace dummy implementation. Convert UCS4
8313 encoded string to UTF8 encoded form.
8315 Tue Jul 9 06:19:29 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
8317 * sysdeps/unix/sysv/linux/configure.in: Use version number in cache
8318 variable name, so new a libc with new requirements won't fail to
8319 notice an insufficient Linux version.
8321 * sysdeps/unix/sysv/linux/direntry.h: New file from David Mosberger.
8323 * sysdeps/unix/sysv/linux/configure.in: Check for Linux 2.0.1 headers,
8324 instead of 2.0 headers.
8326 * sysdeps/mach/hurd/Makefile (stamp-errnos): Uncomment CVS commit cmds.
8328 * sysdeps/gnu/errlist.awk: Undo mib's bogus changes. The
8329 sysdeps/mach/hurd/errnos.awk bug fix was the only correct change.
8331 * sysdeps/generic/machine-gmon.h [NO_UNDERSCORES]: Declare _mcount
8332 before using it in lhs of weak_alias.
8334 * nss/getXXent_r.c (setup): New function, broken out of SETFUNC_NAME.
8335 Call __nss_lookup when not setting STARTP.
8336 (SETFUNC_NAME, ENDFUNC_NAME, REENTRANT_GETNAME): Call it to set up for
8337 function-calling loop.
8339 Tue Jul 9 00:14:52 1996 Michael I. Bushnell p/BSG <mib@gnu.ai.mit.edu>
8341 * sysdeps/mach/hurd/ioctls.h (MDMBUF, ECHO, TOSTOP, FLUSHO,
8342 PENDIN, NOFLSH): Undefine these at start if they are already
8343 defined to avoid collision with termbits.h.
8344 * sysdeps/generic/termbits.h (ECHO, TOSTOP, NOFLSH): Likewise.
8345 (MDMBUF, FLUSHO, PENDIN) [__USE_BSD]: Likewise.
8347 Mon Jul 8 13:37:40 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
8349 * math/math.h (_Mfloat_, _Mlong_double_): New macros, defined iff not
8350 already defined to float, long double. Use those macros for _Mdouble_
8351 defns when including mathcalls.h.
8352 * math/Makefile [$(long-double-fcts) != yes] (CPPFLAGS): Append
8353 -D_Mlong_double_=double.
8355 Add more -lm functions to -lc because ldexp uses them.
8356 * math/Makefile (calls): Add s_finite, s_copysign, s_scalbn, s_modf.
8357 (routines): Remove s_modf, add s_frexpf, s_ldexpf; all but frexp and
8358 ldexp have both f and l code, and those have f though not l code.
8360 Mon Jul 8 13:10:50 1996 Michael I. Bushnell p/BSG <mib@gnu.ai.mit.edu>
8362 * sysdeps/mach/hurd/errnos.awk: Skip entries where the
8363 error is 0. The "placeholder" entries recently added to
8364 errno.texi convert to zero since `???/' is at the front of them.
8365 * sysdeps/gnu/errlist.awk (errnoh): Likewise.
8367 * sysdeps/stub/setdomain.c (setdomainname): Declare NAME parm
8368 __const to conform with unistd.h.
8370 * stdlib/stdlib.h (random): Declare return type to be int32_t.
8372 * string/argz-delete.c (argz_delete): Use memmove instead of
8373 memcpy for possibly overlapping strings.
8375 Mon Jul 8 02:14:25 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
8377 * libc-symbols.h [GCC >= 2.7] (strong_alias, weak_alias): Use extern
8378 storage class. GCC gives an error for non-extern data defns with the
8381 Mon Jul 8 01:37:34 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu>
8383 * string/argz-insert.c (__argz_insert): (__argz_insert): Use
8384 memmove instead of memcpy for possible overlapping strings.
8386 Mon Jul 8 00:11:15 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
8388 * libc-symbols.h (weak_function): New macro.
8389 For GCC 2.7+ define as __attribute__ ((weak)).
8390 * elf/dl-minimal.c: Use weak_function as keyword in function defns
8391 instead of weak_symbol (NAME) after the defn.
8392 * stdlib/strtol.c: Likewise.
8393 * stdlib/strtod.c: Likewise.
8394 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
8396 * sysdeps/alpha/dl-machine.h (elf_machine_rela) [RTLD_BOOTSTRAP]:
8397 If this is defined, don't declare _dl_rtld_map as weak, and
8398 don't check for MAP pointing to it. RESOLVE is always null in this
8399 case, so test with #ifdef instead of if.
8401 * libc-symbols.h (symbol_set_declare): Use weak_extern instead of
8403 * csu/initfini.c (_init): Likewise.
8404 * locale/setlocale.c (DEFINE_CATEGORY): Likewise.
8405 * misc/efgcvt_r.c: Likewise.
8406 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
8407 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
8409 * libc-symbols.h [ASSEMBLER] (weak_symbol): Macro removed.
8410 It was not used in any assembler code.
8411 (weak_symbol_asm): Renamed to weak_extern_asm.
8412 (weak_extern): New macro replaces weak_symbol for weak extern refs;
8413 define to weak_extern_asm for [!ASSEMBLER].
8415 Sun Jul 7 18:42:06 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
8417 * libc-symbols.h [! ASSEMBLER] [HAVE_WEAK_SYMBOLS] (weak_symbol_asm,
8418 weak_alias_asm): New macros, renamed from weak_symbol/weak_alias;
8419 define those now as aliases.
8420 Change conditional to use __attribute__ syntax for GCC 2.7+, not 2.8+
8421 [GCC >= 2.7] [HAVE_WEAK_SYMBOLS] (weak_symbol): Do weak_symbol_asm
8422 after GCC weak attribute decl.
8424 * sysdeps/gnu/errlist.awk (BEGIN): Initialize associative array ALIAS,
8425 map EWOULDBLOCK->EAGAIN, EDEADLOCK->EDEADLK.
8426 (element printer): Check for elt in ALIAS, instead of special case
8429 * io/Makefile (headers): Add sys/vfs.h.
8430 * io/sys/vfs.h: New file.
8432 * sysdeps/mach/hurd/jmp-unwind.c (_longjmp_unwind): Don't unlock the
8433 critical section lock before unlinking dying active resources.
8434 The unlock just before return is right (i.e. old code unlocked twice).
8436 Sun Jun 2 22:28:43 1996 Miles Bader <miles@gnu.ai.mit.edu>
8438 * stdio/linewrap.c (lwupdate): Update D->point_offs when done.
8439 Use memmove instead of memcpy where overlap is possible (not
8440 necessary using current implementation of memcpy, but...).
8441 (__line_wrap_update): Don't update D->point_offs (lwupdate does it).
8443 Fri May 31 11:48:46 1996 Miles Bader <miles@gnu.ai.mit.edu>
8445 * stdio/linewrap.c (lwupdate): New function, mostly was
8446 __line_wrap_update. Use POINT_COL field instead of POINT.
8447 (__line_wrap_output): Use lwupdate.
8448 (__line_wrap_update): New function.
8449 (ensure_unwrapped, ensure_wrapped): New functions.
8450 (line_wrap_set_lmargin, line_wrap_set_rmargin,
8451 line_wrap_set_wmargin, line_wrap_point): Use __line_wrap_update.
8453 * stdio/linewrap.h (struct line_wrap_data): Rename POINT field to
8454 POINT_COL. Add POINT_OFFS field.
8455 (__line_wrap_update): New decl.
8456 (line_wrap_set_lmargin, line_wrap_set_rmargin,
8457 line_wrap_set_wmargin, line_wrap_point): Use __line_wrap_update.
8459 Fri Jul 5 17:34:47 1996 Miles Bader <miles@gnu.ai.mit.edu>
8461 * login/logout.c (logout): Do nothing if getutline_r returns ESRCH.
8463 * login/pututline_r.c (pututline_r): Since we assign RESULT from
8464 lseek now, check that it's >= 0, not == 0.
8466 Wed Jul 3 13:28:04 1996 Miles Bader <miles@gnu.ai.mit.edu>
8468 * login/login.c (login): Make a copy of *UT, fill in various
8469 fields that we supply (ut_line, ut_type, ut_pid), and use the copy
8472 * login/getutline_r.c (getutline_r): When we return ESRCH, mark
8473 UTMP_DATA->ubuf invalid (by setting UTMP_DATA->loc_utmp to 0).
8475 Fri Jul 5 12:22:51 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
8477 * hurd/hurdsig.c (_hurd_internal_post_signal): In case of handled
8478 signal during critical section doing interruptible RPC, if
8479 _hurdsig_abort_rpcs wants to change thread state, do thread_set_state
8480 before thread_resume. If in critical section, pass 0 for SIGNO to
8481 _hurdsig_abort_rpcs so rpc is interrupted regardless of SA_RESTART.
8483 * extra-lib.mk: Fix typo in $(extra-libs-others) conditional.
8485 * sysdeps/unix/sysv/linux/sys/user.h: New file.
8486 * sysdeps/unix/sysv/linux/Dist: Add it.
8487 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add sys/user.h.
8489 * nss/nss_files/files-parse.c (parse_list): Set EOL from LINE if it
8490 points within DATA->linebuffer; otherwise use all of DATA->linebuffer
8491 itself, no need to skip past a NUL.
8493 * nss/nsswitch.h (known_function): Comment fix.
8494 * nss/nsswitch.c (nss_lookup_function): Rewritten using __tsearch
8495 directly. Do the lookup and insertion with a single call, and fill in
8496 the tree node afterwards if new.
8497 (known_compare, nss_find_entry, nss_insert_entry): Functions removed.
8499 * misc/sys/select.h: #define __need_timespec before <sys/time.h> incl.
8500 (struct timeval): Add bodiless decl for scope.
8502 * time/time.h (struct timespec): Rename members from `ts_*' to `tv_*'.
8503 Move struct timespec defn outside [_TIME_H] so it can be got with
8504 #define __need_timespec.
8506 * time/sys/time.h (TIMEVAL_TO_TIMESPEC): Use `tv_*' instead of `ts_*'
8507 for `struct timespec' member names.
8508 (TIMESPEC_TO_TIMEVAL): Likewise.
8510 * nss/Makefile (extra-libs-others): New variable.
8512 * extra-lib.mk: Don't test for $($(lib)-no-lib-dep). Instead match
8513 $(lib) in $(extra-libs-others).
8514 * sunrpc/Makefile (extra-libs-others): New variable.
8515 (librpcsvc-no-lib-dep): Variable removed.
8517 * elf/rtld.c: Define RTLD_BOOTSTRAP before #include "dynamic-link.h".
8518 * sysdeps/i386/dl-machine.h (elf_machine_rel): Remove weak decl for
8520 (RESOLVE): New macro, defined differently based on [RTLD_BOOTSTRAP].
8521 (elf_machine_rel): Use it instead of testing fn ptr arg at runtime.
8522 (elf_machine_rel: case R_386_32) [! RTLD_BOOTSTRAP]: Declare
8523 _dl_rtld_map weak only here.
8525 * posix/unistd.h [__USE_BSD]: Declare getdomainname, setdomainname.
8527 Thu Jul 4 05:21:59 1996 David Mosberger-Tang <davidm@azstarnet.com>
8529 * login/utmp.h: Fix typos.
8531 * misc/syslog.c (vsyslog): Use __send instead of send and
8532 __connect instead of connect to avoid name-space collisions (e.g.,
8535 Wed Jul 3 16:29:41 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
8537 * nss/getXXbyYY_r.c (REENTRANT_NAME): Cast FCT in __nss_next call.
8539 * sysdeps/generic/sbrk.c: Always call __brk (0) to update __curbrk.
8541 * malloc/malloc-size.c (malloc_usable_size): Renamed from
8542 malloc_object_allocation_size.
8543 * malloc/malloc.h: Fix decl.
8545 * sys/select.h: New file, wrapper header.
8547 * posix/sys/types.h [__USE_BSD]: Include <sys/select.h>; remove
8548 fd_set, associated macros, and select decl.
8550 * sysdeps/posix/isfdtype.c: New file.
8552 Tue Jul 2 23:45:14 1996 Ulrich Drepper <drepper@cygnus.com>
8554 The latest Japanese proposal for POSIX locales renames the
8555 CHARMAP keyword in locale definition files to CHARCONV.
8556 * locale/programs/ld-ctype.c, locale/programs/locales.h: Rename
8557 function ctype_is_charmap to ctype_is_charconv.
8558 * locale/programs/locfile-kw.gperf: Replace charmap keyword with
8560 * locale/programs/locfile-token.h: Add definition of token
8562 * locale/programs/locfile.c: Recognize charconv keyword. Rename
8563 lables according to this.
8565 * locale/weight.h (get_weight): Cast constants to prevent
8568 * stdlib/strtod.c, stdlib/strtol.c, string/strcoll.c,
8569 string/strxfrm.c: Add some more casts to prevent signed<->unsigned
8572 New stuff described in P1003.1g.
8573 * misc/Makefile (headers): Add sys/select.h.
8574 (routines): Add pselect.
8575 * misc/sys/select.h: New file. Declare select functions and
8576 needed data types and macros.
8577 * sysdeps/generic/pselect.c: New file. Add generic implementation
8578 of pselect() function which uses select().
8580 * posix/getconf.c: Recognize new variables from P1003.1g.
8581 * posix/posix1_lim.h: Define _POSIX_FD_SETSIZE, _POSIX_QLIMIT,
8582 _POSIX_HIWAT, and _POSIX_UIO_MAXIOV.
8583 * posix/unistd.h: Add description of the P1003.1g variables.
8584 * sysdeps/generic/confname.h: Define _SC_* values for new
8586 * sysdeps/posix/fpathconf.c (fpathconf): Add handling of
8588 * sysdeps/stub/fpathconf.c (fpathconf): Ditto.
8589 * sysdeps/posix/sysconf.c (sysconf): Add handling of new
8591 * sysdeps/stub/sysconf.c (sysconf): Ditto.
8592 * sysdeps/unix/sysv/linux/posix_opt.h: Define _POSIX_POLL and
8593 _POSIX_SELECT since Linux has this.
8595 * socket/Makefile (routines): Add isfdtype.
8596 * sysdeps/generic/sys/socket.h: Add prototype for isfdtype.
8597 * sysdeps/stub/isfdtype.c: New file. Stub implementation of
8600 * wcsmbs/wcrtomb.c (wcrtomb): Fix typo.
8602 Wed Jul 3 11:26:28 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
8604 * elf/Makefile (LDFLAGS-dl.so): New variable.
8605 (libdl.so): Depend on eval.so.
8606 (distribute): Add eval.c.
8607 * elf/eval.c: New file.
8609 * time/strftime.c (strftime: do_number): Adjust P and I after sprintf
8610 in case it wrote fewer than MAXDIGITS chars.
8612 * stdio/fwrite.c (fwrite: fill_buffer): Separate flushing for last
8613 newline from flushing full buffer in loop, fix test so no fflush is
8614 done when last byte written exactly fills the buffer.
8616 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Depend on libc.so.
8618 * sysdeps/mach/hurd/Makefile (LDLIBS-c.so): Variable removed.
8619 (libc.so): Instead, give this deps on lib{mach,hurd}user.so.
8621 * elf/dl-debug.c (_dl_debug_initialize): Use LDBASE arg instead of
8622 extracting _dl_rtld_map.l_addr.
8624 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare _dl_rtld_map as
8626 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
8628 * shlib-versions (*-*-*): Set libnss_db=1.
8630 Tue Jul 2 10:44:37 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
8632 * elf/rtld.c (dl_main): Set _dl_rtld_map's DT_DEBUG location too.
8634 * rpm/template (%build): Use @prefix@ instead of always /usr.
8635 Set up configparms only if @prefix@ is in fact /usr.
8636 * rpm/Makefile ($(config)): Substitute $(prefix) for @prefix@.
8638 * elf/Makefile: Add missing endif.
8640 * nss/nss_files/files-ethers.c (ntohost): Fix db key.
8642 * nss/nss_files/files-network.c: Pass empty for new DB_LOOKUP args.
8643 (DATABASE): Define this instead of DATAFILE.
8644 * nss/nss_files/files-hosts.c: Likewise.
8645 (hostbyname): Use LOOKUP_NAME macro.
8647 * nss/nss_db/db-XXX.c: New file.
8648 * nss/Makefile (services): Add db.
8649 (libnss_db-inhibit-o): New variable.
8650 (libnss_db-routines): New variable.
8651 (distribute): Append db-XXX.c.
8652 (libnss_db.so): Depend on libdb.so and libnss_files.so.
8653 ($(libnss_db-routines:%=$(objpfx)%.c)): New static pattern rule.
8655 * nss/nss_files/files-XXX.c (DB_LOOKUP): Add KEYSIZE and KEYPATTERN
8657 (DATAFILE): New macro.
8658 * nss/nss_files/files-parse.c (GENERIC): If undefined, define to
8660 * nss/nss_files/files-rpc.c: Include GENERIC instead of "files-XXX.c".
8661 Pass db key args to DB_LOOKUP.
8662 (DATAFILE): Macro removed.
8663 (DATABASE): New macro replaces it, lacks "/etc/" prefix.
8664 * nss/nss_files/files-service.c: Likewise.
8665 * nss/nss_files/files-pwd.c: Likewise.
8666 * nss/nss_files/files-proto.c: Likewise.
8667 * nss/nss_files/files-grp.c: Likewise.
8668 * nss/nss_files/files-ethers.c: Likewise.
8670 * elf/linux-compat.c: File removed.
8671 * elf/Makefile (distribute): Remove linux-compat.c.
8672 (ld-linux.so.1): Remove target and associated variables.
8674 * sunrpc/xdr.c: Remove malloc decl.
8675 * sunrpc/portmap.c: Likewise.
8677 * sunrpc/svc_tcp.c (abort): Don't declare. Instead define as macro
8678 casting abort to fn returning bool_t.
8680 * nss/nss_files/files-parse.c [EXTERN_PARSER]: Do an extern decl of
8681 the parser function.
8682 [EXTERN_PARSER] (LINE_PARSER): Define to empty.
8683 * nss/nss_files/files-pwd.c (EXTERN_PARSER): Define it.
8684 * nss/nss_files/files-grp.c: Likewise.
8686 * Makeconfig (BUILD_CC): If undefined, define to $(CC).
8688 * sunrpc/rpc/types.h: Include stdlib.h instead of declaring malloc.
8690 * Makeconfig (built-program-cmd): Use $(rtld-installed-name) in place
8691 of ld.so so lookups for that soname find it.
8693 * nss/Makefile (libnss_dns.so): Depend on libresolv.so.
8694 (resobjdir, LDLIBS-nss_dns.so): Variables removed.
8696 * pwd/fgetpwent.c: Don't include ../nss/nss_files/files-parse.c to
8697 define parse_line function.
8698 (parse_line): #define to _nss_files_parse_pwent and
8699 add extern decl for that.
8701 * nss/nss_files/files-XXX.c (internal_getent): Return
8702 NSS_STATUS_TRYAGAIN for ERANGE error.
8704 * sysdeps/i386/strtok.S (LreturnNULL): Save current state ptr instead
8705 of null, so next round returns null again instead of bombing. Fix
8708 * nss/nss_files/files-parse.c (LINE_PARSER): Take new first arg EOLSET.
8709 Remove ; after `ENTDATA_DECL (data)'.
8710 Truncate line at strpbrk (line, EOLSET "\n").
8711 (ENTDATA_DECL): Put ; at end.
8712 (MIDLINE_COMMENTS): Macro removed.
8713 * nss/nss_files/files-ethers.c: Pass new argument.
8714 * nss/nss_files/files-hosts.c: Likewise.
8715 * nss/nss_files/files-network.c: Likewise.
8716 * nss/nss_files/files-parse.c: Likewise.
8717 * nss/nss_files/files-proto.c: Likewise.
8718 * nss/nss_files/files-rpc.c: Likewise.
8719 * nss/nss_files/files-service.c: Likewise.
8720 * grp/fgetgrent.c: Likewise.
8721 * pwd/fgetpwent.c: Likewise.
8722 * nss/nss_files/files-pwd.c: Get parse_line with extern decl, since
8723 fgetpwent.c already defines it.
8724 * nss/nss_files/files-grp.c: Likewise.
8726 * elf/dl-load.c (_dl_map_object): Use any object with matching l_name
8727 as well as any matching with l_libname. Fix DT_SONAME lookup to use
8728 string table properly.
8730 * elf/rtld.c (dl_main): Set _dl_rtld_map.l_name from _dl_argv[0] when
8731 invoked directly, and l_libname from that if PT_INTERP missing.
8732 Set l_name from l_libname only if not set from argv.
8734 * time/europe, time/northamerica: Updated from ADO 96i.
8736 Mon Jul 1 15:44:34 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
8738 * stdio-common/tst-ungetc.c: Include unistd.h.
8740 * inet/Makefile (routines): Change getnetbypt to getnetbyad.
8742 Mon Jul 1 13:32:42 1996 Miles Bader <miles@gnu.ai.mit.edu>
8744 * hurd/report-wait.c (describe_number): Make I unsigned long.
8746 * login/login.c (login): Only Frob OLD->ut_type if getutline_r
8747 actually found any entry.
8749 * login/pututline_r.c (pututline_r): If not located after any
8750 entry don't use UTMP_DATA->ubuf, and seek to the end before adding.
8751 Lock the file before stating.
8753 Mon Jul 1 12:29:50 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
8755 * nss/Makefile (databases): Change host to hosts.
8756 * nss/host-lookup.c: Renamed to nss/hosts-lookup.c.
8758 * nss/nsswitch.c (nss_parse_service_list): Use const for NAME.
8760 * nss/nss_files/files-parse.c (parse_list): Correct alignment fixup.
8762 * string/string.h (strndupa): Pass missing arg to strnlen.
8764 * inet/getnetbypt_r.c: Renamed to ...
8765 * inet/getnetbyad_r.c: this; fixed function name.
8766 * inet/getnetbypt.c: Renamed to ...
8767 * inet/getnetbyad.c: this; fixed function name.
8769 Sat Jun 29 01:08:35 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
8771 * grp/getgrgid_r.c (LOOKUP_TYPE): Define to struct group, not
8774 Fri Jun 28 23:25:35 1996 Miles Bader <miles@gnu.ai.mit.edu>
8776 * login/login.c (login): Initialize DATA so that setutent_r will
8777 actually do something.
8779 Fri Jun 28 16:53:01 1996 David Mosberger-Tang <davidm@azstarnet.com>
8781 * resolv/res_hconf.c (strndup): Remove function.
8783 * nss/nsswitch.c (nss_lookup_function): Declare loadbase and ref
8784 using ElfW() instead of Elf32_*.
8786 * sysdeps/unix/sysv/linux/alpha/init-first.h,
8787 sysdeps/unix/sysv/linux/m68k/init-first.h,
8788 sysdeps/unix/sysv/linux/i386/init-first.h: New files.
8789 * sysdeps/unix/sysv/linux/init-first.c: Use platform-dependent
8790 init-first.h to make abstract machine dependent parts of
8793 * sysdeps/unix/alpha/sysdep.h: Undo PIC-optimization of syscall
8794 error handling. It's safer that way.
8796 * sysdeps/unix/alpha/sysdep.S: Make ldgp part of the prologue.
8797 Fix by Richard Henderson.
8799 * sysdeps/alpha/dl-machine.h (elf_alpha_fix_plt): Fix
8800 typo/extraneous whitespace.
8802 * sunrpc/xdr.c (xdr_int, xdr_u_int): Use <limits.h> to test
8803 determine what integer sizes we're dealing with.
8805 Fri Jun 28 15:46:02 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu>
8807 * hurd/hurdsig.c (_hurd_internal_post_signal): In pending signal
8808 check for signal zero, repair logical sense of test by
8809 parenthesizing correctly.
8811 * hurd/hurdsig.c (_hurd_internal_post_signal): In
8812 check-for-pending signals code, release _hurd_siglock before
8813 jumping to deliver_pending.
8815 Thu Jun 27 04:04:27 1996 David Mosberger-Tang <davidm@azstarnet.com>
8817 * configure.in (config_machine): Make ELF the default even for
8818 Linux/Alpha unless a configuration of the form *-*-linux*ecoff
8821 Fri Jun 28 07:27:10 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
8823 * nss/nss_files/files-hosts.c (ENTDATA): Define it.
8824 * nss/nss_files/files-parse.c (struct parser_data): Define entdata
8825 member only #ifdef ENTDATA.
8826 (ENTDATA_DECL): New macro.
8827 (LINE_PARSER): Use it for entdata decl.
8828 (parse_list): Find the space for LIST from DATA->linebuffer instead of
8829 from the input LINE, which might not be writable buffer space.
8830 (LINE_PARSER): Use `parser_stclass' in place of `static inline'.
8831 [ENTDATA] (parser_stclass): #define to `static inline'.
8832 [!ENDATA] (parser_stclass): #define to empty.
8833 [!ENTDATA] (parse_line): #define to _nss_files_parse_ENTNAME; the
8834 function is exported to -lnss_files users.
8836 * string/strndup.c: Add missing arg.
8838 * string/string.h (strndupa): Likewise.
8839 * string/strndup.c (strndup): Always terminate the string.
8841 Thu Jun 27 14:22:31 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
8843 * stdio/Makefile (routines): Add vscanf.
8844 * stdio-common/Makefile (routines): Remove vscanf.
8845 * stdio-common/vscanf.c: Move to ...
8846 * stdio/vscanf.c: here.
8848 * rpm/Makefile (headers, install-lib, install-lib.so,
8849 versioned, install-bin, install-sbin, install-data,
8850 install-others): Add $(-VARIABLE).
8852 Fri Jun 28 02:41:08 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
8854 * nss/Makefile (databases): New variable.
8855 (routines, libnss_files-routines): Use it.
8856 (subdir-dirs): Compute from $(services).
8858 * sysdeps/unix/sysv/linux/syscalls.list (create_module, delete_module,
8859 init_module, klogctl): Use EXTRA in the "caller" column so these get
8860 added to unix-extra-syscalls and thus compiled in misc.
8862 * string/Makefile (routines): Add strndup.
8863 * string/strndup.c: New file.
8864 * string/string.h: Declare strndup.
8865 (strndupa): New macro.
8867 * string/string.h: Declare __strdup.
8868 * string/strdup.c: Deansideclized. Define __ name and weak alias.
8870 * string/string.h: Don't define memccpy as macro for [__OPTIMIZE__].
8872 Thu Jun 27 02:49:28 1996 Ulrich Drepper <drepper@cygnus.com>
8874 * catgets/gencat.c: Add casts to avoid signed<->unsigned warnings.
8876 * grp/initgroups.c (initgroups): De-ansi-fy.
8877 Move declaration of NGROUPS and GROUPS outside #if so that
8878 the code compiles for NGROUPS_MAX != 0.
8880 * inet/Makefile (headers): Add netinet/ether.h and netinet/if_ether.h.
8881 (routines): Add ether_aton, ether_aton_r, ether_hton, ether_line,
8882 ether_ntoa, ether_ntoa_r, and ether_ntoh.
8883 * inet/ether_aton.c, inet/ether_aton_r.c, inet/ether_hton.c,
8884 inet/ether_line.c, inet/ether_ntoa.c, inet/ether_ntoa_r.c,
8885 inet/ether_ntoh.c: New files. Implementation of functions to
8886 handle Ethernet address to host mapping.
8887 * inet/netinet/ether.h: New file. Declare ether_* functions.
8888 * netinet/ether.h: Wrapper around inet/netinet/ether.h for glibc
8890 * nss/ethers-lookup.c: New file. Lookup function for ethers database.
8891 * nss/Makefile (routines): Add ethers-lookup.
8892 (libnss_files-routines): Add files-ethers.
8894 * nss/getXXent_r.c: Don't define set*ent and end*ent function
8897 * nss/nss_files/files-XXX.c (internal_endent): Don't reset
8898 KEEP_STREAM every time called.
8899 (_nss_files_end): Reset KEEP_STREAM here instead.
8900 (internal_getent): If STREAM == NULL try to open instead of
8902 Use cast to prevent warning.
8903 Terminate read line in case the buffer is too small.
8905 * nss/nss_files/files-ethers.c: New file. Implementation of
8906 Ethernet adress<->hostname lookup through files interface.
8908 * stdlib/mbstowcs.c: Define based on mbsrtowcs().
8909 * stdlib/mbtowc.c: Define based on mbrtowc().
8910 * stdlib/wcstombs.c: Define based on wcsrtombs().
8911 * stdlib/wctomb.c: Define based on wcrtomb().
8913 * sunrpc/xdr.c (xdr_u_int): Avoid bogus call to
8914 unexpected_sizes_in_xdr_u_int.
8916 * sysdeps/generic/netinet/if_ether.h: New file. Generic declaration
8917 of `struct ether_addr'.
8918 * sysdeps/unix/sysv/linux/netinet/if_ether.h: New file. Linux specific
8919 declaration of `struct ether_addr'.
8921 * wcsmbs/mbrtowc.c: Handle case where argument PS is NULL.
8922 * wcsmbs/mbsrtowcs.c: Ditto.
8923 * wcsmbs/wcrtomb.c: Ditto.
8924 * wcsmbs/wcsrtombs.c: Ditto.
8926 * wcsmbs/mbsinit.c: Prepare for PS being NULL.
8928 Wed Jun 26 13:19:35 1996 Miles Bader <miles@gnu.ai.mit.edu>
8930 * hurd/get-host.c <fcntl.h>: New include.
8931 * hurd/set-host.c <fcntl.h>: New include.
8932 (_hurd_set_host_config): Include NEW in args to dir_link.
8933 Return NWROTE, not NREAD.
8935 * sysdeps/mach/hurd/getcwd.c
8936 (_hurd_canonicalize_directory_name_internal): Don't deallocate
8937 DOTID & DOTDEVID until we're finished with them (we need to keep
8938 them at least until we've fetched the next level of id ports, so
8939 that mach will be able to use the same name if they're the same).
8940 Add inner_errlose: label, which deallocates DOTID & DOTDEVID and
8941 jumps to errlose, for those places where such cleanup is needed.
8943 Wed Jun 26 01:58:49 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
8945 * nss/nss_files/files-parse.c (parse_list): Count null in EOL calc.
8947 Move DB code into separate -ldb library.
8948 * db/Makefile (extra-libs): New variable, list libdb.
8949 (routines): Renamed to libdb-routines.
8950 * shlib-versions: Add libdb=2.
8952 * nss/network-lookup.c (DEFAULT_CONFIG): New macro.
8953 * nss/host-lookup.c (DEFAULT_CONFIG): New macro.
8955 * nss/nsswitch.c (nss_parse_service_list): Use __strncasecmp instead
8956 of strncasecmp. Extend syntax to grok [!foo=bar].
8958 * sysdeps/generic/strncase.c: Define __strncasecmp with strncasecmp as
8960 * string/string.h: Declare __strncasecmp.
8962 * nss/nsswitch.c (nss_parse_file): Call __getline, not getline.
8963 (service_alias): Variable removed.
8964 (nss_parse_service_list): New function, broken out of nss_getline.
8965 Remove alias conversion; we will just use symlinks.
8966 (__nss_database_lookup): Take new string arg DEFCONFIG.
8967 If no entry exists, make one with service list parsed from that.
8968 * nss/nsswitch.h: Update protocol for __nss_database_lookup.
8969 * nss/XXX-lookup.c (DEFAULT_CONFIG): New macro, set to 0 if undefined.
8970 (DB_LOOKUP_FCT): Pass it to _nss_database_lookup.
8972 * grp/initgroups.c: Rewritten using getgrent. Handle unlimited group
8975 * sunrpc/xdr.c (xdr_int): #if 0 out unresolved references in dead code.
8977 Wed Jun 26 01:56:50 1996 Ulrich Drepper <drepper@cygnus.com>
8979 * locale/programs/locale.c (long_options): Short form of
8980 --version option is `-V'.
8981 (main): Recognize `-V' as option, not `-v'.
8982 Call `usage' instead of printing error message for illegal
8984 (usage): Document `-V'.
8986 Tue Jun 25 17:22:55 1996 Miles Bader <miles@gnu.ai.mit.edu>
8988 * sysdeps/mach/hurd/getcwd.c
8989 (_hurd_canonicalize_directory_name_internal): Initialize PARENT to
8990 THISDIR, and don't ever deallocate PARENT unless it's != THISDIR.
8992 Tue Jun 25 10:58:23 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
8994 * inet/getrpcent.c: Fix macros.
8995 * inet/getrpcent_r.c: Fix macros.
8997 * elf/dlsym.c (dlsym): Search the global scope if HANDLE is null.
8999 * elf/dl-load.c (_dl_map_object_from_fd): Initialize L.
9001 Tue Jun 25 09:55:47 1996 David Mosberger-Tang <davidm@AZStarNet.com>
9003 * catgets/gencat.c (write_out): Use %Zu to print variables of type
9005 * resolv/res_debug.c (__p_rr): Print size_t variable as %lu and
9006 cast it to (unsigned long) to make it work both on 32 and 64
9009 Sat Jun 22 13:05:25 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
9011 * locale/Makefile (distribute): Add `programs/' prefix to all
9012 files in that directory.
9014 * Makerules (distinfo-vars): Assign subdir directly so that `ifdef
9017 * MakeTAGS (sources, headers): Make them simply expanded variables
9018 so that all-dist is expanded before it is changed.
9020 Tue Jun 25 02:59:11 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
9022 * Make-dist (dist): Don't depend on crypt tar file. Remove that rule.
9023 * Makefile (subdirs): Remove crypt.
9024 * crypt: Directory removed. It will be made an independent library
9027 * Makefile (distribute): Add rpm/{Makefile,teplate,rpmrc}.
9029 * inet/getrpcent_r.c (DATABASE_NAME): New macro.
9031 * inet/getrpcbynumber.c (BUFLEN): New macro.
9033 * configure.in (--no-whole-archive check): Remove backslashes in cmd.
9035 * Makefile (headers): Add libc-lock.h.
9036 * sysdeps/stub/libc-lock.h: New file.
9038 * inet/getrpcbynumber.c: Remove _r typo.
9040 * elf/dl-load.c (_dl_map_object): Fix typo in last change.
9042 * nss/nss_files/files-parse.c (parse_list): Reset ELT for elements
9045 * nss/nsswitch.c (__nss_database_lookup): If nsswitch.conf is missing
9046 or doesn't mention DATABASE, use an internal default equivalent to
9047 "DATABASE: compat [NOTFOUND=return] dns [NOTFOUND=return] files".
9048 (nss_lookup_function): Call nss_new_service as needed.
9049 (nss_parse_file): Don't bother calling nss_new_service here.
9051 * grp/fgetgrent.c (LINE_PARSER): Pass zero SWALLOW arg for fields.
9052 * pwd/fgetpwent.c: Likewise.
9054 * malloc/malloc.h: Declare malloc_object_allocated_size, malloc_walk.
9055 * malloc/Makefile (dist-routines): Add malloc-size, malloc-walk.
9056 * malloc/malloc-size.c: New file.
9057 * malloc/malloc-walk.c: New file.
9059 * malloc/malloc-find.c (malloc_find_object_address): Return null if
9060 PTR is outside the heap.
9062 * elf/dl-load.c (_dl_map_object): If the requested name matches the
9063 soname of a loaded object, use that object.
9065 Mon Jun 24 19:57:01 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
9067 * Makefile (subdirs): Add nss.
9069 * inet/Makefile (routines): Add getrpcent, getrpcbyname,
9070 getrpcbynumber, getrpcent_r, getrpcbyname_r, getrpcbynumber_r.
9071 * inet/getrpcbynumber_r.c: New file.
9072 * inet/getrpcbynumber.c: New file.
9073 * inet/getrpcbyname.c: New file.
9074 * inet/getrpcbyname_r.c: New file.
9075 * inet/getrpcent_r.c: New file.
9076 * inet/getrpcent.c: New file.
9077 * nss/rpc-lookup.c: New file.
9078 * nss/nss_files/files-rpc.c: New file.
9079 * nss/Makefile (routines): Add rpc-lookup.
9080 (libnss_files-routines): Add files-rpc.
9081 * sunrpc/Makefile (routines): Remove getrpcent.
9082 * sunrpc/getrpcent.c: File removed.
9084 * nss/getXXent_r.c (REENTRANT_GETNAME): Clear NO_MORE when NIP is
9087 * Makeconfig (rpath-link): Add $(nssobjdir).
9088 (nssobjdir): New variable.
9090 * Makerules: Move shared library building before objects rules, so
9091 versions are known before extra-lib.mk gets included.
9092 * extra-lib.mk (lib-noranlib): Depend on the shared object too.
9094 * pwd/getpwuid.c: Rewritten using nss.
9095 * pwd/getpwnam.c: Likewise.
9096 * pwd/getpwent.c: Likewise.
9097 * grp/getgrnam.c: Likewise.
9098 * grp/getgrgid.c: Likewise.
9099 * grp/getgrent.c: Likewise.
9100 * pwd/Makefile (routines): Add getpwent_r, getpwnam_r, getpwuid_r.
9101 * pwd/getpwent_r.c: New file.
9102 * pwd/getpwnam_r.c: New file.
9103 * pwd/getpwuid_r.c: New file.
9104 * grp/Makefile (routines): Add getgrent_r, getgrgid_r, getgrnam_r.
9105 * grp/getgrnam_r.c: New file.
9106 * grp/getgrgid_r.c: New file.
9107 * grp/getgrent_r.c: New file.
9108 * grp/Makefile (routines): Remove grpopen, grpread.
9109 * pwd/Makefile (routines): Remove pwdopen, pwdread.
9110 * grp/grpopen.c, grp/grpread.c, pwd/pwdopen.c, pwd/pwdread.c: Removed.
9112 * pwd/fgetpwent.c: Rewritten using files-parse.c.
9113 * grp/fgetgrent.c: Likewise.
9115 * nss/Makefile (routines): Add grp-lookup and pwd-lookup.
9116 * nss/pwd-lookup.c, nss/grp-lookup.c: New files.
9117 * nss/nss_files/files-grp.c: New file.
9118 * nss/nss_files/files-pwd.c: New file.
9120 * nss/Makefile (subdir-dirs): New variable; use it in vpath.
9122 * nss/nss_files/files-parse.c: New file.
9123 * nss/nss_files/files-XXX.c: New file.
9124 * nss/nss_files/files-hosts.c, nss/nss_files/files-proto.c,
9125 nss/nss_files/files-service.c, nss/nss_files/files-network.c:
9126 Rewritten using them.
9128 * nss/Makefile (libnss_files-routines): Remove files-host.
9129 Add files-hosts, files-grp, files-pwd.
9131 * nss/nss_dns/dns-network.c: Don't include <pthread.h>.
9133 Mon Jun 24 22:39:12 1996 Richard Henderson <rth@tamu.edu>
9135 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
9136 A .plt entry now loads the .rela.plt offset directly rather
9137 than making us calculate it.
9139 Sun Jun 23 15:24:05 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
9141 * time/Makefile ($(installed-localtime-file) rule): Do
9142 $(make-target-directory) first.
9144 * resolv.h: Fix wrapper for resolv/resolv.h.
9146 * configure.in (ld --no-whole-archive check): Use AC_TRY_COMMAND.
9147 Compile dummy file and pass -nostdlib -nostartfiles so as not to
9148 require installed libraries.
9150 * shlib-versions (*-*-*): Set libresolv=2, libnss_files=1,
9153 Sun Jun 23 19:42:05 1996 Ulrich Drepper <drepper@cygnus.com>
9155 * resolv/Makefile (distribute): Remove res_hconf.h; add mapv4v6addr.h
9156 and mapv4v6hostent.h.
9157 (routines): Move res* and gethnamaddr into libresolv-routines.
9158 (libresolv-routines): New variable, put them there.
9159 (extra-libs): New variable, list libresolv.
9160 (CPPFLAGS): Add -D for get*by* to res_get*by*.
9162 * resolv/netdb.h (_PATH_NSSWITCH_CONF): New macro.
9164 * inet/herrno.c: New file.
9166 * resolv/res_init.c: Remove res_hconf calls.
9168 * nss/Makefile, nss/XXX-lookup.c, nss/file-lookup.c,
9169 nss/getXXbyYY.c, nss/getXXbyYY_r.c, nss/getXXent.c,
9170 nss/getXXent_r.c, nss/host-lookup.c, nss/network-lookup.c,
9171 nss/nsswitch.c, nss/nsswitch.h, nss/proto-lookup.c,
9172 nss/service-lookup.c: New files. Implementation of name
9173 service switch, following the approach in Solaris.
9174 Interface specification and general structure inspired by Peter
9175 Eriksson <pen@lysator.liu.se>.
9176 * nss/nss_files/files-host.c, nss/nss_files/files-network.c,
9177 nss/nss_files/files-proto.c, nss/nss_files/files-service.c:
9178 Implementation of libnss_files.so module for file based databases
9180 * nss/nss_dns/dns-host.c, nss/nss_dns/dns-network.c: Implementation
9181 if libnss_dns.so module for DNS name lookup in NSS service.
9183 * inet/getproto.c, inet/getprtent.c, inet/getprtname.c,
9184 inet/getservent.c, inet/getsrvbynm.c, inet/getsrvbypt.c:
9185 Changed to serve as interface to NSS.
9186 * inet/gethstbyad.c, inet/gethstbyad_r.c, inet/gethstbynm.c,
9187 inet/gethstbynm2.c, inet/gethstbynm2_r.c, inet/gethstbynm_r.c,
9188 inet/gethstent.c, inet/gethstent_r.c, inet/getnetbynm.c,
9189 inet/getnetbynm_r.c, inet/getnetbypt.c, inet/getnetbypt_r.c,
9190 inet/getnetent.c, inet/getnetent_r.c, inet/getproto_r.c,
9191 inet/getprtent_r.c, inet/getprtname_r.c, inet/getservent_r.c,
9192 inet/getsrvbynm_r.c, inet/getsrvbypt_r.c: New files. Implement
9193 interfaces to NSS, including reentrant functions.
9195 * resolv/getnetbyaddr.c, resolv/getnetbyname.c, resolv/getnetent.c,
9196 resolv/sethostent.c: Removed: Obsoleted by NSS.
9198 * resolv/mapv4v6addr.h, resolv/mapv4v6hostent.h: Extracted from
9199 gethnamaddr.c. These private functions are now used in more
9202 * resolv/inet_pton.c, resolv/gethnamaddr.c: Updated to bind-4.9.4-T5B.
9204 Sat Jun 22 16:49:47 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
9206 * rpm/Makefile ($(config)): Make sure the word list in the for
9207 loop is syntactically non-empty.
9209 Sat Jun 22 21:29:52 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
9211 * Version 1.92 test release.
9213 Sat Jun 22 23:30:07 1996 David Mosberger-Tang <davidm@azstarnet.com>
9215 * sysdeps/unix/sysv/linux/syscalls.list (ksyslog_ctl): Rename
9216 to klogctl to match prototype in sys/klog.h.
9218 * sysdeps/posix/libc_fatal.c: Add include of <string.h>.
9219 * sysdeps/unix/sysv/linux/gethostid.c: Ditto.
9221 * sysdeps/posix/getcwd.c (__canonicalize_directory_name_internal):
9222 Remove. Code is now part of __getcwd again. The old function
9223 never really worked for anything but THISDIR==".".
9225 * sysdeps/alpha/Makefile (CFLAGS-rtld.c): Add -mbuild-constants
9226 only when building ELF version of library.
9228 * libio/libioP.h (_IO_vscanf): Add prototype.
9230 * posix/unistd.h (syscall): Change sysno arg and return value
9233 Sat Jun 22 10:44:09 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
9235 * version.h (VERSION): Updated to 1.92.
9237 * misc/Makefile (headers): Add ar.h.
9238 * misc/ar.h: New file.
9240 * config.make.in (BUILD_CC): New variable.
9241 * configure.in: Check for BUILD_CC if $host != $build.
9243 * posix/glob.c: Include <alloca.h> only [HAVE_ALLOCA_H], not [sparc].
9245 * Makerules [! objects] (subdir_lib): Depend on the stamp$o files.
9246 (stamp$o files): New targets, create them empty, no deps.
9248 * rpm/template (Source): New field.
9249 (%prep, %build, %install): New sections.
9250 (%files): Add %doc FAQ NEWS NOTES README.
9251 * rpm/rpmrc (builddir): Removed.
9253 Fri Jun 21 00:27:51 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
9255 * elf/dl-load.c (_dl_map_object_from_fd): Fix mapping and l_phdr
9256 guessing to not assume p_vaddr of first load cmd is zero.
9258 * sysdeps/sparc/elf/start.S: New file.
9259 * sysdeps/sparc/dl-machine.h: New file.
9261 * posix/fnmatch.c (fnmatch): Fix \*[*?]+ case to increment name ptr
9262 only for ?s, not for *s. Fix from Chet Ramey.
9264 Fixes thanks to Raja R Harinath <harinath@cs.umn.edu>:
9265 * sysdeps/unix/sysv/utmpbits.h: Define _HAVE_UT_{TYPE,ID,TV,HOST}.
9266 Use __{BEGIN,END}_DECLS.
9267 (_PATH_WTMP, _PATH_UTMP, _PATH_LASTLOG): New macros.
9268 * login/utmp.h (UTMP_FILE, UTMP_FILENAME, WTMP_FILE, WTMP_FILENAME):
9269 New macros, moved here from sysdeps/gnu/utmpbits.h.
9270 * sysdeps/generic/utmpbits.h (_HAVE_UT_HOST): Define it.
9271 * sysdeps/gnu/utmpbits.h (_HAVE_UT_HOST): Likewise.
9272 * login/logout.c: Use ut_host only #if _HAVE_UT_HOST.
9273 Use sizeof instead of UT_*SIZE.
9274 * login/logwtmp.c: Likewise.
9276 * misc/tsearch.c (tdelete): Define as weak alias to __tdelete.
9278 * version.c (banner): Add trailing newline.
9280 * login/utmp.h: Declare login_tty.
9282 Thu Jun 20 21:19:07 1996 Richard Henderson <rth@tamu.edu>
9284 * sysdeps/alpha/dl-machine.h (elf_alpha_fix_plt):
9285 Changed to a 12-byte PLT entry to remove dependency on $gp.
9286 Take a new got_addr parameter.
9287 (elf_machine_rela): Pass the new parameter.
9288 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Do arithmetic for 12-byte PLT.
9289 (RTLD_START): Do normal linkage with program entry.
9291 Thu Jun 20 12:18:21 1996 Miles Bader <miles@gnu.ai.mit.edu>
9293 * sysdeps/mach/hurd/brk.c (_hurd_brk): Initialize to 0.
9295 * hurd/getuids.c (getuids): New weak link to __getuids.
9297 Wed Jun 19 10:21:24 1996 Miles Bader <miles@gnu.ai.mit.edu>
9299 * hurd/hurdlookup.c (__hurd_file_name_lookup_retry,
9300 __hurd_file_name_lookup, __hurd_file_name_split): Add & use LOOKUP
9302 Rename nested function lookup to lookup_op.
9303 (__file_name_lookup, __file_name_lookup_under):
9304 Pass 0 for lookup arg to __hurd_file_name_lookup.
9305 (__file_name_split): Likewise for __hurd_file_name_split.
9306 * hurd/path-lookup.c (hurd_file_name_path_lookup): Add LOOKUP argument.
9307 Rename nested function lookup to scan_lookup.
9308 (file_name_path_lookup): Pass 0 for lookup arg to
9309 hurd_file_name_path_lookup.
9310 * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup,
9311 __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry:
9312 __hurd_file_name_split, hurd_file_name_split, hurd_file_name_lookup):
9313 Add LOOKUP argument.
9314 * sysdeps/mach/hurd/access.c (__access): Pass 0 lookup arg to
9315 __hurd_file_name_lookup.
9317 Mon Jun 17 19:09:49 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
9319 * Make-dist (+sysdeps): Move wildcard inside loop to avoid consing
9320 up a huge list just to discard most of it.
9322 * configure.in (sysnames): Avoid fgrep by using the case shell
9325 * Makeconfig (config.status): Fix dependency on Implies files.
9327 Wed Jun 19 01:27:57 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
9329 * math/Makefile (distribute): Add ieee-math.c.
9331 Wed Jun 19 03:24:58 1996 Ulrich Drepper <drepper@cygnus.com>
9333 * locale/codeset_name.c: New file. Provide function for information
9334 about currently used character set.
9335 * locale/Makefile (routines): Add codeset_name.
9336 * locale/langinfo.h (_NL_CTYPE_CODESET_NAME): Add new constant.
9337 * locale/localeinfo.h: Change magic number because of incompatible
9339 * locale/C-ctype.c: Add initializer for new field `codeset_name'.
9340 * locale/programs/ld-ctype.c: Implement handling of `codeset_name'.
9342 * locale/programs/locfile.c: Don't depend in pre-2.0 Linux specific
9343 name `MAX_IOVEC'. Instead use standard name `UIO_MAXIOV'.
9345 * locale/setlocale.c (setlocale): Initialize local variables to
9348 Thu Jun 13 17:25:11 1996 David Mosberger-Tang <davidm@azstarnet.com>
9350 * sysdeps/generic/memcmp.c: Add prototype decls for internal fns.
9352 * locale/programs/locale.c: Include string.h.
9354 * sunrpc/xdr_stdio.c (xdrstdio_getlong), sunrpc/xdr_rec.c
9355 (xdrrec_getlong), sunrpc/xdr_mem.c (xdrmem_getlong): Make sure
9356 appropriate sign-extension is performed on machines with
9359 * sunrpc/xdr.c (xdr_int, xdr_u_int): If sizeof(long)==8 and
9360 sizeof(int)<sizeof(long), we need to go through a temporary
9363 * locale/programs/ld-numeric.c: Include <alloca.h>
9365 * libio/stdio.h (__libc_fatal): Add prototype.
9367 * libio/cleanup.c: Use __P() to declare prototype when __STDC__ is
9370 * libio/iopopen.c (read_or_write, parent_end, child_end): Declare
9371 volatile to avoid "might get clobbered by longjmp" warning.
9373 * features.h (__KERNEL_STRICT_NAMES): Define __KERNEL_STRICT_NAMES
9374 unless _LOOSE_KERNEL_NAMES is in effect (which, with high
9375 probability is a sure loser).
9376 * sysdeps/unix/sysv/linux/gnu/types.h (__KERNEL_STRICT_NAMES): Remove.
9378 * sysdeps/unix/bsd/osf/alpha/start.S (errno): Removed.
9379 * sysdeps/unix/sysv/linux/alpha/start.S: Ditto.
9381 * misc/paths.h (_PATH_MAN): Change from /usr/share/man to /usr/man
9382 to be Linux FSSTND compliant.
9384 Mon Jun 10 17:50:31 1996 David Mosberger-Tang <davidm@azstarnet.com>
9386 * sysdeps/unix/sysv/linux/alpha/pipe.S: Use PSEUDO.
9388 * sysdeps/unix/sysv/linux/alpha/sysdep.S,
9389 sysdeps/unix/sysv/linux/alpha/brk.S,
9390 sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S,
9391 sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S,
9392 sysdeps/unix/sysv/linux/alpha/llseek.S,
9393 sysdeps/unix/sysv/linux/alpha/sigsuspend.S,
9394 sysdeps/unix/sysv/linux/alpha/syscall.S: Rename syscall_error to
9395 __syscall_error to avoid intruding application name space.
9397 * sysdeps/unix/sysv/linux/alpha/sysdep.h: Rename __NR_get?id
9398 to SYS_get?id so that syscall stubs in sysdeps/unix define
9399 these syscalls in terms of getxpid/getxuid/getxgid.
9401 * sysdeps/unix/_exit.S, sysdeps/unix/getegid.S,
9402 sysdeps/unix/geteuid.S, sysdeps/unix/getppid.S,
9403 sysdeps/unix/execve.S, sysdeps/unix/fork.S,
9404 sysdeps/unix/syscall.S: Terminate syscall with PSEUDO_END.
9406 * sysdeps/unix/make-syscalls.sh, sysdeps/unix/sysdep.h
9407 (PSEUDO_END): Rename END() to PSEUDO_END().
9409 * sysdeps/unix/alpha/sysdep.h: Move error-handling code in PSEUDO
9410 to PSEUDO_END to improve branch-prediction. Include .frame
9411 directive to make syscalls debugabble.
9412 (PSEUDO_END): New macro.
9414 * sysdeps/unix/alpha/sysdep.h, sysdeps/alpha/bb_init_func.S,
9415 sysdeps/unix/sysv/linux/alpha/brk.S: Use ldiq instead of ldi since
9416 latter is illegal under DEC Unix.
9418 * sysdeps/unix/alpha/sysdep.S: Renamed from
9419 sysdeps/unix/sysv/linux/alpha/sysdep.S. This file works for OSF/1
9421 * sysdeps/unix/bsd/osf/alpha/sysdep.S: Remove (note that the
9422 EWOULDBLOCK -> EAGAIN mapping was unnecessary since
9423 EWOULDBLOCK==EAGAIN under DEC Unix and Linux/Alpha).
9425 * sysdeps/alpha/divrem.h: Use retaddr instead of ra as the return
9426 address register in the .frame directive.
9428 * sysdeps/alpha/copysign.c: Remove.
9430 * sunrpc/rpc/types.h: Include <sys/param.h> and <netinet/in.h> to
9431 avoid RPC definitions of INADDR_LOOPBACK and/or MAXHOSTNAMELEN.
9433 * errno.h: Move __END_DECLS to correct place to make file
9434 compilable under c++.
9436 * dirent/dirent.h: Document _DIRENT_HAVE_D_OFF macro. Define
9437 d_ino only if <direntry.h> hasn't defined d_fileno.
9439 * configure.in (HAVE_ASM_WEAKEXT_DIRECTIVE): Reverse order of
9440 arguments to weakext to make .weakext detection work on ECOFF systems.
9442 * FAQ: Add Linux/Alpha to list of supported platforms. Mention
9443 that _validuser() has been replaced by __ivaliduser().
9445 Thu Jun 6 21:39:38 1996 David Mosberger-Tang <davidm@azstarnet.com>
9447 * sysdeps/unix/bsd/sun/sunos4/tcsetattr.c (tcsetattr): Declare cmd
9448 as unsigned long, not as int (to avoid incorrect int->long
9453 See ChangeLog.5 for earlier changes.