1 Thu Jun 6 00:02:15 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
3 * locale/Makefile: Add vpath for %.gperf to programs.
5 * Make-dist (+tsrcs): Variable removed.
6 (dist): Process $^ here instead of using $(+tsrcs).
8 * sysdeps/unix/sysv/linux/Makefile (install-others): Don't set.
9 ($(includedir)/sys/syscall.h): Target removed.
10 (sysdep_headers): Add syscall-list.h.
11 ($(objpfx)syscall-%.[dh]): New rule to build syscall-list.[dh].
12 (generated): Add those.
13 * sysdeps/unix/sysv/linux/syscall.h: Include <syscall-list.h>.
15 Wed Jun 5 15:57:28 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
17 * misc/sys/syscall.h: New file.
18 * misc/Makefile (headers): Add sys/syscall.h.
20 * time/tzfile.h, time/private.h, time/zdump.c, time/zic.c,
21 time/africa, time/asia, time/australasia, time/europe,
22 time/northamerica, time/southamerica: Updated from ADO 96h.
24 * Make-dist (all-headers): Filter $(sysdep_headers) out of $(headers).
25 (try-sysdeps, +sysdep-names): Check sysdeps/libm-ieee754 too.
27 * Makerules (distinfo-vars): Add sysdep_headers.
28 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Append to
29 this instead of $(headers).
30 * sysdeps/unix/sysv/linux/alpha/Makefile: Likewise.
31 * sysdeps/unix/sysv/linux/i386/Makefile: Likewise.
33 * Make-dist [subdirs-dirs]: Don't prefix $(subdir-dirs) with
34 $(subdir); we are already there.
36 * sysdeps/unix/sysv/sysv4/solaris2/sparc/Dist: Removed.
38 * mach/Machrules: Undo last change.
39 (mach-generated): List .uh and .__h files only for $(user-interfaces),
40 not for each .h in $(interface-headers); server-interfaces have no .uh
43 Wed Jun 5 15:42:51 1996 Miles Bader <miles@gnu.ai.mit.edu>
45 * mach/Machrules (%_server.uh, %_server.__h): New rules, so that the
46 corrsponding .defs file with without the `_server' will be used.
48 * mach/Makefile (mach/mach_interface.defs): Renamed from
50 (mach/memory_object_user.defs): New variable.
52 Wed Jun 5 15:10:58 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
54 * Make-dist [subdir-dirs]: Set vpath for %, not just %.c.
56 * locale/Makefile (subdir-dirs): New variable.
58 Wed Jun 5 00:01:19 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
60 * Makerules (distinfo-vars): Add sysdep_routines.
62 * mach/Machrules (include-%.defs): New canned sequence.
63 Change all uses of `#include <$*.defs>' in cmds to use it.
64 * mach/Makefile (mach_interface.defs): New variable, set to mach.defs.
66 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle RESOLVE being
67 null in all cases but R_386_COPY.
70 Wed Jun 5 00:01:19 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
72 * sysdeps/unix/bsd/ultrix4/mips/Dist: Updated.
73 * sysdeps/unix/bsd/ultrix4/Dist: Removed.
74 * sysdeps/unix/sysv/sysv4/Dist: Updated.
75 * sysdeps/unix/sysv/sco3.2.4/Dist: Removed.
76 * sysdeps/unix/sysv/irix4/Dist: Updated.
77 * sysdeps/unix/sysv/linux/i386/Dist: Removed.
78 * sysdeps/unix/sysv/Dist: Updated.
79 * sysdeps/unix/bsd/sun/sunos4/Dist: Removed.
80 * sysdeps/unix/bsd/sony/newsos4/Dist: Removed.
81 * sysdeps/gnu/Dist: New file.
82 * sysdeps/alpha/Dist: Updated.
83 * sysdeps/mach/hurd/Dist: Updated.
85 * Make-dist [subdir-dirs]: Set a vpath for %.c.
87 * Make-dist (README): Fix typo in cvs cmd.
89 * elf/dl-lookup.c (_dl_lookup_symbol): Fix typos in last change.
90 Comment out ref to nonexistent _dl_close.
92 Tue Jun 4 21:01:20 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
94 * math/Makefile (libm-support, libm-calls): New variables.
95 (libm-routines): Construct this from those.
96 (calls): New variable.
97 (routines): Construct this from it.
99 * resolv/res_debug.c: Add missing #include <ctype.h>.
101 * sysdeps/unix/getlogin.c: Must pass struct utmp ptr to getutline_r.
102 * sysdeps/unix/getlogin_r.c: Likewise.
104 * sysdeps/libm-ieee754/w_hypotl.c: Fix typo.
106 * sysdeps/libm-ieee754/w_cabsl.c: __cabsl_complex -> __cabs_complexl
108 * math/Makefile (long-m-routines): Define recursive variable as
109 $(long-m-$(long-double-fcts)).
110 (long-m-yes): Put list of routines here.
111 (long-c-routines, long-c-yes): Likewise.
113 * sysdeps/unix/sysv/linux/schedbits.h: File removed.
115 * sysdeps/i386/Makefile (long-double-fcts): New variable, set to yes.
116 * sysdeps/m68k/Makefile: Likewise.
118 * math/Makefile [$(long-double-fcts)!=yes] (CPPFLAGS): Append
121 * sysdeps/mach/hurd/getlogin_r.c: New file.
123 Wed Jun 5 02:11:30 1996 Ulrich Drepper <drepper@cygnus.com>
125 * io/Makefile (routines): Add ttyname_r.
127 * resolv/res_debug.c, resolv/resolv.h: Update from bind-4.3.4-T4A.
129 * sysdeps/libm-i387/e_asinl.S, sysdeps/libm-i387/e_atan2l.S,
130 sysdeps/libm-i387/e_expl.S, sysdeps/libm-i387/e_fmodl.S,
131 sysdeps/libm-i387/e_log10l.S, sysdeps/libm-i387/e_logl.S,
132 sysdeps/libm-i387/e_remainderl.S, sysdeps/libm-i387/e_scalbl.S,
133 sysdeps/libm-i387/e_sqrtl.S, sysdeps/libm-i387/s_atanl.S,
134 sysdeps/libm-i387/s_cosl.S, sysdeps/libm-i387/s_ilogbl.S,
135 sysdeps/libm-i387/s_log1pl.S, sysdeps/libm-i387/s_logbl.S,
136 sysdeps/libm-i387/s_scalbnl.S, sysdeps/libm-i387/s_sinl.S,
137 sysdeps/libm-i387/s_tanl.S: New files. i387 assembler versions
138 of `long double' math functions.
140 * sysdeps/libm-ieee754/k_standard.c: Add handling for errors
141 in long double functions.
143 * sysdeps/libm-ieee754/s_ilogbl.c, sysdeps/libm-ieee754/s_logbl.c,
144 sysdeps/libm-ieee754/s_modfl.c: New files. Generic versions
145 of `long double' math functions.
147 * sysdeps/libm-ieee754/s_isinf.c [NO_LONG_DOUBLE]: Add string
150 * sysdeps/libm-ieee754/w_acoshl.c, sysdeps/libm-ieee754/w_acosl.c,
151 sysdeps/libm-ieee754/w_asinl.c, sysdeps/libm-ieee754/w_atan2l.c,
152 sysdeps/libm-ieee754/w_atanhl.c, sysdeps/libm-ieee754/w_cabsl.c,
153 sysdeps/libm-ieee754/w_coshl.c, sysdeps/libm-ieee754/w_dreml.c,
154 sysdeps/libm-ieee754/w_expl.c, sysdeps/libm-ieee754/w_fmodl.c,
155 sysdeps/libm-ieee754/w_gammal.c, sysdeps/libm-ieee754/w_gammal_r.c,
156 sysdeps/libm-ieee754/w_hypotl.c, sysdeps/libm-ieee754/w_j0l.c,
157 sysdeps/libm-ieee754/w_j1l.c, sysdeps/libm-ieee754/w_jnl.c,
158 sysdeps/libm-ieee754/w_lgammal.c, sysdeps/libm-ieee754/w_lgammal_r.c,
159 sysdeps/libm-ieee754/w_log10l.c, sysdeps/libm-ieee754/w_logl.c,
160 sysdeps/libm-ieee754/w_powl.c, sysdeps/libm-ieee754/w_remainderl.c,
161 sysdeps/libm-ieee754/w_scalbl.c, sysdeps/libm-ieee754/w_sinhl.c,
162 sysdeps/libm-ieee754/w_sqrtl.c: New files. Wrapper functions
163 around long double function implementations.
165 * sysdeps/posix/ttyname_r.c (ttyname_r): Use _D_EXACT_NAMLEN
166 to determine length of directory entry name.
168 * posix/Makefile (routines): Add getlogin_r.
169 * posix/unistd.h: Add prototype for getlogin_r.
170 * sysdeps/stub/getlogin_r.c: New file. Reentrant version of
171 getlogin function, specified in P1003.1c/D6. Stub version.
172 * sysdeps/unix/getlogin.c (getlogin): Use ttyname_r instead of
173 ttyname. This avoids saving and restoring the old content.
174 Also use setutent_r, getutline_r and endutent_r instead of
175 accing UTMP file directly.
176 * sysdeps/unix/getlogin_r.c: New file. Reentrant version of
177 getlogin function, specified in P1003.1c/D6.
179 Tue Jun 4 20:10:09 1996 J.T. Conklin <jtc@cygnus.com>
181 * sysdeps/libm-i387/s_finitef.S: Fix mask for exponent.
183 Tue Jun 4 18:57:57 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
185 * elf/dl-lookup.c (_dl_lookup_symbol): Grok magical undefined symbols
186 _GNU_libc_dl_{open,close,symbol} and resolve them to dl functions.
188 * elf/rtld.c (rtld_map): Renamed to _dl_rtld_map, made global.
189 * elf/link.h: Declare _dl_rtld_map.
191 * elf/dl-lookup.c (_dl_symbol_value): New function.
192 * elf/link.h: Declare it.
194 * elf/dladdr.c: Remove #include <setjmp.h>, we don't use it.
196 * shlib-versions: Set libdl=2.
198 * elf/dl-deps.c (_dl_map_object_deps): Use a linked list of alloca'd
199 elements and then scan it to fill the single malloc'd array, instead
200 of using realloc to grow the array in the first pass. _dl_map_object
201 may do some mallocs that break our stream of reallocs, and the minimal
202 realloc can't handle that.
204 * elf/dl-init.c (_dl_init_next): Take argument, link_map whose
205 searchlist describes the piece of the DT_NEEDED graph to be
207 * elf/link.h: Update prototype.
208 * sysdeps/i386/dl-machine.h (RTLD_START): Pass _dl_loaded as argument
210 * sysdeps/m68k/dl-machine.h: Likewise.
211 * elf/dl-deps.c (_dl_open): Pass new object as arg to _dl_init_next.
213 * elf/link.h (struct link_map): Add `l_reserved' member, soaking up
214 extra bits in last byte.
215 * elf/dl-deps.c (_dl_map_object_deps): Use that for mark bit to avoid
216 putting dup elts in search list.
218 * elf/dlclose.c: Use MAP->l_searchlist to find deps to close.
220 * elf/dlsym.c: Don't tweak linked list. Scope array given to
221 _dl_lookup_symbol does the right thing.
223 * elf/Makefile (subdir_lib): Change this target to lib-noranlib.
224 (lib-noranlib): Depend on on $(extra-objs).
226 * errno.h: Move __END_DECLS out of #ifdef's so it matches
229 Tue Jun 4 02:25:44 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
231 * stdio-common/vfprintf.c [USE_IN_LIBIO] (size_t): Don't define as
232 macro. _IO_size_t is just an alias for the real size_t anyway.
234 * elf/Makefile (libdl-routines): Add dladdr.
235 * elf/dladdr.c: New file.
236 * elf/dlfcn.h (Dl_info): New typedef.
237 (dladdr): Declare it.
239 * sysdeps/libm-i387/s_finite.S: Use `setne' instead of `setnel'.
241 * intl/l10nflist.c: Fix conditional on #include <argz.h>.
243 * libio/stdio.h (FOPEN_MAX, FILENAME_MAX, TMP_MAX, L_tmpnam): Macros
244 removed. Instead, include <stdio_lim.h>.
246 * libio/_G_config.h: New file.
247 * libio/Makefile (headers): Add _G_config.h.
249 * MakeTAGS (po/errlist.pot): Extract from sysdeps/gnu/errlist.c.
251 * sysdeps/unix/sysv/linux/gnu/types.h (__KERNEL_STRICT_NAMES): Define
252 this macro too; current Linux kernels test that instead of
253 _LINUX_TYPES_DONT_EXPORT.
255 * elf/linux-compat.c (_init): Pass reloc_addr arg to _dl_lookup_symbol.
257 * elf/dl-lookup.c (_dl_lookup_symbol): Use l_searchlist.
259 * elf/dl-deps.c: New file.
260 * elf/Makefile (rtld-routines): Add dl-deps.
261 * elf/link.h: Declare _dl_map_object_deps, _dl_open.
262 * elf/rtld.c (dl_main): Use _dl_map_object_deps.
263 * elf/dlopen.c: Use _dl_open.
265 * elf/rtld.c (dl_main): Remove BEFORE_RTLD variable and list
266 frobnication based on its value. Detach RTLD_MAP from the chain if
267 its l_opencount is zero after loading deps.
269 * elf/dlfcn.h (RTLD_BINDING_MASK): New macro.
271 * elf/link.h (struct link_map): Replace l_deps_loaded flag member with
272 `struct link_map **l_searchlist' and `unsigned int l_nsearchlist'.
273 * elf/dl-lookup.c (_dl_lookup_symbol): Make SYMBOL_SCOPE arg an array
274 of two link_map ptrs. Search the maps in the l_searchlist of each
275 elt that is not null.
276 * elf/dl-reloc.c (_dl_relocate_object): Pass proper SCOPE array.
277 * elf/dl-runtime.c: Likewise.
278 * elf/dlsym.c: Likewise.
279 * elf/rtld.c (dl_main): Likewise.
281 * elf/dl-minimal.c (realloc): Support realloc of the block most
282 recently returned by the minimal malloc.
284 Tue Jun 4 00:16:03 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
286 * sysdeps/gnu/errlist.awk: Produce N_("..."), not _N("...").
288 * intl: Updated from gettext-0.10.13.
289 * intl/localealias.c, intl/dcgettext.c [_LIBC]: Define HAVE_ALLOCA.
291 * signal/siggetmask.c: New file. Wrapper around sigblock with
292 link_warning about obsolescence.
293 * signal/Makefile (routines): Add siggetmask.
295 * sysdeps/gnu/errlist.awk: New file, adapted from ...
296 * sysdeps/mach/hurd/errlist.awk: File removed, above file replaces it.
297 * sysdeps/mach/hurd/Makefile (errlist.c): Target removed.
298 * sysdeps/gnu/Makefile: New file.
299 (sysdeps/gnu/errlist.c): Make the errlist.c generation rule into this.
301 Mon Jun 3 21:03:54 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
303 * manual/errno.texi (Error Codes): Add placeholder items for missing
304 Linux/i386 errno codes, with perror text but no documentation.
305 Some existing perror texts changed.
307 * malloc/mcheck.c (freehook, reallochook): Handle null pointer args.
309 * hurd/hurdsig.c (_hurd_internal_post_signal): When setting ACT to
310 `ignore, resume the thread if SS_SUSPENDED, regardless of old action.
312 Sun Jun 2 20:14:30 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
314 * locale/programs/linereader.c (lr_open): Don't pass NULL to
315 xstrdup; fix memory leak.
316 (lr_close): Fix memory leak.
318 Mon Jun 3 15:58:22 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu>
320 * hurd/hurdsig.c (_hurd_internal_post_signal): When turning the action
321 for a HANDLE signal to IGNORE because the signal is blocked, clean
322 up any pending suspension left over from a call to resume.
324 Mon Jun 3 00:30:35 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
326 * elf/dl-lookup.c (_dl_lookup_symbol): Take new arg RELOC_ADDR and
327 don't allow a defn resolving to that address.
329 * elf/link.h: Update prototype and comment.
330 * elf/dl-runtime.c (fixup): Define local `resolve' function and pass
331 it to elf_machine_relplt.
332 * elf/dl-reloc.c (_dl_relocate_object: resolve): Take new arg
333 RELOC_ADDR and pass it through to _dl_lookup_symbol.
334 * elf/do-rel.h (elf_dynamic_do_rel): Pass RESOLVE to elf_machine_rel
335 instead of calling it ourselves and passing its results.
336 (elf_dynamic_do_rel): RESOLVE fn takes new arg RELOC_ADDR.
337 * elf/rtld.c (dl_main): Pass 0 for RELOC_ADDR to _dl_lookup_symbol.
338 * sysdeps/i386/dl-machine.h (elf_machine_rel): Remove SYM_LOADADDR
339 arg. Add RESOLVE function ptr arg. Call *RESOLVE as necessary.
340 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
341 * sysdeps/stub/dl-machine.h: Likewise.
343 Sun Jun 2 14:56:49 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
345 * csu/initfini.c (_fini): Add extern decl for i_am_not_a_leaf.
347 * elf/dlfcn.h (dl_open_mode): Enumerated type removed.
348 (RTLD_LAZY, RTLD_NOW): Define these as macros instead.
349 (RTLD_GLOBAL): New macro.
350 (dlopen): Take arg of type int instead of dl_open_mode.
351 * elf/dlopen.c: Likewise.
353 * math/math.h (_Mldbl): New macro, either produces L suffix or not.
354 (M_*): Use it for these constants.
356 * elf/dl-lookup.c (_dl_lookup_symbol): Arg NOSELF renamed to NOPLT.
357 Reject SHN_UNDEF defns iff NOPLT is nonzero.
358 * elf/link.h (_dl_lookup_symbol): Update prototype and comment.
359 * elf/dl-runtime.c (fixup): Pass 1 to _dl_lookup_symbol for NOPLT.
360 * elf/dlsym.c (dlsym): Pass 0.
361 * elf/rtld.c (dl_main): Likewise.
362 * elf/dl-reloc.c (_dl_relocate_object: resolve): Second arg R_OFFSET
363 replaced with NOPLT flag. Pass it through to _dl_lookup_symbol.
364 * elf/do-rel.h (elf_dynamic_do_rel): Update prototype of RESOLVE arg.
365 Pass `elf_machine_pltrel_p (R->r_type)' result as NOPLT flag value.
366 * sysdeps/i386/dl-machine.h (elf_machine_pltrel_p): New macro.
367 * sysdeps/m68k/dl-machine.h (elf_machine_pltrel_p): Likewise.
368 * sysdeps/stub/dl-machine.h (elf_machine_pltrel_p): Likewise.
370 * login/pututline_r.c: Fix typo in sizeof for DATA_TMP alloca.
372 * sysdeps/generic/gnu/types.h (__clock_t): New type.
374 Wed May 29 00:57:37 1996 David Mosberger-Tang <davidm@azstarnet.com>
376 * sysdeps/unix/sysv/linux/gnu/types.h (__clock_t, __fsid_t): Define
378 * time/time.h (clock_t): Include <gnu/types.h> and define using
381 * time/Makefile (tests): Add test-tz.
383 * time/test-tz.c: New test.
385 * time/clocktest.c: Rewrite to test more meaningfully.
387 * sysdeps/unix/sysv/linux/syscalls.list: Add bdflush,
388 create_module, delete_module, get_kernel_syms, init_module,
391 * sysdeps/unix/sysv/linux/sys/param.h (MAXSYMLINKS): Define as 5
392 instead of SYMLOOP_MAX, which is nowhere to be found.
394 * sysdeps/unix/sysv/linux/sys/msq_buf.h,
395 sysdeps/unix/sysv/linux/sys/sem_buf.h,
396 sysdeps/unix/sysv/linux/sys/shm_buf.h [__USE_MISC]: Add more
397 control ops and datastructures.
399 * sysdeps/unix/sysv/linux/sys/io.h: New file declaring low-level
400 I/O related functions.
402 * sysdeps/unix/sysv/linux/sys/kdaemon.h: New file declaring kernel
403 daemon related functions/operations.
405 * sysdeps/unix/sysv/linux/sys/klog.h: New file declaring kernel
406 logging related functions/operations.
408 * sysdeps/unix/sysv/linux/sys/module.h: New file declaring kernel
409 module related functions/operations.
411 * sysdeps/unix/sysv/linux/speed.c: Only do "mention this twice" hack
412 for non-Alpha based Linux systems.
414 * sysdeps/unix/sysv/linux/alpha/speed.c: Remove.
416 * sysdeps/unix/sysv/linux/Makefile (headers): Add sys/module.h,
417 sys/io.h, sys/klog.h, and sys/kdaemon.h.
419 * sysdeps/unix/sysdep.h (END): Define empty END macro for
420 platforms that don't need some sort of end directive at the
423 * sysdeps/unix/make-syscalls.sh: Emit END($strong) at end of
424 syscall wrapper to allow correct generation of debugging
427 * sysdeps/unix/alpha/sysdep.h (END): Redefine to use .end
428 directive for both ELF and ECOFF.
429 (ret): Delete macro. It was a dangerous macro and unnecessary
430 since the Alpha assemblers recognizes "ret" as a macro themselves.
432 * sysdeps/gnu/utmpbits.h (struct utmp): Move ut_tv behind
433 ut_session to guarantee long alignment. This is important for
434 Linux/Alpha since ut_tv.tv_sec is 32 bits and time_t is 64 bits.
435 This will all get cleaned up as programs start to use ut_tv
438 * sysdeps/alpha/divrem.h: Include <sysdep.h> instead of <*/regdef.h>.
440 * sysdeps/alpha/bsd-_setjmp.S (setjmp): Renamed entry point to
443 * sysdeps/alpha/_mcount.S, sysdeps/alpha/bb_init_func.S,
444 sysdeps/alpha/bsd-_setjmp.S, sysdeps/alpha/bsd-setjmp.S,
445 sysdeps/alpha/copysign.S, sysdeps/alpha/divrem.h,
446 sysdeps/alpha/fabs.S, sysdeps/alpha/ffs.S, sysdeps/alpha/htonl.S,
447 sysdeps/alpha/htons.S, sysdeps/alpha/memchr.S,
448 sysdeps/alpha/setjmp.S, sysdeps/alpha/strlen.S,
449 sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S,
450 sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S,
451 sysdeps/unix/sysv/linux/alpha/llseek.S,
452 sysdeps/unix/sysv/linux/alpha/pipe.S,
453 sysdeps/unix/sysv/linux/alpha/sigsuspend.S,
454 sysdeps/unix/sysv/linux/alpha/sysdep.S: Use END macro instead of
457 * csu/initfini.c (_fini): Tell gcc that _fini is not a leaf
458 function by having it contain a dummy function call.
460 * configure.in (config_machine): Don't make ELF the default for
461 Linux/Alpha just yet (use --with-elf instead).
462 (.init/.fini check): Generate .text to ensure function start and
463 end are in same section.
465 * sysdeps/unix/bsd/osf/alpha/brk.S,
466 sysdeps/unix/sysv/linux/alpha/brk.S (__curbrk): Store the entire
467 break value, not just the low 32 bits to accomodate large
470 Tue May 28 10:46:04 1996 Richard Henderson <rth@tamu.edu>
472 * sysdeps/unix/sysv/linux/alpha/brk.S: Rather than attempt to
473 dynamically resolve _end for initializing __curbrk, support the
476 * sysdeps/alpha/bb_init_func.S: Don't make `init' an external symbol.
478 * sysdeps/alpha/bsd-_setjmp.S: The function is _setjmp not setjmp.
480 Sun May 26 22:17:38 1996 Richard Henderson <rth@tamu.edu>
482 * stdlib/lcong48_r.c, stdlib/seed48_r.c, stdlib/strtod.c,
483 stdlib/strtol.c: Include <string.h> for mem* and str* fns used.
485 Thu May 23 02:15:56 1996 David Mosberger-Tang <davidm@azstarnet.com>
487 * sysdeps/unix/sysv/linux/Makefile (headers): Add sys/io.h,
488 sys/klog.h, and sys/kdaemon.h.
490 * sysdeps/unix/sysv/linux/sys/io.h: New file.
491 * sysdeps/unix/sysv/linux/sys/klog.h: Ditto.
492 * sysdeps/unix/sysv/linux/sys/kdaemon.h: Ditto.
494 * sysdeps/unix/alpha/sysdep.h (ret): Remove macro. It is
495 dangerous and unnecessary since both OSF/1 as and gas define "ret"
496 as a pseudo-instruction.
498 Sat Jun 1 17:18:21 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
500 * time/tzset.c (__tzset): Clear tz_rules name pointers after freeing
501 them. Bug found by David Mosberger-Tang.
503 * sysdeps/posix/tempname.c (__stdio_gen_tempname): Use __ptr_t instead
506 * extra-lib.mk (extra-objs): Use patsubst intead of $(A:=B) syntax
507 to work around Make bug when A contains var ref.
509 Fri May 31 18:27:52 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
511 * string/string.h [__USE_MISC]: Declare basename; OSF/1 puts it here.
513 * sysdeps/unix/sysv/linux/syscalls.list (getpgid, setpgid): Define __
514 strong names and [gs]etpgid as weak aliases.
516 Thu May 30 11:24:05 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
518 * math/math_private.h (GET_LDOUBLE_EXP): Add missing backslash.
520 * po/header.pot: Replace with exact boilerplate pinard dictates.
522 * sysdeps/i386/strtok.S (Lillegal_argument): Remove this code to set
523 errno and the check that jumped to it.
525 * sysdeps/mach/hurd/Makefile (errnos.d): Use $(sed-remove-objpfx).
527 Thu May 30 03:21:57 1996 Ulrich Drepper <drepper@cygnus.com>
529 * FAQ: Document need of gperf program for developers.
531 * elf/elf.h: Fix typos in comments.
533 * libio/stdio.h [!__STRICT_ANSI__ || _POSIX_SOURCE]: Add
534 prototypes for `ctermid' and `cuserid'.
536 * locale/programs/locale.c: Switch to user selected locale
537 before printing variables.
539 * math/Makefile [$(long-double-fcts)==yes]: Define long-m-routines
540 and long-c-routines. Only if the `long double' data type is
541 available we need to compile the functions.
542 (libm-routines): Add $(long-m-routines).
543 (routines): Remove isinfl, isnanl. Use new file s_isinfl and
544 s_isnanl instead if `long double' is available.
546 * math/math.h: Include <mathcalls.h> again to define `long double'
549 * math/math_private.h: Define data types, prototypes and access
550 macros for `long double'.
552 * stdlib/stdlib.h: Add prototypes for `strtoll' and `strtoull'.
553 [GCC2 && OPTIMIZE]: Define strto{,u}ll as inline function which
554 calls __strto{,u}q_internal.
556 * stdlib/strfmon.c: Replace PTR by `void *'.
558 * stdlib/strtoq.c: Define strtoll as weak alias.
559 * stdlib/strtouq.c: Define strtoull as weak alias.
561 * string/tester.c: Correct `strsep' test.
563 * sysdeps/generic/strsep.c: Make compatible with BSD version.
564 Trailing characters of skip set are not skipped. In this case
565 empty tokens are returned.
567 * sysdeps/i386/isinfl.c, sysdeps/i386/isnanl.c,
568 sysdeps/ieee754/isinf.c, sysdeps/ieee754/isinfl.c,
569 sysdeps/ieee754/isnan.c, sysdeps/ieee754/isnanl.c: Removed. We
570 now use the versions part of libm.
572 * sysdeps/i386/strsep.S: Removed. Generic C version is of
574 * sysdeps/i386/strtok.S: Remove support for `strsep'.
576 * sysdeps/libm-i387/e_acosl.S, sysdeps/libm-i387/s_ceill.S,
577 sysdeps/libm-i387/s_copysignl.S, sysdeps/libm-i387/s_finitel.S,
578 sysdeps/libm-i387/s_floorl.S, sysdeps/libm-i387/s_isinfl.c,
579 sysdeps/libm-i387/s_isnanl.c, sysdeps/libm-i387/s_nextafterl.c,
580 sysdeps/libm-i387/s_rintl.S, sysdeps/libm-i387/s_significandl.S:
581 New i387 specific math functions implementing `long double'
584 * sysdeps/libm-ieee754/s_ceill.c,
585 sysdeps/libm-ieee754/s_copysignl.c,
586 sysdeps/libm-ieee754/s_fabsl.c, sysdeps/libm-ieee754/s_finitel.c,
587 sysdeps/libm-ieee754/s_floorl.c, sysdeps/libm-ieee754/s_isinfl.c,
588 sysdeps/libm-ieee754/s_isnanl.c,
589 sysdeps/libm-ieee754/s_nextafterl.c,
590 sysdeps/libm-ieee754/s_rintl.c, sysdeps/libm-ieee754/s_scalbnl.c,
591 sysdeps/libm-ieee754/s_significandl.c: New generic `long double'
592 versions of libm functions.
594 * sysdeps/libm-i387/e_exp.S: Add a few comments to explain the
597 * sysdeps/libm-i387/s_ceil.S, sysdeps/libm-i387/s_ceilf.S,
598 sysdeps/libm-i387/s_floor.S, sysdeps/libm-i387/s_floorf.S: Correct
599 handling of local variables. The old version created a stack
600 frame but stored the values outside.
602 * sysdeps/libm-ieee754/s_isinf.c, sysdeps/libm-ieee754/s_isnan.c
603 [!NO_LONG_DOUBLE]: Define alias with `long double' versions name.
605 Wed May 29 12:53:10 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
607 * login/pututline_r.c: Include sys/stat.h. Fix typos.
609 * version.h (VERSION): Set to 1.90.
611 * Makerules (distinfo-vars): Write extra-libs and *-routines for each
613 * MakeTAGS (sources): Add those sources.
615 * MakeTAGS (all-sources): Add $(others:=.c) and $(tests:=.c).
617 Wed May 29 08:53:08 1996 Miles Bader <miles@gnu.ai.mit.edu>
619 * hurd/report-wait.c (_S_msg_report_wait): Return `itimer' for the
622 * hurd/hurdinit.c (_hurd_init): Set _HURDSIG_TRACED before calling
625 Wed May 29 00:52:20 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
627 * string/tester.c (main): Fix strsep tests 6, 7, 20 to expect null
628 token instead of it being implicitly skipped.
630 * sysdeps/i386/fpu/__math.h (logb): Correct contraint from =u to =t.
631 Must operate on top of fp reg stack, not second from top.
633 * extra-lib.mk (alltypes-$(lib)): Don't append $(objpfx)$(lib).so.
634 (others): Instead, make this depend on it.
636 Tue May 28 04:38:10 1996 Ulrich Drepper <drepper@cygnus.com>
638 * limits.h: Change MB_LEN_MAX to 6. A 31-bit ISO 10646
639 character in UTF-8 encoding has that many bytes.
641 * locale/langinfo.h: New element _NL_CTYPE_MB_CUR_MAX.
642 * locale/categories.def: Add description of field _NL_CTYPE_MB_CUR_MAX.
643 * locale/Makefile (routines): Add mb_cur_max.
644 * locale/mb_cur_max.c: New file. This function gets called
645 when the macro MB_CUR_MAX is used.
646 * locale/C-ctype.c: Initialize new mb_cur_max field.
647 * locale/localeinfo.h: Change magic value because of incompatible
649 * locale/programs/ld-ctype.c: Determine value of mb_cur_max
650 according to current character set and write it out with the rest.
651 * stdlib/stdlib.h (MB_CUR_MAX): Not constant anymore. Get value
652 according to currently used locale for category LC_CTYPE by
653 calling the function __ctype_get_mb_cur_max.
655 Tue May 28 03:27:46 1996 Ulrich Drepper <drepper@cygnus.com>
657 * FAQ: Fix some typos.
658 Tell that for Linux the kernel header files are necessary.
660 * PROJECTS: New file. List of open jobs for glibc.
661 * Makefile (distribute): Add PROJECTS.
663 * crypt/GNUmakefile (headers): New variable. Mention crypt.h.
664 * crypt/crypt.h: Header for crypt functions.
666 * elf/elf.h: Add some new constants from recent Cygnus ELF
669 * login/getutid_r.c: Test for correct type.
670 Don't depend on ut_type and ut_id unless _HAVE_UT_TYPE and
671 _HAVE_UT_ID resp. are defined.
672 Make really compliant with specification.
674 * login/getutline_r.c, login/pututline_r.c: Don't depend on
675 ut_type and ut_id unless _HAVE_UT_TYPE and _HAVE_UT_ID resp. are
677 Make really compliant with specification.
679 * login/setutent_r.c: Don't depend on ut_type and ut_id unless
680 _HAVE_UT_TYPE and _HAVE_UT_ID resp. are defined.
682 * login/login.c, login/logout.c, login/logwtmp.c: Complete
683 rewrite. Now based on getut*/setut* functions.
685 * stdlib/strtol.c: Undo changes of Wed May 22 01:48:54 1996.
686 This prevented using this file in other GNU packages.
688 * sysdeps/gnu/utmpbits.h: Define _HAVE_UT_TYPE, _HAVE_UT_ID,
689 and _HAVE_UT_TV because struct utmp has these members.
691 * sysdeps/libm-i387/e_exp.S: Correct exp(+-Inf) case.
693 * utmp.h: New file. Wrapper around login/utmp.h.
695 Tue May 28 13:11:19 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
697 * elf/dl-error.c (struct catch): New type.
698 (catch): New static variable, struct catch *.
699 (catch_env, signalled_errstring, signalled_objname): Variables removed.
700 (_dl_signal_error): If CATCH is non-null, set its errstring and
701 objname members and jump to CATCH->env. If it is null, call
702 _dl_sysdep_fatal with a standard message.
703 * elf/rtld.c (dl_main): Explode `doit' function into dl_main's body.
704 No longer use _dl_catch_error.
706 * Makerules (sed-remove-objpfx): Avoid extra space in regexp due to
709 * sysdeps/unix/sysv/linux/i386/socket.S: Fix off-by-one error in
710 setting %ecx to 2nd syscall arg: we have pushed nothing, so function
711 args are found at 4(%esp), not 8(%esp).
713 Mon May 27 10:10:00 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
715 * Makefile ($(includedir)/stubs.h): Add missing backslash.
717 * sysdeps/unix/sysv/linux/i386/brk.c (__curbrk): Initialize it so it
720 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=termios] (headers):
723 * Makefile ($(includedir)/stubs.h): Print a msg if we do nothing.
725 * misc/sgtty.h: Add forward decl of struct sgttyb in case it is never
728 * sysdeps/unix/sysv/linux/termio.h: New file.
729 * sysdeps/unix/sysv/linux/Dist: Add it.
731 * sysdeps/unix/sysv/linux/ioctl-types.h: New file, wrapper around
732 kernel header <asm/termios.h>.
734 * misc/Makefile (headers): Add ioctl-types.h.
735 * sysdeps/generic/ioctl-types.h: New file.
736 * misc/sys/ioctl.h: Include <ioctl-types.h>.
737 (struct tchars, struct ltchars, struct sgttyb, struct winsize,
738 struct ttysize): Types moved there.
740 * Makefile ($(includedir)/stubs.h): Don't touch target if new one is
743 * time/Makefile (z.% rule): Generate generic zone%/ rule after
744 zone%/right/ and zone%/posix/ rules so they match first.
746 Sun May 26 15:15:08 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
748 * features.h [_GNU_SOURCE] (_BSD_SOURCE, _SVID_SOURCE,
749 _POSIX_SOURCE, _POSIX_C_SOURCE): Define these.
751 * time/Makefile (tzcompile): Add missing backslash.
753 * stdlib/ldiv.c: Deansideclized.
755 * wctype/wctype.h (__need_wint_t): Define this and include stddef.h.
756 [! _WINT_T] (wint_t): Conditionalize typedef on this in case pre-2.7.3
757 stddef.h doesn't define it.
758 * wcsmbs/wchar.h: Likewise.
759 * stdlib/strtod.c: Likewise.
761 * wcsmbs/wcstok.c: Fix argument name typo.
763 Sun May 26 19:39:53 1996 Ulrich Drepper <drepper@cygnus.com>
765 * intl/loadmsgcat.c (_nl_load_domain): Test correct variable
768 * string/Makefile (tester-ENV): New variable to suppress message
771 * string/tester.c: Add tests for strtok_r and strsep.
773 * sysdeps/i386/i486/strcat.S: Correct some more 8bit operation
774 <-> 32 bit operand conflicts.
776 * sysdeps/i386/strsep.S: Wrapper around <sysdeps/i386/strtok.S>
777 to produce strsep function.
778 * sysdeps/i386/strtok.S: Optimized implementation of strtok
780 * sysdeps/i386/strtok_r.S: Wrapper around <sysdeps/i386/strtok.S>
781 to produce strtok_r function.
783 * sysdeps/generic/strtok.c: Moved here from string/strtok.c.
784 Corrected example in comment.
786 * string/Makefile (routines): Add strtok_r.
787 * sysdeps/generic/strtok_r.c: New file. Implement reentrant version
789 * string/string.h: Add prototype for strtok_r.
790 * wcsmbs/wcstok.c: Handle illegal SAVE_PTR argument the same
793 Sun May 26 13:28:23 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
795 * time/tzset.c (__tzset): Ignore leading : in $TZ; always try tzfile
796 first and fall back to 1003.1 syntax only if it fails.
798 * time/Makefile (install-others): Also install posix/ZONE and
799 right/ZONE for each ZONE in $(zonenames).
800 (z.% rule): Generate rules for right/ZONE and posix/ZONE targets too,
801 the difference begin leapseconds vs /dev/null as 3rd dep. For
802 original ZONE targets use $(leapseconds), to be set in Makeconfig.
803 (target-zone-flavor): New variable.
804 (tzcompile): Use it to get the right -d for posix/ and right/ flavors.
805 * Makeconfig (leapseconds): New variable.
807 * mach/Machrules (%.udeps rule): Depend on Machrules.
808 Emit deps for .uh and .__h files.
809 (%.uh, %.__h rules): Don't depend on %.defs; use #include <$*.defs>
812 Sun May 26 01:06:47 1996 Ulrich Drepper <drepper@cygnus.com>
814 * stdlib/Makefile (routines): Add llabs, lldiv.
815 * stdlib/llabs.c: New file. Implementation of return
816 absolute value of long long argument.
817 * stdlib/lldiv.c: New file. Implementation of division with remainder
818 of long long argument.
819 * stdlib/stdlib.h [__USE_GNU] (lldiv_t): New type for lldiv
821 Define prototypes for lldiv and llabs functions.
823 * locale/C-collate.c: Initialize _NL_COLLATE_NRULES element.
825 * stdlib/strtod.c: Replace wchar_t with wint_t. The later is
826 really the type for a single wide character.
828 * string/strxfrm.c (print_val): Define separate version for
829 use as wcsxfrm. Here we don't need UTF8 encoding.
831 * wcsmbs/wchar.h: gcc-2.7.2-960517 finally introduces wint_t
832 in <stddef.h>. Use this value and only for older gcc version
834 (uwchar_t): Remove definition.
836 * wcsmbs/wcscmp.c, wcsmbs/wcscoll.c, wcsmbs/wcsncmp.c,
837 wcsmbs/wcsxfrm.c, wcsmbs/wmemcmp.c: : Don't use uwchar_t as unsigned
838 type. wint_t is intended for this.
840 Sat May 25 14:10:19 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
842 * sysdeps/unix/bsd/direntry.h: Use [1] instead of [0] for d_name to
843 quiet -ansi -pedantic.
844 * sysdeps/unix/common/direntry.h: Likewise.
846 * login/Makefile (headers): Add lastlog.h.
847 * login/lastlog.h: New file.
849 * login/Makefile (CFLAGS): Don't append -D_THREAD_SAFE.
850 * login/utmp.h [_REENTRANT || _THREAD_SAFE]: Replace this conditional
851 with #ifdef __USE_REENTRANT.
853 * features.h (__GNU_LIBRARY__): Set to 6.
854 [_GNU_SOURCE] (_POSIX_SOURCE, _POSIX_C_SOURCE, _BSD_SOURCE,
855 _SVID_SOURCE): Make sure they are all defined.
857 * sysdeps/unix/sysv/linux/gnu/types.h: Instead of including
858 <linux/posix_types.h>, define _LINUX_TYPES_DONT_EXPORT and then
859 include <linux/types.h>.
861 * resource/sys/resource.h: Remove trailing commas from enums.
863 Fri May 24 17:30:50 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
865 * sysdeps/generic/netinet/in.h: Remove trailing commas from enums.
866 * sysdeps/unix/sysv/linux/netinet/in.h: Likewise.
868 * login/getutline_r.c: Include string.h.
870 * Rules (static-only-routines): Restore the rule to make these .so's
873 * login/pututline_r.c: Use struct assignment instead of memcpy.
875 * login/getutline_r.c: Use strncmp instead of comparing two pointers
876 that will only be equal if you are overwriting the data and screwing
879 Fri May 24 02:31:36 1996 Ulrich Drepper <drepper@cygnus.com>
881 * sysdeps/unix/sysv/linux/speed.c: Add new speed value 460800.
883 Thu May 23 23:09:33 1996 Ulrich Drepper <drepper@cygnus.com>
885 * FAQ: Add answer for 100% source code compatibility to Linux
886 libc by David Mosberger-Tang.
888 Update from bind-4.3.4-T3B.
889 * inet/arpa/inet.h: Add prototypes for inet_pton, inet_ntop,
890 inet_nsap_addr, and inet_nsap_ntoa.
891 * resolv/gethnamaddr.c: Correct compatibility problems (sprintf),
892 remove fourth argument to inet_pton and correct handling of
894 * resolv/inet_ntop.c: Correct compatibility problems (sprintf).
895 * resolv/inet_pton.c: Remove fourth argument.
896 * resolv/resolv.h: Remove prototypes for inet_nsap_addr and
897 inet_nsap_ntoa. Now in <arpa/inet.h>.
899 * stdlib/gmp-impl.h: Add prototypes for internal functions.
901 Thu May 23 22:49:15 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
903 * Rules (subdir_install): Remove dep on sor-$(subdir).
904 (static-only-routines): Removed variable and associated rules.
906 Wed May 22 00:40:50 1996 David Mosberger-Tang <davidm@azstarnet.com>
908 * sysdeps/unix/sysv/linux/alpha/speed.c (speeds): Add entry for
911 * sysdeps/unix/sysv/linux/alpha/statbuf.h: New file.
913 * sysdeps/unix/sysv/linux/alpha/Makefile (headers): Add
915 * sysdeps/unix/sysv/linux/alpha/alpha/ptrace.h: New file.
917 * sysdeps/libm-ieee754/s_scalbnf.c: Call __scalbnf instead of
920 * sysdeps/generic/sigset.h (__sigismember, __sigaddset,
921 __sigdelset): Add declaration to keep ANSI compilers quiet.
923 * sysdeps/alpha/__math.h (cabs): Remove underscores from struct
924 __cabs_complex member names in call to __hypot().
926 * sysdeps/alpha/copysign.S, sysdeps/alpha/fabs.S: New files.
928 * sysdeps/alpha/divrem.h: Renamed from sysdeps/alpha/divrem.S to avoid
929 name collision with math library.
931 * sysdeps/alpha/divl.S, sysdeps/alpha/divlu.S, sysdeps/alpha/divq.S,
932 sysdeps/alpha/divqu.S, sysdeps/alpha/reml.S, sysdeps/alpha/remlu.S,
933 sysdeps/alpha/remq.S, sysdeps/alpha/remqu.S: Include divrem.h instead
936 * sysdeps/unix/alpha/sysdep.h: Include regdef.h. Define LEAF macro
937 to simplify declaration of leaf functions.
939 * sysdeps/alpha/_mcount.S, sysdeps/alpha/bb_init_func.S,
940 sysdeps/alpha/bsd-_setjmp.S, sysdeps/alpha/ffs.S,
941 sysdeps/alpha/htonl.S, sysdeps/alpha/htons.S, sysdeps/alpha/memchr.S,
942 sysdeps/alpha/setjmp.S, sysdeps/alpha/strlen.S,
943 sysdeps/alpha/udiv_qrnnd.S, sysdeps/unix/sysv/linux/alpha/brk.S,
944 sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S,
945 sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S,
946 sysdeps/unix/sysv/linux/alpha/pipe.S,
947 sysdeps/unix/sysv/linux/alpha/sigsuspend.S,
948 sysdeps/unix/sysv/linux/alpha/syscall.S,
949 sysdeps/unix/sysv/linux/alpha/start.S,
950 sysdeps/unix/sysv/linux/alpha/sysdep.S: Remove include of regdef.h.
951 sysdep.h includes it now. Replace ENTRY by LEAF with appropriate
952 framesize declaration. Replace "lda pv,sym/jsr pv" by "jsr sym".
954 * sysdeps/unix/sysv/linux/alpha/sysdep.h (NO_UNDERSCORES): Don't
957 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Added getsockopt,
960 * sysdeps/unix/sysv/linux/alpha/profil-counter.h: File removed.
962 * sysdeps/unix/sysv/linux/alpha/ioperm.c: Modify to support
963 dynamic recognition of platform type.
964 (_bus_base): New function.
966 * sysdeps/unix/sysv/linux/alpha/llseek.S: New file.
968 * sunrpc/rpc/rpc.h, sunrpc/rpc/svc.h: Avoid nested comments since
969 they produce ugly warnings by gcc.
971 * posix/sys/types.h [__USE_MISC]: Add typedef for ulong.
973 Wed Mar 27 10:26:21 1996 David Mosberger-Tang <davidm@azstarnet.com>
975 * sysdeps/alpha/setjmp.S: Must establish global pointer before
976 address of __sigsetjmp_aux can be loaded.
978 Wed May 22 22:10:01 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
980 * stdlib/canonicalize.c: New file.
981 * stdlib/stdlib.h: Declare canonicalize_file_name, realpath.
982 * stdlib/Makefile (routines): Add canonicalize.
984 * posix/unistd.h: Declare __canonicalize_directory_name_internal.
986 Thu May 23 00:01:10 1996 Ulrich Drepper <drepper@cygnus.com>
988 * db/recno/rec_seq.c: Prevent `sccsid' definition by using the
989 same #if condition as in the other db files.
991 * intl/Makefile: Add -Wno-unused CFLAGS for compilation of
992 bindtextdom.c, finddomain.c, and localealias.c.
994 * intl/dcgettext.c: Don't define prototype for getcwd() when
997 * libio/cleanup.c: Add prototype for _IO_register_cleanup.
999 * libio/filedoalloc.c, libio/fileops.c, libio/iopopen.c: Don't
1000 define _POSIX_SOURCE unconditionally.
1002 * libio/filedoalloc.c, libio/iopopen.c: Include <unistd.h> if
1005 * libio/fileops.c (_IO_file_close_it): Don't sync file, call
1006 flush instead. This relaxes the rules from POSIX.1 about
1007 changing the active handle a bit.
1009 * libio/iofopncook.c (struct _IO_cookie_file): Move definition
1011 Add prototypes for local functions to prevent warnings.
1013 * libio/iopopen.c: Change prototypes for _IO_fork, _IO_pipe, and
1014 _IO_dup2 to contain complete parameter list.
1016 * libio/libio.h: Add definition of struct _IO_cookie_file.
1018 * libio/libioP.h: Add prototypes for _IO_vasprintf, _IO_vdprintf,
1021 * libio/memstream.c: Include <stdio.h>.
1023 * libio/stdio.h: Add prototypes for fopencookie,
1024 __stdio_gen_tempname, __vfscanf, __vsscanf, and __vsnprintf.
1026 * libio/strops.c: Avoid useless expression in `for' initializer.
1028 * locale/findlocale.c: Add some casts to prevent warnings.
1030 * locale/programs/locfile.c (write_locale_data): Don't use
1031 double `/' in locale binary file.
1033 * posix/unistd.h: Remove prototype for `reboot'.
1035 Update from bind-4.9.4-T1A.
1036 * resolv/Makefile (routines): Add inet_ntop and inet_pton.
1037 * resolv/arpa/nameser.h: Add definition of IN6ADDRSZ.
1038 * resolv/gethnamaddr.c, resolv/getnetnamadr.c, resolv/res_comp.c,
1039 resolv/res_debug.c, resolv/res_init.c
1041 * resolv/inet_ntop.c, resolv/inet_pton.c: New files.
1043 * resolv/resolv.h: Add RES_USE_INET6 flag.
1044 (__dn_isvalid): Renamed to __res_dnok.
1045 Add prototypes for __res_ownok and __res_mailok.
1047 * stdio-common/Makefile: Add -Wno-unused to CFLAGS for _itoa.c.
1049 * stdio-common/getline.c, stdio-common/vfscanf.c,
1050 sysdeps/posix/tempname.c: Don't use <ansidecl.h> anymore.
1052 * sysdeps/unix/sysv/linux/Makefile [$subdir == misc]
1053 (sysdep_routines): Add s_reboot.
1054 (install-others): Add $(includedir)/sys/syscall.h.
1055 New rule for $(includedir)/sys/syscall.h to produce from
1058 * sysdeps/unix/sysv/linux/reboot.c: New file. Make single
1059 argument function call 3 argument system call.
1061 * sysdeps/unix/sysv/linux/sys/reboot.h: New file. Linux specific
1062 definition for reboot function.
1064 * sysdeps/unix/sysv/linux/syscall.h: Remove old and obsolete
1067 * sysdeps/unix/sysv/linux/syscalls.list: Rename function for
1068 reboot syscall to __syscall_reboot.
1070 * wcsmbs/wchar.h: Protect prototypes for wcstof and wcstold by
1071 __USE_GNU, not USE_GNU.
1073 Tue May 21 21:55:49 1996 David Mosberger-Tang <davidm@AZStarNet.com>
1075 * locale/programs/charset.c, locale/programs/ld-collate.c:
1076 Add casts to prevent warnings on 64-bit machines.
1078 * locale/programs/ld-monetary.c: Don't do unnecessary tests for
1079 int_frac_digits and frac_digits which only produce warnings.
1081 Mon May 13 23:45:29 1996 David Mosberger-Tang <davidm@AZStarNet.com>
1083 * inet/arpa/inet.h: Backup return type of inet_addr to u_long.
1084 * resolv/inet_addr.c: Likewise.
1086 * resolv/Makefile (distribute): Add res_hconf.h
1087 (routines): Add res_hconf.
1089 * resolv/gethnamaddr.c: Add support for /etc/host.conf.
1091 * resolv/res_init.c: Initialize /etc/host.conf reader.
1093 * resolv/res_hconf.c, resolv/res_hconf.h: New files.
1094 Implementation of reading /etc/host.conf.
1096 Wed May 22 21:21:15 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1098 * Rules (%.out rules): Prepend $($*-ENV) to the command.
1100 * sysdeps/unix/sysv/linux/i386/brk.c (___brk_addr): Define as weak
1103 Wed May 22 19:37:27 1996 Miles Bader <miles@gnu.ai.mit.edu>
1105 * hurd/hurdexec.c (_hurd_exec): Pass INIT_TRACEMASK.
1106 * hurd/hurdmsg.c (set_int): Support INIT_TRACEMASK.
1108 Wed May 22 18:47:31 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1110 * sysdeps/mach/hurd/getcwd.c
1111 (_hurd_canonicalize_directory_name_internal): New function, broken out
1114 (__canonicalize_directory_name_internal): New function using it.
1116 * sysdeps/posix/getcwd.c (__canonicalize_directory_name_internal): New
1117 function, broken out of __getcwd.
1120 Wed May 22 18:14:05 1996 Miles Bader <miles@gnu.ai.mit.edu>
1122 * string/argz-create.c (__argz_create): Correctly calculate length.
1124 * string/argz-extract.c (__argz_extract): Add terminating 0 entry.
1125 * hurd/hurdstartup.c (_hurd_startup): ... and don't so here.
1127 Wed May 22 17:22:14 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1129 * posix/glob.c [VMS]: Don't include <pwd.h>.
1130 [HAVE_VMSDIR_H]: Include "vmsdir.h".
1131 (glob) [VMS]: Don't grok ~.
1133 Wed May 22 14:46:53 1996 Miles Bader <miles@gnu.ai.mit.edu>
1135 * hurd/hurdstartup.c (_hurd_startup): Terminate the vectors we get
1136 back from argz_extract.
1138 Wed May 22 13:56:42 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1140 * configure.in: Remove checks for objdump, objcopy, and awk.
1141 * config.make.in (OBJDUMP, OBJCOPY, AWK): Variables removed.
1142 * Makefile (distribute): Remove extract-dynsym.
1143 * extract-dynsym: File removed.
1145 Tue May 21 22:17:45 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1147 * termios/cfmakeraw.c: Set MIN to 1 and TIME to 0.
1149 Wed May 22 01:48:54 1996 Ulrich Drepper <drepper@cygnus.com>
1151 * stdlib/strtol.c [!QUAD] (ULONG_MAX, LONG_MAX): Define these
1152 macros if they are not available.
1153 (WEAKNAME): New macro to declare argument as weak.
1154 Define function with __ prefix and add normal name as weak alias.
1156 * sysdeps/posix/euidaccess.c (S_IROTH, S_IWOTH, S_IXOTH): Defines
1157 these macros if not already available based on R_OK, W_OK, and
1160 Tue May 21 18:48:46 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1162 * misc/sys/syslog.h (__need___va_list): Define this instead of
1163 __need_va_list before including <stdarg.h>.
1165 * Makerules (o-iterator): Use $(object-suffixes-left) instead
1166 of $(object-suffixes) to produce repetitions; this is used for other
1167 lists than just that one.
1168 [versioned]: Use $(o-iterator) properly.
1170 * sysdeps/unix/sysv/linux/Implies: Include `gnu'.
1171 * sysdeps/mach/hurd/Implies: Likewise.
1173 Sat May 18 02:57:46 1996 Ulrich Drepper <drepper@cygnus.com>
1175 * login/Makefile: New file. This directory contains functions
1176 for user administration.
1177 * Makefile (subdirs): Add login.
1179 * misc/Makefile (headers): Remove utmp.h. Now in login/utmp.h.
1180 (extra-libs, libutil-routines): Ditto.
1181 * misc/login.c, misc/login_tty.c, misc/logout.c, misc/logwtmp.c,
1182 misc/utmp.h: Moved to misc/.
1183 * login/login.c, login/login_tty.c, login/logout.c,
1184 login/logwtmp.c, login/utmp.h: Moved to here from misc/.
1186 * login/utmp.h: Split file. Definitions of data structures
1187 and constants are now in the system dependent utmpbits.h file.
1189 * login/setutent_r.c, login/setutent.c, login/endutent_r.c,
1190 login/endutent.c, login/getutent_r.c, login/getutent.c,
1191 login/getutid_r.c, login/getutid.c, login/getutline_r.c,
1192 login/getutline.c, login/pututline_r.c, login/pututline.c:
1193 New files. Routines to handle utmp-style files.
1195 * sysdeps/gnu/utmpbits.h: New file. Contains GNU/Linux
1196 specific definitions of utmp data structures and constants.
1198 * sysdeps/unix/sysv/utmpbits.h: Renamed from sysdeps/unix/sysv/utmp.h.
1200 * sysdeps/generic/utmpbits.h: New file. Generic (BSDish) version of
1201 definitions of utmp data structures and constants.
1203 Fri May 17 00:01:31 1996 Ulrich Drepper <drepper@cygnus.com>
1205 * locale/C-monetary.c: Default value for mon_decimal_point should be
1208 * stdio-common/printf.h: Remove Linux libc compatibility stuff.
1209 Add `extra' flag. Currently used in __printf_fp.
1211 * stdio-common/printf_fp.c (__guess_grouping): Renamed from
1212 `guess_grouping' and extend visibility to extern. This function
1213 is now used in `strfmon'.
1214 (__printf_fp): Recognize new bit flag in info struct. This
1215 triggers to use the grouping information and decimal point from
1216 the LC_MONETARY category instead of the LC_NUMERIC category.
1218 * stdio-common/vfprintf.c (process_arg): Correct major bug. In
1219 `complicated' loop we must not use the varargs because the args
1220 are already available in the ARGS_VALUE array.
1222 * stdlib/Makefile (headers): Add monetary.h.
1223 (routines): Add strfmon.
1224 * stdlib/monetary.h: New file. Header for strfmon function.
1225 * stdlib/strfmon.c: New file. Implement strfmon function to print
1226 monetary amounts according to current locale's rules.
1228 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: The kernel header is
1229 now (>= Linux-1.3.100) called <asm/vm86.h>.
1231 Thu May 16 00:31:44 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1233 * Makerules [versioned]: Make symlinks in the build directory, because
1234 the versioned names might be referenced by a DT_NEEDED in another
1237 Wed May 15 18:59:38 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1239 * manual/examples/longopt.c: Include stdlib.h and getopt.h.
1241 Tue May 14 03:36:21 1996 Ulrich Drepper <drepper@cygnus.com>
1243 * sysdeps/unix/sysv/linux/Makefile [$subdir == misc] (headers):
1244 Add sys/acct.h and sys/sysctl.h.
1246 Tue May 14 19:42:04 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1248 * sysdeps/generic/strrchr.c: Deansideclized.
1250 * elf/Makefile (ldd): Depend on Makefile.
1251 Find ld.so in $(slibdir) instead of $(libdir).
1253 * sysdeps/i386/strrchr.S: Use `testl $3, %esi' instead of `testb $3,
1254 %esi'; gas misassembles the latter into `testb $3, %dh'.
1256 * mach/Machrules (%.udeps rule): Do $(make-target-directory) first.
1258 Tue May 14 16:38:44 1996 David Mosberger-Tang <davidm@AZStarNet.com>
1260 * sunrpc/getrpcent.c (interpret): Declare args. Rewrite parsing using
1263 Tue May 14 20:18:38 1996 Ulrich Drepper <drepper@cygnus.com>
1265 * time/Makefile (routines): Add strptime.
1266 * time/time.h: Add prototype for strptime.
1267 * time/strptime.c: New file. Implementation according to XPG4.
1269 Tue May 14 14:07:10 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1271 * libc-symbols.h (lint): Macro removed. The sunrpc code does some
1272 really stupid things #ifdef lint.
1274 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter): Fix
1275 struct member name: sc_eip -> eip.
1277 Mon May 13 19:52:33 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1279 * Makerules (stub-$(subdir)): Put cmds including cd inside (...) with
1280 output redirect outside it.
1282 * elf/Makefile (subdir_lib): Depend on ld.so.
1284 Sun May 12 22:52:22 1996 Bruce Elliott <belliott@accessone.com>
1286 * stdio-common/vfprintf.c: Correct handling of unsigned short
1289 Mon May 13 12:03:03 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1291 * extra-lib.mk (alltype-$(lib)): Put libs in $(objpfx) instead of
1293 * Makerules [install-lib.a]: Find them there.
1295 * sysdeps/unix/sysv/linux/i386/profil-counter.h: New file.
1297 * extra-lib.mk: Skip the hair if $(object-suffixes-$(lib)) is empty.
1299 * posix/glob.h [_AMIGA]: Remove `struct stat;' forward decl.
1301 * configure.in (--with-fp): Note in help string that it's the default.
1303 * locale/programs/ld-ctype.c (struct locale_ctype_t): Use u_int32_t
1304 instead of unsigned int for map_collection_max and map_collection_act.
1306 * stdio-common/vfprintf.c [USE_IN_LIBIO] (flockfile, funlockfile):
1307 Macros removed; they are in <stdio.h>.
1308 * stdio-common/vfscanf.c: Likewise.
1310 * posix/glob.c [_AMIGA]: Don't include <pwd.h>.
1311 (glob): Remove bogus & in call to globfree.
1312 [_AMIGA]: Use AmigaDOS file name conventions.
1314 * time/Makefile (zonenames): Target removed.
1315 (extra-objs): Remove it from here.
1316 Include the z.* files directly instead of including zonenames; use
1317 `-include' to not complain before they exist.
1319 * sysdeps/unix/Makefile: Find sysd-syscalls and s-proto.d with
1320 $(common-objpfx) instead of $(objpfx).
1322 * sysdeps/unix/bsd/telldir.c (seekdir, telldir): Use new struct member
1325 * Makerules [install-lib-non.a]: Find these things with $(objpfx)
1326 instead of $(common-objpfx).
1328 * Makeconfig (sysdep-configures): New variable.
1329 (config.status): Depend on $(sysdep-configures).
1331 Fri May 10 20:07:52 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1333 * sysdeps/unix/sysv/linux/profil.c: New file.
1335 Fri May 10 19:59:50 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1337 * sysdeps/m68k/Makefile (CFLAGS-setjmp.c): New variable.
1339 Fri May 10 19:55:42 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1341 * shlib-versions: Use libm=6 and libc=6 for m68k-linux.
1343 Sun May 12 11:16:58 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1345 * string/envz.c: Fix uses of unsigned to size_t.
1347 * Makerules ($(libdir)/libc.so): Make the file an ld script.
1349 * sysdeps/mach/hurd/configure.in: Don't grok --with-hurd option.
1351 * sysdeps/mach/configure.in: File removed.
1352 * sysdeps/mach/configure: File removed.
1354 * mach/Machrules (%.udeps rule): Write deps for %_server.[ch] too.
1355 (%_server.[ch] rule): Don't depend on %.defs; use #include to get
1356 installed .defs file.
1358 * stdio-common/vfprintf.c (flockfile, funlockfile): Define to
1359 nothing for stdio. Fix fUNlockfile -> funlockfile for libio.
1360 * stdio-common/vfscanf.c: Likewise.
1362 Sat May 11 13:43:41 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1364 * hurd/hurdfault.c: Include faultexc_server.h instead of faultexc.h.
1366 * mach/Machrules (%.ir rule): Don't produce deps for imports.
1368 * elf/dl-fini.c (_dl_fini): Clear L->l_init_called after calling fn.
1370 * Makerules (install): Depend on $(slibdir)/libc.so$(libc.so-version).
1371 [!subdir] ($(libdir)/libc.so, $(common-objpfx)/libc-syms.so): Protect
1372 these targets and install dep on $(libdir)/libc.so with this.
1374 * hurd/Makefile: Removed all rules and defns for using code from Hurd
1375 sources and installing headers from there.
1377 * sysdeps/mach/hurd/errnos.awk: Set in_mach_errors to FILENAME when we
1378 set it. In Mach error matching clause, only match if FILENAME is
1379 still the same value.
1381 * sysdeps/mach/hurd/Makefile: Don't include sysdeps/mach/Makefile;
1382 $(mach-srcdir) no longer exists.
1383 (hurd-srcdir): Variable removed.
1384 (includes): Don't append -I$(hurd-srcdir).
1385 (last-includes): Variable removed.
1386 Remove vpath specs using $(hurd-srcdir).
1387 (mach-errno-h): New canned sequence.
1388 ($(common-objpfx)errnos.d): New target, generated included makefile
1389 to determine absolute file names of Mach headers to search for error
1390 codes and set variable mach-errnos-deps.
1391 ($(common-objpfx)stamp-errnos): Depend on $(mach-errnos-deps) instead
1392 of prior explicit list.
1393 (generated): Add errnos.d, stamp-errnos.
1395 * mach/Machrules (some-if-rtn): New variable and target; compute deps
1396 of some if routine and make all if routines depend on that .d file
1397 instead of static list of .h files.
1399 * mach/Makefile (mach/mach_interface.defs,
1400 mach/memory_object_user.defs): Targets removed.
1401 ($(objpfx)mach-syscalls.mk): Tweak this kludge so it doesn't depend
1402 directly on Mach sources.
1404 * sysdeps/mach/Makefile (mach-srcdir): Variable removed.
1405 (includes): Don't append -I$(mach-srcdir).
1406 Remove vpath specs using $(mach-srcdir).
1408 * hurd/Makefile (server-interfaces): Add faultexc.
1409 (sig): Remove it from here.
1410 (fault%.[ch]): Rule removed.
1411 (MIGFLAGS-faultexc): New variable.
1413 * hurd/faultexc.defs: New file.
1415 * mach/Machrules (%.ustamp rule): Pass $(MIGFLAGS-$*) to mig.
1416 (%_server.[ch] rule): Likewise.
1418 * mach/Makefile: Removed all rules and defns for using code from Mach
1419 sources and installing headers from there.
1421 * Makeconfig [$(build-shared)=yes] (link-libc): Append
1422 $(libc.so-version) to libc.so.
1424 Fri May 10 18:36:14 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1426 * mach/Machrules (%.ustamp rule): Don't depend on %.defs.
1427 (%.udeps): New rule parallel to that one, generating included
1428 makefiles with -M output from `#include <%.defs>'.
1430 * Makerules (sed-remove-objpfx): Remove space before \ at eol.
1432 * Makefile (distribute): Add FAQ.
1433 * FAQ: New file contributed by drepper.
1435 * time/Makefile (headers): Add timebits.h.
1436 * sysdeps/unix/sysv/linux/timebits.h: New file.
1437 * sysdeps/stub/timebits.h: New file.
1438 * time/time.h (CLK_TCK): Define to CLOCKS_PER_SEC.
1439 (CLOCKS_PER_SEC): Remove this macro. Instead #include <timebits.h>.
1441 Fri May 10 16:22:44 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu>
1443 * string/argz-create.c (__argz_create): Restore const keyword to
1445 * string/argz.h (__argz_create, argz_create): Restore const
1447 * string/envz.c (envz_get): Don't declare ENTRY const.
1449 Fri May 10 11:48:03 1996 Miles Bader <miles@gnu.ai.mit.edu>
1451 * string/argz.h (argz_create): Fix param type.
1452 * string/argz-create.c (__argz_create): Remove const from param type.
1453 * string/envz.c (envz_get): Remove const from return type.
1455 Fri May 10 09:41:54 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu>
1457 * string/argz.h (__argz_create, argz_create): Omit const keyword
1458 from declaration of ARGV.
1459 * string/envz.h (envz_get): Omit const from declaration of return
1462 Thu May 9 09:17:46 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1464 * aclocal.m4 (AC_FD_MSG, AC_FD_CC): Fix these for autoconf weirdness.
1466 Cleanups in sunrpc code from NIIBE Yutaka <gniibe@mri.co.jp>.
1467 * sunrpc/clnt_tcp.c (clnttcp_create): Don't close *SOCKP if it's -1.
1468 * sunrpc/clnt_simp.c (callrpc): Don't close CRP->socket if it's
1470 * sunrpc/pmap_clnt.c (pmap_set): Don't close SOCKET, since
1471 CLNT_DESTROY already has.
1472 (pmap_unset): Likewise.
1473 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
1474 * sunrpc/pm_getport.c (pmap_getport): Likewise.
1475 * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
1476 * sunrpc/portmap.c (callit): Likewise.
1478 * Makerules (versioned): Strip whitespace.
1480 * Rules (static-only-routines rule): Remove spurious space in dep.
1482 * misc/getusershell.c: Undo changes of 7 May 96 (rev 1.6).
1483 Cast string constants to char *.
1485 * posix/glob/SMakefile, posix/glob/SCOPTIONS, posix/glob/Makefile.ami:
1486 New files, AmigaDOS support from Aaron Digulla.
1487 * posix/Makefile (glob.tar): Add AmigaDOS support files.
1489 * sysdeps/unix/sysv/linux/net/if.h: New file.
1490 * sysdeps/unix/sysv/linux/Dist: Add it.
1491 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=socket] (headers): Add
1494 * Makeconfig (link-libc): Add libc.a after libc.so in link.
1496 * Rules (static-only-routines rule): Use empty.o instead of dummy.o.
1497 (empty.o): New target.
1498 (generated): Add empty.c, empty.o.
1500 * resolv: Code updated from BIND-4.9.3P2C3.
1502 * Rules (static-only-routines rule): Use dummy.o, not dummy.so.
1504 Wed May 8 20:04:29 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1506 * extract-dynsym: New file.
1507 * Makefile (distribute): Add it.
1508 * Rules (subdir_install): Depend on $(common-objpfx)sor-$(subdir).
1509 [! libc.so-version]: Clear static-only-routines.
1510 ($(common-objpfx)sor-$(subdir)): New target.
1511 [static-only-routines]: New static pattern rule for these .so's.
1512 * Makerules [libc.so-version] ($(slibdir)/libc.so): Target removed.
1513 [libc.so-version] ($(libdir)/libc.so, $(common-objpfx)libc-syms.so):
1514 New targets replace it.
1515 (install) [libc.so-version]: Depend on $(libdir)/libc.so instead of
1517 * io/Makefile (static-only-routines): New variable.
1518 * configure.in: Check for tools objdump and objcopy, and for awk.
1519 * config.make.in (OBJDUMP, OBJCOPY, AWK): New variables.
1521 Thu May 9 01:24:00 1996 Ulrich Drepper <drepper@cygnus.com>
1523 * locale/programs/config.h: Remove definition of wint_t.
1525 * locale/programs/ld-collate.c: Include <wchar.h> instead of
1528 * manual/time.texi: Add some more description for %U and %W
1529 format of strftime. Describe new format %V of strftime.
1531 * resolv/gethnamaddr.c: Prevent warning by preventing variable
1533 * stdio-common/_itoa.c: Ditto.
1535 Tue May 7 23:43:07 1996 Ulrich Drepper <drepper@cygnus.com>
1537 * libio/clearerr.c, libio/feof.c, libio/ferror.c, libio/fgetc.c,
1538 libio/fileno.c, libio/fputc.c, libio/freopen.c, libio/fseek.c,
1539 libio/genops.c, libio/getc.c, libio/getchar.c, libio/iofclose.c,
1540 libio/iofflush.c, libio/iofgetpos.c, libio/iofgets.c,
1541 libio/iofputs.c, libio/iofread.c, libio/iofsetpos.c,
1542 libio/ioftell.c, libio/iofwrite.c, libio/iogetdelim.c,
1543 libio/iogets.c, libio/ioputs.c, libio/iosetbuffer.c,
1544 libio/iosetvbuf.c, libio/ioungetc.c, libio/iovsprintf.c,
1545 libio/libio.h, libio/putc.c, libio/putchar.c, libio/rewind.c,
1546 libio/stdio.h, stdio-common/printf_fp.c, stdio-common/vfprintf.c,
1547 stdio-common/vfscanf.c: Prepare for reentrant libio.
1549 * libio/clearerr_u.c, libio/feof_u.c, libio/ferror_u.c,
1550 libio/fputc_u.c, libio/getc_u.c, libio/getchar_u.c,
1551 libio/iofflush_u.c, libio/putc_u.c, libio/putchar_u.c: New files.
1552 Used in reentrant libio.
1554 * misc/getusershell.c: Prevent warnings.
1556 Wed May 8 12:08:35 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1558 * Makerules (install-lib.so rules): Undouble $s in target and dep
1559 parts of o-iterator-doit defns.
1560 (unversioned libraries install rule): Fix pattern.
1562 * mach/Makefile (mach-src-headers): Use $(base-machine) instead of
1564 ($(includedir)/machine): Likewise.
1566 * config.make.in (base-machine): New variable.
1567 * configure.in (machine): Move case stmt to set $machine out of sysdep
1568 dirs AC_CACHE_CHECK.
1569 (base_machine): New variable, set in that switch and AC_SUBST'd.
1571 * Makerules (stub-$(subdir)): Use file name in directory as output,
1574 * configure.in (MSGFMT): Use : if none found.
1576 * po/Makefile: Include ../Rules instead of ../Makerules.
1578 Tue May 7 23:18:44 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1580 * po/Makefile: New file.
1581 * Makefile (subdirs): Add po.
1583 * configure.in: Check for msgfmt.
1584 * config.make.in (MSGFMT): New variable.
1586 Sun May 5 23:49:10 1996 Ulrich Drepper <drepper@cygnus.com>
1588 * misc/Makefile (routines): Add swapoff.
1590 * sysdeps/unix/sysv/linux/Dist: Add sys/quota.h.
1592 * sysdeps/unix/sysv/linux/sys/quota.h: New file. Wrapper around
1595 Tue May 7 19:00:01 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1597 * string/argz-extract.c: Remove const from decl.
1598 * string/argz.h: Here too.
1600 * Makeconfig (version.mk): Fix regexp in sed cmd.
1601 Depend on $(..)Makeconfig.
1603 * GMP code updated from gmp-2.0 release.
1604 * stdlib/Makefile (mpn-routines): Removed add_1, added inlines.
1605 * sysdeps/generic/add_1.c: File removed.
1606 * stdlib/strtod.c: mp_limb is now mp_limb_t.
1607 * stdlib/fpioconst.c, stdlib/fpioconst.h: Likewise.
1608 * stdio-common/_itoa.c: Likewise.
1609 * stdio-common/printf_fp.c: Likewise.
1610 Don't include ansidecl.h.
1612 * sysdeps/mach/hurd/getcwd.c: Use io_identity instead of io_stat.
1614 * shlib-versions: New file.
1615 * Makerules (soversions.mk): New target, include file generated from
1616 shlib-versions. Moved shared library rules before installation rules.
1617 Rewrote shared library installation rules for versioned libraries.
1618 * math/Makefile (libm.so-version): Variable removed.
1620 * sysdeps/mach/hurd/i386/exc2signal.c: Use struct hurd_signal_detail.
1622 * hurd/report-wait.c (_S_msg_describe_ports): New function.
1624 * configure.in: Add AC_PROG_LN_S check.
1625 * config.make.in (LN_S): New variable.
1627 Sun May 5 03:10:44 1996 Ulrich Drepper <drepper@cygnus.com>
1629 * misc/efgcvt_r.c (ecvt_r): Work aroung gcc bug. gcc does
1630 not know about weak aliases now and optimizes necessary `if'
1633 * posix/unistd.h: Add swapoff prototype.
1635 * sysdeps/generic/confname.h: Add even more POSIX.4 symbols.
1637 * sysdeps/posix/fpathconf.c (__fpathconf): Get information
1638 for _PC_PATH_MAX from fstatfs function if available.
1640 * sysdeps/posix/sysconf.c: Add code to handle _SC_AIO_LISTIO_MAX,
1641 _SC_AIO_MAX, _SC_AIO_PRIO_DELTA_MAX, _SC_DELAYTIMER_MAX,
1642 _SC_MQ_OPEN_MAX, _SC_MQ_PRIO_MAX, _SC_RTSIG_MAX,
1643 _SC_SEM_NSEMS_MAX, _SC_SEM_VALUE_MAX, _SC_SIGQUEUE_MAX, and
1645 * sysdeps/unix/sysv/sysv4/sysconf.c: Ditto.
1647 * sysdeps/stub/swapoff.c: New file. Stub version for swapoff
1650 * sysdeps/unix/syscalls.list: Add swapoff.
1652 * sysdeps/unix/sysv/linux/Dist: Add sys/acct.h.
1654 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
1655 (sysdep_routines): Add mount, umount, llseek, setfsgid, setfsuid,
1656 sysinfo, and uselib.
1657 (headers): Add sys/sysinfo.h.
1659 * sysdeps/unix/sysv/linux/gethostid.c: Prevent warning.
1661 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == misc]
1662 (sysdep_routines): Add ioperm, iopl, and vm86.
1663 (headers): Add sys/perm.h and sys/vm86.h.
1665 * sysdeps/unix/sysv/linux/i386/sys/perm.h: New file. Contains
1666 prototypes for iopl and ioperm.
1668 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: New file. Contains
1671 * sysdeps/unix/sysv/linux/i386/syscalls.list: New file. Add
1674 * sysdeps/unix/sysv/linux/sys/acct.h: New file. Contains
1675 prototypes for acct function.
1677 * sysdeps/unix/sysv/linux/sys/socket.h: Provide real header
1678 file with prototypes.
1680 * sysdeps/unix/sysv/linux/sys/sysinfo.h: New file. Contains
1681 prototype for sysinfo function.
1683 * sysdeps/unix/sysv/linux/syscalls.list: Add flock, ioperm, iopl,
1684 llseek, setfsgid, setfsuid, sysinfo, and uselib.
1686 * sysdeps/unix/sysv/linux/sysconf.c: Instead of duplicating
1687 posix/sysconf.c now only handle cases different to that
1690 Tue May 7 15:08:19 1996 Miles Bader <miles@gnu.ai.mit.edu>
1692 * stdio/linewrap.c (__line_wrap_output): Renamed from lwoutput
1693 (all references changed). Now exported.
1695 * stdio/linewrap.c (struct data): Type deleted (moved to linewrap.h).
1696 (wrap_stream, unwrap_stream, lwclose, lwfileno, lwoutput,
1697 line_wrap_stream, line_unwrap_stream): Use struct line_wrap_data
1698 instead of struct data.
1699 (lwoutput, line_wrap_stream, line_unwrap_stream): Rename various
1700 occurences of `wrap' and `wrapmargin' to `wmargin'.
1701 (line_wrapped, line_wrap_lmargin, line_wrap_set_lmargin,
1702 line_wrap_rmargin, line_wrap_set_rmargin, line_wrap_wmargin,
1703 line_wrap_set_wmargin, line_wrap_point): New functions.
1704 * stdio/linewrap.h: New file.
1705 * stdio/Makefile (headers): Add linewrap.h.
1707 Tue May 7 14:19:12 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1709 * sysdeps/unix/sysv/linux/i386/Makefile: File removed.
1711 * stdio/stdio.h: Remove line_wrap_stream, line_unwap_stream decls.
1713 * sysdeps/unix/sysv/linux/schedbits.h: New file.
1715 Tue May 7 13:47:02 1996 Miles Bader <miles@gnu.ai.mit.edu>
1717 * stdio/linewrap.c (struct data): Make margin fields not-pointers.
1718 (lwoutput): Adjust uses acordingly.
1720 Tue May 7 10:51:52 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1722 * sysdeps/mach/hurd/fdatasync.c: New file.
1723 * sysdeps/mach/hurd/fsync.c: Pass new flag to file_sync.
1725 * sysdeps/mach/hurd/xmknod.c: Pass new flag to dir_link.
1726 * sysdeps/mach/hurd/symlink.c: Likewise.
1727 * sysdeps/mach/hurd/link.c: Likewise.
1728 * sysdeps/mach/hurd/bind.c: Likewise.
1729 * hurd/hurdsig.c (write_corefile): Likewise.
1731 * hurd/hurdsig.c (write_corefile): Pass cttyid port to crash server.
1733 * sysdeps/mach/hurd/fpathconf.c: RPC takes int pointer, not long int.
1735 * sysdeps/mach/hurd/_exit.c (_hurd_exit): Pass sigcode arg to
1737 * sysdeps/mach/hurd/dl-sysdep.c (_exit): Likewise.
1739 * sysdeps/mach/hurd/wait4.c: Pass sigcode arg to proc_wait.
1741 * sysdeps/mach/hurd/rename.c: Pass new flag to dir_rename.
1743 * hurd/hurdfault.c (_hurdsig_fault_catch_exception_raise): Use struct
1745 * hurd/catch-exc.c (_S_catch_exception_raise): Likewise.
1746 * hurd/hurd-raise.c (_hurd_raise_signal): Likewise.
1747 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
1749 * sysdeps/mach/hurd/setitimer.c (restart_itimer): Likewise.
1751 * hurd/hurd/signal.h: Fix _hurd_exception2signal prototype.
1753 * hurd/hurdsig.c (write_corefile): Take const struct
1754 hurd_signal_detail * arg. Pass all details to crash_dump_task.
1755 (_hurd_internal_post_signal): Pass DETAIL to write_corefile.
1756 (_hurd_internal_post_signal: suspend): Pass code and error to
1759 * hurd/hurdprio.c (_hurd_priority_which_map): Pass flags arg to
1760 proc_getprocinfo by reference.
1762 * wcsmbs/wcwidth.c, wcsmbs/wcswidth.c: Fixed typos.
1764 * sysdeps/unix/sysv/linux/sys/mman.h: Fixed typo.
1766 * sysdeps/stub/sched_getp.c: Add missing #include <sys/types.h>.
1767 * sysdeps/stub/sched_sets.c: Likewise.
1768 * sysdeps/stub/sched_setp.c: Likewise.
1769 * sysdeps/stub/sched_rr_gi.c: Likewise.
1770 * sysdeps/stub/sched_gets.c: Likewise.
1772 * hurd/hurdsig.c: Use struct hurd_signal_detail.
1773 * hurd/hurd/fd.h (_hurd_fd_error): Likewise.
1774 * sysdeps/mach/hurd/sysd-stdio.c (fd_fail): Likewise.
1776 Mon May 6 09:51:05 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1778 * stdio/linewrap.c: New file.
1779 * stdio/Makefile (routines): Add linewrap.
1780 * stdio/stdio.h [__USE_GNU]: Declare line_wrap_stream,
1783 Mon May 6 14:53:26 1996 Ulrich Drepper <drepper@cygnus.com>
1785 * time/strftime.c (week): Add third parameter telling how
1786 many days must be in new year so that it is called week 1.
1787 (Following ISO 8601).
1788 Correct computation for %U and %V formats when day was first
1790 (strftime): Implement %V format according to Spec1170.
1792 Mon May 6 17:01:09 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu>
1794 * hurd/hurd/signal.h (_hurd_intr_rpc_mach_msg): New declaration.
1796 Sat May 4 05:44:25 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1798 * hurd/hurd/sigpreempt.h (struct hurd_signal_preempter): Change
1799 prototype of `preempter' elt to use struct hurd_signal_detail.
1801 * hurd/hurd/signal.h (struct hurd_signal_detail): New type.
1802 (struct hurd_sigstate): Make `pending_data' member an array of that.
1803 Use the new type in several decls.
1805 * locale/setlocale.c (_nl_C_name): Variable removed.
1806 * locale/C_name.c: New file.
1807 (_nl_C_name): Put it here instead.
1808 * locale/Makefile (aux): Add C_name.
1810 * sysdeps/mach/hurd/dl-sysdep.c (open): Don't pass io port in
1811 auth_user_authenticate rpc.
1812 (open): Avoid using strtol in digit conversion for "fd/N" magic.
1813 (_dl_sysdep_start): Likewise for memobj name in magic switches.
1815 * elf/Makefile (reloc-link): New variable.
1816 (dl-allobjs.so): New target, link together $(rtld-routines).
1817 (librtld.so): Depend on that instead of the rtld components.
1818 (generated): Add dl-allobjs.so.
1820 * hurd/hurd-raise.c (_hurd_raise_signal): Pass sigcode in msg_sig_post
1823 * hurd/hurdmsg.c (_S_msg_set_environment): Use argz.h functions
1824 instead of _hurd_split_args.
1825 (_S_msg_*_exec_flags): Functions removed.
1826 (_S_msg_startup_dosync): Stub removed.
1828 Sat May 4 02:11:55 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1830 * sysdeps/mach/hurd/ptrace.c: Set _hurdsig_traced instead of
1831 EXEC_TRACED bit in _hurd_exec_flags.
1832 Pass sigcode arg in msg_sig_post_untraced rpc.
1834 * sysdeps/mach/hurd/access.c: Don't pass io port in
1835 auth_user_authenticate rpc.
1837 * posix/sched.h: Fix typos.
1839 * sysdeps/mach/hurd/fork.c: Use new critical section lock.
1840 Clear _hurdsig_traced instead of EXEC_TRACED.
1842 * sysdeps/stub/nanosleep.c (nanosleep): Fix typo.
1844 * wcsmbs/wcstol.c: Find strtol.c in ../stdlib.
1845 * wcsmbs/wcstof.c: Find strtod.c in ../stdlib.
1846 * wcsmbs/wcstod.c: Likewise.
1847 * wcsmbs/wcstold.c: Likewise.
1849 * wcsmbs/wcwidth.h: Find cname-lookup.h in ../wctype.
1851 * string/envz.c (envz_entry): Use const.
1852 (envz_get, envz_remove): Likewise.
1853 (envz_entry): Return char *, not const char *.
1855 * string/envz.h: Fix decl.
1857 * string/argz-create.c: Use const in prototype.
1858 * string/argz-next.c: Likewise.
1860 Fri May 3 13:32:08 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1862 * sysdeps/mach/hurd/sigprocmask.c: Pass sigcode arg to msg_sig_post.
1863 * sysdeps/mach/hurd/i386/sigreturn.c: Likewise.
1864 * sysdeps/mach/hurd/sigsuspend.c: Likewise.
1865 * sysdeps/mach/hurd/kill.c: Likewise.
1867 * hurd/hurdexec.c (_hurd_exec): Use new critical section lock.
1868 * hurd/catch-exc.c (_S_catch_exception_raise): Likewise.
1869 * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Likewise.
1870 * hurd/thread-cancel.c (hurd_thread_cancel, hurd_check_cancel):
1872 * sysdeps/mach/hurd/jmp-unwind.c (_longjmp_unwind): Likewise.
1873 * sysdeps/mach/hurd/sigaction.c: Likewise.
1875 * sysdeps/mach/hurd/errnos.awk: Don't use ARGV in comment; it can
1876 change meaninglessly.
1878 * hurd/hurd/signal.h (struct hurd_sigstate): Replace critical section
1879 flag with a spin lock.
1880 (_hurd_critical_section_lock): Use spin_try_lock on that to see if we
1881 get it. No need to take SS->lock at all.
1882 (_hurd_critical_section_unlock): Unlock SS->critical_section_lock
1883 instead of clearing the old flag member.
1884 * hurd/hurdsig.c (_hurd_internal_post_signal): Use spin_lock_locked to
1885 test the critical section state.
1887 * hurd/hurdinit.c (_hurd_init): Set _hurdsig_traced from the intarray.
1889 * hurd/hurdkill.c (_hurd_sig_post): Pass 0 sigcode in msg_sig_post.
1891 * hurd/hurdsig.c (_hurd_internal_post_signal): Test _hurdsig_traced
1892 instead of testing (_hurd_exec_flags & EXEC_TRACED).
1893 (_S_msg_sig_post): Take sigcode arg and pass it through.
1894 (_S_msg_sig_post_untraced): Likewise.
1895 (reauth_proc): Don't pass proc port in auth_user_authenticate.
1897 * hurd/setauth.c (_hurd_setauth): Don't pass object ports in
1898 auth_user_authenticate RPCs, just the one-off rendezvous port.
1899 * hurd/dtable.c (reauth_dtable): Likewise.
1900 * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Likewise.
1902 * hurd/hurdexec.c (_hurd_exec): Pass 0 flags to file_exec.
1903 Pass sigcode arg to msg_sig_post.
1905 * string/argz.h (argz_create): Use const in prototype.
1907 * hurd/hurdinit.c (_hurd_proc_init): Test _hurdsig_traced instead of
1908 testing (_hurd_exec_flags & EXEC_TRACED).
1909 Pass sigcode arg to msg_sig_post.
1911 * hurd/hurd.h: Declare _hurdsig_traced.
1913 * string/argz.h (__argz_next): Cast ENTRY before returning it.
1915 * hurd/hurd/signal.h (_hurd_critical_section_unlock): Pass sigcode arg
1918 * hurd/path-lookup.c: New file.
1919 * hurd/Makefile (routines): Add path-lookup.
1920 * hurd/hurd/lookup.h: Declare file_name_path_scan,
1921 hurd_file_name_path_lookup.
1922 * hurd/hurd.h: Declare file_name_path_lookup.
1924 * sysdeps/mach/hurd/select.c: The io_select rpc no longer has a TAG_ID
1925 argument. Instead, use a separate reply port for each RPC and put them
1926 all in a port set to wait for slow replies.
1928 * intl/Makefile (CPPFLAGS): Change $(nlsdir) to $(i18ndir) in
1931 Fri May 3 03:14:02 1996 Ulrich Drepper <drepper@cygnus.com>
1933 * intl/Makefile (routines): Add l10nflist and explodename.
1934 (distribute): Add loadinfo.h and locale.alias.
1935 (install-others): New variable to install locale.alias.
1937 * intl/dcgettext.c, intl/finddomain.c, intl/gettextP.h,
1938 intl/loadmsgcat.c: Adapt for upcoming gettext-0.10.13. Some code
1939 is now shared with the locale implementation.
1941 * intl/explodename.c, intl/l10nflist.c, intl/loadinfo.h: New file.
1942 Extracted from finddomain.c. This is also used in the locale
1945 * intl/locale.alias: New file. Locale alias database compatible
1946 with X Window System's locale alias file. Can now be used in
1947 locale and gettext code.
1949 * libio/stdio.h: Add prototypes for asprint and vasprintf.
1951 * locale/C-collate.c, locale/C-ctype.c, locale/C-messages.c,
1952 locale/C-monetary.c, locale/C-numeric.c, locale/C-time.c: Add new
1953 field in structure with name of locale ("C" in this case).
1955 * locale/Makefile (routines): Add findlocale.
1957 * locale/findlocale.c: New file. Instead of trying to load the
1958 directly described file we now try to be much smarter when this
1959 fails. Use the same code as gettext does.
1961 * locale/loadlocale.c, locale/setlocale.c: Rewrite to know about
1964 * locale/localeinfo.h: Adapt prototypes and declarations for new
1965 setlocale implementation. Remove definition of u32_t type. We
1966 now use u_int32_t from <sys/types.h>.
1968 * locale/programs/charset.h (ILLEGAL_CHAR_VALUE): Provide type
1971 * locale/programs/config.h, locale/lc-collate.c,
1972 locale/localeinfo.h, locale/programs/ld-collate.c,
1973 locale/programs/ld-ctype.c, locale/programs/ld-messages.c,
1974 locale/programs/ld-monetary.c, locale/programs/ld-numeric.c,
1975 locale/programs/ld-time.c, locale/weight.h, string/strcoll.c:
1976 Change to use u_int32_t and u_int16_t.
1978 * locale/programs/localedef.c (construct_output_path): Change name
1979 of output locale to contain normalized form of the character set
1982 * string/Makefile (routines): Add agrz-ctsep and argz-next.
1983 (tests): Add tst-strlen.
1985 * string/argz-ctsep.c: New file. Implement reverse operation
1986 from argz-stringify.
1988 * string/argz-next.c: Non-inline version of function from argz.h.
1990 * string/argz.h, string/envz.h: Make usable as global header file.
1992 * string/envz.c: Fix declarations to use size_t where prototypes
1995 * string/tst-strlen.c: New file. Another test for critical
1996 situation in strlen implementations.
1998 * sysdeps/i386/i586/strlen.S: Fix bug with highest byte in word
2001 * wctype/test_wctype.c: Fix controlling comparison after change to
2002 32 bit character class array.
2004 Fri May 3 12:53:12 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
2006 * sysdeps/unix/sysv/linux/sys/socket.h: Remove spurious doubled line.
2008 Thu May 2 22:50:52 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2010 * sysdeps/unix/sysv/linux/getpriority.c: New file.
2011 * sysdeps/unix/sysv/linux/syscalls.list: Add s_getpriority.
2013 Thu May 2 22:41:31 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2015 * sysdeps/unix/sysv/linux/m68k/fpu_control.h (_FPU_DEFAULT):
2016 Disable all exceptions.
2018 Thu May 2 22:33:14 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2020 * sysdeps/m68k/fpu/e_acos.c, sysdeps/m68k/fpu/e_acosf.c,
2021 sysdeps/m68k/fpu/e_fmod.c, sysdeps/m68k/fpu/e_fmodf.c,
2022 sysdeps/m68k/fpu/isinfl.c, sysdeps/m68k/fpu/isnanl.c,
2023 sysdeps/m68k/fpu/s_atan.c, sysdeps/m68k/fpu/s_atanf.c,
2024 sysdeps/m68k/fpu/s_frexp.c, sysdeps/m68k/fpu/s_frexpf.c,
2025 sysdeps/m68k/fpu/s_ilogb.c, sysdeps/m68k/fpu/s_ilogbf.c,
2026 sysdeps/m68k/fpu/s_isinf.c, sysdeps/m68k/fpu/s_isinff.c,
2027 sysdeps/m68k/fpu/s_ldexp.c, sysdeps/m68k/fpu/s_ldexpf.c,
2028 sysdeps/m68k/fpu/s_modf.c, sysdeps/m68k/fpu/s_modff.c: Don't
2029 define __NO_MATH_INLINES, which is already defined on command
2032 Thu May 2 22:18:28 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2034 * sysdeps/libm-ieee754/e_j0f.c (__ieee754_j0f, __ieee754_y0f):
2035 Replace 0x80000000 by 0x48000000.
2036 * sysdeps/libm-ieee754/e_j1f.c (__ieee754_j1f): Likewise.
2038 Thu May 2 21:30:33 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2040 * sunrpc/svc_simple.c: Make global variable pl local to
2043 Thu May 2 00:24:04 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2045 * time/Makefile (tz-cflags): New variable.
2046 (CFLAGS-tzfile.c): New variable.
2047 (CFLAGS-zic.c): Add $(tz-cflags).
2048 (tz-cc): Remove variable.
2049 ($(objpfx)tzfile.o, $(objpfx)zic.o): Remove targets.
2051 Wed May 1 09:10:04 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
2053 * sysdeps/mach/hurd/getcwd.c: Jump out of both loops when we find a
2054 name, instead of checking for reaching end of buffer, which happens
2055 when the match is the last entry in the buffer.
2057 * time/strftime.c: Use canonical autoconf nugget for time.h+sys/time.h
2060 Mon Apr 29 02:48:26 1996 Ulrich Drepper <drepper@cygnus.com>
2062 * ctype/ctype-info.c: (__ctype_width): New variable.
2063 (__ctype_names): Initialize correctly without offset.
2065 * locale/C-collate.c, locale/C-ctype.c,
2066 locale/C-messages.c, locale/C-monetary.c,
2067 locale/C-numeric.c, locale/C-time.c: Change copyright.
2069 * locale/C-ctype.c (_nl_C_LC_CTYPE_class32): Correct
2070 endianess for initialization value.
2072 * locale/lc-ctype.c (current): Add parameter for offset.
2073 (__ctype32_b, __ctype_width): Add initialization for these
2076 * locale/programs/charmap.c: Finish support for WIDTH information.
2077 (new_width): New function.
2079 * locale/programs/charset.h (width_rule): new data structure.
2080 (charset_t): Add elements for width information.
2082 * locale/programs/ld-ctype.c (locale_ctype_t): Add element
2083 for width information.
2084 (allocate_arrays): Add new argument for charset.
2085 (ctype_finish): Make sure all characters named in charset
2086 width table are known to name table.
2087 (ctype_output): Correct handling of class and map name
2088 information and write out width information.
2089 (find_idx): Prepare for being called with NULL pointer as
2090 TABLE argument. This means only allocate name entry.
2091 (allocate_arrays): Correct handling of array element -1.
2092 Because EOF == -1 the value of element 127 must *not* be
2094 Fill width information from charset tables.
2096 * locale/programs/localedef.c (main): Correct loop over all
2097 categories after change of order from Thu Mar 28 14:22:51 1996.
2098 Add new charset argument to call of `write_all_categories'.
2100 * locale/programs/locales.h (ctype_finish, ctype_output): New
2103 * locale/programs/locfile.c (write_all_categories): Call
2104 `ctype_output' with additional argument charset.
2106 * posix/getconf.c (vars): Add _POSIX_SYNC_IO, _POSIX_ASYNC_IO,
2107 and _POSIX_PRIO_IO definitions.
2109 * posix/posix2_lim.h: Add definition of _POSIX2_CHARCLASS_NAME_MAX
2110 and CHARCLASS_NAME_MAX.
2112 * posix/unistd.h: Document _POSIX_SYNC_IO, _POSIX_ASYNC_IO,
2115 * stdlib/grouping.h: Prepare for use in wide string functions.
2117 * stdlib/stdlib.h: Correct prototypes for __strto*_internal
2120 * stdlib/strtod.c: Extend for use as `wcsto{f,d,ld}'.
2122 * stdlib/strtol.c: Extend for use as `wcsto{l,ul,q,uq}'.
2124 * string/strcoll.c: Extend for use as `wcscoll'.
2126 * string/strxfrm.c: Extend for use as `wcsxfrm'.
2128 * sysdeps/generic/confname.h: Add definition of _PC_SYNC_IO,
2129 _PC_ASYNC_IO, _PC_PRIO_IO and _SC_CHARCLASS_NAME_MAX.
2131 * sysdeps/generic/stpncpy.c: Correct return value.
2133 * sysdeps/posix/fpathconf.c: Add handling of _PC_SYNC_IO,
2134 _PC_ASYNC_IO, and _PC_PRIO_IO.
2136 * sysdeps/posix/sysconf.c: Add handling of _SC_REALTIME_SIGNALS,
2137 _SC_PRIORITY_SCHEDULING, _SC_TIMERS, _SC_ASYNCHRONOUS_IO,
2138 _SC_PRIORITIZED_IO, _SC_SYNCHRONIZED_IO, _SC_FSYNC,
2139 _SC_MAPPED_FILES, _SC_MEMLOCK, _SC_MEMLOCK_RANGE,
2140 _SC_MEMORY_PROTECTION, _SC_MESSAGE_PASSING, _SC_SEMAPHORES,
2141 _SC_SHARED_MEMORY_OBJECTS, and _SC_CHARCLASS_NAME_MAX.
2142 * sysdeps/stub/sysconf.c: Ditto.
2143 * sysdeps/unix/sysv/sysv4/sysconf.c: Ditto.
2145 * sysdeps/unix/sysv/linux/Dist: Add sys/sysctl.h.
2147 * sysdeps/unix/sysv/linux/Makefile [subdir == misc]
2148 (sysdep_routines): Add s_sysctl and sysctl.
2150 * sysdeps/unix/sysv/linux/sys/mman.h: Add declaration of mremap.
2152 * sysdeps/unix/sysv/linux/sys/socket.h: New file. Wrapper
2153 around kernel header.
2155 * sysdeps/unix/sysv/linux/sys/sysctl.h: New file. Define
2156 interface to `sysctl' function.
2158 * sysdeps/unix/sysv/linux/syscalls.list: Add mremap and _sysctl.
2160 * sysdeps/unix/sysv/linux/sysconf.c: Add handling of
2161 _SC_CHARCLASS_NAME_MAX.
2163 * sysdeps/unix/sysv/linux/sysctl.c: new file. Implement caller
2164 of _sysctl system call.
2166 * sysvipc/Makefile (routines): Add ftok.
2168 * sysvipc/ftok.c: use variable `proj_id' not `id'. Patch by
2169 David Mosberger-Tang.
2171 * wcsmbs/Makefile (routines): Add wcpcpy, wcpncpy, wcstol,
2172 wcstoul, wcstoq, wcstouq, wcstod, wcstold, wcstof, wcscoll,
2173 wcsxfrm, wcwidth, and wcswidth.
2175 * wcsmbs/wchar.h: Add declarations for wcpcpy, wcpncpy, wcstol,
2176 wcstoul, wcstoq, wcstouq, wcstod, wcstold, wcstof, wcscoll,
2177 wcsxfrm, wcwidth, and wcswidth.
2178 Declare internal interfaces for wcsto* functions.
2179 [OPTIMIZE]: Define inline functions for wcsto* functions to
2180 call internal interface functions.
2182 * wcsmbs/wcpcpy.c, wcsmbs/wcpncpy.c: New files. Implement non-
2183 standard function equivalent to stpcpy/stpncpy.
2185 * wcsmbs/wcscoll.c: Implement `wcscoll' function by using
2186 `strcoll' implementation.
2188 * wcsmbs/wcscpy.c, wcsmbs/wcsncpy.c: Use wint_t instead of
2191 * wcsmbs/wcstod.c: Implement `wcstod' function by using `strtod'
2193 * wcsmbs/wcstof.c: Same for `wcstof'.
2194 * wcsmbs/wcstold.c: Same for `strtold'.
2196 * wcsmbs/wcstol.c: Implement `wcstol' function by using `strtol'
2198 * wcsmbs/wcstoq.c: Same for `wcstoq'.
2199 * wcsmbs/wcstoul.c: Same for `wcstoul'.
2200 * wcsmbs/wcstouq.c: Same for `wcstouq'.
2202 * wcsmbs/wcswidth.c: Implement `wcswidth' function from X/Open
2204 * wcsmbs/wcwidth.c: Ditto for `wcwidth'.
2205 * wcsmbs/wcwidth.h: Common function for definitions of above two
2208 * wcsmbs/wcsxfrm.c: Implement `wcsxfrm function by using
2209 `strxfrm implementation.
2211 * wctype/wctype.c: Remove case for `wctype_t' being 16 bit type.
2213 * wctype/wctype.h (wint_t): Protect against multiple definition.
2214 (wctype_t): Always define as `unsigned long int'.
2216 * wctype.h: New file. Wrapper around wctype/wctype.h.
2218 Tue Apr 30 17:30:46 1996 Miles Bader <miles@gnu.ai.mit.edu>
2220 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Add timeout argument to
2221 interrupt_operation call.
2222 (_hurdsig_interrupt_timeout): New variable.
2224 * hurd/report-wait.c (describe_number): Correctly allocate space
2225 in DESCRIPTION for the digits in I.
2227 Mon Apr 29 00:11:59 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
2229 * hurd/hurdstartup.c (_hurd_split_args): Function removed.
2230 (_hurd_startup): Use argz functions.
2232 * hurd/hurdexec.c: Use argz functions.
2234 * errno.h [!__error_t_defined] (error_t): New type.
2235 * sysdeps/mach/hurd/errnos.awk: #define __error_t_defined after the
2236 typedef in errnos.h.
2238 * string/envz.c, string/envz.h: New files.
2239 * string/argz.h, string/argz-append.c, string/argz-count.c,
2240 string/argz-create.c, string/argz-delete.c, string/argz-extract.c,
2241 string/argz-insert.c, string/argz-stringify.c: New files.
2242 * string/Makefile (routines): Add envz, argz-*.
2243 (headers): Add argz.h, envz.h.
2245 Sun Apr 28 14:14:35 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
2247 * sysdeps/unix/sysv/linux/i386/Makefile: New file.
2249 Wed Apr 24 17:35:30 Ulrich Drepper <drepper@cygnus.com>
2251 * inet/netinet/in.h, socket/sys/socket.h: Move to
2252 sysdeps/generic/netinet/in.h, sysdeps/generic/sys/socket.h.
2253 * netinet/in.h, sys/socket.h: Remove file.
2255 * misc/Makefile (routines): Add fdatasync.
2257 * posix/Makefile (headers): Add sched.h.
2258 (routines): Add nanosleep, sched_setp, sched_getp, sched_sets,
2259 sched_gets, sched_yield, sched_primax, sched_primin, sched_rr_gi.
2261 * posix/getconf.c (vars): Add entries for _POSIX_REALTIME_SIGNALS,
2262 _POSIX_PRIORITY_SCHEDULING, _POSIX_TIMERS, _POSIX_ASYNCHRONOUS_IO,
2263 _POSIX_PRIORITIZED_IO, _POSIX_SYNCHRONIZED_IO, _POSIX_FSYNC,
2264 _POSIX_MAPPED_FILES, _POSIX_MEMLOCK, _POSIX_MEMLOCK_RANGE,
2265 _POSIX_MEMORY_PROTECTION, _POSIX_MESSAGE_PASSING,
2266 _POSIX_SEMAPHORES, _POSIX_SHARED_MEMORY_OBJECTS.
2268 * posix/sched.h: New file. Header for POSIX scheduling interface.
2270 * posix/unistd.h: Describe options from POSIX.4.
2271 Add declaration of fdatasync.
2273 * sysdeps/generic/confname.h: Add definition for
2274 _SC_REALTIME_SIGNALS, _SC_PRIORITY_SCHEDULING, _SC_TIMERS,
2275 _SC_ASYNCHRONOUS_IO, _SC_PRIORITIZED_IO, _SC_SYNCHRONIZED_IO,
2276 _SC_FSYNC, _SC_MAPPED_FILES, _SC_MEMLOCK, _SC_MEMLOCK_RANGE,
2277 _SC_MEMORY_PROTECTION, _SC_MESSAGE_PASSING,
2278 _SC_SEMAPHORES, _SC_SHARED_MEMORY_OBJECTS.
2280 * sysdeps/generic/fdatasync.c: New file. Default implementation
2283 * sysdeps/generic/netinit/in.h: Moved to here from inet/netinet/in.h.
2285 * sysdeps/generic/schedbits.h: New file. System dependent
2286 defintion for POSIX.4 scheduling interface.
2288 * sysdeps/generic/sys/socket.h: Moved to here from socket/sys/socket.h.
2290 * sysdeps/stub/nanosleep.c, sysdeps/stub/sched_getp.c,
2291 sysdeps/stub/sched_gets.c, sysdeps/stub/sched_primax.c,
2292 sysdeps/stub/sched_primin.c, sysdeps/stub/sched_rr_gi.c,
2293 sysdeps/stub/sched_setp.c, sysdeps/stub/sched_sets.c,
2294 sysdeps/stub/sched_yield.c: New file: Stub implementation
2295 for systems missing these POSIX.4 system calls.
2297 * sysdeps/unix/sysv/linux/gnu/types.h,
2298 sysdeps/unix/sysv/linux/ioctls.h: Use kernel header for
2299 data type definitions.
2301 * sysdeps/unix/sysv/linux/netinet/in.h: New file. Linux
2304 * sysdeps/unix/sysv/linux/posix_opt.h: New file. Define POSIX
2305 options applicable for Linux.
2307 * sysdeps/unix/sysv/linux/syscalls.list: Add definitions for
2308 fdatasync, nanosleep, sched_setparam, sched_getparam,
2309 sched_setscheduler, sched_getscheduler, sched_yield,
2310 sched_get_priority_max, sched_get_priority_min, and
2311 sched_rr_get_interval.
2313 * sysdeps/unix/sysv/linux/sysconf.c: Add handling of POSIX.4
2316 * sysdeps/unix/sysv/linux/termbits.h: Use kernel headers.
2318 * time/sys/time.h: Remove definition of `struct timespec'.
2320 * time/time.h (struct timespec): Move definition to here.
2322 Fri Apr 26 01:55:07 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
2324 * malloc/mcheck.c (mabort): Use __libc_fatal only #ifdef _LIBC.
2326 Thu Apr 25 15:49:57 1996 Miles Bader <miles@gnu.ai.mit.edu>
2328 * sysdeps/mach/hurd/getcwd.c (__getcwd): When we find a match in
2329 the scan for a name, avoid doing another readdir (which overwrites
2330 NENTRIES, and was resulting in a bogus ENOENT).
2332 * sysdeps/mach/hurd/fcntl.c (__fcntl): Add missing break after F_SETFL.
2334 Wed Apr 24 00:22:42 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
2336 * stdio/internals.c (seek_to_target): Set errno if seek function
2337 returns the wrong offset.
2339 * wcsmbs/wcsrtombs.c [! EILSEQ] (EILSEQ): Define to EINVAL.
2340 * wcsmbs/wcrtomb.c: Likewise.
2342 * stdio-common/vfprintf.c: Include errno.h.
2344 Tue Apr 23 21:09:14 1996 Miles Bader <miles@gnu.ai.mit.edu>
2346 * hurd/hurdsig.c (signal_allowed): For SIGIO/SIGURG, add a new
2347 variable, LUCKY, to use instead of setting D to -1 (which fouls
2350 Tue Apr 23 15:56:56 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
2352 * config.h.in (HAVE_REGEX): New macro.
2354 * sysdeps/unix/syscalls.list: Add statfs, fstatfs.
2355 * io/Makefile (headers): Add sys/statfs.h, statfsbuf.h.
2356 (routines): Add statfs, fstatfs.
2357 * sysdeps/mach/hurd/statfs.c: New file.
2358 * sysdeps/mach/hurd/fstatfs.c: New file.
2359 * sysdeps/stub/fstatfs.c: New file.
2360 * sysdeps/stub/statfs.c: New file.
2361 * io/sys/statfs.h: New file.
2362 * sysdeps/generic/statfsbuf.h: New file.
2363 * sysdeps/unix/sysv/linux/statfsbuf.h: New file.
2365 Tue Apr 23 00:06:47 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
2367 * malloc/Makefile (gmalloc-routines): Add valloc back here.
2368 (dist-routines): Remove it here.
2369 * malloc/valloc.c [_MALLOC_INTERNAL && GMALLOC_INHIBIT_VALLOC]
2370 (ELIDE_VALLOC): Define it.
2371 [! ELIDE_VALLOC]: Make whole file conditional on this.
2372 * malloc/malloc.h (valloc): Make decl conditional on
2373 [!GMALLOC_INHIBIT_VALLOC] instead of [!emacs].
2375 Mon Apr 22 00:02:19 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
2377 * MakeTAGS: Include version.mk.
2378 (po/SYS_libc.pot): Add missing / in sed s cmd.
2380 Sat Apr 20 18:13:00 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
2382 * Makerules (no-whole-archive): Test $(have-no-whole-archive), not
2383 $(libc_cv_ld_no_whole_archive).
2385 Sat Apr 20 17:07:17 1996 Ulrich Drepper <drepper@cygnus.com>
2387 * assert/assert.h, ctype/ctype.h, dirent/dirent.h, errno.h,
2388 grp/grp.h, io/fcntl.h, io/sys/stat.h, io/utime.h, locale/locale.h,
2389 math/math.h, misc/nlist.h, misc/sgtty.h, misc/sys/file.h,
2390 misc/sys/ioctl.h, misc/sys/uio.h, posix/sys/times.h,
2391 posix/sys/types.h, posix/sys/utsname.h, posix/sys/wait.h,
2392 posix/tar.h, posix/wordexp.h, pwd/pwd.h, resource/sys/vlimit.h,
2393 resource/sys/vtimes.h, setjmp/setjmp.h, signal/signal.h,
2394 stdio-common/printf.h, stdlib/alloca.h, stdlib/stdlib.h,
2395 string/string.h, sysdeps/generic/sigaction.h,
2396 sysdeps/generic/sigset.h, sysdeps/generic/sys/ptrace.h,
2397 sysdeps/generic/sys/ptrace.h, sysdeps/unix/bsd/osf/sigaction.h,
2398 sysdeps/unix/sysv/linux/sys/ptrace.h,
2399 sysdeps/unix/sysv/minix/sigaction.h,
2400 sysdeps/unix/sysv/sco3.2.4/sigaction.h,
2401 sysdeps/unix/sysv/sysv4/sigaction.h,
2402 sysdeps/unix/sysv/sysv4/sigset.h, termios/termios.h,
2403 time/sys/time.h, time/time.h: Fix copyright comment.
2405 Fri Apr 19 00:49:44 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
2407 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): If uids and gids are
2408 not given in stack aux vector, fetch them with syscalls.
2410 * stdlib/rpmatch.c (rpmatch: try): Take new arg NOMATCH, return value
2411 for nonmatching nonerror (instead of !MATCH).
2412 (rpmatch): Use it, so we return -1 when NOEXPR doesn't match either.
2414 * resolv/getnetnamadr.c (getnetbyaddr): Use u_int32_t instead of
2415 unsigned long for variable NET2.
2417 * time/etcetera, time/europe, time/solar89: Updated from ADO's 96e.
2419 Tue Apr 9 14:37:31 1996 Ulrich Drepper <drepper@cygnus.com>
2421 * catgets/Makefile, catgets/catgets.c, catgets/catgetsinfo.h,
2422 catgets/config.h, catgets/gencat.c, catgets/nl_types.h,
2423 catgets/open_catalog.c: New files. Implementation of XPG4
2424 compliant catgets() function and needed tools.
2425 * Makefile (subdirs): Add catgets.
2427 Thu Apr 18 23:36:11 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
2429 * math/Makefile (CPPFLAGS): Append -D__NO_MATH_INLINES.
2431 Wed Apr 10 20:48:43 1996 Ulrich Drepper <drepper@cygnus.com>
2433 * stdio-common/vfprintf.c: Correct some typos.
2435 * sysdeps/libm-ieee754/w_gammaf.c, sysdeps/libm-ieee754/w_lgamma.c,
2436 sysdeps/libm-ieee754/w_lgammaf.c: Reference signgam instead of
2439 Thu Apr 18 21:07:27 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
2441 * Makerules (no-whole-archive): New variable.
2442 (build-shlib): Use it.
2443 * elf/Makefile (libdl.so): Use it.
2444 * configure.in (libc_cv_ld_no_whole_archive): New check for
2446 * config.make.in (have-no-whole-archive): New variable.
2448 * stdio-common/printf_fp.c: Increase fudge factor for BIGNUM_SIZE calc
2451 * Make-dist: Include version.mk.
2452 (version, release): Variables removed.
2453 * Makeconfig (version.mk): New target.
2455 Fri Apr 19 01:42:18 1996 Ulrich Drepper <drepper@cygnus.com>
2457 * locale/Makefile (headers): Add langinfo.h.
2458 (CPPFLAGS): Remove -Iliblib.
2460 Mon Apr 15 16:49:04 1996 Roland McGrath <roland@whiz-bang.gnu.ai.mit.edu>
2462 * malloc/memalign.c, malloc/malloc.h [__DJGPP__ == 1]: Elide memalign
2463 function and its declaration.
2465 Wed Apr 10 14:13:45 1996 Miles Bader <miles@gnu.ai.mit.edu>
2467 * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Store
2468 MACH_PORT_DEAD in the thread reply-port variable before destroying
2469 the signal handler's reply port, to avoid infinite recursion.
2471 Mon Apr 8 18:27:17 1996 Miles Bader <miles@gnu.ai.mit.edu>
2473 * sysdeps/mach/gettimeofday.c (__gettimeofday): Don't fail if the
2474 user passes in TZ, just zero it (emacs passes in a dummy variable,
2475 and rms says the hurd should be the one to change).
2477 Sun Apr 7 10:37:30 1996 Roland McGrath <roland@whiz-bang.gnu.ai.mit.edu>
2479 * sysdeps/mach/hurd/fork.c: Don't leak send rights to the child's proc
2482 Fri Apr 5 17:43:41 1996 Miles Bader <miles@gnu.ai.mit.edu>
2484 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn): Store
2485 MACH_PORT_DEAD in the thread reply-port variable before destroying
2486 the signal handler's reply port to avoid infinite recursion.
2487 * sysdeps/mach/hurd/mig-reply.c (__mig_dealloc_reply_port): Only
2488 attempt to destroy PORT if it's a valid port name.
2490 Wed Apr 3 17:10:44 1996 Roland McGrath <roland@whiz-bang.gnu.ai.mit.edu>
2492 * extra-lib.mk: Put libs in $(common-objpfx) instead of $(objpfx).
2493 * Makerules ($(install-lib) rules): Find libs with $(common-objpfx)
2494 instead of $(objpfx).
2496 Tue Apr 2 21:27:01 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2498 * posix/glob.c (glob_pattern_p): Avoid scanning past eos if
2499 the pattern ends with a backslash and quoting is enabled.
2500 * posix/fnmatch.c (fnmatch): Likewise; return FNM_NOMATCH for such
2503 Mon Apr 1 13:34:55 1996 Roland McGrath <roland@whiz-bang.gnu.ai.mit.edu>
2505 * stdio-common/tst-printf.c (main): Add new test case.
2507 * sysdeps/generic/setenv.c (unsetenv): Use old-style definition.
2509 Mon Apr 1 11:39:10 Ulrich Drepper <drepper@gnu.ai.mit.edu>
2511 * stdlib/strtod.c (STRTOD): Fix handling of American style FP
2514 * stdio-common/vfprintf.c (vfprintf): Don't increment format
2515 string pointer twice after seeing `*'.
2517 Sun Mar 31 17:31:54 1996 Roland McGrath <roland@whiz-bang.gnu.ai.mit.edu>
2519 * MakeTAGS (po/SYS_libc.pot): Prepend header processed from
2522 Sun Mar 31 18:07:32 1996 Ulrich Drepper <drepper@gnu.ai.mit.edu>
2524 * locale/Makefile (others, install-bin): Compiling locale works
2526 (locale-modules): locale has no --dump option anymore. Remove
2529 * locale/programs/config.h: Don't declare euidaccess.
2530 Use #include_next to get libc's config.h.
2532 * locale/programs/ctypedump.c: Not needed anymore. Dump option
2533 of locale is removed.
2535 * locale/programs/locale.c: Adapt for new locale implementation.
2537 * stdio-common/_itoa.h (_itoa_word): Define as inline function.
2538 * stdio-common/_itoa.c (_itoa_lower_digits, _itoa_upper_digits):
2539 Don't declare static because used in _itoa_word inline function.
2541 * stdio-common/printf-parse.h: Prepare for use in wide-char
2542 stdio implementation.
2543 (find_spec): Take additional argument to work with mbrlen instead
2545 (parse_one_spec): Ditto.
2547 * stdio-common/printf-prs.c: Prepare for use in wide-char
2548 stdio implementation.
2550 * stdio-common/printf.h: Mark change for wide-char handling.
2551 Changing it now would result in incompatibilities.
2553 * stdio-common/vfprintf.c: New and fast implementation.
2555 * wcsmbs/Makefile (routines): Remove pre-ISO C multibyte functions
2556 mbsadvance, mbscat, mbschr, mbscmp, mbscpy, mbsdup, mbslen,
2557 mbsncat, mbsncmp, mbsncpy, mbsrchr, mbstomb.
2558 Change wcswcs to wcsstr.
2559 Add wmemchr, wmemcmp, wmemcpy, wmemmove, wmemset, btowc, wctob,
2560 mbsinit, mbrlen, mbrtowc, wcrtomb, mbsrtowcs, wcsrtombs.
2562 * wcsmbs/btowc.c, wcsmbs/mbrlen.c, wcsmbs/mbrtowc.c,
2563 wcsmbs/mbsinit.c, wcsmbs/mbsrtowcs.c, wcsmbs/wchar.h,
2564 wcsmbs/wcrtomb.c, wcsmbs/wcsrtombs.c, wcsmbs/wcsstr.c,
2565 wcsmbs/wctob.c, wcsmbs/wmemchr.c, wcsmbs/wmemcmp.c,
2566 wcsmbs/wmemcpy.c, wcsmbs/wmemmove.c, wcsmbs/wmemset.c: New
2567 function according to ISO C amendment 1.
2568 * wchar.h: Wrapper around "wcsmbs/wchar.h".
2570 * wcsmbs/wcscat.c, wcsmbs/wcschr.c, wcsmbs/wcscmp.c,
2571 wcsmbs/wcscpy.c, wcsmbs/wcscspn.c, wcsmbs/wcsdup.c,
2572 wcsmbs/wcslen.c, wcsmbs/wcsncat.c, wcsmbs/wcsncmp.c,
2573 wcsmbs/wcsncpy.c, wcsmbs/wcspbrk.c, wcsmbs/wcsrchr.c,
2574 wcsmbs/wcsspn.c, wcsmbs/wcstok.c: Changed to conform with ISO C
2577 * wcsmbs/mbsadvance.c, wcsmbs/mbscat.c, wcsmbs/mbschr.c,
2578 wcsmbs/mbscmp.c, wcsmbs/mbscpy.c, wcsmbs/mbsdup.c,
2579 wcsmbs/mbslen.c, wcsmbs/mbsncat.c, wcsmbs/mbsncmp.c,
2580 wcsmbs/mbsncpy.c, wcsmbs/mbsrchr.c, wcsmbs/mbstomb.c,
2581 wcsmbs/mbstr.h, wcsmbs/wcstr.h, wcsmbs/wcswcs.c: Removed.
2582 Implement functions from early drafts, not part of final standard.
2584 Sun Mar 31 16:50:41 1996 Roland McGrath <roland@whiz-bang.gnu.ai.mit.edu>
2586 * setjmp/setjmp.h (jmp_buf): Change gratuitous struct tag name to
2587 __jmp_bug_tag so its C++ implicit typedef does not conflict with the
2590 * Makerules (BUILD_CFLAGS) [! objdir]: Use $(..)config.h when
2591 compiling in the source directories.
2593 Fri Mar 29 16:26:35 1996 Roland McGrath <roland@whiz-bang.gnu.ai.mit.edu>
2595 * sysdeps/libm-ieee754/w_gamma.c: Use signgam instead of __signgam.
2596 * sysdeps/libm-ieee754/s_signgam.c: Undo last change.
2598 Fri Mar 29 11:29:46 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
2600 * sysdeps/libm-ieee754/s_signgam.c (signgam): Renamed to __signgam,
2601 with weak alias signgam.
2603 Thu Mar 28 18:32:34 1996 Roland McGrath <roland@whiz-bang.gnu.ai.mit.edu>
2605 * Makeconfig (+cflags, +gcc-nowarn): Use gcc flags unconditionally.
2607 Thu Mar 28 14:22:51 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
2609 * sunrpc/rpc_main.c (main): Call textdomain.
2611 * MakeTAGS (XGETTEXTFLAGS-siglist.pot, XGETTEXTFLAGS-errlist.pot): Add
2613 (all-pot): Replace $(subdirs) files with $P/subdirs.pot.
2614 ($P/subdirs.pot): New target.
2615 ($P/SYS_libc.pot): Add -n switch.
2617 * locale/locale.h (LC_*): Values reordered to match Linux libc.
2619 * sysdeps/mach/hurd/kill.c: If proc_pid2task gives us MACH_PORT_NULL
2620 the process is a zombie; send no messages and return success.
2622 Thu Mar 28 11:53:26 1996 Roland McGrath <roland@whiz-bang.gnu.ai.mit.edu>
2624 * wctype/cname-lookup.h: Find localeinfo.h in ../locale.
2625 * wctype/wctype.c: Likewise.
2626 * wctype/wctrans.c: Likewise.
2628 Thu Mar 28 03:00:43 1996 Roland McGrath <roland@whiz-bang.gnu.ai.mit.edu>
2630 * locale/nl_langinfo.c (nl_langinfo): Use DATA->values instead of
2633 * Makerules (BUILD_CFLAGS): Remove $(common-objpfx) from config.h.
2635 * configure.in (.weakext check): Fix asm code to use .weakext instead
2636 of .weak! Fix bogus test calls.
2637 * configure: Regenerated.
2639 Thu Mar 28 03:25:10 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
2641 * locale/programs/xmalloc.c: Test _LIBC as well as STDC_HEADERS.
2643 * locale/programs/ld-collate.c (collate_finish): Use error_at_line
2644 instead of error_with_loc.
2646 * locale/weight.h: Use u_int32_t instead of u32_t.
2647 * string/strxfrm.c: Likewise.
2649 * string/strxfrm.c: Find weight.h in ../locale; don't #include
2651 * string/strcoll.c: Likewise.
2653 * intl/Makefile (copysrc): Add missing > in sed cmd.
2655 Sat Mar 23 17:52:49 1996 Ulrich Drepper <drepper@gnu.ai.mit.edu>
2657 * Makeconfig: Rename Makefile variable nlsdir to i18ndir and
2658 change value to $(datadir)/i18n. `nls' is not an appropriate
2661 * Makefile (subdirs): Add new subdir wctype.
2663 * ctype/ctype-info.c: Add new global variable __ctype_names
2664 and initialize from _nl_C_LC_CTYPE.
2666 * ctype/ctype.h: In P1003.3b/D11 `alnum' is a separate character
2668 [_ISbit]: Protect definition of bitmasks because they are also
2671 * libio/genops.c (_IO_sputbackc, _IO_sungetc): Clear EOF flag
2672 after successfully pushing back a character.
2674 Fundamental changes in locale implementation. Almost nothing
2675 from the old code is used anymore.
2676 * locale/charmap.c, locale/collate.c, locale/config.h,
2677 locale/ctypedump.c, locale/hash.h, locale/keyword.gperf,
2678 locale/keyword.h, locale/loadlocale.c, locale/locale-ctype.c,
2679 locale/locale.c locale/localeconv.c, locale/localedef.c,
2680 locale/localedef.h, locale/locfile-hash.c, locale/locfile-lex.c,
2681 locale/locfile-parse.c, locale/messages.c, locale/monetary.c,
2682 locale/numeric.c, locale/setlocale.c, locale/token.h,
2683 locale/xmalloc.c: Removed.
2685 * locale/Makefile: Update for new locale implementation with
2686 program source code distributed in subdir.
2688 * locale/categories.def, locale/iso-4217.def: Updated file
2689 for new locale implementation.
2691 * locale/langinfo.h: Updated for new locale implementation.
2692 (ERA_D_T_FMT, ERA_T_FMT): New official values according to
2694 (_NL_COLLATE_NRULES, _NL_COLLATE_RULES, _NL_COLLATE_HASH_SIZE,
2695 _NL_COLLATE_HASH_LAYERS, _NL_COLLATE_TABLE_EB,
2696 _NL_COLLATE_TABLE_EL, _NL_COLLATE_UNDEFINED, _NL_COLLATE_EXTRA_EB,
2697 _NL_COLLATE_EXTRA_EL, _NL_CTYPE_NAMES_EB, _NL_CTYPE_NAMES_EL,
2698 _NL_CTYPE_HASH_SIZE, _NL_CTYPE_HASH_LAYERS, _NL_CTYPE_CLASS_NAMES,
2699 _NL_CTYPE_MAP_NAMES, _NL_CTYPE_WIDTH): New internal values for
2700 extended LC_CTYPE and LC_COLLATE implementation.
2702 * locale/programs/simple-hash.c, locale/programs/simple-hash.h,
2703 locale/programs/xmalloc.c, locale/programs/xstrdup.c: Helper functions
2704 for locale related programs.
2706 * locale/C-collate.c, locale/C-ctype.c,
2707 locale/C-messages.c, locale/C-monetary.c,
2708 locale/C-numeric.c, locale/C-time.c,
2709 locale/lc-collate.c, locale/lc-ctype.c,
2710 locale/lc-messages.c, locale/lc-monetary.c,
2711 locale/lc-numeric.c, locale/lc-time.c: New implementation of locale
2712 functions, and new generated "C" locale data.
2714 * locale/loadlocale.c: Now handles word fields in locale binary
2715 automatically by changing the endianess if necessary.
2717 * locale/localeinfo.h (LIMAGIC): Changed magic number because
2718 of incompatible changes.
2719 (locale_data): Changed definition to allow word as a value type.
2720 (coll_sort_rule): Values for collation sorting mode.
2721 (_NL_CURRENT_WORD): New macro to access word value of locale entry.
2722 (__collate_table, __collate_extra): Declare new global variables
2723 for collation tables.
2725 * locale/programs/charmap-kw.gperf, locale/programs/charmap-kw.h,
2726 locale/programs/charmap.c, locale/programs/charset.c,
2727 locale/programs/charset.h, locale/programs/config.h,
2728 locale/programs/ctypedump.c, locale/programs/ld-collate.c,
2729 locale/programs/ld-ctype.c, locale/programs/ld-messages.c,
2730 locale/programs/ld-monetary.c, locale/programs/ld-numeric.c,
2731 locale/programs/ld-time.c, locale/programs/linereader.c,
2732 locale/programs/linereader.h, locale/programs/locale.c,
2733 locale/programs/localedef.c, locale/programs/locales.h,
2734 locale/programs/locfile-kw.gperf, locale/programs/locfile-kw.h,
2735 locale/programs/locfile-token.h, locale/programs/locfile.c,
2736 locale/programs/locfile.h, locale/programs/stringtrans.c,
2737 locale/programs/stringtrans.h: Implementation of locale related
2740 * locale/weight.h: Functions to access collation tables.
2742 * posix/unistd.h: Define _POSIX2_LOCALEDEF.
2744 * stdio-common/printf_fp.c: Fix bug with printing certain numbers
2745 < 10^-1. Reported by Bill Metzenthen.
2747 * stdio-common/tfformat.c: Add new test for above bug.
2749 * string/strcoll.c, string/strxfrm.c: Real implementation of
2750 string collation according to ISO C.
2752 * wctype/Makefile, wctype/cname-lookup.h, wctype/iswctype.c,
2753 wctype/test_wctype.c, wctype/towctrans.c, wctype/wcfuncs.c,
2754 wctype/wctrans.c, wctype/wctype.c, wctype/wctype.h: New files.
2755 Implementation of wide character classes and mapping.
2757 Wed Mar 27 14:52:11 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
2759 * elf/rtld.c (dl_main): Call _dl_sysdep_start_cleanup after
2760 _dl_relocate_object loop. Avoid relocating RTLD_MAP in that loop, and
2761 do it individually if necessary after _dl_sysdep_start_cleanup call.
2763 * stdlib/Makefile (mpn-routines): Add divrem.
2765 Tue Mar 26 22:54:14 Ulrich Drepper <drepper@gnu.ai.mit.edu>
2767 * stdio-common/printf_fp.c (__printf_fp): Use mpn_divmod
2768 instead of __mpn_divmod.
2770 Wed Mar 27 10:26:21 1996 David Mosberger-Tang <davidm@azstarnet.com>
2772 * sysdeps/alpha/setjmp.S: Must establish global pointer before
2773 address of __sigsetjmp_aux can be loaded.
2775 Wed Mar 27 02:23:19 1996 Ulrich Drepper <drepper@gnu.ai.mit.edu>
2777 * sysdeps/i386/i586/memset.S: New file. Highly optimized
2778 version for i586 contributed by Torbjorn Granlund.
2779 Adapted for use as bzero.
2780 * sysdeps/i386/i586/bzero.S: Use sysdeps/i386/i586/memset.S
2781 code to implement bzero().
2783 Tue Mar 26 20:01:17 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
2785 * stdlib/Makefile (mpn-routines): Remove divmod.
2787 Tue Mar 26 15:40:14 1996 Brendan Kehoe <brendan@zen.org>
2789 * sysdeps/unix/sysv/sysv4/solaris2/sparc/sysdep.h (NO_UNDERSCORES): Use
2790 wrapped with #ifndef, to avoid config.h defining it.
2792 Mon Mar 25 13:10:04 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
2794 * malloc/realloc.c (_realloc_internal): In case of growing large
2795 block, leave _heaplimit zero across _malloc_internal call.
2797 * intl/Makefile [gettext-srcdir]: Use gpl2lgpl.sed on copied sources.
2799 Mon Mar 25 03:35:16 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
2801 * malloc/malloc.c (morecore): Don't attempt recursive realloc of info
2802 table when _heaplimit==0 during realloc growing large block.
2804 * MakeTAGS (extract): Remove /dev/null from xgettext command line.
2805 (text-srcs): New variable: extract only C sources from $(tags_sources).
2806 (po/$(domain).pot): Depend on that.
2807 If it's empty, cp /dev/null $@ instead of $(extract).
2809 * misc/Makefile (headers): Add iovec.h.
2810 * sysdeps/unix/sysv/linux/iovec.h: New file.
2811 * sysdeps/generic/iovec.h: New file.
2812 * misc/sys/uio.h (struct iovec): Type replaced with #include <iovec.h>.
2814 * configure.in (NO_UNDERSCORES check): Use AC_TRY_LINK instead of
2817 * misc/sys/cdefs.h [__USE_BSD] (const, signed, volatile): Move these
2818 macros inside [! __STDC__].
2820 * stdlib/rpmatch.c: New file.
2821 * stdlib/Makefile (routines): Add rpmatch.
2822 * stdlib/stdlib.h [__USE_SVID]: Declare rpmatch.
2824 * MakeTAGS (MSGJOIN): Variable removed.
2825 (po/SYS_libc.pot): Use $(XGETTEXT) instead of $(MSGJOIN).
2827 Wed Mar 20 20:08:46 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2829 * sysdeps/unix/sysdep.h: Don't define C_SYMBOL_NAME.
2831 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Don't define
2834 Thu Mar 21 11:19:15 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
2836 * mach/devstream.c (input): Translate \r to \n on input.
2838 Wed Mar 20 11:28:49 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2840 * stdio-common/printf.h, stdio-common/printf_fp.c,
2841 stdio-common/vfprintf.c: Place const in parameter list at
2844 Wed Mar 20 23:58.12 1996 Ulrich Drepper <drepper@gnu.ai.mit.edu>
2846 * sysdeps/i386/ldbl2mpn.c: Copy of former version of
2847 sysdeps/ieee754/ldbl2mpn.c.
2848 * sysdeps/ieee754/ldbl2mpn.c: Remove i386 specific unification.
2849 Reported by Andreas Schwab.
2851 Wed Mar 20 19:58:43 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
2853 * version.c: Include version.h to define RELEASE and VERSION macros.
2854 (__libc_release, __libc_version): Use them.
2855 * locale/SYS_libc.c (_libc_intl_domainname): Include ../version.h and
2856 use VERSION to define domainname as `SYS_GNU_libc-VERSION'.
2857 * Make-dist (rel+vers): Snarf the macro values from version.h.
2859 * MakeTAGS (extract): Pass $(XGETTEXTFLAGS-$(@F)).
2860 (XGETTEXTFLAGS-siglist.pot, XGETTEXTFLAGS-errlist.pot): New variables;
2861 pass -a for these files.
2863 * Makerules (po/%.pot): Depend on FORCE target so recursive make is
2866 Mon Mar 18 22:54:32 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2868 * sysdeps/unix/sysv/linux/wait3.c: New file.
2869 * sysdeps/unix/sysv/linux/wait.c: Use the bsd4.4 wait, not the
2870 one from sysdeps/posix.
2872 Wed Mar 20 09:42:11 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
2874 * sysdeps/unix/bsd/waitflags.h (WNOREAP): New macro.
2876 * elf/dl-load.c (_dl_map_object_from_fd): Always set L->l_type; if not
2877 lt_executable, then lt_library.
2878 * elf/rtld.c (dl_main): Don't set NEW->l_type after _dl_map_object.
2880 Wed Mar 20 00:08:23 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2882 * sysdeps/unix/sysv/linux/syscalls.list: Remove gtty and stty.
2884 Tue Mar 19 16:31:06 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2886 * sysdeps/unix/sysv/linux/termbits.h (CRTSCTS, CBAUDEX, VEOL,
2887 VEOL2, VMIN, VTIME): Corrected.
2888 (PAGEOUT, WRAP, VDSUSP): Deleted.
2890 Tue Mar 19 14:18:42 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
2892 * sysdeps/unix/readdir.c: Test [! _DIRENT_HAVE_D_RECLEN] instead of
2893 (sizeof (DP->d_name) > 1) to detect fixed-size dir entries.
2895 * sysdeps/i386/fpu/__math.h (asinh): Call log1p instead of __log1p.
2897 * math/math.h: Move M_* constants before __math.h include.
2898 [__NO_MATH_INLINES || __OPTIMIZE__]: Include __math.h only #if this.
2900 * misc/efgcvt_r.c (ecvt_r): Declare floor, log10, fabs as weak extern.
2901 If log10 is not defined (i.e. no -lm), use stupid loop instead.
2903 * features.h (__FAVOR_BSD): Define only if _BSD_SOURCE is defined
2904 and no other _*_SOURCE macro is.
2905 (_GNU_SOURCE): Don't define by default.
2906 * libc-symbols.h (_GNU_SOURCE): Define it.
2908 * configure.in (alpha*-*-linux*): Unset $gnu_ld and $elf.
2910 * config.make.in (weak-symbols): Variable removed.
2911 * configure.in (--with-weak-symbols): Option removed.
2912 (NO_UNDERSCORES, HAVE_ASM_WEAK_DIRECTIVE, HAVE_ASM_WEAKEXT_DIRECTIVE):
2915 * config.h.in (HAVE_WEAK_SYMBOLS): #undef removed.
2916 (NO_UNDERSCORES, HAVE_ASM_WEAK_DIRECTIVE, HAVE_ASM_WEAKEXT_DIRECTIVE):
2918 * libc-symbols.h: Use them instead of HAVE_WEAK_SYMBOLS.
2920 * sysdeps/unix/bsd/pause.c: Moved to sysdeps/unix/common/pause.c.
2922 Mon Mar 4 20:17:28 1996 David Mosberger-Tang <davidm@azstarnet.com>
2924 * inet/inet_lnaof.c: Use u_int32_t instead of u_long.
2925 * inet/inet_mkadr.c: Likewise.
2926 * inet/inet_net.c: Likewise.
2927 * inet/inet_netof.c: Likewise.
2928 * inet/rcmd.c: Likewise.
2929 * inet/arpa/inet.h: Likewise.
2930 * inet/netinet/in.h: Likewise.
2931 * inet/netinet/tcp.h: Likewise.
2932 * inet/protocols/rwhod.h: Likewise.
2933 * inet/protocols/talkd.h: Likewise.
2934 * resolv/inet_addr.c: Likewise.
2936 * sysdeps/unix/sysv/linux/adjtime.c: Use INT_MAX instead of LONG_MAX.
2938 * sysdeps/unix/sysv/Makefile (sysdep_routines): Don't add s_getdents.
2940 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Don't add mount,
2943 * sysdeps/alpha/__math.h (atan, cabs): New functions.
2945 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S: new file (syscall
2946 expects set-value, not pointer to it).
2948 Sun Feb 25 22:36:10 1996 David Mosberger-Tang <davidm@azstarnet.com>
2950 * sysdeps/unix/sysv/linux/alpha/profil-counter.h: New file.
2952 * gmon/gmon.c (__bb_head): new variable.
2953 (write_hist, write_call_graph, write_bb_counts): new functions.
2954 (_mcleanup): modified to call above functions instead of directly
2955 writing out gmon.out.
2956 * gmon/sys/gmon.h (struct __bb): New type.
2957 (struct gmonhdr): Type removed.
2958 (struct gmonparam): New member `log_hashfraction'.
2959 (GMONVERSION): Macro removed.
2961 * gmon/sys/gmon_out.h, gmon/bb_exit_func.c,
2962 sysdeps/generic/bb_init_func.c, sysdeps/alpha/bb_init_func.S: new
2964 * gmon/Makefile (headers): Add sys/gmon_out.h.
2965 (routines): Add bb_init_func, bb_exit_func.
2967 * gmon/mcount.c: Avoid integer division.
2969 Wed Feb 21 23:56:41 1996 David Mosberger-Tang <davidm@azstarnet.com>
2971 * sysdeps/alpha/setjmp.S: switched order in which sp and fp are
2972 passed to match what __sigsetjmp_aux() expects.
2974 Tue Feb 20 11:33:46 1996 David Mosberger-Tang <davidm@azstarnet.com>
2976 * sysdeps/unix/sysv/linux/alpha/syscalls.list (select, bind,
2977 connect, getpeername, getsockname, listen, recv, recvfrom,
2978 recvmsg, send, sendmsg, sendto, setsockopt, shutdown, socketpair):
2979 added to override same-name assembly file in the parent directory.
2981 * stdlib/stdlib.h: add include of sys/types.h in front of random
2982 etc declarations to ensure int32_t is declared.
2984 * stdlib/random.c, stdlib/random_r.c: replaced "long int" by int32_t
2985 where 32 bit integers are required. Also change LONG_MAX into
2986 0x7fffffff since the intent is to turn off the sign bit in a
2989 * time/offtime.c (__offtime): Use Paul Eggert's code to deal
2990 with very large values for "days" (e.g., 64 bit values).
2992 Mon Feb 19 22:22:12 1996 David Mosberger-Tang <davidm@azstarnet.com>
2994 * stdlib/stdlib.h (__random, __random_r, random_r, struct
2995 random_data): use int32_t instead of `long int'.
2997 Sat Feb 17 11:29:29 1996 David Mosberger-Tang <davidm@azstarnet.com>
2999 * sysdeps/unix/sysv/linux/alpha/ioperm.c: new file.
3001 * sysdeps/alpha/ffs.S: new file.
3003 * sysdeps/alpha/fabs.c: File removed.
3005 * time/tzfile.c (__tzfile_read): counter variable is i, *not*
3008 * time/offtime.c: make capable of dealing with very large (64 bit)
3009 time_t values. Use old algorithm until a year is reached that
3010 is an integer multiple of 400, then use DAYS_PER_400_YEARS to
3011 do the remainder in a single division.
3013 * sysdeps/generic/ffs.c (ffs): fix variable declarations to
3014 be unsigned int, not unsigned long.
3016 * string/test-ffs.c (main): add test case with all upper bits
3019 * stdlib/tst-strtol.c: add tests cases for machines where
3022 * stdlib/testrand.c (main): disallow rand() to return negative
3025 * stdlib/testmb.c (main): fix format to use %lx instead of %x.
3027 * stdlib/stdlib.h: on 64 bit machines, declare
3028 struct random_data, __random(), __random_r, and random_r to
3029 return "int" instead of "long int".
3031 * stdlib/random_r.c: 64 bit machines use "int" instead of "long
3032 int". Similarly, use INT_MAX instead of LONG_MAX.
3034 * stdlib/random.c: on 64 bit machines, randtbl[] and __random[]
3035 need to operate on "int" instead of "long int".
3037 * locale/locfile-hash.c (compute_hashval): make shifted constant
3038 a long to avoid loosing bits on 64 bit machines.
3040 * dirent/tst-seekdir.c (main): fix confusing comment; print
3041 a line to mark point where directory is rewound.
3043 Fri Feb 16 15:01:49 1996 David Mosberger-Tang <davidm@azstarnet.com>
3045 * time/strftime.c (strftime): any hour > 11 is PM (not > 12!).
3047 Wed Feb 14 00:21:17 1996 David Mosberger-Tang <davidm@azstarnet.com>
3049 * sysdeps/unix/sysv/linux/alpha/Makefile,
3050 sysdeps/unix/sysv/linux/alpha/brk.S,
3051 sysdeps/unix/sysv/linux/alpha/fpu_control.c,
3052 sysdeps/unix/sysv/linux/alpha/fpu_control.h,
3053 sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S,
3054 sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S,
3055 sysdeps/unix/sysv/linux/alpha/pipe.S,
3056 sysdeps/unix/sysv/linux/alpha/setfpucw.c,
3057 sysdeps/unix/sysv/linux/alpha/sigprocmask.c,
3058 sysdeps/unix/sysv/linux/alpha/speed.c,
3059 sysdeps/unix/sysv/linux/alpha/start.S,
3060 sysdeps/unix/sysv/linux/alpha/syscall.S,
3061 sysdeps/unix/sysv/linux/alpha/syscalls.list,
3062 sysdeps/unix/sysv/linux/alpha/alpha/regdef.h,
3063 sysdeps/unix/sysv/linux/alpha/sysdep.S,
3064 sysdeps/unix/sysv/linux/alpha/sysdep.h: New files.
3066 * sysdeps/alpha/setjmp_aux.c (__sigsetjmp_aux): restore return
3067 address register before returning (gcc 2.7.1 doesn't do it,
3068 presumably because $26 is declared as a global variable).
3070 * sysdeps/unix/sysv/linux/sys/mman.h: msync was missing "flags"
3073 * sysdeps/unix/alarm.c (alarm): do roundup using test & increment
3074 instead of multiplication.
3076 * sysdeps/posix/sleep.c (sleep): initialize sa_mask to mask of
3077 currently blocked signals instead of the empty mask to ensure
3078 that execution of alarm handler occurs with none of the currently
3079 blocked signals enabled.
3081 * sysdeps/unix/alpha/sysdep.h: new file (adapted from OSF/1 version).
3083 * sysdeps/unix/bsd/osf/alpha/sysdep.h: include
3084 sysdeps/unix/alpha/sysdep.h and removed definitions now in that file.
3086 * sysdeps/alpha/divrem.S, sysdeps/alpha/htonl.S,
3087 sysdeps/alpha/htons.S, sysdeps/alpha/machine-gmon.h,
3088 sysdeps/alpha/_mcount.S, sysdeps/alpha/ntohl.s, sysdeps/alpha/ntohs.s,
3089 sysdeps/alpha/strlen.S: New files.
3091 * sysdeps/alpha/divl.S, sysdeps/alpha/divlu.S, sysdeps/alpha/divq.S,
3092 sysdeps/alpha/divqu.S, sysdeps/alpha/divrem.m4,
3093 sysdeps/alpha/macros.m4, sysdeps/alpha/reml.S, sysdeps/alpha/remlu.S,
3094 sysdeps/alpha/remq.S, sysdeps/alpha/remqu.S, sysdeps/alpha/strlen.c:
3097 * sysdeps/generic/sbrk.c (__sbrk): argument is of type ptrdiff_t, not
3100 * sysdeps/alpha/__longjmp.c (__longjmp): moved dummy while loop
3101 to end of function to avoid a jump across NOPs.
3103 * sysdeps/alpha/Makefile (sysdep_routines): Removed all rules
3104 pertaining to integer division/remainder routines since new code
3105 doesn't require them.
3107 * sunrpc/xdr_mem.c, sunrpc/xdr_stdio.c: Use 4 instead of sizeof(long)
3108 where 32 bit quantities are consumed/stored. Various other minor
3109 64-bit cleanups (casting).
3111 * sunrpc/xdr.c (xdr_int): test for sizeof(int)==4 to determine
3112 whether xdr_long or xdr_short should be used to encode an int.
3113 Notice that an xdr_long is 4 bytes independent of the architecture
3114 (otherwise no Alpha could interoperate with existing NFS servers,
3115 for example). Ditto for enums.
3117 * sunrpc/svc_udp.c (svcudp_recv): changed test from 4*sizeof(u_long)
3118 to 16 since it really wants 16 bytes.
3120 * sunrpc/svc.c (maskp): changed from u_long* to u_int32*.
3122 * sunrpc/rpc/xdr.h (IXDR_GET_LONG, IXDR_PUT_LONG): change casts to
3123 u_int32_t (instead of u_long).
3125 * sunrpc/rpc_cmsg.c (xdr_callmsg), sunrpc/svc_authux.c: increment
3126 "buf" pointer by casting it to a char* first since a long* may be 8
3127 bytes or more and oa->oa_length may be any multiple of 4.
3129 * sunrpc/clnt_udp.c (clntudp_call): replaced sizeof(u_long) by 4
3130 since it really is testing for 32 bits. Fixed casts to use
3131 u_int32 instead of u_long.
3132 * sunrpc/xdr_rec.c: Likewise.
3134 * sunrpc/clnt_tcp.c (clnttcp_call): replaced u_long by u_int32.
3135 * sunrpc/rpc/auth.h: Likewise.
3137 * limits.h (LONG_MAX, LONG_MIN, ULONG_MAX): use 64 bit values
3140 Tue Mar 19 13:27:49 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
3142 * sysdeps/i386/fpu/__math.h: New file.
3143 Contributed by John C. Bowman <bowman@hagar.ph.utexas.edu>.
3145 Sun Mar 17 00:28:16 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3147 * sysdeps/posix/clock.c: Don't multiply the return value by
3148 CLOCKS_PER_SEC or CLK_TCK.
3150 Mon Mar 18 13:20:46 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
3152 * sysdeps/mach/hurd/getcwd.c: Fail with ENOENT if a parent directory
3153 scan finds no match.
3155 * posix/unistd.h (setpgrp): Declare no-arg version unless __FAVOR_BSD.
3156 * misc/bsd-compat.c (setpgrp): New function, two arg version.
3157 * sysdeps/stub/setpgid.c: Remove setpgrp alias.
3158 * sysdeps/mach/hurd/setpgid.c: Likewise.
3159 * sysdeps/unix/sysv/sysv4/setpgid.c: Likewise.
3160 * sysdeps/unix/common/syscalls.list (setpgid): Remove setpgrp alias.
3161 * sysdeps/unix/sysv/irix4/syscalls.list: Likewise.
3162 * sysdeps/unix/sysv/linux/setpgrp.c: Obsolete file removed.
3163 * posix/setpgrp.c (setpgrp): New file.
3164 * posix/Makefile (routines): Add setpgrp.
3166 * elf/Makefile (rtld-link): New canned sequence.
3167 (ld.so, ld-linux.so.1): Use it. Pass -soname option.
3169 * sysdeps/i386/setjmp.S (__setjmp): Define compatibility entry point.
3171 Sun Mar 17 23:15:32 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3173 * sysdeps/unix/sysv/linux/tcgetpgrp.c,
3174 sysdeps/unix/sysv/linux/tcsetpgrp.c: New files.
3176 Sun Mar 17 07:19:33 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
3178 * db/Makefile (CFLAGS-hash_func.c): New variable; pass -Wno-unused.
3179 (CFLAGS): Append -Wno-unitialized.
3181 Sat Mar 16 20:58:43 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
3183 * stdlib/erand48_r.c: Use FP division by powers of two to distribute
3184 short bits into double.
3186 Sat Mar 16 20:08:22 1996 David Mosberger-Tang <davidm@azstarnet.com>
3188 * sysdeps/alpha/memchr.S: New file.
3189 * sysdeps/alpha/memchr.c: Obsolete file removed.
3190 * string/tester.c: Soup up memchr tests.
3192 Sat Mar 16 16:26:09 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
3194 * misc/Makefile (headers): Add sysexits.h.
3195 * misc/sysexits.h: New file.
3197 Thu Mar 14 15:20:45 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3199 * sysdeps/libm-ieee754/e_atan2.c (__ieee754_atan2): Change atan
3201 * sysdeps/libm-ieee754/e_atan2f.c (__ieee754_atan2f): Change atanf
3204 * sysdeps/m68k/fpu/e_acos.c, sysdeps/m68k/fpu/e_acosf.c,
3205 sysdeps/m68k/fpu/e_asin.c, sysdeps/m68k/fpu/e_asinf.c,
3206 sysdeps/m68k/fpu/e_atanh.c, sysdeps/m68k/fpu/e_atanhf.c,
3207 sysdeps/m68k/fpu/e_cosh.c, sysdeps/m68k/fpu/e_coshf.c,
3208 sysdeps/m68k/fpu/e_exp.c, sysdeps/m68k/fpu/e_expf.c,
3209 sysdeps/m68k/fpu/e_fmod.c, sysdeps/m68k/fpu/e_fmodf.c,
3210 sysdeps/m68k/fpu/e_log.c, sysdeps/m68k/fpu/e_log10.c,
3211 sysdeps/m68k/fpu/e_log10f.c, sysdeps/m68k/fpu/e_logf.c,
3212 sysdeps/m68k/fpu/e_pow.c, sysdeps/m68k/fpu/e_powf.c,
3213 sysdeps/m68k/fpu/e_remainder.c, sysdeps/m68k/fpu/e_remainderf.c,
3214 sysdeps/m68k/fpu/e_scalb.c, sysdeps/m68k/fpu/e_scalbf.c,
3215 sysdeps/m68k/fpu/e_sinh.c, sysdeps/m68k/fpu/e_sinhf.c,
3216 sysdeps/m68k/fpu/e_sqrt.c, sysdeps/m68k/fpu/e_sqrtf.c,
3217 sysdeps/m68k/fpu/k_cos.c, sysdeps/m68k/fpu/k_cosf.c,
3218 sysdeps/m68k/fpu/k_sin.c, sysdeps/m68k/fpu/k_sinf.c,
3219 sysdeps/m68k/fpu/k_tan.c, sysdeps/m68k/fpu/k_tanf.c,
3220 sysdeps/m68k/fpu/s_atan.c, sysdeps/m68k/fpu/s_atanf.c,
3221 sysdeps/m68k/fpu/s_ceil.c, sysdeps/m68k/fpu/s_ceilf.c,
3222 sysdeps/m68k/fpu/s_cos.c, sysdeps/m68k/fpu/s_cosf.c,
3223 sysdeps/m68k/fpu/s_expm1.c, sysdeps/m68k/fpu/s_expm1f.c,
3224 sysdeps/m68k/fpu/s_fabs.c, sysdeps/m68k/fpu/s_fabsf.c,
3225 sysdeps/m68k/fpu/s_finite.c, sysdeps/m68k/fpu/s_finitef.c,
3226 sysdeps/m68k/fpu/s_floor.c, sysdeps/m68k/fpu/s_floorf.c,
3227 sysdeps/m68k/fpu/s_frexp.c, sysdeps/m68k/fpu/s_frexpf.c,
3228 sysdeps/m68k/fpu/s_ilogb.c, sysdeps/m68k/fpu/s_ilogbf.c,
3229 sysdeps/m68k/fpu/s_isinf.c, sysdeps/m68k/fpu/s_isinff.c,
3230 sysdeps/m68k/fpu/s_isnan.c, sysdeps/m68k/fpu/s_isnanf.c,
3231 sysdeps/m68k/fpu/s_ldexp.c, sysdeps/m68k/fpu/s_ldexpf.c,
3232 sysdeps/m68k/fpu/s_log1p.c, sysdeps/m68k/fpu/s_log1pf.c,
3233 sysdeps/m68k/fpu/s_logb.c, sysdeps/m68k/fpu/s_logbf.c,
3234 sysdeps/m68k/fpu/s_modf.c, sysdeps/m68k/fpu/s_modff.c,
3235 sysdeps/m68k/fpu/s_rint.c, sysdeps/m68k/fpu/s_rintf.c,
3236 sysdeps/m68k/fpu/s_scalbn.c, sysdeps/m68k/fpu/s_scalbnf.c,
3237 sysdeps/m68k/fpu/s_significand.c,
3238 sysdeps/m68k/fpu/s_significandf.c, sysdeps/m68k/fpu/s_sin.c,
3239 sysdeps/m68k/fpu/s_sinf.c, sysdeps/m68k/fpu/s_tan.c,
3240 sysdeps/m68k/fpu/s_tanf.c, sysdeps/m68k/fpu/s_tanh.c,
3241 sysdeps/m68k/fpu/s_tanhf.c: New files, for m68881 port of fdlibm.
3243 * sysdeps/m68k/fpu/__math.h: Rewritten for fdlibm.
3245 * sysdeps/m68k/fpu/isinfl.c: Rewritten to get argument type right.
3246 * sysdeps/m68k/fpu/isnanl.c: Likewise.
3248 Thu Mar 14 06:01:07 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
3250 * posix/glob.c (glob): In GLOB_BRACE brace expansion, fix buffer size
3251 calculation to include trailing invariant portion. Don't use alloca;
3252 instead use a dynamic auto array for GCC, malloc for non-GCC.
3253 Handle nested braces properly.
3255 * elf/elf.h (Elf32_auxv_t): Specify prototype (void) for `a_un.a_fcn'.
3257 * libc-symbols.h (lint): New macro.
3259 Fri Mar 15 01:18:00 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3261 * libio/iosetvbuf.c: Add weak alias setvbuf.
3263 Thu Mar 14 06:01:07 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
3265 * string/strnlen.c: New file.
3266 * string/Makefile (routines): Add strnlen.
3267 * string/string.h [__USE_GNU] (strnlen): Declare new function.
3268 [__OPTIMIZE__]: Define extern inline implementation of it.
3270 * stdlib/erand48_r.c: Use __mpn_construct_double instead of ldexp and
3271 addition, to avoid using anything from -lm.
3273 Mon Mar 4 21:57:14 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3275 * sysdeps/unix/sysv/linux/m68k/Makefile: New file.
3277 * sysdeps/unix/sysv/linux/m68k/sysdep.h (SYS_ify): Redefine.
3278 (CALL_MCOUNT): New macro, empty unless [PROF].
3279 (ENTRY): Do CALL_MCOUNT just after the label.
3280 (JUMPTARGET): New macro.
3281 (SYSCALL_ERROR_HANDLER): Fix syntax.
3283 Thu Mar 14 04:20:48 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
3285 * sysdeps/unix/sysv/linux/init-first.c (init): Call `__personality'
3286 function instead of using inline asm i386 syscall.
3287 * sysdeps/unix/sysv/linux/syscalls.list: Add personality syscall.
3289 * posix/unistd.h [__USE_BSD]: Declare usleep.
3291 Tue Mar 12 04:57:57 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
3293 * misc/efgcvt.c (MAXDIG): New macro computed from <floats.h> constants.
3294 (fcvt, ecvt): Use it for buffer size.
3296 * stdlib/drand48-iter.c (__drand48_iterate): Use u_int64_t instead of
3297 conditionalizing long vs long long.
3299 * stdlib/drand48-iter.c (__drand48_iterate): Don't check for null
3300 pointers; never return EFAULT.
3301 * stdlib/drand48_r.c (drand48_r): Likewise.
3302 * stdlib/erand48_r.c (erand48_r): Likewise.
3304 * setjmp/Makefile (tests): Add jmpbug.
3305 * setjmp/jmpbug.c: New file.
3307 Tue Mar 12 04:42:01 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
3309 * sysdeps/sparc/jmp_buf.h: Rewritten; use array of ints, not struct.
3310 * sysdeps/sparc/setjmp.S: Rewritten; store %fp value as well.
3311 * sysdeps/sparc/__longjmp.S: Rewritten; unwind frames one by one with
3312 `restore' until the target frame is hit.
3314 Sun Mar 10 20:29:40 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3316 * sysdeps/unix/sysv/linux/sigsuspend.c: New file.
3317 * sysdeps/unix/sysv/linux/syscalls.list: Remove sigsuspend, add
3320 Thu Mar 7 21:30:58 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3322 * Makerules (+make-deps, sed-remove-objpfx): Quote periods on the
3323 left side of sed substitutions.
3325 Sun Mar 10 16:58:10 1996 Ulrich Drepper <drepper@gnu.ai.mit.edu>
3327 * stdio-common/printf_fp.c (hack_digit): __mpn_normal_size
3328 is not available anymore. Do it ourselves.
3330 * sysdeps/unix/sysv/linux/i386/fpu_control.h (_FPU_SETCW):
3331 Correct GCC `asm' syntax.
3333 Tue Mar 12 03:15:02 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
3335 * stdio-common/Makefile (tests): Add tst-ungetc.
3336 * stdio-common/tst-ungetc.c: New test from drepper.
3337 * stdio-common/tstscanf.c (main): New %[ test case from drepper.
3339 * sysdeps/libm-ieee754/s_scalbn.c (scalbn): Rename to __scalbn;
3340 somehow this was missed, though the weak alias is already there.
3342 * sysdeps/unix/sysv/linux/i386/fpu_control.h (_FPU_DEFAULT): Change
3343 default to double precision, all interrupts masked; fdlibm requires.
3345 Sat Mar 9 18:44:27 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
3347 * sysdeps/unix/sysv/linux/i386/setfpucw.c: Obsolete file removed.
3349 Fri Mar 8 22:16:48 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
3351 * stdio-common/printf_fp.c (HAVE_ALLOCA): New macro.
3353 Tue Mar 5 18:45:14 1996 Miles Bader <miles@gnu.ai.mit.edu>
3355 * sysdeps/mach/hurd/select.c (__select): Include LASTFD in the
3358 Mon Mar 4 20:54:40 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3360 * Makeconfig ($(common-objpfx)config.make): Depend on config.h.in.
3362 Tue Mar 5 12:14:57 1996 Miles Bader <miles@gnu.ai.mit.edu>
3364 * sysdeps/mach/hurd/select.c (__select): Also don't fault just
3365 because some fdmask is 0.
3367 Mon Mar 4 17:35:35 1996 Miles Bader <miles@gnu.ai.mit.edu>
3369 * sysdeps/mach/hurd/select.c (__select):
3370 Don't increment GOT only because READ/WRITE/EXCEPTFDS is 0!
3371 Don't return without frobbing the bitmasks after a timeout.
3372 When clearing the bitmasks, only loop from FIRSTFD to LASTFD.
3374 Mon Mar 4 17:35:09 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
3376 * hurd/catch-signal.c (hurd_safe_memmove): New function.
3377 (hurd_safe_copyin, hurd_safe_copyout): New functions.
3378 * hurd/hurd/sigpreempt.h: Declare them.
3380 Sun Mar 3 08:43:44 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
3382 Replace math code with fdlibm from Sun as modified for netbsd by
3383 JT Conklin and Ian Taylor, including x86 FPU support.
3384 * sysdeps/libm-ieee754, sysdeps/libm-i387: New directories.
3385 * math/math_private.h: New file.
3386 * sysdeps/i386/fpu/Implies: New file.
3387 * sysdeps/ieee754/Implies: New file.
3388 * math/machine/asm.h, math/machine/endian.h: New files.
3389 * math/Makefile, math/math.h: Rewritten.
3390 * mathcalls.h, math/mathcalls.h: New file, broken out of math.h.
3391 * math/finite.c: File removed.
3392 * sysdeps/generic/Makefile [$(subdir)=math]: Frobnication removed.
3394 * math/test-math.c: Include errno.h and string.h.
3396 * sysdeps/unix/bsd/dirstream.h: File removed.
3397 * sysdeps/unix/bsd/readdir.c: File removed.
3399 Sat Mar 2 16:35:40 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
3401 * sysdeps/unix/sysv/linux/m68k/profil-counter.h: File removed.
3402 * sysdeps/unix/sysv/sysv4/solaris2/sparc/profil-counter.h: File
3404 * sysdeps/generic/profil-counter.h: New file.
3406 Fri Mar 1 17:11:59 1996 Brendan Kehoe <brendan@zen.org>
3408 * sysdeps/unix/sysv/sysv4/solaris2/sparc/sigcontext.h: New file,
3409 including <sysdeps/unix/bsd/sun/sparc/sigcontext.h>.
3410 * sysdeps/unix/sysv/sysv4/solaris2/sparc/profil-counter.h: New file,
3411 same as linux/m68k/profil-counter.h except the comment.
3413 Fri Mar 1 10:09:46 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
3415 * stdlib/Makefile (mpn-stuff): New target.
3418 * Code copied from GMP updated to 1.937 version.
3419 * stdlib/strtod.c (HAVE_ALLOCA): Define this for gmp headers.
3421 * posix/glob.c: Use canonical code from autoconf manual for dirent
3423 [_D_NAMLEN]: Redefine NAMLEN using this.
3424 (glob_in_dir): Use NAMLEN macro.
3426 * sysdeps/posix/profil.c: New file.
3428 Thu Feb 29 20:55:57 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3430 * sysdeps/unix/sysv/linux/m68k/profil-counter.h: New file.
3432 Tue Feb 27 12:14:59 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
3434 * libc-symbols.h [GCC >= 2.8] (strong_alias, weak_alias): Remove
3437 * time/strftime.c: Support - and _ flags to affect number padding.
3439 * sysdeps/unix/common/tcsendbrk.c: New file.
3441 Mon Feb 26 10:22:30 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
3443 * sysdeps/unix/dirstream.h: Rewritten.
3444 * sysdeps/unix/readdir.c: Rewritten.
3445 * sysdeps/unix/telldir.c: Rewritten.
3446 * sysdeps/unix/closedir.c: Use <...> instead of "..." for dirstream.h.
3447 Remove __ from DIR struct member names.
3448 * sysdeps/unix/dirfd.c: Likewise.
3449 * sysdeps/unix/seekdir.c: Likewise.
3450 * sysdeps/unix/rewinddir.c: Likewise.
3451 * sysdeps/unix/opendir.c: Likewise. Don't allocate extra space after
3453 * sysdeps/stub/direct.h: File removed.
3454 * sysdeps/unix/bsd/bsd4.4/direct.h: File removed.
3455 * sysdeps/unix/bsd/direct.h: File removed.
3456 * sysdeps/unix/common/direct.h: File removed.
3457 * sysdeps/unix/sysv/irix4/direct.h: File removed.
3458 * sysdeps/unix/sysv/isc3/direct.h: File removed.
3459 * sysdeps/unix/sysv/sco3.2.4/direct.h: File removed.
3460 * sysdeps/unix/sysv/sysv4/solaris2/direct.h: File removed.
3461 * sysdeps/unix/common/direntry.h: New file.
3462 * sysdeps/unix/bsd/direntry.h: New file.
3463 * sysdeps/unix/bsd/bsd4.4/direntry.h: New file.
3464 * sysdeps/unix/sysv/direntry.h: New file.
3465 * sysdeps/stub/direntry.h: New file.
3466 * dirent/dirent.h (struct dirent): Type removed. Include <direntry.h>
3468 (_D_EXACT_NAMLEN, _D_ALLOC_NAMLEN): New macros.
3469 * dirent/Makefile (headers): Add direntry.h.
3470 (distribute): Remove direct.h.
3471 * sysdeps/posix/getcwd.c: Use new macros instead of d_namlen.
3472 * dirent/scandir.c: Likewise.
3473 * io/fts.c (fts_build): Likewise.
3474 * io/ftw.c (ftw_dir): Likewise.
3475 * sysdeps/posix/ttyname.c: Likewise.
3477 * sysdeps/unix/sysv/sysv4/solaris2/syscalls.list: New file.
3479 * sysdeps/mach/hurd/profil.c (MAX_PC_SAMPLES): New macro.
3480 (collector_timeout): New static variable.
3481 (update_waiter): Actually call __task_enable_pc_sampling.
3482 Set collector_timeout based on the `tick' count returned.
3483 (profile_waiter): Use MAX_PC_SAMPLES. Set nsamples before RPC.
3484 Use collector_timeout in __mach_msg call.
3486 * gmon/Makefile (noprof): New variable containing mcount.
3487 Append profil unless it is in $(unix-syscalls).
3488 (mcount.po): Use $(noprof) for list of targets in this rule.
3490 * libc-symbols.h: Define _LIBC before #include <config.h>.
3492 Sun Feb 25 12:29:23 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
3494 * config.h.in [_LIBC] (HAVE_STRERROR): Define it.
3495 Protect 2nd page of #undef's for generator programs with #ifndef _LIBC.
3497 * time/zic.c, time/zdump.c, time/private.h: Updated from ADO 96e.
3499 Fri Feb 9 12:40:19 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
3501 * libio/cleanup.c (_IO_cleanup_registration_needed)
3502 [!_G_HAVE_ATEXIT]: Init to NULL.
3503 * libio/filedoalloc.c (_IO_cleanup_registration_needed): Remove decl.
3505 Thu Feb 8 08:12:50 1996 Brendan Kehoe <brendan@cygnus.com>
3507 * libio/filedoalloc.c (_IO_cleanup_registration_needed): Revert
3508 previous change, since cleanup.c only defines it if _G_HAVE_ATEXIT.
3510 Wed Feb 7 15:10:17 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
3512 * libio/filedoalloc.c (_IO_cleanup_registration_needed): Declare as
3515 Sat Feb 24 11:34:13 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
3517 * sysdeps/i386/memcmp.S: Fix argument %esp offsets.
3519 * time/sys/time.h (timeradd, timersub): New macros; BSD has these.
3521 Wed Feb 21 02:25:07 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
3523 * Rules (others): Depend on $(extra-objs), $(install-lib),
3524 $(install-bin), $(install-sbin), in object directory.
3526 * Makeconfig (link-libc): Don't pass -rpath option with default
3527 path, since ld.so should use the same default.
3528 * Makerules (build-shlib): Likewise.
3530 * Makerules (make-target-directory): Use mkinstalldirs.
3532 * sysdeps/mach/i386/sysdep.h: Include unix/i386/sysdep.h to
3533 redefine ENTRY et al.
3535 * sysdeps/unix/sysv/linux/i386/sysdep.h (NO_UNDERSCORES, ENTRY):
3536 Macros removed. The code in unix/i386/sysdep.h should now suffice.
3538 * sysdeps/unix/i386/sysdep.h (ALIGNARG): New macro, defns for
3540 (ENTRY): Use it in .align directive.
3541 (CALL_MCOUNT): New macro, empty unless [PROF].
3542 (ENTRY): Do CALL_MCOUNT just after the label.
3544 * Makeconfig (CPPFLAGS-.po): New variable, use -DPROF so assembly
3545 code can call mcount.
3547 Tue Feb 20 23:05:16 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
3549 * time/private.h, time/zdump.c, time/zic.c: Updated verbatim from ADO;
3550 translation markings are now integrated in his distribution.
3552 * stdlib/strtod.c (round_and_return): Add missing (mp_limb) 1 cast.
3554 Mon Feb 19 18:31:59 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
3556 * po: New directory where `LANG.po' files for message translations
3558 * po/SYS_libc.pot: New file, template of message strings as in source.
3559 * MakeTAGS: New rules to build po/SYS_libc.pot automatically from
3560 the source using xgettext.
3561 * Makerules ($(..)po/%.pot): New rule.
3562 * manual/Makefile (../po/manual.pot): New target, make it empty.
3564 * sysdeps/unix/bsd/alarm.c: Moved to sysdeps/unix/alarm.c.
3565 * sysdeps/unix/bsd/nice.c: Moved to sysdeps/unix/nice.c.
3566 * sysdeps/unix/bsd/stime.c: Moved to sysdeps/unix/stime.c.
3567 * sysdeps/unix/bsd/time.c: Moved to sysdeps/unix/time.c.
3568 * sysdeps/unix/bsd/utime.c: Moved to sysdeps/unix/utime.c.
3570 * time/zic.c, time/scheck.c, time/private.h, time/tzfile.h:
3571 Updated from ADO 96d.
3573 Sun Feb 18 14:08:04 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3575 * csu/initfini.c (_init): Remove bogus volatile declarations and
3576 extra variable, take the address of __gmon_start__ only implicitly
3577 to avoid the test being optimized out.
3579 Sun Feb 18 15:08:10 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3581 * sysdeps/posix/utimes.c (__utimes): There are 1000000 usecs in a
3584 Sun Feb 18 13:56:00 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3586 * elf/Makefile, time/Makefile: Make `all' the default target.
3588 Mon Feb 19 18:09:04 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
3590 * misc/sys/ptrace.h: Moved to ...
3591 * sysdeps/generic/sys/ptrace.h: ... here.
3592 * sys/ptrace.h: File removed.
3594 Sun Feb 18 12:13:07 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3596 * sysdeps/unix/sysv/linux/Makefile (headers): Add fpu_control.h.
3598 * sysdeps/unix/sysv/linux/i386/sysdep.S (errno): Put it into .bss
3599 so that the symbol alias works.
3601 * sysdeps/unix/sysv/linux/m68k/fpu_control.h (_FPU_SETCW): Corrected.
3603 * sysdeps/unix/sysv/linux/resourcebits.h: New file.
3605 * sysdeps/unix/sysv/linux/sys/ptrace.h: New file.
3607 * sysdeps/unix/sysv/linux/syscalls.list: Add getegid, geteuid,
3610 * sysdeps/unix/sysv/linux/sysconf.c: Special version that does not
3613 Sat Feb 17 10:30:21 1996 David Mosberger-Tang <davidm@AZStarNet.com>
3615 * stdio-common/printf_fp.c, stdlib/strtod.c, sysdeps/ieee754/dbl2mpn.c,
3616 sysdeps/ieee754/ldbl2mpn.c, sysdeps/ieee754/mpn2dbl.c,
3617 sysdeps/ieee754/mpn2ldbl.c: Cast left operands of shift instructions
3618 to `long' where necessary.
3620 Thu Feb 15 20:04:50 1996 Ulrich Drepper <drepper@gnu.ai.mit.edu>
3622 * stdlib/fpioconst.h: Introduce new constant _FPIO_CONST_OFFSET.
3623 * stdio-common/printf_fp.c, stdlib/strtod.c: Use _FPIO_CONST_OFFSET
3624 to correctly access MPN array depending on architecture.
3626 Mon Feb 19 15:30:26 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
3628 * stdio-common/tstscanf.c (main): Add check for "0" as %d.
3630 * sysdeps/stub/msync.c: Undo change of Jan 29; just two args.
3631 Only some systems have three args; let them define their own stub.
3633 * sysdeps/generic/dl-sysdep.c: Declare _dl_secure.
3635 * sysdeps/generic/machine-gmon.h: New file.
3636 * gmon/Makefile (distribute): Add machine-gmon.h.
3637 * gmon/mcount.c: Undo changes of Feb 13.
3638 Include "machine-gmon.h".
3640 Sun Feb 18 13:24:06 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
3642 * sysdeps/unix/sysv/linux/direct.h: File removed, since it is
3643 identical to unix/common/direct.h.
3645 * sysdeps/unix/Makefile [no_deps]: Don't include s-proto.d.
3647 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Don't add ipc.
3649 * stdio-common/Makefile (tests): Remove scanf6.
3651 * sysdeps/unix/sysv/linux/Makefile (non-lib.a): Append libieee.a.
3653 * time/mktime.c (mktime): Move static variable localtime_offset to
3656 * stdio-common/vfscanf.c: Put '0' in buffer before scanning for %i
3659 Thu Feb 15 16:56:17 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3661 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Corrected.
3662 (ELF_MACHINE_BEFORE_RTLD_RELOC): Define.
3663 (_dl_runtime_resolve): Save %a1 as well.
3664 (ELF_MACHINE_RUNTIME_FIXUP_ARGS): Add second dummy arg.
3665 (elf_machine_relplt): Define.
3667 * elf/dl-runtime.c: Include possible extra args in declaration of
3670 Fri Feb 16 11:01:59 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
3672 * time/tzset.c: Limit hours to 23, not 12. From jaffer.
3674 Fri Feb 16 10:14:05 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
3676 * Makeconfig (CFLAGS-.po): Use -pg instead of -p.
3678 Thu Feb 15 13:57:08 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
3680 * mach/Machrules: Use -include for $(*.ir).
3682 * hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS): Mask off type bits in
3684 * sysdeps/mach/hurd/ioctls.h (_IOC_NOTYPE): New macro.
3685 (_IOT_COUNT2): Field is 3 bits, not 2.
3686 * sysdeps/mach/hurd/ioctl.c: Ignore handler if it fails with ENOTTY.
3687 * hurd/hurdioctl.c (_hurd_lookup_ioctl_handler): Mask off type
3688 bits before looking up handler.
3689 (fioctl): Use __hurd_dfail.
3690 (fioctl, fioclex): Use ENOTTY for bogus request instead of EGRATUITOUS.
3692 Thu Feb 15 11:49:45 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
3694 * sysdeps/unix/sysv/sysv4/Makefile [$(subdir)-signal]
3695 (sysdep_routines): Don't add sys-sig.
3697 * sysdeps/unix/sysv/sysv4/solaris2/syscalls.list: New file.
3699 Wed Feb 14 00:21:17 1996 David Mosberger-Tang <davidm@azstarnet.com>
3701 * sysdeps/alpha/memchr.c (memchr): loop searching for matching
3702 character bailed out one too early; changed constant 6 to
3705 Wed Feb 14 01:08:58 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
3707 * posix/execvp.c: When executing shell on script, first arg is
3708 full file name, not argv[0].
3710 * mach/Makefile [no_deps]: Inhibit inclusion of mach-syscalls.mk.
3711 * mach/Machrules [no_deps]: Inhibit interface rules.
3713 * malloc/Makefile (distribute): Removed TODO.
3715 Tue Feb 13 05:12:02 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
3717 * sysdeps/unix/sysv/linux/syscalls.list (ipc): Specify msgget in
3720 * sysdeps/unix/common/syscalls.list: Add sigaction syscall.
3722 * sysdeps/unix/sysv/linux/gnu/types.h: Moved from linux/i386.
3724 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=math]
3725 (sysdep_routines): Append setfpucw.
3726 (extra-objs): Append ieee-fpucw.o.
3727 (install-lib): Append libieee.a.
3728 (libieee.a): New target.
3729 * sysdeps/unix/sysv/linux/ieee-fpucw.c: New file.
3730 * sysdeps/unix/sysv/linux/i386/fpu_control.h
3731 (_FPU_GETCW, _FPU_SETCW): New macros.
3732 (fpu_control_t): New typedef.
3733 (__setfpucw): Use fpu_control_t for argument type.
3734 * sysdeps/unix/sysv/linux/fpu_control.c: Moved from linux/i386.
3736 * sysdeps/unix/sysv/linux/init-first.c: Moved from linux/i386.
3738 * sysdeps/unix/sysv/linux/syscalls.list: Add ipc syscall.
3739 * sysdeps/unix/sysv/linux/i386/syscalls.list: File removed.
3741 Sat Feb 10 13:09:03 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3743 * sysdeps/unix/sysv/linux/m68k/brk.c,
3744 sysdeps/unix/sysv/linux/m68k/mmap.S,
3745 sysdeps/unix/sysv/linux/m68k/select.S,
3746 sysdeps/unix/sysv/linux/m68k/sigcontext.h,
3747 sysdeps/unix/sysv/linux/m68k/sigreturn.S,
3748 sysdeps/unix/sysv/linux/m68k/socket.S,
3749 sysdeps/unix/sysv/linux/m68k/syscall.S,
3750 sysdeps/unix/sysv/linux/m68k/sysdep.S,
3751 sysdeps/unix/sysv/linux/m68k/sysdep.h: New files.
3753 * sysdeps/unix/sysv/linux/m68k/fpu_control.h: New file.
3755 * sysdeps/m68k/fpu/isinfl.c, sysdeps/m68k/fpu/isnanl.c,
3756 sysdeps/m68k/isinfl.c, sysdeps/m68k/isnanl.c: New files.
3758 * sysdeps/unix/sysv/linux/sys/mman.h: Define MAP_ANON and
3759 MAP_FILE if not already defined.
3761 * elf/elf.h: Add m68k reloc definitions.
3762 * sysdeps/m68k/dl-machine.h, sysdeps/m68k/elf/start.S: New files.
3764 Tue Feb 13 00:12:12 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
3766 * elf/dl-runtime.c (fixup) [ELF_MACHINE_RUNTIME_FIXUP_ARGS]: Let
3767 this macro declare extra leading args.
3769 * Makerules [$(elf)=yes] (ar-symtab-name): Define to empty.
3771 * sysdeps/i386/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE,
3772 elf_machine_relplt): New macros.
3773 * elf/dl-runtime.c: New file.
3774 * sysdeps/i386/dl-runtime.c, sysdeps/stub/dl-runtime.c: Files removed.
3776 * gmon/Makefile (headers): Remove machine-gmon.h.
3777 * sysdeps/stub/machine-gmon.h, sysdeps/i386/machine-gmon.h: Removed.
3778 * gmon/mcount.c [! NO_UNDERSCORES] (_mcount): Specify "mcount" as
3780 (_mcount): Define normally, taking no args.
3781 Use __builtin_return_address to fetch PC values of caller and caller's
3784 * Makerules: Rewrote rules to update libc archives of all flavors.
3785 Define separate specific rules for each flavor using o-iterator.
3787 * sysdeps/unix/Makefile: Include s-proto.d only ifdef subdir.
3789 Sat Feb 10 11:35:16 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3791 * Makerules (ar-symtab-name): New macro. Replace all occurences
3792 of __.SYMDEF by $(ar-symtab-name).
3793 * sysdeps/unix/sysv/Makefile (ar-symtab-name): Define as empty.
3795 Mon Feb 12 03:10:41 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
3797 * Makefile (configure, %/configure): Depend on aclocal.m4.
3798 * Make-dist (configure, %/configure): Likewise.
3800 * sysdeps/unix/Makefile: Include s-proto.d for its deps.
3802 * gmon/sys/gmon.h: Don't include machine-gmon.h; those defns are
3803 only needed in the implementation, not for any users.
3805 * time/northamerica: Updated from ADO 96c, new rules for Mexico in
3808 * sunrpc/pm_getport.c: #if 0 out gratuitous inclusion of <net/if.h>.
3809 * sunrpc/pm_getmaps.c: Likewise.
3811 * sysdeps/unix/sysv/syscalls.list: Add setrlimit and settimeofday,
3812 so real syscalls override unix/sysv/*.c on sysv-derived systems
3814 * sysdeps/unix/common/syscalls.list: Add settimeofday here, to
3815 override unix/sysv/settimeofday.c since that overrides
3818 * Makeconfig (+link): Put $(link-libc) after deps from $^,
3819 regardless of where libc.a appears in the deps.
3821 * sysdeps/unix/sysv/sysv4/syscalls.list: Remove redundancies.
3823 * sysdeps/unix/sysv/linux/syscalls.list: Remove redundancies.
3824 Define __ name for sigprocmask.
3825 * sysdeps/unix/bsd/ultrix4/syscalls.list: Remove redundancies.
3827 * sysdeps/unix/bsd/sun/sunos4/syscalls.list: Remove redundancies.
3828 * sysdeps/unix/bsd/sun/syscalls.list: Remove redundancies.
3829 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove redundancies.
3830 * sysdeps/unix/bsd/syscalls.list: Remove settimeofday, utimes.
3831 Add getdents, wait3, waitpid.
3832 * sysdeps/unix/syscalls.list: Add seteuid, setegid, setsid,
3833 settimeofday, sigsuspend, sstk, utimes.
3834 * sysdeps/unix/bsd/ultrix4/mips/sigvec.S: File removed.
3835 * sysdeps/unix/bsd/ultrix4/mips/syscalls.list: New file.
3836 * sysdeps/unix/bsd/ultrix4/mips/Makefile (sysdep_routines):
3838 * sysdeps/unix/bsd/ultrix4/mips/sigvec.c: Renamed from sigtramp.c.
3839 * sysdeps/unix/bsd/bsd4.4/sstk.S: File removed.
3840 * sysdeps/unix/bsd/hp/m68k/syscalls.list: File removed.
3841 * sysdeps/unix/bsd/osf/alpha/getdents.S: File removed.
3842 * sysdeps/unix/bsd/ultrix4/getsysinfo.S: File removed.
3843 * sysdeps/unix/bsd/ultrix4/waitpid.S: File removed.
3844 * sysdeps/unix/bsd/ultrix4/mips/sigtramp.c: File removed.
3845 * sysdeps/unix/bsd/ultrix4/mips/sigvec.S: File removed.
3846 * sysdeps/unix/bsd/ultrix4/mips/sigvec.c: New file.
3847 * sysdeps/unix/bsd/ultrix4/mips/syscalls.list: New file.
3848 * sysdeps/unix/sysv/irix4/wait3.S: File removed.
3849 * sysdeps/unix/sysv/sysv4/__waitid.S: File removed.
3850 * sysdeps/unix/sysv/sysv4/fchdir.S: File removed.
3851 * sysdeps/unix/sysv/sysv4/setegid.S: File removed.
3852 * sysdeps/unix/sysv/sysv4/seteuid.S: File removed.
3853 * sysdeps/unix/sysv/sysv4/sigaltstack.S: File removed.
3854 * sysdeps/unix/sysv/sysv4/solaris2/utimes.S: File removed.
3856 * hurd/hurdfault.c (_hurdsig_fault_init): Set qlimit on
3857 FORWARD_SIGEXC to one. Uncomment setting of thread exc port, and
3858 move it to last thing.
3860 Sat Feb 10 05:57:08 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
3862 * sysdeps/generic/make_siglist.c: #undef _SIGNAL_H before defining it.
3864 * sysdeps/unix/sysv/linux/syscalls.list: Add sigprocmask, sigsuspend.
3866 Sat Feb 10 04:18:48 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
3868 * posix/execvp.c: If execv fails with ENOEXEC, run the shell on
3871 Fri Feb 9 11:46:45 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
3873 * time/Makefile (CFLAGS-zdump.c, CFLAGS-zic.c, CFLAGS-ialloc.c,
3874 CFLAGS-scheck.c): Use -DNOID instead of -Wno-unused.
3876 * hurd/Makefile (user-interfaces): Added hurd/tioctl.
3878 Thu Feb 8 18:55:27 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
3880 * hurd/hurdioctl.c (tiocsctty): Set the terminal's pgrp to our own.
3882 Wed Feb 7 18:48:30 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
3884 * Makefile (subdirs): Added wcsmbs.
3885 * wcsmbs: New directory of wide char/multibyte char functions from
3888 * hurd/hurdmsg.c (_S_msg_report_wait): Function removed.
3889 * hurd/report-wait.c: New file.
3890 * hurd/Makefile (routines): Added report-wait.
3892 * sysdeps/mach/hurd/Makefile (inhibit-unix-syscalls): New variable.
3894 * sysdeps/mach/hurd/i386/intr-msg.h (struct mach_msg_trap_args):
3896 (SYSCALL_EXAMINE, MSG_EXAMINE): New inline functions.
3897 * sysdeps/mach/hurd/i386/trampoline.c (struct mach_msg_trap_args):
3898 Structure moved to intr-msg.h; include that.
3900 * time/Makefile (CFLAGS-ialloc.c): Add -Wno-unused.
3901 (CFLAGS-scheck.c): New variable.
3903 * sysdeps/mach/hurd/dl-sysdep.c (__hurd_sigthread_stack_base,
3904 __hurd_sigthread_stack_end, __hurd_sigthread_variables,
3905 __hurd_threadvar_stack_mask): New variables.
3907 * sysdeps/mach/hurd/fork.c: Set the new task's exception port to
3908 its new message port.
3910 * misc/init-misc.c: Put __init_misc in the __libc_subinit set.
3912 * configure.in (uname): Add quoting.
3914 * sysdeps/mach/hurd/fchdir.c: Don't consult errno unless lookup fails.
3915 * hurd/fchroot.c: Likewise.
3917 * posix/sys/types.h [GCC >= 2.7]: Define intN_t/u_intN_t using
3918 __attribute__ ((__mode__ (__XX__))).
3920 Wed Feb 7 03:24:05 1996 Torbjorn Granlund <tege@tmg.se>
3922 * sysdeps/i386/i586/memcopy.h (WORD_COPY_FWD): Manually allocate
3923 destination cache lines.
3924 (WORD_COPY_BWD): Likewise.
3926 Wed Feb 7 14:16:36 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
3928 * sysdeps/generic/Makefile (make_siglist): Get signum.h absolute
3929 file name first thing, before $(native-compile) changes directories.
3931 From Gord Matzigkeit <gord@enci.ucalgary.ca>:
3932 * sysdeps/unix/make_errlist.c: Use strerror if available.
3933 * sysdeps/unix/configure.in: New file
3935 * sysdeps/unix/bsd/sun/syscalls.list: Added sigvec.
3936 * sysdeps/unix/bsd/sun/sigvec.S: File removed.
3938 * sysdeps/stub/sendto.c: Make sockaddr arg pointer to const.
3939 * sysdeps/stub/connect.c: Likewise.
3940 * sysdeps/stub/bind.c: Likewise.
3942 * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): RETRYNAME of
3943 "" is only special for FS_RETRY_NORMAL; for FS_RETRY_REAUTH, do
3944 another dir_lookup of "".
3946 Tue Feb 6 12:46:29 1996 David Mosberger-Tang <davidm@azstarnet.com>
3948 * libc-symbols.h (weak_alias, weak_symbol): added definitions
3949 for ECOFF (HAVE_ECOFF).
3951 Fri Feb 2 13:09:18 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
3953 * sysdeps/mach/hurd/fork.c: Clear trace flag in child.
3955 Wed Jan 31 20:08:26 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
3957 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Clear SS->intr_port
3958 when cancelled before RPC.
3960 Tue Jan 30 13:32:05 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
3962 * dirent/scandir.c: Allocate dirents with correct size for name, and
3963 copy with correct size.
3965 * hurd/hurdinit.c [! PIC] (map0): New function, on _hurd_preinit_hook.
3967 * stdio-common/vfscanf.c (TYPEMOD): New macro of all type modifier
3969 (__vfscanf): Fix checking of extra type modifiers.
3971 * time/asia, time/australasia, time/backward: Updated from ADO 96b.
3973 Tue Jan 30 12:17:26 1996 Ulrich Drepper <drepper@ipd.info.uni-karlsruhe.de>
3975 * stdlib/strtod.c: Only negate exponent when there really is one.
3977 * stdio-common/vfscanf.c: Accept type modifiers on %n.
3978 Fix FP number parsing.
3980 Mon Jan 29 21:53:40 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
3982 * sysdeps/stub/msync.c (msync): Declare third arg FLAGS.
3984 * resolv/Makefile (+cflags): Append to this instead of CFLAGS.
3986 Mon Jan 29 16:29:16 1996 Miles Bader <miles@gnu.ai.mit.edu>
3988 * sysdeps/mach/hurd/select.c (__select): Recalculate GOT to
3989 include an increment for each operation allowed on each fd.
3991 Mon Jan 29 11:44:38 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
3993 * sysdeps/unix/sysv/linux/configure: Set $inhibit_glue.
3995 * Makefile: Use -include for sysd-dirs.
3997 * configure.in (uname): Check for uname in syscalls.list files.
3998 * sysdeps/unix/sysv/syscalls.list: Remove uname.
3999 * sysdeps/unix/syscalls.list: Add uname.
4001 * stdlib/strtol.c (weak1): New macro, to get the right name declared
4004 * sysdeps/posix/getcwd.c (size_t): Don't define #ifdef __GNU_LIBRARY__.
4006 * db/hash/ndbm.c: Change all uses of `errno' struct member to `errnum'.
4007 (dbm_open): Use dynamic allocation for file name buffer, instead of
4008 limitting its size to MAXPATHLEN.
4010 * db/btree/bt_open.c (tmp): Use dynamic allocation for file name
4011 buffer, instead of limitting its size to MAXPATHLEN.
4013 * db/hash/hash.h (HTAB): Rename member `errno' to `errnum'.
4014 * db/hash/hash.c: Change all uses of `errno' struct member to `errnum'.
4016 Sun Jan 28 19:42:04 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4018 * time/Makefile: Fix check for cross compiling.
4020 Thu Jan 25 21:10:39 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4022 * db/Makefile (subdir-dirs): Renamed from dbdirs.
4024 * Makerules (distinfo-vars): Add subdir-dirs.
4026 * MakeTAGS: Remove vpath directives.
4027 (all-dirs): Prepend $(subdir-dirs).
4028 (all-sources, all-headers): Use wildcard to find sources.
4030 Mon Jan 29 10:44:38 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
4032 * malloc/Makefile (CFLAGS-vm-limit.c, CFLAGS-ralloc.c): New
4035 * mach/msgserver.c: Declare DEMUX arg with prototype.
4037 Sun Jan 28 17:25:38 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
4039 * setjmp/setjmp.h (jmp_buf): Give a tag in the struct defn, to
4041 * alpha/jmp_buf.h: Likewise.
4042 * m68k/jmp_buf.h: Likewise.
4043 * mips/jmp_buf.h: Likewise.
4044 * sparc/jmp_buf.h: Likewise.
4045 * vax/jmp_buf.h: Likewise.
4047 * sysdeps/generic/memmem.c: Fix return value in case where
4050 * hurd/hurdlookup.c (__file_name_lookup_under,
4051 __file_name_lookup): Restrict mode with umask.
4052 * sysdeps/mach/hurd/xmknod.c: Restrict mode with umask.
4053 * sysdeps/mach/hurd/mkdir.c: Restrict mode with umask.
4055 Fri Jan 26 12:20:45 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
4057 * stdlib/strtol.c: Undo last change. ANSI C changed since the
4058 draft I checked yesterday. Sigh.
4060 Thu Jan 25 18:58:25 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
4062 * stdlib/strtol.c [UNSIGNED]: Don't recognize + or - as sign.
4064 Wed Jan 24 03:22:07 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
4066 * malloc/mcheck.c (mabort): Declare prototype.
4068 * sysdeps/unix/sysv/linux/fcntlbits.h: Moved from linux/i386.
4070 * Makerules: Use -include for generated makefiles.
4072 * errno.h: Don't declare errno if it's defined as a macro.
4074 * stdio-common/vfscanf.c: Disallow l flag after ll or L.
4076 * stdio-common/Makefile (tests): Add scanf[1-9].
4077 * stdio-common/scanf[1-9].c: New files. Bug tests from hjl.
4079 Wed Jan 24 04:18:36 1996 Paul Eggert <eggert@twinsun.com>
4081 * strftime.c (strftime):
4082 When invoking self, check whether the subsidiary invocation failed.
4083 Use "???" (not "") to denote unknown time zone information.
4085 Make this source file portable to standalone contexts (e.g. GNU Emacs).
4086 <config.h>: Include if HAVE_CONFIG_H is defined.
4087 (HAVE_LIMITS_H, HAVE_MBLEN, HAVE_TM_ZONE, STDC_HEADERS): New symbols,
4088 defined if _LIBC or if <config.h> defines them.
4089 <ansidecl.h>, "../locale/localeinfo.h": Include only if _LIBC.
4090 <sys/types.h>: New include; some hosts require it for `time_t'.
4091 <ctype.h>: Include only if HAVE_MBLEN (since it's only needed then).
4092 <limits.h>: Include only if HAVE_LIMITS_H.
4093 <stddef.h, stdlib.h, string.h>: Include only if STDC_HEADERS.
4094 (memcpy): Define in terms of bcopy if !STDC_HEADERS.
4095 (__P, PTR): Define if not already defined.
4096 (__tzname, __daylight, __timezone): Remove macros; no longer needed.
4097 (add, strftime): Don't use NULL, for portability to some weird hosts.
4098 (fmt): If !_LIBC, don't assume sprintf returns a count.
4099 (week, strftime): Use old-style function declarations.
4100 (weekday_name, month_name): New constants.
4101 (strftime): Use traditional C values if locale support isn't available.
4102 Use `const' instead of CONST. For time zones, use tm_zone if
4103 possible, then fall back on tzname. Don't check for multibyte
4104 characters unless mblen is supported. Use formats like %02d instead
4105 of %.2d, for portability to older hosts.
4107 Wed Jan 24 00:07:52 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
4109 * stdio-common/vfscanf.c (GROUP, MALLOC): New flag macros.
4110 (__vfscanf): Eliminate flag vars that were redundant with FLAGS bits.
4111 Fix bug in recognition of %ll flag for long long.
4112 Fix overeager checks for conflicting type modifiers.
4113 With ' flag, match thousands separators for decimal numbers.
4115 Tue Jan 23 22:02:40 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
4117 * locale/Makefile (CFLAGS-locfile-lex.c): New variable.
4119 * resolv/Makefile (CFLAGS): Disable some warnings.
4121 * sysdeps/generic/Makefile (elided-routines): Removed hypot.
4122 (+gccwarn): Set with override.
4124 * stdio-common/Makefile (CFLAGS-tst-printf.c): New variable.
4126 * posix/Makefile (CFLAGS-regex.c): New variable.
4128 * malloc/Makefile (CFLAGS-obstack.c): New variable.
4130 * io/Makefile (CFLAGS-fts.c): New variable.
4131 * io/fts.c (fts_open): Use prototypes for COMPAR decl.
4133 Tue Jan 23 21:35:32 1996 Miles Bader <miles@gnu.ai.mit.edu>
4135 * sysdeps/mach/hurd/bind.c (bind): Ensure NAME for the AF_LOCAL
4136 case is '\0'-terminated.
4138 Tue Jan 23 19:49:54 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
4140 * elf/rtld.c (dl_main): Support additional args in --list mode for
4141 debugging: look them up as symbol names and print values.
4143 * misc/getttyent.c (skip, value): Declare with prototypes in file
4146 * csu/initfini.c (_init): Explicitly set a variable that is
4147 pointer to volatile with the address of __gmon_start__, to avoid
4148 the test being optimized out.