1 Tue Jun 4 22:03:02 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3 * sysdeps/m68k/fpu/__math.h: Define long double versions of
6 * sysdeps/m68k/fpu/e_asinl.c, sysdeps/m68k/fpu/e_atanl.c,
7 sysdeps/m68k/fpu/e_acosl.c, sysdeps/m68k/fpu/e_expl.c,
8 sysdeps/m68k/fpu/e_fmodl.c, sysdeps/m68k/fpu/e_log10l.c,
9 sysdeps/m68k/fpu/e_logl.c, sysdeps/m68k/fpu/e_powl.c,
10 sysdeps/m68k/fpu/e_remainderl.c, sysdeps/m68k/fpu/e_scalbl.c,
11 sysdeps/m68k/fpu/e_sinhl.c, sysdeps/m68k/fpu/e_sqrtl.c,
12 sysdeps/m68k/fpu/k_cosl.c, sysdeps/m68k/fpu/k_sinl.c,
13 sysdeps/m68k/fpu/k_tanl.c, sysdeps/m68k/fpu/s_atanl.c,
14 sysdeps/m68k/fpu/s_ceill.c, sysdeps/m68k/fpu/s_cosl.c,
15 sysdeps/m68k/fpu/s_expm1l.c, sysdeps/m68k/fpu/s_fabsl.c,
16 sysdeps/m68k/fpu/s_finitel.c, sysdeps/m68k/fpu/s_floorl.c,
17 sysdeps/m68k/fpu/s_frexpl.c, sysdeps/m68k/fpu/s_ilogbl.c,
18 sysdeps/m68k/fpu/s_isinfl.c, sysdeps/m68k/fpu/s_isnanl.c,
19 sysdeps/m68k/fpu/s_ldexpl.c, sysdeps/m68k/fpu/s_log1pl.c,
20 sysdeps/m68k/fpu/s_logbl.c, sysdeps/m68k/fpu/s_modfl.c,
21 sysdeps/m68k/fpu/s_rintl.c, sysdeps/m68k/fpu/s_scalbnl.c,
22 sysdeps/m68k/fpu/s_significandl.c, sysdeps/m68k/fpu/s_sinl.c,
23 sysdeps/m68k/fpu/s_tanhl.c, sysdeps/m68k/fpu/s_tanl.c: New files.
25 * sysdeps/m68k/fpu/e_acos.c, sysdeps/m68k/fpu/e_fmod.c,
26 sysdeps/m68k/fpu/k_cos.c, sysdeps/m68k/fpu/k_sin.c,
27 sysdeps/m68k/fpu/k_tan.c, sysdeps/m68k/fpu/s_atan.c,
28 sysdeps/m68k/fpu/s_frexp.c, sysdeps/m68k/fpu/s_ilogb.c,
29 sysdeps/m68k/fpu/s_isinf.c, sysdeps/m68k/fpu/s_ldexp.c,
30 sysdeps/m68k/fpu/s_modf.c: Define generic functions using FUNC and
31 float_type with appropriate defaults.
33 * sysdeps/m68k/fpu/e_acosf.c, sysdeps/m68k/fpu/e_fmodf.c,
34 sysdeps/m68k/fpu/k_cosf.c, sysdeps/m68k/fpu/k_sinf.c,
35 sysdeps/m68k/fpu/k_tanf.c, sysdeps/m68k/fpu/s_atanf.c,
36 sysdeps/m68k/fpu/s_frexpf.c, sysdeps/m68k/fpu/s_ilogbf.c,
37 sysdeps/m68k/fpu/s_isinff.c, sysdeps/m68k/fpu/s_ldexpf.c,
38 sysdeps/m68k/fpu/s_modff.c: Include the corresponding double
39 versions with appropriate definitions to get float functions,
40 instead of defining them directly.
42 * sysdeps/m68k/fpu/acos.c: File removed.
43 * sysdeps/m68k/fpu/asin.c: File removed.
44 * sysdeps/m68k/fpu/atan.c: File removed.
45 * sysdeps/m68k/fpu/atan2.c: File removed.
46 * sysdeps/m68k/fpu/atanh.c: File removed.
47 * sysdeps/m68k/fpu/ceil.c: File removed.
48 * sysdeps/m68k/fpu/cos.c: File removed.
49 * sysdeps/m68k/fpu/cosh.c: File removed.
50 * sysdeps/m68k/fpu/drem.c: File removed.
51 * sysdeps/m68k/fpu/exp.c: File removed.
52 * sysdeps/m68k/fpu/expm1.c: File removed.
53 * sysdeps/m68k/fpu/fabs.c: File removed.
54 * sysdeps/m68k/fpu/fl.h: File removed.
55 * sysdeps/m68k/fpu/floor.c: File removed.
56 * sysdeps/m68k/fpu/fmod.c: File removed.
57 * sysdeps/m68k/fpu/frexp.c: File removed.
58 * sysdeps/m68k/fpu/isinf.c: File removed.
59 * sysdeps/m68k/fpu/isinfl.c: File removed.
60 * sysdeps/m68k/fpu/isnan.c: File removed.
61 * sysdeps/m68k/fpu/isnanl.c: File removed.
62 * sysdeps/m68k/fpu/ldexp.c: File removed.
63 * sysdeps/m68k/fpu/log.c: File removed.
64 * sysdeps/m68k/fpu/log10.c: File removed.
65 * sysdeps/m68k/fpu/log1p.c: File removed.
66 * sysdeps/m68k/fpu/logb.c: File removed.
67 * sysdeps/m68k/fpu/pow.c: File removed.
68 * sysdeps/m68k/fpu/rint.c: File removed.
69 * sysdeps/m68k/fpu/sin.c: File removed.
70 * sysdeps/m68k/fpu/sinh.c: File removed.
71 * sysdeps/m68k/fpu/sqrt.c: File removed.
72 * sysdeps/m68k/fpu/tan.c: File removed.
73 * sysdeps/m68k/fpu/tanh.c: File removed.
75 Thu Jun 6 00:02:15 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
77 * sysdeps/unix/sysv/linux/syscalls.list: Add select (the syscall name
79 * sysdeps/unix/sysv/linux/select.S: File removed.
81 * sysdeps/unix/sysv/linux/m68k/select.S: File removed; obsolete with
82 current kernels, generic linux version is fine.
84 * locale/Makefile: Add vpath for %.gperf to programs.
86 * Make-dist (+tsrcs): Variable removed.
87 (dist): Process $^ here instead of using $(+tsrcs).
89 * sysdeps/unix/sysv/linux/Makefile (install-others): Don't set.
90 ($(includedir)/sys/syscall.h): Target removed.
91 (sysdep_headers): Add syscall-list.h.
92 ($(objpfx)syscall-%.[dh]): New rule to build syscall-list.[dh].
93 (generated): Add those.
94 * sysdeps/unix/sysv/linux/syscall.h: Include <syscall-list.h>.
96 Wed Jun 5 15:57:28 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
98 * misc/sys/syscall.h: New file.
99 * misc/Makefile (headers): Add sys/syscall.h.
101 * time/tzfile.h, time/private.h, time/zdump.c, time/zic.c,
102 time/africa, time/asia, time/australasia, time/europe,
103 time/northamerica, time/southamerica: Updated from ADO 96h.
105 * Make-dist (all-headers): Filter $(sysdep_headers) out of $(headers).
106 (try-sysdeps, +sysdep-names): Check sysdeps/libm-ieee754 too.
108 * Makerules (distinfo-vars): Add sysdep_headers.
109 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Append to
110 this instead of $(headers).
111 * sysdeps/unix/sysv/linux/alpha/Makefile: Likewise.
112 * sysdeps/unix/sysv/linux/i386/Makefile: Likewise.
114 * Make-dist [subdirs-dirs]: Don't prefix $(subdir-dirs) with
115 $(subdir); we are already there.
117 * sysdeps/unix/sysv/sysv4/solaris2/sparc/Dist: Removed.
119 * mach/Machrules: Undo last change.
120 (mach-generated): List .uh and .__h files only for $(user-interfaces),
121 not for each .h in $(interface-headers); server-interfaces have no .uh
124 Wed Jun 5 15:42:51 1996 Miles Bader <miles@gnu.ai.mit.edu>
126 * mach/Machrules (%_server.uh, %_server.__h): New rules, so that the
127 corrsponding .defs file with without the `_server' will be used.
129 * mach/Makefile (mach/mach_interface.defs): Renamed from
131 (mach/memory_object_user.defs): New variable.
133 Wed Jun 5 15:10:58 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
135 * Make-dist [subdir-dirs]: Set vpath for %, not just %.c.
137 * locale/Makefile (subdir-dirs): New variable.
139 Wed Jun 5 00:01:19 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
141 * Makerules (distinfo-vars): Add sysdep_routines.
143 * mach/Machrules (include-%.defs): New canned sequence.
144 Change all uses of `#include <$*.defs>' in cmds to use it.
145 * mach/Makefile (mach_interface.defs): New variable, set to mach.defs.
147 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle RESOLVE being
148 null in all cases but R_386_COPY.
151 Wed Jun 5 00:01:19 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
153 * sysdeps/unix/bsd/ultrix4/mips/Dist: Updated.
154 * sysdeps/unix/bsd/ultrix4/Dist: Removed.
155 * sysdeps/unix/sysv/sysv4/Dist: Updated.
156 * sysdeps/unix/sysv/sco3.2.4/Dist: Removed.
157 * sysdeps/unix/sysv/irix4/Dist: Updated.
158 * sysdeps/unix/sysv/linux/i386/Dist: Removed.
159 * sysdeps/unix/sysv/Dist: Updated.
160 * sysdeps/unix/bsd/sun/sunos4/Dist: Removed.
161 * sysdeps/unix/bsd/sony/newsos4/Dist: Removed.
162 * sysdeps/gnu/Dist: New file.
163 * sysdeps/alpha/Dist: Updated.
164 * sysdeps/mach/hurd/Dist: Updated.
166 * Make-dist [subdir-dirs]: Set a vpath for %.c.
168 * Make-dist (README): Fix typo in cvs cmd.
170 * elf/dl-lookup.c (_dl_lookup_symbol): Fix typos in last change.
171 Comment out ref to nonexistent _dl_close.
173 Tue Jun 4 21:01:20 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
175 * math/Makefile (libm-support, libm-calls): New variables.
176 (libm-routines): Construct this from those.
177 (calls): New variable.
178 (routines): Construct this from it.
180 * resolv/res_debug.c: Add missing #include <ctype.h>.
182 * sysdeps/unix/getlogin.c: Must pass struct utmp ptr to getutline_r.
183 * sysdeps/unix/getlogin_r.c: Likewise.
185 * sysdeps/libm-ieee754/w_hypotl.c: Fix typo.
187 * sysdeps/libm-ieee754/w_cabsl.c: __cabsl_complex -> __cabs_complexl
189 * math/Makefile (long-m-routines): Define recursive variable as
190 $(long-m-$(long-double-fcts)).
191 (long-m-yes): Put list of routines here.
192 (long-c-routines, long-c-yes): Likewise.
194 * sysdeps/unix/sysv/linux/schedbits.h: File removed.
196 * sysdeps/i386/Makefile (long-double-fcts): New variable, set to yes.
197 * sysdeps/m68k/Makefile: Likewise.
199 * math/Makefile [$(long-double-fcts)!=yes] (CPPFLAGS): Append
202 * sysdeps/mach/hurd/getlogin_r.c: New file.
204 Wed Jun 5 02:11:30 1996 Ulrich Drepper <drepper@cygnus.com>
206 * io/Makefile (routines): Add ttyname_r.
208 * resolv/res_debug.c, resolv/resolv.h: Update from bind-4.3.4-T4A.
210 * sysdeps/libm-i387/e_asinl.S, sysdeps/libm-i387/e_atan2l.S,
211 sysdeps/libm-i387/e_expl.S, sysdeps/libm-i387/e_fmodl.S,
212 sysdeps/libm-i387/e_log10l.S, sysdeps/libm-i387/e_logl.S,
213 sysdeps/libm-i387/e_remainderl.S, sysdeps/libm-i387/e_scalbl.S,
214 sysdeps/libm-i387/e_sqrtl.S, sysdeps/libm-i387/s_atanl.S,
215 sysdeps/libm-i387/s_cosl.S, sysdeps/libm-i387/s_ilogbl.S,
216 sysdeps/libm-i387/s_log1pl.S, sysdeps/libm-i387/s_logbl.S,
217 sysdeps/libm-i387/s_scalbnl.S, sysdeps/libm-i387/s_sinl.S,
218 sysdeps/libm-i387/s_tanl.S: New files. i387 assembler versions
219 of `long double' math functions.
221 * sysdeps/libm-ieee754/k_standard.c: Add handling for errors
222 in long double functions.
224 * sysdeps/libm-ieee754/s_ilogbl.c, sysdeps/libm-ieee754/s_logbl.c,
225 sysdeps/libm-ieee754/s_modfl.c: New files. Generic versions
226 of `long double' math functions.
228 * sysdeps/libm-ieee754/s_isinf.c [NO_LONG_DOUBLE]: Add string
231 * sysdeps/libm-ieee754/w_acoshl.c, sysdeps/libm-ieee754/w_acosl.c,
232 sysdeps/libm-ieee754/w_asinl.c, sysdeps/libm-ieee754/w_atan2l.c,
233 sysdeps/libm-ieee754/w_atanhl.c, sysdeps/libm-ieee754/w_cabsl.c,
234 sysdeps/libm-ieee754/w_coshl.c, sysdeps/libm-ieee754/w_dreml.c,
235 sysdeps/libm-ieee754/w_expl.c, sysdeps/libm-ieee754/w_fmodl.c,
236 sysdeps/libm-ieee754/w_gammal.c, sysdeps/libm-ieee754/w_gammal_r.c,
237 sysdeps/libm-ieee754/w_hypotl.c, sysdeps/libm-ieee754/w_j0l.c,
238 sysdeps/libm-ieee754/w_j1l.c, sysdeps/libm-ieee754/w_jnl.c,
239 sysdeps/libm-ieee754/w_lgammal.c, sysdeps/libm-ieee754/w_lgammal_r.c,
240 sysdeps/libm-ieee754/w_log10l.c, sysdeps/libm-ieee754/w_logl.c,
241 sysdeps/libm-ieee754/w_powl.c, sysdeps/libm-ieee754/w_remainderl.c,
242 sysdeps/libm-ieee754/w_scalbl.c, sysdeps/libm-ieee754/w_sinhl.c,
243 sysdeps/libm-ieee754/w_sqrtl.c: New files. Wrapper functions
244 around long double function implementations.
246 * sysdeps/posix/ttyname_r.c (ttyname_r): Use _D_EXACT_NAMLEN
247 to determine length of directory entry name.
249 * posix/Makefile (routines): Add getlogin_r.
250 * posix/unistd.h: Add prototype for getlogin_r.
251 * sysdeps/stub/getlogin_r.c: New file. Reentrant version of
252 getlogin function, specified in P1003.1c/D6. Stub version.
253 * sysdeps/unix/getlogin.c (getlogin): Use ttyname_r instead of
254 ttyname. This avoids saving and restoring the old content.
255 Also use setutent_r, getutline_r and endutent_r instead of
256 accing UTMP file directly.
257 * sysdeps/unix/getlogin_r.c: New file. Reentrant version of
258 getlogin function, specified in P1003.1c/D6.
260 Tue Jun 4 20:10:09 1996 J.T. Conklin <jtc@cygnus.com>
262 * sysdeps/libm-i387/s_finitef.S: Fix mask for exponent.
264 Tue Jun 4 18:57:57 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
266 * elf/dl-lookup.c (_dl_lookup_symbol): Grok magical undefined symbols
267 _GNU_libc_dl_{open,close,symbol} and resolve them to dl functions.
269 * elf/rtld.c (rtld_map): Renamed to _dl_rtld_map, made global.
270 * elf/link.h: Declare _dl_rtld_map.
272 * elf/dl-lookup.c (_dl_symbol_value): New function.
273 * elf/link.h: Declare it.
275 * elf/dladdr.c: Remove #include <setjmp.h>, we don't use it.
277 * shlib-versions: Set libdl=2.
279 * elf/dl-deps.c (_dl_map_object_deps): Use a linked list of alloca'd
280 elements and then scan it to fill the single malloc'd array, instead
281 of using realloc to grow the array in the first pass. _dl_map_object
282 may do some mallocs that break our stream of reallocs, and the minimal
283 realloc can't handle that.
285 * elf/dl-init.c (_dl_init_next): Take argument, link_map whose
286 searchlist describes the piece of the DT_NEEDED graph to be
288 * elf/link.h: Update prototype.
289 * sysdeps/i386/dl-machine.h (RTLD_START): Pass _dl_loaded as argument
291 * sysdeps/m68k/dl-machine.h: Likewise.
292 * elf/dl-deps.c (_dl_open): Pass new object as arg to _dl_init_next.
294 * elf/link.h (struct link_map): Add `l_reserved' member, soaking up
295 extra bits in last byte.
296 * elf/dl-deps.c (_dl_map_object_deps): Use that for mark bit to avoid
297 putting dup elts in search list.
299 * elf/dlclose.c: Use MAP->l_searchlist to find deps to close.
301 * elf/dlsym.c: Don't tweak linked list. Scope array given to
302 _dl_lookup_symbol does the right thing.
304 * elf/Makefile (subdir_lib): Change this target to lib-noranlib.
305 (lib-noranlib): Depend on on $(extra-objs).
307 * errno.h: Move __END_DECLS out of #ifdef's so it matches
310 Tue Jun 4 02:25:44 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
312 * stdio-common/vfprintf.c [USE_IN_LIBIO] (size_t): Don't define as
313 macro. _IO_size_t is just an alias for the real size_t anyway.
315 * elf/Makefile (libdl-routines): Add dladdr.
316 * elf/dladdr.c: New file.
317 * elf/dlfcn.h (Dl_info): New typedef.
318 (dladdr): Declare it.
320 * sysdeps/libm-i387/s_finite.S: Use `setne' instead of `setnel'.
322 * intl/l10nflist.c: Fix conditional on #include <argz.h>.
324 * libio/stdio.h (FOPEN_MAX, FILENAME_MAX, TMP_MAX, L_tmpnam): Macros
325 removed. Instead, include <stdio_lim.h>.
327 * libio/_G_config.h: New file.
328 * libio/Makefile (headers): Add _G_config.h.
330 * MakeTAGS (po/errlist.pot): Extract from sysdeps/gnu/errlist.c.
332 * sysdeps/unix/sysv/linux/gnu/types.h (__KERNEL_STRICT_NAMES): Define
333 this macro too; current Linux kernels test that instead of
334 _LINUX_TYPES_DONT_EXPORT.
336 * elf/linux-compat.c (_init): Pass reloc_addr arg to _dl_lookup_symbol.
338 * elf/dl-lookup.c (_dl_lookup_symbol): Use l_searchlist.
340 * elf/dl-deps.c: New file.
341 * elf/Makefile (rtld-routines): Add dl-deps.
342 * elf/link.h: Declare _dl_map_object_deps, _dl_open.
343 * elf/rtld.c (dl_main): Use _dl_map_object_deps.
344 * elf/dlopen.c: Use _dl_open.
346 * elf/rtld.c (dl_main): Remove BEFORE_RTLD variable and list
347 frobnication based on its value. Detach RTLD_MAP from the chain if
348 its l_opencount is zero after loading deps.
350 * elf/dlfcn.h (RTLD_BINDING_MASK): New macro.
352 * elf/link.h (struct link_map): Replace l_deps_loaded flag member with
353 `struct link_map **l_searchlist' and `unsigned int l_nsearchlist'.
354 * elf/dl-lookup.c (_dl_lookup_symbol): Make SYMBOL_SCOPE arg an array
355 of two link_map ptrs. Search the maps in the l_searchlist of each
356 elt that is not null.
357 * elf/dl-reloc.c (_dl_relocate_object): Pass proper SCOPE array.
358 * elf/dl-runtime.c: Likewise.
359 * elf/dlsym.c: Likewise.
360 * elf/rtld.c (dl_main): Likewise.
362 * elf/dl-minimal.c (realloc): Support realloc of the block most
363 recently returned by the minimal malloc.
365 Tue Jun 4 00:16:03 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
367 * sysdeps/gnu/errlist.awk: Produce N_("..."), not _N("...").
369 * intl: Updated from gettext-0.10.13.
370 * intl/localealias.c, intl/dcgettext.c [_LIBC]: Define HAVE_ALLOCA.
372 * signal/siggetmask.c: New file. Wrapper around sigblock with
373 link_warning about obsolescence.
374 * signal/Makefile (routines): Add siggetmask.
376 * sysdeps/gnu/errlist.awk: New file, adapted from ...
377 * sysdeps/mach/hurd/errlist.awk: File removed, above file replaces it.
378 * sysdeps/mach/hurd/Makefile (errlist.c): Target removed.
379 * sysdeps/gnu/Makefile: New file.
380 (sysdeps/gnu/errlist.c): Make the errlist.c generation rule into this.
382 Mon Jun 3 21:03:54 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
384 * manual/errno.texi (Error Codes): Add placeholder items for missing
385 Linux/i386 errno codes, with perror text but no documentation.
386 Some existing perror texts changed.
388 * malloc/mcheck.c (freehook, reallochook): Handle null pointer args.
390 * hurd/hurdsig.c (_hurd_internal_post_signal): When setting ACT to
391 `ignore, resume the thread if SS_SUSPENDED, regardless of old action.
393 Sun Jun 2 20:14:30 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
395 * locale/programs/linereader.c (lr_open): Don't pass NULL to
396 xstrdup; fix memory leak.
397 (lr_close): Fix memory leak.
399 Mon Jun 3 15:58:22 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu>
401 * hurd/hurdsig.c (_hurd_internal_post_signal): When turning the action
402 for a HANDLE signal to IGNORE because the signal is blocked, clean
403 up any pending suspension left over from a call to resume.
405 Mon Jun 3 00:30:35 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
407 * elf/dl-lookup.c (_dl_lookup_symbol): Take new arg RELOC_ADDR and
408 don't allow a defn resolving to that address.
410 * elf/link.h: Update prototype and comment.
411 * elf/dl-runtime.c (fixup): Define local `resolve' function and pass
412 it to elf_machine_relplt.
413 * elf/dl-reloc.c (_dl_relocate_object: resolve): Take new arg
414 RELOC_ADDR and pass it through to _dl_lookup_symbol.
415 * elf/do-rel.h (elf_dynamic_do_rel): Pass RESOLVE to elf_machine_rel
416 instead of calling it ourselves and passing its results.
417 (elf_dynamic_do_rel): RESOLVE fn takes new arg RELOC_ADDR.
418 * elf/rtld.c (dl_main): Pass 0 for RELOC_ADDR to _dl_lookup_symbol.
419 * sysdeps/i386/dl-machine.h (elf_machine_rel): Remove SYM_LOADADDR
420 arg. Add RESOLVE function ptr arg. Call *RESOLVE as necessary.
421 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
422 * sysdeps/stub/dl-machine.h: Likewise.
424 Sun Jun 2 14:56:49 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
426 * csu/initfini.c (_fini): Add extern decl for i_am_not_a_leaf.
428 * elf/dlfcn.h (dl_open_mode): Enumerated type removed.
429 (RTLD_LAZY, RTLD_NOW): Define these as macros instead.
430 (RTLD_GLOBAL): New macro.
431 (dlopen): Take arg of type int instead of dl_open_mode.
432 * elf/dlopen.c: Likewise.
434 * math/math.h (_Mldbl): New macro, either produces L suffix or not.
435 (M_*): Use it for these constants.
437 * elf/dl-lookup.c (_dl_lookup_symbol): Arg NOSELF renamed to NOPLT.
438 Reject SHN_UNDEF defns iff NOPLT is nonzero.
439 * elf/link.h (_dl_lookup_symbol): Update prototype and comment.
440 * elf/dl-runtime.c (fixup): Pass 1 to _dl_lookup_symbol for NOPLT.
441 * elf/dlsym.c (dlsym): Pass 0.
442 * elf/rtld.c (dl_main): Likewise.
443 * elf/dl-reloc.c (_dl_relocate_object: resolve): Second arg R_OFFSET
444 replaced with NOPLT flag. Pass it through to _dl_lookup_symbol.
445 * elf/do-rel.h (elf_dynamic_do_rel): Update prototype of RESOLVE arg.
446 Pass `elf_machine_pltrel_p (R->r_type)' result as NOPLT flag value.
447 * sysdeps/i386/dl-machine.h (elf_machine_pltrel_p): New macro.
448 * sysdeps/m68k/dl-machine.h (elf_machine_pltrel_p): Likewise.
449 * sysdeps/stub/dl-machine.h (elf_machine_pltrel_p): Likewise.
451 * login/pututline_r.c: Fix typo in sizeof for DATA_TMP alloca.
453 * sysdeps/generic/gnu/types.h (__clock_t): New type.
455 Wed May 29 00:57:37 1996 David Mosberger-Tang <davidm@azstarnet.com>
457 * sysdeps/unix/sysv/linux/gnu/types.h (__clock_t, __fsid_t): Define
459 * time/time.h (clock_t): Include <gnu/types.h> and define using
462 * time/Makefile (tests): Add test-tz.
464 * time/test-tz.c: New test.
466 * time/clocktest.c: Rewrite to test more meaningfully.
468 * sysdeps/unix/sysv/linux/syscalls.list: Add bdflush,
469 create_module, delete_module, get_kernel_syms, init_module,
472 * sysdeps/unix/sysv/linux/sys/param.h (MAXSYMLINKS): Define as 5
473 instead of SYMLOOP_MAX, which is nowhere to be found.
475 * sysdeps/unix/sysv/linux/sys/msq_buf.h,
476 sysdeps/unix/sysv/linux/sys/sem_buf.h,
477 sysdeps/unix/sysv/linux/sys/shm_buf.h [__USE_MISC]: Add more
478 control ops and datastructures.
480 * sysdeps/unix/sysv/linux/sys/io.h: New file declaring low-level
481 I/O related functions.
483 * sysdeps/unix/sysv/linux/sys/kdaemon.h: New file declaring kernel
484 daemon related functions/operations.
486 * sysdeps/unix/sysv/linux/sys/klog.h: New file declaring kernel
487 logging related functions/operations.
489 * sysdeps/unix/sysv/linux/sys/module.h: New file declaring kernel
490 module related functions/operations.
492 * sysdeps/unix/sysv/linux/speed.c: Only do "mention this twice" hack
493 for non-Alpha based Linux systems.
495 * sysdeps/unix/sysv/linux/alpha/speed.c: Remove.
497 * sysdeps/unix/sysv/linux/Makefile (headers): Add sys/module.h,
498 sys/io.h, sys/klog.h, and sys/kdaemon.h.
500 * sysdeps/unix/sysdep.h (END): Define empty END macro for
501 platforms that don't need some sort of end directive at the
504 * sysdeps/unix/make-syscalls.sh: Emit END($strong) at end of
505 syscall wrapper to allow correct generation of debugging
508 * sysdeps/unix/alpha/sysdep.h (END): Redefine to use .end
509 directive for both ELF and ECOFF.
510 (ret): Delete macro. It was a dangerous macro and unnecessary
511 since the Alpha assemblers recognizes "ret" as a macro themselves.
513 * sysdeps/gnu/utmpbits.h (struct utmp): Move ut_tv behind
514 ut_session to guarantee long alignment. This is important for
515 Linux/Alpha since ut_tv.tv_sec is 32 bits and time_t is 64 bits.
516 This will all get cleaned up as programs start to use ut_tv
519 * sysdeps/alpha/divrem.h: Include <sysdep.h> instead of <*/regdef.h>.
521 * sysdeps/alpha/bsd-_setjmp.S (setjmp): Renamed entry point to
524 * sysdeps/alpha/_mcount.S, sysdeps/alpha/bb_init_func.S,
525 sysdeps/alpha/bsd-_setjmp.S, sysdeps/alpha/bsd-setjmp.S,
526 sysdeps/alpha/copysign.S, sysdeps/alpha/divrem.h,
527 sysdeps/alpha/fabs.S, sysdeps/alpha/ffs.S, sysdeps/alpha/htonl.S,
528 sysdeps/alpha/htons.S, sysdeps/alpha/memchr.S,
529 sysdeps/alpha/setjmp.S, sysdeps/alpha/strlen.S,
530 sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S,
531 sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S,
532 sysdeps/unix/sysv/linux/alpha/llseek.S,
533 sysdeps/unix/sysv/linux/alpha/pipe.S,
534 sysdeps/unix/sysv/linux/alpha/sigsuspend.S,
535 sysdeps/unix/sysv/linux/alpha/sysdep.S: Use END macro instead of
538 * csu/initfini.c (_fini): Tell gcc that _fini is not a leaf
539 function by having it contain a dummy function call.
541 * configure.in (config_machine): Don't make ELF the default for
542 Linux/Alpha just yet (use --with-elf instead).
543 (.init/.fini check): Generate .text to ensure function start and
544 end are in same section.
546 * sysdeps/unix/bsd/osf/alpha/brk.S,
547 sysdeps/unix/sysv/linux/alpha/brk.S (__curbrk): Store the entire
548 break value, not just the low 32 bits to accomodate large
551 Tue May 28 10:46:04 1996 Richard Henderson <rth@tamu.edu>
553 * sysdeps/unix/sysv/linux/alpha/brk.S: Rather than attempt to
554 dynamically resolve _end for initializing __curbrk, support the
557 * sysdeps/alpha/bb_init_func.S: Don't make `init' an external symbol.
559 * sysdeps/alpha/bsd-_setjmp.S: The function is _setjmp not setjmp.
561 Sun May 26 22:17:38 1996 Richard Henderson <rth@tamu.edu>
563 * stdlib/lcong48_r.c, stdlib/seed48_r.c, stdlib/strtod.c,
564 stdlib/strtol.c: Include <string.h> for mem* and str* fns used.
566 Thu May 23 02:15:56 1996 David Mosberger-Tang <davidm@azstarnet.com>
568 * sysdeps/unix/sysv/linux/Makefile (headers): Add sys/io.h,
569 sys/klog.h, and sys/kdaemon.h.
571 * sysdeps/unix/sysv/linux/sys/io.h: New file.
572 * sysdeps/unix/sysv/linux/sys/klog.h: Ditto.
573 * sysdeps/unix/sysv/linux/sys/kdaemon.h: Ditto.
575 * sysdeps/unix/alpha/sysdep.h (ret): Remove macro. It is
576 dangerous and unnecessary since both OSF/1 as and gas define "ret"
577 as a pseudo-instruction.
579 Sat Jun 1 17:18:21 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
581 * time/tzset.c (__tzset): Clear tz_rules name pointers after freeing
582 them. Bug found by David Mosberger-Tang.
584 * sysdeps/posix/tempname.c (__stdio_gen_tempname): Use __ptr_t instead
587 * extra-lib.mk (extra-objs): Use patsubst intead of $(A:=B) syntax
588 to work around Make bug when A contains var ref.
590 Fri May 31 18:27:52 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
592 * string/string.h [__USE_MISC]: Declare basename; OSF/1 puts it here.
594 * sysdeps/unix/sysv/linux/syscalls.list (getpgid, setpgid): Define __
595 strong names and [gs]etpgid as weak aliases.
597 Thu May 30 11:24:05 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
599 * math/math_private.h (GET_LDOUBLE_EXP): Add missing backslash.
601 * po/header.pot: Replace with exact boilerplate pinard dictates.
603 * sysdeps/i386/strtok.S (Lillegal_argument): Remove this code to set
604 errno and the check that jumped to it.
606 * sysdeps/mach/hurd/Makefile (errnos.d): Use $(sed-remove-objpfx).
608 Thu May 30 03:21:57 1996 Ulrich Drepper <drepper@cygnus.com>
610 * FAQ: Document need of gperf program for developers.
612 * elf/elf.h: Fix typos in comments.
614 * libio/stdio.h [!__STRICT_ANSI__ || _POSIX_SOURCE]: Add
615 prototypes for `ctermid' and `cuserid'.
617 * locale/programs/locale.c: Switch to user selected locale
618 before printing variables.
620 * math/Makefile [$(long-double-fcts)==yes]: Define long-m-routines
621 and long-c-routines. Only if the `long double' data type is
622 available we need to compile the functions.
623 (libm-routines): Add $(long-m-routines).
624 (routines): Remove isinfl, isnanl. Use new file s_isinfl and
625 s_isnanl instead if `long double' is available.
627 * math/math.h: Include <mathcalls.h> again to define `long double'
630 * math/math_private.h: Define data types, prototypes and access
631 macros for `long double'.
633 * stdlib/stdlib.h: Add prototypes for `strtoll' and `strtoull'.
634 [GCC2 && OPTIMIZE]: Define strto{,u}ll as inline function which
635 calls __strto{,u}q_internal.
637 * stdlib/strfmon.c: Replace PTR by `void *'.
639 * stdlib/strtoq.c: Define strtoll as weak alias.
640 * stdlib/strtouq.c: Define strtoull as weak alias.
642 * string/tester.c: Correct `strsep' test.
644 * sysdeps/generic/strsep.c: Make compatible with BSD version.
645 Trailing characters of skip set are not skipped. In this case
646 empty tokens are returned.
648 * sysdeps/i386/isinfl.c, sysdeps/i386/isnanl.c,
649 sysdeps/ieee754/isinf.c, sysdeps/ieee754/isinfl.c,
650 sysdeps/ieee754/isnan.c, sysdeps/ieee754/isnanl.c: Removed. We
651 now use the versions part of libm.
653 * sysdeps/i386/strsep.S: Removed. Generic C version is of
655 * sysdeps/i386/strtok.S: Remove support for `strsep'.
657 * sysdeps/libm-i387/e_acosl.S, sysdeps/libm-i387/s_ceill.S,
658 sysdeps/libm-i387/s_copysignl.S, sysdeps/libm-i387/s_finitel.S,
659 sysdeps/libm-i387/s_floorl.S, sysdeps/libm-i387/s_isinfl.c,
660 sysdeps/libm-i387/s_isnanl.c, sysdeps/libm-i387/s_nextafterl.c,
661 sysdeps/libm-i387/s_rintl.S, sysdeps/libm-i387/s_significandl.S:
662 New i387 specific math functions implementing `long double'
665 * sysdeps/libm-ieee754/s_ceill.c,
666 sysdeps/libm-ieee754/s_copysignl.c,
667 sysdeps/libm-ieee754/s_fabsl.c, sysdeps/libm-ieee754/s_finitel.c,
668 sysdeps/libm-ieee754/s_floorl.c, sysdeps/libm-ieee754/s_isinfl.c,
669 sysdeps/libm-ieee754/s_isnanl.c,
670 sysdeps/libm-ieee754/s_nextafterl.c,
671 sysdeps/libm-ieee754/s_rintl.c, sysdeps/libm-ieee754/s_scalbnl.c,
672 sysdeps/libm-ieee754/s_significandl.c: New generic `long double'
673 versions of libm functions.
675 * sysdeps/libm-i387/e_exp.S: Add a few comments to explain the
678 * sysdeps/libm-i387/s_ceil.S, sysdeps/libm-i387/s_ceilf.S,
679 sysdeps/libm-i387/s_floor.S, sysdeps/libm-i387/s_floorf.S: Correct
680 handling of local variables. The old version created a stack
681 frame but stored the values outside.
683 * sysdeps/libm-ieee754/s_isinf.c, sysdeps/libm-ieee754/s_isnan.c
684 [!NO_LONG_DOUBLE]: Define alias with `long double' versions name.
686 Wed May 29 12:53:10 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
688 * login/pututline_r.c: Include sys/stat.h. Fix typos.
690 * version.h (VERSION): Set to 1.90.
692 * Makerules (distinfo-vars): Write extra-libs and *-routines for each
694 * MakeTAGS (sources): Add those sources.
696 * MakeTAGS (all-sources): Add $(others:=.c) and $(tests:=.c).
698 Wed May 29 08:53:08 1996 Miles Bader <miles@gnu.ai.mit.edu>
700 * hurd/report-wait.c (_S_msg_report_wait): Return `itimer' for the
703 * hurd/hurdinit.c (_hurd_init): Set _HURDSIG_TRACED before calling
706 Wed May 29 00:52:20 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
708 * string/tester.c (main): Fix strsep tests 6, 7, 20 to expect null
709 token instead of it being implicitly skipped.
711 * sysdeps/i386/fpu/__math.h (logb): Correct contraint from =u to =t.
712 Must operate on top of fp reg stack, not second from top.
714 * extra-lib.mk (alltypes-$(lib)): Don't append $(objpfx)$(lib).so.
715 (others): Instead, make this depend on it.
717 Tue May 28 04:38:10 1996 Ulrich Drepper <drepper@cygnus.com>
719 * limits.h: Change MB_LEN_MAX to 6. A 31-bit ISO 10646
720 character in UTF-8 encoding has that many bytes.
722 * locale/langinfo.h: New element _NL_CTYPE_MB_CUR_MAX.
723 * locale/categories.def: Add description of field _NL_CTYPE_MB_CUR_MAX.
724 * locale/Makefile (routines): Add mb_cur_max.
725 * locale/mb_cur_max.c: New file. This function gets called
726 when the macro MB_CUR_MAX is used.
727 * locale/C-ctype.c: Initialize new mb_cur_max field.
728 * locale/localeinfo.h: Change magic value because of incompatible
730 * locale/programs/ld-ctype.c: Determine value of mb_cur_max
731 according to current character set and write it out with the rest.
732 * stdlib/stdlib.h (MB_CUR_MAX): Not constant anymore. Get value
733 according to currently used locale for category LC_CTYPE by
734 calling the function __ctype_get_mb_cur_max.
736 Tue May 28 03:27:46 1996 Ulrich Drepper <drepper@cygnus.com>
738 * FAQ: Fix some typos.
739 Tell that for Linux the kernel header files are necessary.
741 * PROJECTS: New file. List of open jobs for glibc.
742 * Makefile (distribute): Add PROJECTS.
744 * crypt/GNUmakefile (headers): New variable. Mention crypt.h.
745 * crypt/crypt.h: Header for crypt functions.
747 * elf/elf.h: Add some new constants from recent Cygnus ELF
750 * login/getutid_r.c: Test for correct type.
751 Don't depend on ut_type and ut_id unless _HAVE_UT_TYPE and
752 _HAVE_UT_ID resp. are defined.
753 Make really compliant with specification.
755 * login/getutline_r.c, login/pututline_r.c: Don't depend on
756 ut_type and ut_id unless _HAVE_UT_TYPE and _HAVE_UT_ID resp. are
758 Make really compliant with specification.
760 * login/setutent_r.c: Don't depend on ut_type and ut_id unless
761 _HAVE_UT_TYPE and _HAVE_UT_ID resp. are defined.
763 * login/login.c, login/logout.c, login/logwtmp.c: Complete
764 rewrite. Now based on getut*/setut* functions.
766 * stdlib/strtol.c: Undo changes of Wed May 22 01:48:54 1996.
767 This prevented using this file in other GNU packages.
769 * sysdeps/gnu/utmpbits.h: Define _HAVE_UT_TYPE, _HAVE_UT_ID,
770 and _HAVE_UT_TV because struct utmp has these members.
772 * sysdeps/libm-i387/e_exp.S: Correct exp(+-Inf) case.
774 * utmp.h: New file. Wrapper around login/utmp.h.
776 Tue May 28 13:11:19 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
778 * elf/dl-error.c (struct catch): New type.
779 (catch): New static variable, struct catch *.
780 (catch_env, signalled_errstring, signalled_objname): Variables removed.
781 (_dl_signal_error): If CATCH is non-null, set its errstring and
782 objname members and jump to CATCH->env. If it is null, call
783 _dl_sysdep_fatal with a standard message.
784 * elf/rtld.c (dl_main): Explode `doit' function into dl_main's body.
785 No longer use _dl_catch_error.
787 * Makerules (sed-remove-objpfx): Avoid extra space in regexp due to
790 * sysdeps/unix/sysv/linux/i386/socket.S: Fix off-by-one error in
791 setting %ecx to 2nd syscall arg: we have pushed nothing, so function
792 args are found at 4(%esp), not 8(%esp).
794 Mon May 27 10:10:00 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
796 * Makefile ($(includedir)/stubs.h): Add missing backslash.
798 * sysdeps/unix/sysv/linux/i386/brk.c (__curbrk): Initialize it so it
801 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=termios] (headers):
804 * Makefile ($(includedir)/stubs.h): Print a msg if we do nothing.
806 * misc/sgtty.h: Add forward decl of struct sgttyb in case it is never
809 * sysdeps/unix/sysv/linux/termio.h: New file.
810 * sysdeps/unix/sysv/linux/Dist: Add it.
812 * sysdeps/unix/sysv/linux/ioctl-types.h: New file, wrapper around
813 kernel header <asm/termios.h>.
815 * misc/Makefile (headers): Add ioctl-types.h.
816 * sysdeps/generic/ioctl-types.h: New file.
817 * misc/sys/ioctl.h: Include <ioctl-types.h>.
818 (struct tchars, struct ltchars, struct sgttyb, struct winsize,
819 struct ttysize): Types moved there.
821 * Makefile ($(includedir)/stubs.h): Don't touch target if new one is
824 * time/Makefile (z.% rule): Generate generic zone%/ rule after
825 zone%/right/ and zone%/posix/ rules so they match first.
827 Sun May 26 15:15:08 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
829 * features.h [_GNU_SOURCE] (_BSD_SOURCE, _SVID_SOURCE,
830 _POSIX_SOURCE, _POSIX_C_SOURCE): Define these.
832 * time/Makefile (tzcompile): Add missing backslash.
834 * stdlib/ldiv.c: Deansideclized.
836 * wctype/wctype.h (__need_wint_t): Define this and include stddef.h.
837 [! _WINT_T] (wint_t): Conditionalize typedef on this in case pre-2.7.3
838 stddef.h doesn't define it.
839 * wcsmbs/wchar.h: Likewise.
840 * stdlib/strtod.c: Likewise.
842 * wcsmbs/wcstok.c: Fix argument name typo.
844 Sun May 26 19:39:53 1996 Ulrich Drepper <drepper@cygnus.com>
846 * intl/loadmsgcat.c (_nl_load_domain): Test correct variable
849 * string/Makefile (tester-ENV): New variable to suppress message
852 * string/tester.c: Add tests for strtok_r and strsep.
854 * sysdeps/i386/i486/strcat.S: Correct some more 8bit operation
855 <-> 32 bit operand conflicts.
857 * sysdeps/i386/strsep.S: Wrapper around <sysdeps/i386/strtok.S>
858 to produce strsep function.
859 * sysdeps/i386/strtok.S: Optimized implementation of strtok
861 * sysdeps/i386/strtok_r.S: Wrapper around <sysdeps/i386/strtok.S>
862 to produce strtok_r function.
864 * sysdeps/generic/strtok.c: Moved here from string/strtok.c.
865 Corrected example in comment.
867 * string/Makefile (routines): Add strtok_r.
868 * sysdeps/generic/strtok_r.c: New file. Implement reentrant version
870 * string/string.h: Add prototype for strtok_r.
871 * wcsmbs/wcstok.c: Handle illegal SAVE_PTR argument the same
874 Sun May 26 13:28:23 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
876 * time/tzset.c (__tzset): Ignore leading : in $TZ; always try tzfile
877 first and fall back to 1003.1 syntax only if it fails.
879 * time/Makefile (install-others): Also install posix/ZONE and
880 right/ZONE for each ZONE in $(zonenames).
881 (z.% rule): Generate rules for right/ZONE and posix/ZONE targets too,
882 the difference begin leapseconds vs /dev/null as 3rd dep. For
883 original ZONE targets use $(leapseconds), to be set in Makeconfig.
884 (target-zone-flavor): New variable.
885 (tzcompile): Use it to get the right -d for posix/ and right/ flavors.
886 * Makeconfig (leapseconds): New variable.
888 * mach/Machrules (%.udeps rule): Depend on Machrules.
889 Emit deps for .uh and .__h files.
890 (%.uh, %.__h rules): Don't depend on %.defs; use #include <$*.defs>
893 Sun May 26 01:06:47 1996 Ulrich Drepper <drepper@cygnus.com>
895 * stdlib/Makefile (routines): Add llabs, lldiv.
896 * stdlib/llabs.c: New file. Implementation of return
897 absolute value of long long argument.
898 * stdlib/lldiv.c: New file. Implementation of division with remainder
899 of long long argument.
900 * stdlib/stdlib.h [__USE_GNU] (lldiv_t): New type for lldiv
902 Define prototypes for lldiv and llabs functions.
904 * locale/C-collate.c: Initialize _NL_COLLATE_NRULES element.
906 * stdlib/strtod.c: Replace wchar_t with wint_t. The later is
907 really the type for a single wide character.
909 * string/strxfrm.c (print_val): Define separate version for
910 use as wcsxfrm. Here we don't need UTF8 encoding.
912 * wcsmbs/wchar.h: gcc-2.7.2-960517 finally introduces wint_t
913 in <stddef.h>. Use this value and only for older gcc version
915 (uwchar_t): Remove definition.
917 * wcsmbs/wcscmp.c, wcsmbs/wcscoll.c, wcsmbs/wcsncmp.c,
918 wcsmbs/wcsxfrm.c, wcsmbs/wmemcmp.c: : Don't use uwchar_t as unsigned
919 type. wint_t is intended for this.
921 Sat May 25 14:10:19 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
923 * sysdeps/unix/bsd/direntry.h: Use [1] instead of [0] for d_name to
924 quiet -ansi -pedantic.
925 * sysdeps/unix/common/direntry.h: Likewise.
927 * login/Makefile (headers): Add lastlog.h.
928 * login/lastlog.h: New file.
930 * login/Makefile (CFLAGS): Don't append -D_THREAD_SAFE.
931 * login/utmp.h [_REENTRANT || _THREAD_SAFE]: Replace this conditional
932 with #ifdef __USE_REENTRANT.
934 * features.h (__GNU_LIBRARY__): Set to 6.
935 [_GNU_SOURCE] (_POSIX_SOURCE, _POSIX_C_SOURCE, _BSD_SOURCE,
936 _SVID_SOURCE): Make sure they are all defined.
938 * sysdeps/unix/sysv/linux/gnu/types.h: Instead of including
939 <linux/posix_types.h>, define _LINUX_TYPES_DONT_EXPORT and then
940 include <linux/types.h>.
942 * resource/sys/resource.h: Remove trailing commas from enums.
944 Fri May 24 17:30:50 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
946 * sysdeps/generic/netinet/in.h: Remove trailing commas from enums.
947 * sysdeps/unix/sysv/linux/netinet/in.h: Likewise.
949 * login/getutline_r.c: Include string.h.
951 * Rules (static-only-routines): Restore the rule to make these .so's
954 * login/pututline_r.c: Use struct assignment instead of memcpy.
956 * login/getutline_r.c: Use strncmp instead of comparing two pointers
957 that will only be equal if you are overwriting the data and screwing
960 Fri May 24 02:31:36 1996 Ulrich Drepper <drepper@cygnus.com>
962 * sysdeps/unix/sysv/linux/speed.c: Add new speed value 460800.
964 Thu May 23 23:09:33 1996 Ulrich Drepper <drepper@cygnus.com>
966 * FAQ: Add answer for 100% source code compatibility to Linux
967 libc by David Mosberger-Tang.
969 Update from bind-4.3.4-T3B.
970 * inet/arpa/inet.h: Add prototypes for inet_pton, inet_ntop,
971 inet_nsap_addr, and inet_nsap_ntoa.
972 * resolv/gethnamaddr.c: Correct compatibility problems (sprintf),
973 remove fourth argument to inet_pton and correct handling of
975 * resolv/inet_ntop.c: Correct compatibility problems (sprintf).
976 * resolv/inet_pton.c: Remove fourth argument.
977 * resolv/resolv.h: Remove prototypes for inet_nsap_addr and
978 inet_nsap_ntoa. Now in <arpa/inet.h>.
980 * stdlib/gmp-impl.h: Add prototypes for internal functions.
982 Thu May 23 22:49:15 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
984 * Rules (subdir_install): Remove dep on sor-$(subdir).
985 (static-only-routines): Removed variable and associated rules.
987 Wed May 22 00:40:50 1996 David Mosberger-Tang <davidm@azstarnet.com>
989 * sysdeps/unix/sysv/linux/alpha/speed.c (speeds): Add entry for
992 * sysdeps/unix/sysv/linux/alpha/statbuf.h: New file.
994 * sysdeps/unix/sysv/linux/alpha/Makefile (headers): Add
996 * sysdeps/unix/sysv/linux/alpha/alpha/ptrace.h: New file.
998 * sysdeps/libm-ieee754/s_scalbnf.c: Call __scalbnf instead of
1001 * sysdeps/generic/sigset.h (__sigismember, __sigaddset,
1002 __sigdelset): Add declaration to keep ANSI compilers quiet.
1004 * sysdeps/alpha/__math.h (cabs): Remove underscores from struct
1005 __cabs_complex member names in call to __hypot().
1007 * sysdeps/alpha/copysign.S, sysdeps/alpha/fabs.S: New files.
1009 * sysdeps/alpha/divrem.h: Renamed from sysdeps/alpha/divrem.S to avoid
1010 name collision with math library.
1012 * sysdeps/alpha/divl.S, sysdeps/alpha/divlu.S, sysdeps/alpha/divq.S,
1013 sysdeps/alpha/divqu.S, sysdeps/alpha/reml.S, sysdeps/alpha/remlu.S,
1014 sysdeps/alpha/remq.S, sysdeps/alpha/remqu.S: Include divrem.h instead
1017 * sysdeps/unix/alpha/sysdep.h: Include regdef.h. Define LEAF macro
1018 to simplify declaration of leaf functions.
1020 * sysdeps/alpha/_mcount.S, sysdeps/alpha/bb_init_func.S,
1021 sysdeps/alpha/bsd-_setjmp.S, sysdeps/alpha/ffs.S,
1022 sysdeps/alpha/htonl.S, sysdeps/alpha/htons.S, sysdeps/alpha/memchr.S,
1023 sysdeps/alpha/setjmp.S, sysdeps/alpha/strlen.S,
1024 sysdeps/alpha/udiv_qrnnd.S, sysdeps/unix/sysv/linux/alpha/brk.S,
1025 sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S,
1026 sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S,
1027 sysdeps/unix/sysv/linux/alpha/pipe.S,
1028 sysdeps/unix/sysv/linux/alpha/sigsuspend.S,
1029 sysdeps/unix/sysv/linux/alpha/syscall.S,
1030 sysdeps/unix/sysv/linux/alpha/start.S,
1031 sysdeps/unix/sysv/linux/alpha/sysdep.S: Remove include of regdef.h.
1032 sysdep.h includes it now. Replace ENTRY by LEAF with appropriate
1033 framesize declaration. Replace "lda pv,sym/jsr pv" by "jsr sym".
1035 * sysdeps/unix/sysv/linux/alpha/sysdep.h (NO_UNDERSCORES): Don't
1038 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Added getsockopt,
1041 * sysdeps/unix/sysv/linux/alpha/profil-counter.h: File removed.
1043 * sysdeps/unix/sysv/linux/alpha/ioperm.c: Modify to support
1044 dynamic recognition of platform type.
1045 (_bus_base): New function.
1047 * sysdeps/unix/sysv/linux/alpha/llseek.S: New file.
1049 * sunrpc/rpc/rpc.h, sunrpc/rpc/svc.h: Avoid nested comments since
1050 they produce ugly warnings by gcc.
1052 * posix/sys/types.h [__USE_MISC]: Add typedef for ulong.
1054 Wed Mar 27 10:26:21 1996 David Mosberger-Tang <davidm@azstarnet.com>
1056 * sysdeps/alpha/setjmp.S: Must establish global pointer before
1057 address of __sigsetjmp_aux can be loaded.
1059 Wed May 22 22:10:01 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1061 * stdlib/canonicalize.c: New file.
1062 * stdlib/stdlib.h: Declare canonicalize_file_name, realpath.
1063 * stdlib/Makefile (routines): Add canonicalize.
1065 * posix/unistd.h: Declare __canonicalize_directory_name_internal.
1067 Thu May 23 00:01:10 1996 Ulrich Drepper <drepper@cygnus.com>
1069 * db/recno/rec_seq.c: Prevent `sccsid' definition by using the
1070 same #if condition as in the other db files.
1072 * intl/Makefile: Add -Wno-unused CFLAGS for compilation of
1073 bindtextdom.c, finddomain.c, and localealias.c.
1075 * intl/dcgettext.c: Don't define prototype for getcwd() when
1078 * libio/cleanup.c: Add prototype for _IO_register_cleanup.
1080 * libio/filedoalloc.c, libio/fileops.c, libio/iopopen.c: Don't
1081 define _POSIX_SOURCE unconditionally.
1083 * libio/filedoalloc.c, libio/iopopen.c: Include <unistd.h> if
1086 * libio/fileops.c (_IO_file_close_it): Don't sync file, call
1087 flush instead. This relaxes the rules from POSIX.1 about
1088 changing the active handle a bit.
1090 * libio/iofopncook.c (struct _IO_cookie_file): Move definition
1092 Add prototypes for local functions to prevent warnings.
1094 * libio/iopopen.c: Change prototypes for _IO_fork, _IO_pipe, and
1095 _IO_dup2 to contain complete parameter list.
1097 * libio/libio.h: Add definition of struct _IO_cookie_file.
1099 * libio/libioP.h: Add prototypes for _IO_vasprintf, _IO_vdprintf,
1102 * libio/memstream.c: Include <stdio.h>.
1104 * libio/stdio.h: Add prototypes for fopencookie,
1105 __stdio_gen_tempname, __vfscanf, __vsscanf, and __vsnprintf.
1107 * libio/strops.c: Avoid useless expression in `for' initializer.
1109 * locale/findlocale.c: Add some casts to prevent warnings.
1111 * locale/programs/locfile.c (write_locale_data): Don't use
1112 double `/' in locale binary file.
1114 * posix/unistd.h: Remove prototype for `reboot'.
1116 Update from bind-4.9.4-T1A.
1117 * resolv/Makefile (routines): Add inet_ntop and inet_pton.
1118 * resolv/arpa/nameser.h: Add definition of IN6ADDRSZ.
1119 * resolv/gethnamaddr.c, resolv/getnetnamadr.c, resolv/res_comp.c,
1120 resolv/res_debug.c, resolv/res_init.c
1122 * resolv/inet_ntop.c, resolv/inet_pton.c: New files.
1124 * resolv/resolv.h: Add RES_USE_INET6 flag.
1125 (__dn_isvalid): Renamed to __res_dnok.
1126 Add prototypes for __res_ownok and __res_mailok.
1128 * stdio-common/Makefile: Add -Wno-unused to CFLAGS for _itoa.c.
1130 * stdio-common/getline.c, stdio-common/vfscanf.c,
1131 sysdeps/posix/tempname.c: Don't use <ansidecl.h> anymore.
1133 * sysdeps/unix/sysv/linux/Makefile [$subdir == misc]
1134 (sysdep_routines): Add s_reboot.
1135 (install-others): Add $(includedir)/sys/syscall.h.
1136 New rule for $(includedir)/sys/syscall.h to produce from
1139 * sysdeps/unix/sysv/linux/reboot.c: New file. Make single
1140 argument function call 3 argument system call.
1142 * sysdeps/unix/sysv/linux/sys/reboot.h: New file. Linux specific
1143 definition for reboot function.
1145 * sysdeps/unix/sysv/linux/syscall.h: Remove old and obsolete
1148 * sysdeps/unix/sysv/linux/syscalls.list: Rename function for
1149 reboot syscall to __syscall_reboot.
1151 * wcsmbs/wchar.h: Protect prototypes for wcstof and wcstold by
1152 __USE_GNU, not USE_GNU.
1154 Tue May 21 21:55:49 1996 David Mosberger-Tang <davidm@AZStarNet.com>
1156 * locale/programs/charset.c, locale/programs/ld-collate.c:
1157 Add casts to prevent warnings on 64-bit machines.
1159 * locale/programs/ld-monetary.c: Don't do unnecessary tests for
1160 int_frac_digits and frac_digits which only produce warnings.
1162 Mon May 13 23:45:29 1996 David Mosberger-Tang <davidm@AZStarNet.com>
1164 * inet/arpa/inet.h: Backup return type of inet_addr to u_long.
1165 * resolv/inet_addr.c: Likewise.
1167 * resolv/Makefile (distribute): Add res_hconf.h
1168 (routines): Add res_hconf.
1170 * resolv/gethnamaddr.c: Add support for /etc/host.conf.
1172 * resolv/res_init.c: Initialize /etc/host.conf reader.
1174 * resolv/res_hconf.c, resolv/res_hconf.h: New files.
1175 Implementation of reading /etc/host.conf.
1177 Wed May 22 21:21:15 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1179 * Rules (%.out rules): Prepend $($*-ENV) to the command.
1181 * sysdeps/unix/sysv/linux/i386/brk.c (___brk_addr): Define as weak
1184 Wed May 22 19:37:27 1996 Miles Bader <miles@gnu.ai.mit.edu>
1186 * hurd/hurdexec.c (_hurd_exec): Pass INIT_TRACEMASK.
1187 * hurd/hurdmsg.c (set_int): Support INIT_TRACEMASK.
1189 Wed May 22 18:47:31 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1191 * sysdeps/mach/hurd/getcwd.c
1192 (_hurd_canonicalize_directory_name_internal): New function, broken out
1195 (__canonicalize_directory_name_internal): New function using it.
1197 * sysdeps/posix/getcwd.c (__canonicalize_directory_name_internal): New
1198 function, broken out of __getcwd.
1201 Wed May 22 18:14:05 1996 Miles Bader <miles@gnu.ai.mit.edu>
1203 * string/argz-create.c (__argz_create): Correctly calculate length.
1205 * string/argz-extract.c (__argz_extract): Add terminating 0 entry.
1206 * hurd/hurdstartup.c (_hurd_startup): ... and don't so here.
1208 Wed May 22 17:22:14 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1210 * posix/glob.c [VMS]: Don't include <pwd.h>.
1211 [HAVE_VMSDIR_H]: Include "vmsdir.h".
1212 (glob) [VMS]: Don't grok ~.
1214 Wed May 22 14:46:53 1996 Miles Bader <miles@gnu.ai.mit.edu>
1216 * hurd/hurdstartup.c (_hurd_startup): Terminate the vectors we get
1217 back from argz_extract.
1219 Wed May 22 13:56:42 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1221 * configure.in: Remove checks for objdump, objcopy, and awk.
1222 * config.make.in (OBJDUMP, OBJCOPY, AWK): Variables removed.
1223 * Makefile (distribute): Remove extract-dynsym.
1224 * extract-dynsym: File removed.
1226 Tue May 21 22:17:45 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1228 * termios/cfmakeraw.c: Set MIN to 1 and TIME to 0.
1230 Wed May 22 01:48:54 1996 Ulrich Drepper <drepper@cygnus.com>
1232 * stdlib/strtol.c [!QUAD] (ULONG_MAX, LONG_MAX): Define these
1233 macros if they are not available.
1234 (WEAKNAME): New macro to declare argument as weak.
1235 Define function with __ prefix and add normal name as weak alias.
1237 * sysdeps/posix/euidaccess.c (S_IROTH, S_IWOTH, S_IXOTH): Defines
1238 these macros if not already available based on R_OK, W_OK, and
1241 Tue May 21 18:48:46 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1243 * misc/sys/syslog.h (__need___va_list): Define this instead of
1244 __need_va_list before including <stdarg.h>.
1246 * Makerules (o-iterator): Use $(object-suffixes-left) instead
1247 of $(object-suffixes) to produce repetitions; this is used for other
1248 lists than just that one.
1249 [versioned]: Use $(o-iterator) properly.
1251 * sysdeps/unix/sysv/linux/Implies: Include `gnu'.
1252 * sysdeps/mach/hurd/Implies: Likewise.
1254 Sat May 18 02:57:46 1996 Ulrich Drepper <drepper@cygnus.com>
1256 * login/Makefile: New file. This directory contains functions
1257 for user administration.
1258 * Makefile (subdirs): Add login.
1260 * misc/Makefile (headers): Remove utmp.h. Now in login/utmp.h.
1261 (extra-libs, libutil-routines): Ditto.
1262 * misc/login.c, misc/login_tty.c, misc/logout.c, misc/logwtmp.c,
1263 misc/utmp.h: Moved to misc/.
1264 * login/login.c, login/login_tty.c, login/logout.c,
1265 login/logwtmp.c, login/utmp.h: Moved to here from misc/.
1267 * login/utmp.h: Split file. Definitions of data structures
1268 and constants are now in the system dependent utmpbits.h file.
1270 * login/setutent_r.c, login/setutent.c, login/endutent_r.c,
1271 login/endutent.c, login/getutent_r.c, login/getutent.c,
1272 login/getutid_r.c, login/getutid.c, login/getutline_r.c,
1273 login/getutline.c, login/pututline_r.c, login/pututline.c:
1274 New files. Routines to handle utmp-style files.
1276 * sysdeps/gnu/utmpbits.h: New file. Contains GNU/Linux
1277 specific definitions of utmp data structures and constants.
1279 * sysdeps/unix/sysv/utmpbits.h: Renamed from sysdeps/unix/sysv/utmp.h.
1281 * sysdeps/generic/utmpbits.h: New file. Generic (BSDish) version of
1282 definitions of utmp data structures and constants.
1284 Fri May 17 00:01:31 1996 Ulrich Drepper <drepper@cygnus.com>
1286 * locale/C-monetary.c: Default value for mon_decimal_point should be
1289 * stdio-common/printf.h: Remove Linux libc compatibility stuff.
1290 Add `extra' flag. Currently used in __printf_fp.
1292 * stdio-common/printf_fp.c (__guess_grouping): Renamed from
1293 `guess_grouping' and extend visibility to extern. This function
1294 is now used in `strfmon'.
1295 (__printf_fp): Recognize new bit flag in info struct. This
1296 triggers to use the grouping information and decimal point from
1297 the LC_MONETARY category instead of the LC_NUMERIC category.
1299 * stdio-common/vfprintf.c (process_arg): Correct major bug. In
1300 `complicated' loop we must not use the varargs because the args
1301 are already available in the ARGS_VALUE array.
1303 * stdlib/Makefile (headers): Add monetary.h.
1304 (routines): Add strfmon.
1305 * stdlib/monetary.h: New file. Header for strfmon function.
1306 * stdlib/strfmon.c: New file. Implement strfmon function to print
1307 monetary amounts according to current locale's rules.
1309 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: The kernel header is
1310 now (>= Linux-1.3.100) called <asm/vm86.h>.
1312 Thu May 16 00:31:44 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1314 * Makerules [versioned]: Make symlinks in the build directory, because
1315 the versioned names might be referenced by a DT_NEEDED in another
1318 Wed May 15 18:59:38 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1320 * manual/examples/longopt.c: Include stdlib.h and getopt.h.
1322 Tue May 14 03:36:21 1996 Ulrich Drepper <drepper@cygnus.com>
1324 * sysdeps/unix/sysv/linux/Makefile [$subdir == misc] (headers):
1325 Add sys/acct.h and sys/sysctl.h.
1327 Tue May 14 19:42:04 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1329 * sysdeps/generic/strrchr.c: Deansideclized.
1331 * elf/Makefile (ldd): Depend on Makefile.
1332 Find ld.so in $(slibdir) instead of $(libdir).
1334 * sysdeps/i386/strrchr.S: Use `testl $3, %esi' instead of `testb $3,
1335 %esi'; gas misassembles the latter into `testb $3, %dh'.
1337 * mach/Machrules (%.udeps rule): Do $(make-target-directory) first.
1339 Tue May 14 16:38:44 1996 David Mosberger-Tang <davidm@AZStarNet.com>
1341 * sunrpc/getrpcent.c (interpret): Declare args. Rewrite parsing using
1344 Tue May 14 20:18:38 1996 Ulrich Drepper <drepper@cygnus.com>
1346 * time/Makefile (routines): Add strptime.
1347 * time/time.h: Add prototype for strptime.
1348 * time/strptime.c: New file. Implementation according to XPG4.
1350 Tue May 14 14:07:10 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1352 * libc-symbols.h (lint): Macro removed. The sunrpc code does some
1353 really stupid things #ifdef lint.
1355 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter): Fix
1356 struct member name: sc_eip -> eip.
1358 Mon May 13 19:52:33 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1360 * Makerules (stub-$(subdir)): Put cmds including cd inside (...) with
1361 output redirect outside it.
1363 * elf/Makefile (subdir_lib): Depend on ld.so.
1365 Sun May 12 22:52:22 1996 Bruce Elliott <belliott@accessone.com>
1367 * stdio-common/vfprintf.c: Correct handling of unsigned short
1370 Mon May 13 12:03:03 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1372 * extra-lib.mk (alltype-$(lib)): Put libs in $(objpfx) instead of
1374 * Makerules [install-lib.a]: Find them there.
1376 * sysdeps/unix/sysv/linux/i386/profil-counter.h: New file.
1378 * extra-lib.mk: Skip the hair if $(object-suffixes-$(lib)) is empty.
1380 * posix/glob.h [_AMIGA]: Remove `struct stat;' forward decl.
1382 * configure.in (--with-fp): Note in help string that it's the default.
1384 * locale/programs/ld-ctype.c (struct locale_ctype_t): Use u_int32_t
1385 instead of unsigned int for map_collection_max and map_collection_act.
1387 * stdio-common/vfprintf.c [USE_IN_LIBIO] (flockfile, funlockfile):
1388 Macros removed; they are in <stdio.h>.
1389 * stdio-common/vfscanf.c: Likewise.
1391 * posix/glob.c [_AMIGA]: Don't include <pwd.h>.
1392 (glob): Remove bogus & in call to globfree.
1393 [_AMIGA]: Use AmigaDOS file name conventions.
1395 * time/Makefile (zonenames): Target removed.
1396 (extra-objs): Remove it from here.
1397 Include the z.* files directly instead of including zonenames; use
1398 `-include' to not complain before they exist.
1400 * sysdeps/unix/Makefile: Find sysd-syscalls and s-proto.d with
1401 $(common-objpfx) instead of $(objpfx).
1403 * sysdeps/unix/bsd/telldir.c (seekdir, telldir): Use new struct member
1406 * Makerules [install-lib-non.a]: Find these things with $(objpfx)
1407 instead of $(common-objpfx).
1409 * Makeconfig (sysdep-configures): New variable.
1410 (config.status): Depend on $(sysdep-configures).
1412 Fri May 10 20:07:52 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1414 * sysdeps/unix/sysv/linux/profil.c: New file.
1416 Fri May 10 19:59:50 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1418 * sysdeps/m68k/Makefile (CFLAGS-setjmp.c): New variable.
1420 Fri May 10 19:55:42 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1422 * shlib-versions: Use libm=6 and libc=6 for m68k-linux.
1424 Sun May 12 11:16:58 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1426 * string/envz.c: Fix uses of unsigned to size_t.
1428 * Makerules ($(libdir)/libc.so): Make the file an ld script.
1430 * sysdeps/mach/hurd/configure.in: Don't grok --with-hurd option.
1432 * sysdeps/mach/configure.in: File removed.
1433 * sysdeps/mach/configure: File removed.
1435 * mach/Machrules (%.udeps rule): Write deps for %_server.[ch] too.
1436 (%_server.[ch] rule): Don't depend on %.defs; use #include to get
1437 installed .defs file.
1439 * stdio-common/vfprintf.c (flockfile, funlockfile): Define to
1440 nothing for stdio. Fix fUNlockfile -> funlockfile for libio.
1441 * stdio-common/vfscanf.c: Likewise.
1443 Sat May 11 13:43:41 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1445 * hurd/hurdfault.c: Include faultexc_server.h instead of faultexc.h.
1447 * mach/Machrules (%.ir rule): Don't produce deps for imports.
1449 * elf/dl-fini.c (_dl_fini): Clear L->l_init_called after calling fn.
1451 * Makerules (install): Depend on $(slibdir)/libc.so$(libc.so-version).
1452 [!subdir] ($(libdir)/libc.so, $(common-objpfx)/libc-syms.so): Protect
1453 these targets and install dep on $(libdir)/libc.so with this.
1455 * hurd/Makefile: Removed all rules and defns for using code from Hurd
1456 sources and installing headers from there.
1458 * sysdeps/mach/hurd/errnos.awk: Set in_mach_errors to FILENAME when we
1459 set it. In Mach error matching clause, only match if FILENAME is
1460 still the same value.
1462 * sysdeps/mach/hurd/Makefile: Don't include sysdeps/mach/Makefile;
1463 $(mach-srcdir) no longer exists.
1464 (hurd-srcdir): Variable removed.
1465 (includes): Don't append -I$(hurd-srcdir).
1466 (last-includes): Variable removed.
1467 Remove vpath specs using $(hurd-srcdir).
1468 (mach-errno-h): New canned sequence.
1469 ($(common-objpfx)errnos.d): New target, generated included makefile
1470 to determine absolute file names of Mach headers to search for error
1471 codes and set variable mach-errnos-deps.
1472 ($(common-objpfx)stamp-errnos): Depend on $(mach-errnos-deps) instead
1473 of prior explicit list.
1474 (generated): Add errnos.d, stamp-errnos.
1476 * mach/Machrules (some-if-rtn): New variable and target; compute deps
1477 of some if routine and make all if routines depend on that .d file
1478 instead of static list of .h files.
1480 * mach/Makefile (mach/mach_interface.defs,
1481 mach/memory_object_user.defs): Targets removed.
1482 ($(objpfx)mach-syscalls.mk): Tweak this kludge so it doesn't depend
1483 directly on Mach sources.
1485 * sysdeps/mach/Makefile (mach-srcdir): Variable removed.
1486 (includes): Don't append -I$(mach-srcdir).
1487 Remove vpath specs using $(mach-srcdir).
1489 * hurd/Makefile (server-interfaces): Add faultexc.
1490 (sig): Remove it from here.
1491 (fault%.[ch]): Rule removed.
1492 (MIGFLAGS-faultexc): New variable.
1494 * hurd/faultexc.defs: New file.
1496 * mach/Machrules (%.ustamp rule): Pass $(MIGFLAGS-$*) to mig.
1497 (%_server.[ch] rule): Likewise.
1499 * mach/Makefile: Removed all rules and defns for using code from Mach
1500 sources and installing headers from there.
1502 * Makeconfig [$(build-shared)=yes] (link-libc): Append
1503 $(libc.so-version) to libc.so.
1505 Fri May 10 18:36:14 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1507 * mach/Machrules (%.ustamp rule): Don't depend on %.defs.
1508 (%.udeps): New rule parallel to that one, generating included
1509 makefiles with -M output from `#include <%.defs>'.
1511 * Makerules (sed-remove-objpfx): Remove space before \ at eol.
1513 * Makefile (distribute): Add FAQ.
1514 * FAQ: New file contributed by drepper.
1516 * time/Makefile (headers): Add timebits.h.
1517 * sysdeps/unix/sysv/linux/timebits.h: New file.
1518 * sysdeps/stub/timebits.h: New file.
1519 * time/time.h (CLK_TCK): Define to CLOCKS_PER_SEC.
1520 (CLOCKS_PER_SEC): Remove this macro. Instead #include <timebits.h>.
1522 Fri May 10 16:22:44 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu>
1524 * string/argz-create.c (__argz_create): Restore const keyword to
1526 * string/argz.h (__argz_create, argz_create): Restore const
1528 * string/envz.c (envz_get): Don't declare ENTRY const.
1530 Fri May 10 11:48:03 1996 Miles Bader <miles@gnu.ai.mit.edu>
1532 * string/argz.h (argz_create): Fix param type.
1533 * string/argz-create.c (__argz_create): Remove const from param type.
1534 * string/envz.c (envz_get): Remove const from return type.
1536 Fri May 10 09:41:54 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu>
1538 * string/argz.h (__argz_create, argz_create): Omit const keyword
1539 from declaration of ARGV.
1540 * string/envz.h (envz_get): Omit const from declaration of return
1543 Thu May 9 09:17:46 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1545 * aclocal.m4 (AC_FD_MSG, AC_FD_CC): Fix these for autoconf weirdness.
1547 Cleanups in sunrpc code from NIIBE Yutaka <gniibe@mri.co.jp>.
1548 * sunrpc/clnt_tcp.c (clnttcp_create): Don't close *SOCKP if it's -1.
1549 * sunrpc/clnt_simp.c (callrpc): Don't close CRP->socket if it's
1551 * sunrpc/pmap_clnt.c (pmap_set): Don't close SOCKET, since
1552 CLNT_DESTROY already has.
1553 (pmap_unset): Likewise.
1554 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
1555 * sunrpc/pm_getport.c (pmap_getport): Likewise.
1556 * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
1557 * sunrpc/portmap.c (callit): Likewise.
1559 * Makerules (versioned): Strip whitespace.
1561 * Rules (static-only-routines rule): Remove spurious space in dep.
1563 * misc/getusershell.c: Undo changes of 7 May 96 (rev 1.6).
1564 Cast string constants to char *.
1566 * posix/glob/SMakefile, posix/glob/SCOPTIONS, posix/glob/Makefile.ami:
1567 New files, AmigaDOS support from Aaron Digulla.
1568 * posix/Makefile (glob.tar): Add AmigaDOS support files.
1570 * sysdeps/unix/sysv/linux/net/if.h: New file.
1571 * sysdeps/unix/sysv/linux/Dist: Add it.
1572 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=socket] (headers): Add
1575 * Makeconfig (link-libc): Add libc.a after libc.so in link.
1577 * Rules (static-only-routines rule): Use empty.o instead of dummy.o.
1578 (empty.o): New target.
1579 (generated): Add empty.c, empty.o.
1581 * resolv: Code updated from BIND-4.9.3P2C3.
1583 * Rules (static-only-routines rule): Use dummy.o, not dummy.so.
1585 Wed May 8 20:04:29 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1587 * extract-dynsym: New file.
1588 * Makefile (distribute): Add it.
1589 * Rules (subdir_install): Depend on $(common-objpfx)sor-$(subdir).
1590 [! libc.so-version]: Clear static-only-routines.
1591 ($(common-objpfx)sor-$(subdir)): New target.
1592 [static-only-routines]: New static pattern rule for these .so's.
1593 * Makerules [libc.so-version] ($(slibdir)/libc.so): Target removed.
1594 [libc.so-version] ($(libdir)/libc.so, $(common-objpfx)libc-syms.so):
1595 New targets replace it.
1596 (install) [libc.so-version]: Depend on $(libdir)/libc.so instead of
1598 * io/Makefile (static-only-routines): New variable.
1599 * configure.in: Check for tools objdump and objcopy, and for awk.
1600 * config.make.in (OBJDUMP, OBJCOPY, AWK): New variables.
1602 Thu May 9 01:24:00 1996 Ulrich Drepper <drepper@cygnus.com>
1604 * locale/programs/config.h: Remove definition of wint_t.
1606 * locale/programs/ld-collate.c: Include <wchar.h> instead of
1609 * manual/time.texi: Add some more description for %U and %W
1610 format of strftime. Describe new format %V of strftime.
1612 * resolv/gethnamaddr.c: Prevent warning by preventing variable
1614 * stdio-common/_itoa.c: Ditto.
1616 Tue May 7 23:43:07 1996 Ulrich Drepper <drepper@cygnus.com>
1618 * libio/clearerr.c, libio/feof.c, libio/ferror.c, libio/fgetc.c,
1619 libio/fileno.c, libio/fputc.c, libio/freopen.c, libio/fseek.c,
1620 libio/genops.c, libio/getc.c, libio/getchar.c, libio/iofclose.c,
1621 libio/iofflush.c, libio/iofgetpos.c, libio/iofgets.c,
1622 libio/iofputs.c, libio/iofread.c, libio/iofsetpos.c,
1623 libio/ioftell.c, libio/iofwrite.c, libio/iogetdelim.c,
1624 libio/iogets.c, libio/ioputs.c, libio/iosetbuffer.c,
1625 libio/iosetvbuf.c, libio/ioungetc.c, libio/iovsprintf.c,
1626 libio/libio.h, libio/putc.c, libio/putchar.c, libio/rewind.c,
1627 libio/stdio.h, stdio-common/printf_fp.c, stdio-common/vfprintf.c,
1628 stdio-common/vfscanf.c: Prepare for reentrant libio.
1630 * libio/clearerr_u.c, libio/feof_u.c, libio/ferror_u.c,
1631 libio/fputc_u.c, libio/getc_u.c, libio/getchar_u.c,
1632 libio/iofflush_u.c, libio/putc_u.c, libio/putchar_u.c: New files.
1633 Used in reentrant libio.
1635 * misc/getusershell.c: Prevent warnings.
1637 Wed May 8 12:08:35 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1639 * Makerules (install-lib.so rules): Undouble $s in target and dep
1640 parts of o-iterator-doit defns.
1641 (unversioned libraries install rule): Fix pattern.
1643 * mach/Makefile (mach-src-headers): Use $(base-machine) instead of
1645 ($(includedir)/machine): Likewise.
1647 * config.make.in (base-machine): New variable.
1648 * configure.in (machine): Move case stmt to set $machine out of sysdep
1649 dirs AC_CACHE_CHECK.
1650 (base_machine): New variable, set in that switch and AC_SUBST'd.
1652 * Makerules (stub-$(subdir)): Use file name in directory as output,
1655 * configure.in (MSGFMT): Use : if none found.
1657 * po/Makefile: Include ../Rules instead of ../Makerules.
1659 Tue May 7 23:18:44 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1661 * po/Makefile: New file.
1662 * Makefile (subdirs): Add po.
1664 * configure.in: Check for msgfmt.
1665 * config.make.in (MSGFMT): New variable.
1667 Sun May 5 23:49:10 1996 Ulrich Drepper <drepper@cygnus.com>
1669 * misc/Makefile (routines): Add swapoff.
1671 * sysdeps/unix/sysv/linux/Dist: Add sys/quota.h.
1673 * sysdeps/unix/sysv/linux/sys/quota.h: New file. Wrapper around
1676 Tue May 7 19:00:01 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1678 * string/argz-extract.c: Remove const from decl.
1679 * string/argz.h: Here too.
1681 * Makeconfig (version.mk): Fix regexp in sed cmd.
1682 Depend on $(..)Makeconfig.
1684 * GMP code updated from gmp-2.0 release.
1685 * stdlib/Makefile (mpn-routines): Removed add_1, added inlines.
1686 * sysdeps/generic/add_1.c: File removed.
1687 * stdlib/strtod.c: mp_limb is now mp_limb_t.
1688 * stdlib/fpioconst.c, stdlib/fpioconst.h: Likewise.
1689 * stdio-common/_itoa.c: Likewise.
1690 * stdio-common/printf_fp.c: Likewise.
1691 Don't include ansidecl.h.
1693 * sysdeps/mach/hurd/getcwd.c: Use io_identity instead of io_stat.
1695 * shlib-versions: New file.
1696 * Makerules (soversions.mk): New target, include file generated from
1697 shlib-versions. Moved shared library rules before installation rules.
1698 Rewrote shared library installation rules for versioned libraries.
1699 * math/Makefile (libm.so-version): Variable removed.
1701 * sysdeps/mach/hurd/i386/exc2signal.c: Use struct hurd_signal_detail.
1703 * hurd/report-wait.c (_S_msg_describe_ports): New function.
1705 * configure.in: Add AC_PROG_LN_S check.
1706 * config.make.in (LN_S): New variable.
1708 Sun May 5 03:10:44 1996 Ulrich Drepper <drepper@cygnus.com>
1710 * misc/efgcvt_r.c (ecvt_r): Work aroung gcc bug. gcc does
1711 not know about weak aliases now and optimizes necessary `if'
1714 * posix/unistd.h: Add swapoff prototype.
1716 * sysdeps/generic/confname.h: Add even more POSIX.4 symbols.
1718 * sysdeps/posix/fpathconf.c (__fpathconf): Get information
1719 for _PC_PATH_MAX from fstatfs function if available.
1721 * sysdeps/posix/sysconf.c: Add code to handle _SC_AIO_LISTIO_MAX,
1722 _SC_AIO_MAX, _SC_AIO_PRIO_DELTA_MAX, _SC_DELAYTIMER_MAX,
1723 _SC_MQ_OPEN_MAX, _SC_MQ_PRIO_MAX, _SC_RTSIG_MAX,
1724 _SC_SEM_NSEMS_MAX, _SC_SEM_VALUE_MAX, _SC_SIGQUEUE_MAX, and
1726 * sysdeps/unix/sysv/sysv4/sysconf.c: Ditto.
1728 * sysdeps/stub/swapoff.c: New file. Stub version for swapoff
1731 * sysdeps/unix/syscalls.list: Add swapoff.
1733 * sysdeps/unix/sysv/linux/Dist: Add sys/acct.h.
1735 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
1736 (sysdep_routines): Add mount, umount, llseek, setfsgid, setfsuid,
1737 sysinfo, and uselib.
1738 (headers): Add sys/sysinfo.h.
1740 * sysdeps/unix/sysv/linux/gethostid.c: Prevent warning.
1742 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == misc]
1743 (sysdep_routines): Add ioperm, iopl, and vm86.
1744 (headers): Add sys/perm.h and sys/vm86.h.
1746 * sysdeps/unix/sysv/linux/i386/sys/perm.h: New file. Contains
1747 prototypes for iopl and ioperm.
1749 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: New file. Contains
1752 * sysdeps/unix/sysv/linux/i386/syscalls.list: New file. Add
1755 * sysdeps/unix/sysv/linux/sys/acct.h: New file. Contains
1756 prototypes for acct function.
1758 * sysdeps/unix/sysv/linux/sys/socket.h: Provide real header
1759 file with prototypes.
1761 * sysdeps/unix/sysv/linux/sys/sysinfo.h: New file. Contains
1762 prototype for sysinfo function.
1764 * sysdeps/unix/sysv/linux/syscalls.list: Add flock, ioperm, iopl,
1765 llseek, setfsgid, setfsuid, sysinfo, and uselib.
1767 * sysdeps/unix/sysv/linux/sysconf.c: Instead of duplicating
1768 posix/sysconf.c now only handle cases different to that
1771 Tue May 7 15:08:19 1996 Miles Bader <miles@gnu.ai.mit.edu>
1773 * stdio/linewrap.c (__line_wrap_output): Renamed from lwoutput
1774 (all references changed). Now exported.
1776 * stdio/linewrap.c (struct data): Type deleted (moved to linewrap.h).
1777 (wrap_stream, unwrap_stream, lwclose, lwfileno, lwoutput,
1778 line_wrap_stream, line_unwrap_stream): Use struct line_wrap_data
1779 instead of struct data.
1780 (lwoutput, line_wrap_stream, line_unwrap_stream): Rename various
1781 occurences of `wrap' and `wrapmargin' to `wmargin'.
1782 (line_wrapped, line_wrap_lmargin, line_wrap_set_lmargin,
1783 line_wrap_rmargin, line_wrap_set_rmargin, line_wrap_wmargin,
1784 line_wrap_set_wmargin, line_wrap_point): New functions.
1785 * stdio/linewrap.h: New file.
1786 * stdio/Makefile (headers): Add linewrap.h.
1788 Tue May 7 14:19:12 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1790 * sysdeps/unix/sysv/linux/i386/Makefile: File removed.
1792 * stdio/stdio.h: Remove line_wrap_stream, line_unwap_stream decls.
1794 * sysdeps/unix/sysv/linux/schedbits.h: New file.
1796 Tue May 7 13:47:02 1996 Miles Bader <miles@gnu.ai.mit.edu>
1798 * stdio/linewrap.c (struct data): Make margin fields not-pointers.
1799 (lwoutput): Adjust uses acordingly.
1801 Tue May 7 10:51:52 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1803 * sysdeps/mach/hurd/fdatasync.c: New file.
1804 * sysdeps/mach/hurd/fsync.c: Pass new flag to file_sync.
1806 * sysdeps/mach/hurd/xmknod.c: Pass new flag to dir_link.
1807 * sysdeps/mach/hurd/symlink.c: Likewise.
1808 * sysdeps/mach/hurd/link.c: Likewise.
1809 * sysdeps/mach/hurd/bind.c: Likewise.
1810 * hurd/hurdsig.c (write_corefile): Likewise.
1812 * hurd/hurdsig.c (write_corefile): Pass cttyid port to crash server.
1814 * sysdeps/mach/hurd/fpathconf.c: RPC takes int pointer, not long int.
1816 * sysdeps/mach/hurd/_exit.c (_hurd_exit): Pass sigcode arg to
1818 * sysdeps/mach/hurd/dl-sysdep.c (_exit): Likewise.
1820 * sysdeps/mach/hurd/wait4.c: Pass sigcode arg to proc_wait.
1822 * sysdeps/mach/hurd/rename.c: Pass new flag to dir_rename.
1824 * hurd/hurdfault.c (_hurdsig_fault_catch_exception_raise): Use struct
1826 * hurd/catch-exc.c (_S_catch_exception_raise): Likewise.
1827 * hurd/hurd-raise.c (_hurd_raise_signal): Likewise.
1828 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
1830 * sysdeps/mach/hurd/setitimer.c (restart_itimer): Likewise.
1832 * hurd/hurd/signal.h: Fix _hurd_exception2signal prototype.
1834 * hurd/hurdsig.c (write_corefile): Take const struct
1835 hurd_signal_detail * arg. Pass all details to crash_dump_task.
1836 (_hurd_internal_post_signal): Pass DETAIL to write_corefile.
1837 (_hurd_internal_post_signal: suspend): Pass code and error to
1840 * hurd/hurdprio.c (_hurd_priority_which_map): Pass flags arg to
1841 proc_getprocinfo by reference.
1843 * wcsmbs/wcwidth.c, wcsmbs/wcswidth.c: Fixed typos.
1845 * sysdeps/unix/sysv/linux/sys/mman.h: Fixed typo.
1847 * sysdeps/stub/sched_getp.c: Add missing #include <sys/types.h>.
1848 * sysdeps/stub/sched_sets.c: Likewise.
1849 * sysdeps/stub/sched_setp.c: Likewise.
1850 * sysdeps/stub/sched_rr_gi.c: Likewise.
1851 * sysdeps/stub/sched_gets.c: Likewise.
1853 * hurd/hurdsig.c: Use struct hurd_signal_detail.
1854 * hurd/hurd/fd.h (_hurd_fd_error): Likewise.
1855 * sysdeps/mach/hurd/sysd-stdio.c (fd_fail): Likewise.
1857 Mon May 6 09:51:05 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1859 * stdio/linewrap.c: New file.
1860 * stdio/Makefile (routines): Add linewrap.
1861 * stdio/stdio.h [__USE_GNU]: Declare line_wrap_stream,
1864 Mon May 6 14:53:26 1996 Ulrich Drepper <drepper@cygnus.com>
1866 * time/strftime.c (week): Add third parameter telling how
1867 many days must be in new year so that it is called week 1.
1868 (Following ISO 8601).
1869 Correct computation for %U and %V formats when day was first
1871 (strftime): Implement %V format according to Spec1170.
1873 Mon May 6 17:01:09 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu>
1875 * hurd/hurd/signal.h (_hurd_intr_rpc_mach_msg): New declaration.
1877 Sat May 4 05:44:25 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1879 * hurd/hurd/sigpreempt.h (struct hurd_signal_preempter): Change
1880 prototype of `preempter' elt to use struct hurd_signal_detail.
1882 * hurd/hurd/signal.h (struct hurd_signal_detail): New type.
1883 (struct hurd_sigstate): Make `pending_data' member an array of that.
1884 Use the new type in several decls.
1886 * locale/setlocale.c (_nl_C_name): Variable removed.
1887 * locale/C_name.c: New file.
1888 (_nl_C_name): Put it here instead.
1889 * locale/Makefile (aux): Add C_name.
1891 * sysdeps/mach/hurd/dl-sysdep.c (open): Don't pass io port in
1892 auth_user_authenticate rpc.
1893 (open): Avoid using strtol in digit conversion for "fd/N" magic.
1894 (_dl_sysdep_start): Likewise for memobj name in magic switches.
1896 * elf/Makefile (reloc-link): New variable.
1897 (dl-allobjs.so): New target, link together $(rtld-routines).
1898 (librtld.so): Depend on that instead of the rtld components.
1899 (generated): Add dl-allobjs.so.
1901 * hurd/hurd-raise.c (_hurd_raise_signal): Pass sigcode in msg_sig_post
1904 * hurd/hurdmsg.c (_S_msg_set_environment): Use argz.h functions
1905 instead of _hurd_split_args.
1906 (_S_msg_*_exec_flags): Functions removed.
1907 (_S_msg_startup_dosync): Stub removed.
1909 Sat May 4 02:11:55 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1911 * sysdeps/mach/hurd/ptrace.c: Set _hurdsig_traced instead of
1912 EXEC_TRACED bit in _hurd_exec_flags.
1913 Pass sigcode arg in msg_sig_post_untraced rpc.
1915 * sysdeps/mach/hurd/access.c: Don't pass io port in
1916 auth_user_authenticate rpc.
1918 * posix/sched.h: Fix typos.
1920 * sysdeps/mach/hurd/fork.c: Use new critical section lock.
1921 Clear _hurdsig_traced instead of EXEC_TRACED.
1923 * sysdeps/stub/nanosleep.c (nanosleep): Fix typo.
1925 * wcsmbs/wcstol.c: Find strtol.c in ../stdlib.
1926 * wcsmbs/wcstof.c: Find strtod.c in ../stdlib.
1927 * wcsmbs/wcstod.c: Likewise.
1928 * wcsmbs/wcstold.c: Likewise.
1930 * wcsmbs/wcwidth.h: Find cname-lookup.h in ../wctype.
1932 * string/envz.c (envz_entry): Use const.
1933 (envz_get, envz_remove): Likewise.
1934 (envz_entry): Return char *, not const char *.
1936 * string/envz.h: Fix decl.
1938 * string/argz-create.c: Use const in prototype.
1939 * string/argz-next.c: Likewise.
1941 Fri May 3 13:32:08 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1943 * sysdeps/mach/hurd/sigprocmask.c: Pass sigcode arg to msg_sig_post.
1944 * sysdeps/mach/hurd/i386/sigreturn.c: Likewise.
1945 * sysdeps/mach/hurd/sigsuspend.c: Likewise.
1946 * sysdeps/mach/hurd/kill.c: Likewise.
1948 * hurd/hurdexec.c (_hurd_exec): Use new critical section lock.
1949 * hurd/catch-exc.c (_S_catch_exception_raise): Likewise.
1950 * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Likewise.
1951 * hurd/thread-cancel.c (hurd_thread_cancel, hurd_check_cancel):
1953 * sysdeps/mach/hurd/jmp-unwind.c (_longjmp_unwind): Likewise.
1954 * sysdeps/mach/hurd/sigaction.c: Likewise.
1956 * sysdeps/mach/hurd/errnos.awk: Don't use ARGV in comment; it can
1957 change meaninglessly.
1959 * hurd/hurd/signal.h (struct hurd_sigstate): Replace critical section
1960 flag with a spin lock.
1961 (_hurd_critical_section_lock): Use spin_try_lock on that to see if we
1962 get it. No need to take SS->lock at all.
1963 (_hurd_critical_section_unlock): Unlock SS->critical_section_lock
1964 instead of clearing the old flag member.
1965 * hurd/hurdsig.c (_hurd_internal_post_signal): Use spin_lock_locked to
1966 test the critical section state.
1968 * hurd/hurdinit.c (_hurd_init): Set _hurdsig_traced from the intarray.
1970 * hurd/hurdkill.c (_hurd_sig_post): Pass 0 sigcode in msg_sig_post.
1972 * hurd/hurdsig.c (_hurd_internal_post_signal): Test _hurdsig_traced
1973 instead of testing (_hurd_exec_flags & EXEC_TRACED).
1974 (_S_msg_sig_post): Take sigcode arg and pass it through.
1975 (_S_msg_sig_post_untraced): Likewise.
1976 (reauth_proc): Don't pass proc port in auth_user_authenticate.
1978 * hurd/setauth.c (_hurd_setauth): Don't pass object ports in
1979 auth_user_authenticate RPCs, just the one-off rendezvous port.
1980 * hurd/dtable.c (reauth_dtable): Likewise.
1981 * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Likewise.
1983 * hurd/hurdexec.c (_hurd_exec): Pass 0 flags to file_exec.
1984 Pass sigcode arg to msg_sig_post.
1986 * string/argz.h (argz_create): Use const in prototype.
1988 * hurd/hurdinit.c (_hurd_proc_init): Test _hurdsig_traced instead of
1989 testing (_hurd_exec_flags & EXEC_TRACED).
1990 Pass sigcode arg to msg_sig_post.
1992 * hurd/hurd.h: Declare _hurdsig_traced.
1994 * string/argz.h (__argz_next): Cast ENTRY before returning it.
1996 * hurd/hurd/signal.h (_hurd_critical_section_unlock): Pass sigcode arg
1999 * hurd/path-lookup.c: New file.
2000 * hurd/Makefile (routines): Add path-lookup.
2001 * hurd/hurd/lookup.h: Declare file_name_path_scan,
2002 hurd_file_name_path_lookup.
2003 * hurd/hurd.h: Declare file_name_path_lookup.
2005 * sysdeps/mach/hurd/select.c: The io_select rpc no longer has a TAG_ID
2006 argument. Instead, use a separate reply port for each RPC and put them
2007 all in a port set to wait for slow replies.
2009 * intl/Makefile (CPPFLAGS): Change $(nlsdir) to $(i18ndir) in
2012 Fri May 3 03:14:02 1996 Ulrich Drepper <drepper@cygnus.com>
2014 * intl/Makefile (routines): Add l10nflist and explodename.
2015 (distribute): Add loadinfo.h and locale.alias.
2016 (install-others): New variable to install locale.alias.
2018 * intl/dcgettext.c, intl/finddomain.c, intl/gettextP.h,
2019 intl/loadmsgcat.c: Adapt for upcoming gettext-0.10.13. Some code
2020 is now shared with the locale implementation.
2022 * intl/explodename.c, intl/l10nflist.c, intl/loadinfo.h: New file.
2023 Extracted from finddomain.c. This is also used in the locale
2026 * intl/locale.alias: New file. Locale alias database compatible
2027 with X Window System's locale alias file. Can now be used in
2028 locale and gettext code.
2030 * libio/stdio.h: Add prototypes for asprint and vasprintf.
2032 * locale/C-collate.c, locale/C-ctype.c, locale/C-messages.c,
2033 locale/C-monetary.c, locale/C-numeric.c, locale/C-time.c: Add new
2034 field in structure with name of locale ("C" in this case).
2036 * locale/Makefile (routines): Add findlocale.
2038 * locale/findlocale.c: New file. Instead of trying to load the
2039 directly described file we now try to be much smarter when this
2040 fails. Use the same code as gettext does.
2042 * locale/loadlocale.c, locale/setlocale.c: Rewrite to know about
2045 * locale/localeinfo.h: Adapt prototypes and declarations for new
2046 setlocale implementation. Remove definition of u32_t type. We
2047 now use u_int32_t from <sys/types.h>.
2049 * locale/programs/charset.h (ILLEGAL_CHAR_VALUE): Provide type
2052 * locale/programs/config.h, locale/lc-collate.c,
2053 locale/localeinfo.h, locale/programs/ld-collate.c,
2054 locale/programs/ld-ctype.c, locale/programs/ld-messages.c,
2055 locale/programs/ld-monetary.c, locale/programs/ld-numeric.c,
2056 locale/programs/ld-time.c, locale/weight.h, string/strcoll.c:
2057 Change to use u_int32_t and u_int16_t.
2059 * locale/programs/localedef.c (construct_output_path): Change name
2060 of output locale to contain normalized form of the character set
2063 * string/Makefile (routines): Add agrz-ctsep and argz-next.
2064 (tests): Add tst-strlen.
2066 * string/argz-ctsep.c: New file. Implement reverse operation
2067 from argz-stringify.
2069 * string/argz-next.c: Non-inline version of function from argz.h.
2071 * string/argz.h, string/envz.h: Make usable as global header file.
2073 * string/envz.c: Fix declarations to use size_t where prototypes
2076 * string/tst-strlen.c: New file. Another test for critical
2077 situation in strlen implementations.
2079 * sysdeps/i386/i586/strlen.S: Fix bug with highest byte in word
2082 * wctype/test_wctype.c: Fix controlling comparison after change to
2083 32 bit character class array.
2085 Fri May 3 12:53:12 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
2087 * sysdeps/unix/sysv/linux/sys/socket.h: Remove spurious doubled line.
2089 Thu May 2 22:50:52 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2091 * sysdeps/unix/sysv/linux/getpriority.c: New file.
2092 * sysdeps/unix/sysv/linux/syscalls.list: Add s_getpriority.
2094 Thu May 2 22:41:31 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2096 * sysdeps/unix/sysv/linux/m68k/fpu_control.h (_FPU_DEFAULT):
2097 Disable all exceptions.
2099 Thu May 2 22:33:14 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2101 * sysdeps/m68k/fpu/e_acos.c, sysdeps/m68k/fpu/e_acosf.c,
2102 sysdeps/m68k/fpu/e_fmod.c, sysdeps/m68k/fpu/e_fmodf.c,
2103 sysdeps/m68k/fpu/isinfl.c, sysdeps/m68k/fpu/isnanl.c,
2104 sysdeps/m68k/fpu/s_atan.c, sysdeps/m68k/fpu/s_atanf.c,
2105 sysdeps/m68k/fpu/s_frexp.c, sysdeps/m68k/fpu/s_frexpf.c,
2106 sysdeps/m68k/fpu/s_ilogb.c, sysdeps/m68k/fpu/s_ilogbf.c,
2107 sysdeps/m68k/fpu/s_isinf.c, sysdeps/m68k/fpu/s_isinff.c,
2108 sysdeps/m68k/fpu/s_ldexp.c, sysdeps/m68k/fpu/s_ldexpf.c,
2109 sysdeps/m68k/fpu/s_modf.c, sysdeps/m68k/fpu/s_modff.c: Don't
2110 define __NO_MATH_INLINES, which is already defined on command
2113 Thu May 2 22:18:28 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2115 * sysdeps/libm-ieee754/e_j0f.c (__ieee754_j0f, __ieee754_y0f):
2116 Replace 0x80000000 by 0x48000000.
2117 * sysdeps/libm-ieee754/e_j1f.c (__ieee754_j1f): Likewise.
2119 Thu May 2 21:30:33 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2121 * sunrpc/svc_simple.c: Make global variable pl local to
2124 Thu May 2 00:24:04 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2126 * time/Makefile (tz-cflags): New variable.
2127 (CFLAGS-tzfile.c): New variable.
2128 (CFLAGS-zic.c): Add $(tz-cflags).
2129 (tz-cc): Remove variable.
2130 ($(objpfx)tzfile.o, $(objpfx)zic.o): Remove targets.
2132 Wed May 1 09:10:04 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
2134 * sysdeps/mach/hurd/getcwd.c: Jump out of both loops when we find a
2135 name, instead of checking for reaching end of buffer, which happens
2136 when the match is the last entry in the buffer.
2138 * time/strftime.c: Use canonical autoconf nugget for time.h+sys/time.h
2141 Mon Apr 29 02:48:26 1996 Ulrich Drepper <drepper@cygnus.com>
2143 * ctype/ctype-info.c: (__ctype_width): New variable.
2144 (__ctype_names): Initialize correctly without offset.
2146 * locale/C-collate.c, locale/C-ctype.c,
2147 locale/C-messages.c, locale/C-monetary.c,
2148 locale/C-numeric.c, locale/C-time.c: Change copyright.
2150 * locale/C-ctype.c (_nl_C_LC_CTYPE_class32): Correct
2151 endianess for initialization value.
2153 * locale/lc-ctype.c (current): Add parameter for offset.
2154 (__ctype32_b, __ctype_width): Add initialization for these
2157 * locale/programs/charmap.c: Finish support for WIDTH information.
2158 (new_width): New function.
2160 * locale/programs/charset.h (width_rule): new data structure.
2161 (charset_t): Add elements for width information.
2163 * locale/programs/ld-ctype.c (locale_ctype_t): Add element
2164 for width information.
2165 (allocate_arrays): Add new argument for charset.
2166 (ctype_finish): Make sure all characters named in charset
2167 width table are known to name table.
2168 (ctype_output): Correct handling of class and map name
2169 information and write out width information.
2170 (find_idx): Prepare for being called with NULL pointer as
2171 TABLE argument. This means only allocate name entry.
2172 (allocate_arrays): Correct handling of array element -1.
2173 Because EOF == -1 the value of element 127 must *not* be
2175 Fill width information from charset tables.
2177 * locale/programs/localedef.c (main): Correct loop over all
2178 categories after change of order from Thu Mar 28 14:22:51 1996.
2179 Add new charset argument to call of `write_all_categories'.
2181 * locale/programs/locales.h (ctype_finish, ctype_output): New
2184 * locale/programs/locfile.c (write_all_categories): Call
2185 `ctype_output' with additional argument charset.
2187 * posix/getconf.c (vars): Add _POSIX_SYNC_IO, _POSIX_ASYNC_IO,
2188 and _POSIX_PRIO_IO definitions.
2190 * posix/posix2_lim.h: Add definition of _POSIX2_CHARCLASS_NAME_MAX
2191 and CHARCLASS_NAME_MAX.
2193 * posix/unistd.h: Document _POSIX_SYNC_IO, _POSIX_ASYNC_IO,
2196 * stdlib/grouping.h: Prepare for use in wide string functions.
2198 * stdlib/stdlib.h: Correct prototypes for __strto*_internal
2201 * stdlib/strtod.c: Extend for use as `wcsto{f,d,ld}'.
2203 * stdlib/strtol.c: Extend for use as `wcsto{l,ul,q,uq}'.
2205 * string/strcoll.c: Extend for use as `wcscoll'.
2207 * string/strxfrm.c: Extend for use as `wcsxfrm'.
2209 * sysdeps/generic/confname.h: Add definition of _PC_SYNC_IO,
2210 _PC_ASYNC_IO, _PC_PRIO_IO and _SC_CHARCLASS_NAME_MAX.
2212 * sysdeps/generic/stpncpy.c: Correct return value.
2214 * sysdeps/posix/fpathconf.c: Add handling of _PC_SYNC_IO,
2215 _PC_ASYNC_IO, and _PC_PRIO_IO.
2217 * sysdeps/posix/sysconf.c: Add handling of _SC_REALTIME_SIGNALS,
2218 _SC_PRIORITY_SCHEDULING, _SC_TIMERS, _SC_ASYNCHRONOUS_IO,
2219 _SC_PRIORITIZED_IO, _SC_SYNCHRONIZED_IO, _SC_FSYNC,
2220 _SC_MAPPED_FILES, _SC_MEMLOCK, _SC_MEMLOCK_RANGE,
2221 _SC_MEMORY_PROTECTION, _SC_MESSAGE_PASSING, _SC_SEMAPHORES,
2222 _SC_SHARED_MEMORY_OBJECTS, and _SC_CHARCLASS_NAME_MAX.
2223 * sysdeps/stub/sysconf.c: Ditto.
2224 * sysdeps/unix/sysv/sysv4/sysconf.c: Ditto.
2226 * sysdeps/unix/sysv/linux/Dist: Add sys/sysctl.h.
2228 * sysdeps/unix/sysv/linux/Makefile [subdir == misc]
2229 (sysdep_routines): Add s_sysctl and sysctl.
2231 * sysdeps/unix/sysv/linux/sys/mman.h: Add declaration of mremap.
2233 * sysdeps/unix/sysv/linux/sys/socket.h: New file. Wrapper
2234 around kernel header.
2236 * sysdeps/unix/sysv/linux/sys/sysctl.h: New file. Define
2237 interface to `sysctl' function.
2239 * sysdeps/unix/sysv/linux/syscalls.list: Add mremap and _sysctl.
2241 * sysdeps/unix/sysv/linux/sysconf.c: Add handling of
2242 _SC_CHARCLASS_NAME_MAX.
2244 * sysdeps/unix/sysv/linux/sysctl.c: new file. Implement caller
2245 of _sysctl system call.
2247 * sysvipc/Makefile (routines): Add ftok.
2249 * sysvipc/ftok.c: use variable `proj_id' not `id'. Patch by
2250 David Mosberger-Tang.
2252 * wcsmbs/Makefile (routines): Add wcpcpy, wcpncpy, wcstol,
2253 wcstoul, wcstoq, wcstouq, wcstod, wcstold, wcstof, wcscoll,
2254 wcsxfrm, wcwidth, and wcswidth.
2256 * wcsmbs/wchar.h: Add declarations for wcpcpy, wcpncpy, wcstol,
2257 wcstoul, wcstoq, wcstouq, wcstod, wcstold, wcstof, wcscoll,
2258 wcsxfrm, wcwidth, and wcswidth.
2259 Declare internal interfaces for wcsto* functions.
2260 [OPTIMIZE]: Define inline functions for wcsto* functions to
2261 call internal interface functions.
2263 * wcsmbs/wcpcpy.c, wcsmbs/wcpncpy.c: New files. Implement non-
2264 standard function equivalent to stpcpy/stpncpy.
2266 * wcsmbs/wcscoll.c: Implement `wcscoll' function by using
2267 `strcoll' implementation.
2269 * wcsmbs/wcscpy.c, wcsmbs/wcsncpy.c: Use wint_t instead of
2272 * wcsmbs/wcstod.c: Implement `wcstod' function by using `strtod'
2274 * wcsmbs/wcstof.c: Same for `wcstof'.
2275 * wcsmbs/wcstold.c: Same for `strtold'.
2277 * wcsmbs/wcstol.c: Implement `wcstol' function by using `strtol'
2279 * wcsmbs/wcstoq.c: Same for `wcstoq'.
2280 * wcsmbs/wcstoul.c: Same for `wcstoul'.
2281 * wcsmbs/wcstouq.c: Same for `wcstouq'.
2283 * wcsmbs/wcswidth.c: Implement `wcswidth' function from X/Open
2285 * wcsmbs/wcwidth.c: Ditto for `wcwidth'.
2286 * wcsmbs/wcwidth.h: Common function for definitions of above two
2289 * wcsmbs/wcsxfrm.c: Implement `wcsxfrm function by using
2290 `strxfrm implementation.
2292 * wctype/wctype.c: Remove case for `wctype_t' being 16 bit type.
2294 * wctype/wctype.h (wint_t): Protect against multiple definition.
2295 (wctype_t): Always define as `unsigned long int'.
2297 * wctype.h: New file. Wrapper around wctype/wctype.h.
2299 Tue Apr 30 17:30:46 1996 Miles Bader <miles@gnu.ai.mit.edu>
2301 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Add timeout argument to
2302 interrupt_operation call.
2303 (_hurdsig_interrupt_timeout): New variable.
2305 * hurd/report-wait.c (describe_number): Correctly allocate space
2306 in DESCRIPTION for the digits in I.
2308 Mon Apr 29 00:11:59 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
2310 * hurd/hurdstartup.c (_hurd_split_args): Function removed.
2311 (_hurd_startup): Use argz functions.
2313 * hurd/hurdexec.c: Use argz functions.
2315 * errno.h [!__error_t_defined] (error_t): New type.
2316 * sysdeps/mach/hurd/errnos.awk: #define __error_t_defined after the
2317 typedef in errnos.h.
2319 * string/envz.c, string/envz.h: New files.
2320 * string/argz.h, string/argz-append.c, string/argz-count.c,
2321 string/argz-create.c, string/argz-delete.c, string/argz-extract.c,
2322 string/argz-insert.c, string/argz-stringify.c: New files.
2323 * string/Makefile (routines): Add envz, argz-*.
2324 (headers): Add argz.h, envz.h.
2326 Sun Apr 28 14:14:35 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
2328 * sysdeps/unix/sysv/linux/i386/Makefile: New file.
2330 Wed Apr 24 17:35:30 Ulrich Drepper <drepper@cygnus.com>
2332 * inet/netinet/in.h, socket/sys/socket.h: Move to
2333 sysdeps/generic/netinet/in.h, sysdeps/generic/sys/socket.h.
2334 * netinet/in.h, sys/socket.h: Remove file.
2336 * misc/Makefile (routines): Add fdatasync.
2338 * posix/Makefile (headers): Add sched.h.
2339 (routines): Add nanosleep, sched_setp, sched_getp, sched_sets,
2340 sched_gets, sched_yield, sched_primax, sched_primin, sched_rr_gi.
2342 * posix/getconf.c (vars): Add entries for _POSIX_REALTIME_SIGNALS,
2343 _POSIX_PRIORITY_SCHEDULING, _POSIX_TIMERS, _POSIX_ASYNCHRONOUS_IO,
2344 _POSIX_PRIORITIZED_IO, _POSIX_SYNCHRONIZED_IO, _POSIX_FSYNC,
2345 _POSIX_MAPPED_FILES, _POSIX_MEMLOCK, _POSIX_MEMLOCK_RANGE,
2346 _POSIX_MEMORY_PROTECTION, _POSIX_MESSAGE_PASSING,
2347 _POSIX_SEMAPHORES, _POSIX_SHARED_MEMORY_OBJECTS.
2349 * posix/sched.h: New file. Header for POSIX scheduling interface.
2351 * posix/unistd.h: Describe options from POSIX.4.
2352 Add declaration of fdatasync.
2354 * sysdeps/generic/confname.h: Add definition for
2355 _SC_REALTIME_SIGNALS, _SC_PRIORITY_SCHEDULING, _SC_TIMERS,
2356 _SC_ASYNCHRONOUS_IO, _SC_PRIORITIZED_IO, _SC_SYNCHRONIZED_IO,
2357 _SC_FSYNC, _SC_MAPPED_FILES, _SC_MEMLOCK, _SC_MEMLOCK_RANGE,
2358 _SC_MEMORY_PROTECTION, _SC_MESSAGE_PASSING,
2359 _SC_SEMAPHORES, _SC_SHARED_MEMORY_OBJECTS.
2361 * sysdeps/generic/fdatasync.c: New file. Default implementation
2364 * sysdeps/generic/netinit/in.h: Moved to here from inet/netinet/in.h.
2366 * sysdeps/generic/schedbits.h: New file. System dependent
2367 defintion for POSIX.4 scheduling interface.
2369 * sysdeps/generic/sys/socket.h: Moved to here from socket/sys/socket.h.
2371 * sysdeps/stub/nanosleep.c, sysdeps/stub/sched_getp.c,
2372 sysdeps/stub/sched_gets.c, sysdeps/stub/sched_primax.c,
2373 sysdeps/stub/sched_primin.c, sysdeps/stub/sched_rr_gi.c,
2374 sysdeps/stub/sched_setp.c, sysdeps/stub/sched_sets.c,
2375 sysdeps/stub/sched_yield.c: New file: Stub implementation
2376 for systems missing these POSIX.4 system calls.
2378 * sysdeps/unix/sysv/linux/gnu/types.h,
2379 sysdeps/unix/sysv/linux/ioctls.h: Use kernel header for
2380 data type definitions.
2382 * sysdeps/unix/sysv/linux/netinet/in.h: New file. Linux
2385 * sysdeps/unix/sysv/linux/posix_opt.h: New file. Define POSIX
2386 options applicable for Linux.
2388 * sysdeps/unix/sysv/linux/syscalls.list: Add definitions for
2389 fdatasync, nanosleep, sched_setparam, sched_getparam,
2390 sched_setscheduler, sched_getscheduler, sched_yield,
2391 sched_get_priority_max, sched_get_priority_min, and
2392 sched_rr_get_interval.
2394 * sysdeps/unix/sysv/linux/sysconf.c: Add handling of POSIX.4
2397 * sysdeps/unix/sysv/linux/termbits.h: Use kernel headers.
2399 * time/sys/time.h: Remove definition of `struct timespec'.
2401 * time/time.h (struct timespec): Move definition to here.
2403 Fri Apr 26 01:55:07 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
2405 * malloc/mcheck.c (mabort): Use __libc_fatal only #ifdef _LIBC.
2407 Thu Apr 25 15:49:57 1996 Miles Bader <miles@gnu.ai.mit.edu>
2409 * sysdeps/mach/hurd/getcwd.c (__getcwd): When we find a match in
2410 the scan for a name, avoid doing another readdir (which overwrites
2411 NENTRIES, and was resulting in a bogus ENOENT).
2413 * sysdeps/mach/hurd/fcntl.c (__fcntl): Add missing break after F_SETFL.
2415 Wed Apr 24 00:22:42 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
2417 * stdio/internals.c (seek_to_target): Set errno if seek function
2418 returns the wrong offset.
2420 * wcsmbs/wcsrtombs.c [! EILSEQ] (EILSEQ): Define to EINVAL.
2421 * wcsmbs/wcrtomb.c: Likewise.
2423 * stdio-common/vfprintf.c: Include errno.h.
2425 Tue Apr 23 21:09:14 1996 Miles Bader <miles@gnu.ai.mit.edu>
2427 * hurd/hurdsig.c (signal_allowed): For SIGIO/SIGURG, add a new
2428 variable, LUCKY, to use instead of setting D to -1 (which fouls
2431 Tue Apr 23 15:56:56 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
2433 * config.h.in (HAVE_REGEX): New macro.
2435 * sysdeps/unix/syscalls.list: Add statfs, fstatfs.
2436 * io/Makefile (headers): Add sys/statfs.h, statfsbuf.h.
2437 (routines): Add statfs, fstatfs.
2438 * sysdeps/mach/hurd/statfs.c: New file.
2439 * sysdeps/mach/hurd/fstatfs.c: New file.
2440 * sysdeps/stub/fstatfs.c: New file.
2441 * sysdeps/stub/statfs.c: New file.
2442 * io/sys/statfs.h: New file.
2443 * sysdeps/generic/statfsbuf.h: New file.
2444 * sysdeps/unix/sysv/linux/statfsbuf.h: New file.
2446 Tue Apr 23 00:06:47 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
2448 * malloc/Makefile (gmalloc-routines): Add valloc back here.
2449 (dist-routines): Remove it here.
2450 * malloc/valloc.c [_MALLOC_INTERNAL && GMALLOC_INHIBIT_VALLOC]
2451 (ELIDE_VALLOC): Define it.
2452 [! ELIDE_VALLOC]: Make whole file conditional on this.
2453 * malloc/malloc.h (valloc): Make decl conditional on
2454 [!GMALLOC_INHIBIT_VALLOC] instead of [!emacs].
2456 Mon Apr 22 00:02:19 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
2458 * MakeTAGS: Include version.mk.
2459 (po/SYS_libc.pot): Add missing / in sed s cmd.
2461 Sat Apr 20 18:13:00 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
2463 * Makerules (no-whole-archive): Test $(have-no-whole-archive), not
2464 $(libc_cv_ld_no_whole_archive).
2466 Sat Apr 20 17:07:17 1996 Ulrich Drepper <drepper@cygnus.com>
2468 * assert/assert.h, ctype/ctype.h, dirent/dirent.h, errno.h,
2469 grp/grp.h, io/fcntl.h, io/sys/stat.h, io/utime.h, locale/locale.h,
2470 math/math.h, misc/nlist.h, misc/sgtty.h, misc/sys/file.h,
2471 misc/sys/ioctl.h, misc/sys/uio.h, posix/sys/times.h,
2472 posix/sys/types.h, posix/sys/utsname.h, posix/sys/wait.h,
2473 posix/tar.h, posix/wordexp.h, pwd/pwd.h, resource/sys/vlimit.h,
2474 resource/sys/vtimes.h, setjmp/setjmp.h, signal/signal.h,
2475 stdio-common/printf.h, stdlib/alloca.h, stdlib/stdlib.h,
2476 string/string.h, sysdeps/generic/sigaction.h,
2477 sysdeps/generic/sigset.h, sysdeps/generic/sys/ptrace.h,
2478 sysdeps/generic/sys/ptrace.h, sysdeps/unix/bsd/osf/sigaction.h,
2479 sysdeps/unix/sysv/linux/sys/ptrace.h,
2480 sysdeps/unix/sysv/minix/sigaction.h,
2481 sysdeps/unix/sysv/sco3.2.4/sigaction.h,
2482 sysdeps/unix/sysv/sysv4/sigaction.h,
2483 sysdeps/unix/sysv/sysv4/sigset.h, termios/termios.h,
2484 time/sys/time.h, time/time.h: Fix copyright comment.
2486 Fri Apr 19 00:49:44 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
2488 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): If uids and gids are
2489 not given in stack aux vector, fetch them with syscalls.
2491 * stdlib/rpmatch.c (rpmatch: try): Take new arg NOMATCH, return value
2492 for nonmatching nonerror (instead of !MATCH).
2493 (rpmatch): Use it, so we return -1 when NOEXPR doesn't match either.
2495 * resolv/getnetnamadr.c (getnetbyaddr): Use u_int32_t instead of
2496 unsigned long for variable NET2.
2498 * time/etcetera, time/europe, time/solar89: Updated from ADO's 96e.
2500 Tue Apr 9 14:37:31 1996 Ulrich Drepper <drepper@cygnus.com>
2502 * catgets/Makefile, catgets/catgets.c, catgets/catgetsinfo.h,
2503 catgets/config.h, catgets/gencat.c, catgets/nl_types.h,
2504 catgets/open_catalog.c: New files. Implementation of XPG4
2505 compliant catgets() function and needed tools.
2506 * Makefile (subdirs): Add catgets.
2508 Thu Apr 18 23:36:11 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
2510 * math/Makefile (CPPFLAGS): Append -D__NO_MATH_INLINES.
2512 Wed Apr 10 20:48:43 1996 Ulrich Drepper <drepper@cygnus.com>
2514 * stdio-common/vfprintf.c: Correct some typos.
2516 * sysdeps/libm-ieee754/w_gammaf.c, sysdeps/libm-ieee754/w_lgamma.c,
2517 sysdeps/libm-ieee754/w_lgammaf.c: Reference signgam instead of
2520 Thu Apr 18 21:07:27 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
2522 * Makerules (no-whole-archive): New variable.
2523 (build-shlib): Use it.
2524 * elf/Makefile (libdl.so): Use it.
2525 * configure.in (libc_cv_ld_no_whole_archive): New check for
2527 * config.make.in (have-no-whole-archive): New variable.
2529 * stdio-common/printf_fp.c: Increase fudge factor for BIGNUM_SIZE calc
2532 * Make-dist: Include version.mk.
2533 (version, release): Variables removed.
2534 * Makeconfig (version.mk): New target.
2536 Fri Apr 19 01:42:18 1996 Ulrich Drepper <drepper@cygnus.com>
2538 * locale/Makefile (headers): Add langinfo.h.
2539 (CPPFLAGS): Remove -Iliblib.
2541 Mon Apr 15 16:49:04 1996 Roland McGrath <roland@whiz-bang.gnu.ai.mit.edu>
2543 * malloc/memalign.c, malloc/malloc.h [__DJGPP__ == 1]: Elide memalign
2544 function and its declaration.
2546 Wed Apr 10 14:13:45 1996 Miles Bader <miles@gnu.ai.mit.edu>
2548 * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Store
2549 MACH_PORT_DEAD in the thread reply-port variable before destroying
2550 the signal handler's reply port, to avoid infinite recursion.
2552 Mon Apr 8 18:27:17 1996 Miles Bader <miles@gnu.ai.mit.edu>
2554 * sysdeps/mach/gettimeofday.c (__gettimeofday): Don't fail if the
2555 user passes in TZ, just zero it (emacs passes in a dummy variable,
2556 and rms says the hurd should be the one to change).
2558 Sun Apr 7 10:37:30 1996 Roland McGrath <roland@whiz-bang.gnu.ai.mit.edu>
2560 * sysdeps/mach/hurd/fork.c: Don't leak send rights to the child's proc
2563 Fri Apr 5 17:43:41 1996 Miles Bader <miles@gnu.ai.mit.edu>
2565 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn): Store
2566 MACH_PORT_DEAD in the thread reply-port variable before destroying
2567 the signal handler's reply port to avoid infinite recursion.
2568 * sysdeps/mach/hurd/mig-reply.c (__mig_dealloc_reply_port): Only
2569 attempt to destroy PORT if it's a valid port name.
2571 Wed Apr 3 17:10:44 1996 Roland McGrath <roland@whiz-bang.gnu.ai.mit.edu>
2573 * extra-lib.mk: Put libs in $(common-objpfx) instead of $(objpfx).
2574 * Makerules ($(install-lib) rules): Find libs with $(common-objpfx)
2575 instead of $(objpfx).
2577 Tue Apr 2 21:27:01 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2579 * posix/glob.c (glob_pattern_p): Avoid scanning past eos if
2580 the pattern ends with a backslash and quoting is enabled.
2581 * posix/fnmatch.c (fnmatch): Likewise; return FNM_NOMATCH for such
2584 Mon Apr 1 13:34:55 1996 Roland McGrath <roland@whiz-bang.gnu.ai.mit.edu>
2586 * stdio-common/tst-printf.c (main): Add new test case.
2588 * sysdeps/generic/setenv.c (unsetenv): Use old-style definition.
2590 Mon Apr 1 11:39:10 Ulrich Drepper <drepper@gnu.ai.mit.edu>
2592 * stdlib/strtod.c (STRTOD): Fix handling of American style FP
2595 * stdio-common/vfprintf.c (vfprintf): Don't increment format
2596 string pointer twice after seeing `*'.
2598 Sun Mar 31 17:31:54 1996 Roland McGrath <roland@whiz-bang.gnu.ai.mit.edu>
2600 * MakeTAGS (po/SYS_libc.pot): Prepend header processed from
2603 Sun Mar 31 18:07:32 1996 Ulrich Drepper <drepper@gnu.ai.mit.edu>
2605 * locale/Makefile (others, install-bin): Compiling locale works
2607 (locale-modules): locale has no --dump option anymore. Remove
2610 * locale/programs/config.h: Don't declare euidaccess.
2611 Use #include_next to get libc's config.h.
2613 * locale/programs/ctypedump.c: Not needed anymore. Dump option
2614 of locale is removed.
2616 * locale/programs/locale.c: Adapt for new locale implementation.
2618 * stdio-common/_itoa.h (_itoa_word): Define as inline function.
2619 * stdio-common/_itoa.c (_itoa_lower_digits, _itoa_upper_digits):
2620 Don't declare static because used in _itoa_word inline function.
2622 * stdio-common/printf-parse.h: Prepare for use in wide-char
2623 stdio implementation.
2624 (find_spec): Take additional argument to work with mbrlen instead
2626 (parse_one_spec): Ditto.
2628 * stdio-common/printf-prs.c: Prepare for use in wide-char
2629 stdio implementation.
2631 * stdio-common/printf.h: Mark change for wide-char handling.
2632 Changing it now would result in incompatibilities.
2634 * stdio-common/vfprintf.c: New and fast implementation.
2636 * wcsmbs/Makefile (routines): Remove pre-ISO C multibyte functions
2637 mbsadvance, mbscat, mbschr, mbscmp, mbscpy, mbsdup, mbslen,
2638 mbsncat, mbsncmp, mbsncpy, mbsrchr, mbstomb.
2639 Change wcswcs to wcsstr.
2640 Add wmemchr, wmemcmp, wmemcpy, wmemmove, wmemset, btowc, wctob,
2641 mbsinit, mbrlen, mbrtowc, wcrtomb, mbsrtowcs, wcsrtombs.
2643 * wcsmbs/btowc.c, wcsmbs/mbrlen.c, wcsmbs/mbrtowc.c,
2644 wcsmbs/mbsinit.c, wcsmbs/mbsrtowcs.c, wcsmbs/wchar.h,
2645 wcsmbs/wcrtomb.c, wcsmbs/wcsrtombs.c, wcsmbs/wcsstr.c,
2646 wcsmbs/wctob.c, wcsmbs/wmemchr.c, wcsmbs/wmemcmp.c,
2647 wcsmbs/wmemcpy.c, wcsmbs/wmemmove.c, wcsmbs/wmemset.c: New
2648 function according to ISO C amendment 1.
2649 * wchar.h: Wrapper around "wcsmbs/wchar.h".
2651 * wcsmbs/wcscat.c, wcsmbs/wcschr.c, wcsmbs/wcscmp.c,
2652 wcsmbs/wcscpy.c, wcsmbs/wcscspn.c, wcsmbs/wcsdup.c,
2653 wcsmbs/wcslen.c, wcsmbs/wcsncat.c, wcsmbs/wcsncmp.c,
2654 wcsmbs/wcsncpy.c, wcsmbs/wcspbrk.c, wcsmbs/wcsrchr.c,
2655 wcsmbs/wcsspn.c, wcsmbs/wcstok.c: Changed to conform with ISO C
2658 * wcsmbs/mbsadvance.c, wcsmbs/mbscat.c, wcsmbs/mbschr.c,
2659 wcsmbs/mbscmp.c, wcsmbs/mbscpy.c, wcsmbs/mbsdup.c,
2660 wcsmbs/mbslen.c, wcsmbs/mbsncat.c, wcsmbs/mbsncmp.c,
2661 wcsmbs/mbsncpy.c, wcsmbs/mbsrchr.c, wcsmbs/mbstomb.c,
2662 wcsmbs/mbstr.h, wcsmbs/wcstr.h, wcsmbs/wcswcs.c: Removed.
2663 Implement functions from early drafts, not part of final standard.
2665 Sun Mar 31 16:50:41 1996 Roland McGrath <roland@whiz-bang.gnu.ai.mit.edu>
2667 * setjmp/setjmp.h (jmp_buf): Change gratuitous struct tag name to
2668 __jmp_bug_tag so its C++ implicit typedef does not conflict with the
2671 * Makerules (BUILD_CFLAGS) [! objdir]: Use $(..)config.h when
2672 compiling in the source directories.
2674 Fri Mar 29 16:26:35 1996 Roland McGrath <roland@whiz-bang.gnu.ai.mit.edu>
2676 * sysdeps/libm-ieee754/w_gamma.c: Use signgam instead of __signgam.
2677 * sysdeps/libm-ieee754/s_signgam.c: Undo last change.
2679 Fri Mar 29 11:29:46 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
2681 * sysdeps/libm-ieee754/s_signgam.c (signgam): Renamed to __signgam,
2682 with weak alias signgam.
2684 Thu Mar 28 18:32:34 1996 Roland McGrath <roland@whiz-bang.gnu.ai.mit.edu>
2686 * Makeconfig (+cflags, +gcc-nowarn): Use gcc flags unconditionally.
2688 Thu Mar 28 14:22:51 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
2690 * sunrpc/rpc_main.c (main): Call textdomain.
2692 * MakeTAGS (XGETTEXTFLAGS-siglist.pot, XGETTEXTFLAGS-errlist.pot): Add
2694 (all-pot): Replace $(subdirs) files with $P/subdirs.pot.
2695 ($P/subdirs.pot): New target.
2696 ($P/SYS_libc.pot): Add -n switch.
2698 * locale/locale.h (LC_*): Values reordered to match Linux libc.
2700 * sysdeps/mach/hurd/kill.c: If proc_pid2task gives us MACH_PORT_NULL
2701 the process is a zombie; send no messages and return success.
2703 Thu Mar 28 11:53:26 1996 Roland McGrath <roland@whiz-bang.gnu.ai.mit.edu>
2705 * wctype/cname-lookup.h: Find localeinfo.h in ../locale.
2706 * wctype/wctype.c: Likewise.
2707 * wctype/wctrans.c: Likewise.
2709 Thu Mar 28 03:00:43 1996 Roland McGrath <roland@whiz-bang.gnu.ai.mit.edu>
2711 * locale/nl_langinfo.c (nl_langinfo): Use DATA->values instead of
2714 * Makerules (BUILD_CFLAGS): Remove $(common-objpfx) from config.h.
2716 * configure.in (.weakext check): Fix asm code to use .weakext instead
2717 of .weak! Fix bogus test calls.
2718 * configure: Regenerated.
2720 Thu Mar 28 03:25:10 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
2722 * locale/programs/xmalloc.c: Test _LIBC as well as STDC_HEADERS.
2724 * locale/programs/ld-collate.c (collate_finish): Use error_at_line
2725 instead of error_with_loc.
2727 * locale/weight.h: Use u_int32_t instead of u32_t.
2728 * string/strxfrm.c: Likewise.
2730 * string/strxfrm.c: Find weight.h in ../locale; don't #include
2732 * string/strcoll.c: Likewise.
2734 * intl/Makefile (copysrc): Add missing > in sed cmd.
2736 Sat Mar 23 17:52:49 1996 Ulrich Drepper <drepper@gnu.ai.mit.edu>
2738 * Makeconfig: Rename Makefile variable nlsdir to i18ndir and
2739 change value to $(datadir)/i18n. `nls' is not an appropriate
2742 * Makefile (subdirs): Add new subdir wctype.
2744 * ctype/ctype-info.c: Add new global variable __ctype_names
2745 and initialize from _nl_C_LC_CTYPE.
2747 * ctype/ctype.h: In P1003.3b/D11 `alnum' is a separate character
2749 [_ISbit]: Protect definition of bitmasks because they are also
2752 * libio/genops.c (_IO_sputbackc, _IO_sungetc): Clear EOF flag
2753 after successfully pushing back a character.
2755 Fundamental changes in locale implementation. Almost nothing
2756 from the old code is used anymore.
2757 * locale/charmap.c, locale/collate.c, locale/config.h,
2758 locale/ctypedump.c, locale/hash.h, locale/keyword.gperf,
2759 locale/keyword.h, locale/loadlocale.c, locale/locale-ctype.c,
2760 locale/locale.c locale/localeconv.c, locale/localedef.c,
2761 locale/localedef.h, locale/locfile-hash.c, locale/locfile-lex.c,
2762 locale/locfile-parse.c, locale/messages.c, locale/monetary.c,
2763 locale/numeric.c, locale/setlocale.c, locale/token.h,
2764 locale/xmalloc.c: Removed.
2766 * locale/Makefile: Update for new locale implementation with
2767 program source code distributed in subdir.
2769 * locale/categories.def, locale/iso-4217.def: Updated file
2770 for new locale implementation.
2772 * locale/langinfo.h: Updated for new locale implementation.
2773 (ERA_D_T_FMT, ERA_T_FMT): New official values according to
2775 (_NL_COLLATE_NRULES, _NL_COLLATE_RULES, _NL_COLLATE_HASH_SIZE,
2776 _NL_COLLATE_HASH_LAYERS, _NL_COLLATE_TABLE_EB,
2777 _NL_COLLATE_TABLE_EL, _NL_COLLATE_UNDEFINED, _NL_COLLATE_EXTRA_EB,
2778 _NL_COLLATE_EXTRA_EL, _NL_CTYPE_NAMES_EB, _NL_CTYPE_NAMES_EL,
2779 _NL_CTYPE_HASH_SIZE, _NL_CTYPE_HASH_LAYERS, _NL_CTYPE_CLASS_NAMES,
2780 _NL_CTYPE_MAP_NAMES, _NL_CTYPE_WIDTH): New internal values for
2781 extended LC_CTYPE and LC_COLLATE implementation.
2783 * locale/programs/simple-hash.c, locale/programs/simple-hash.h,
2784 locale/programs/xmalloc.c, locale/programs/xstrdup.c: Helper functions
2785 for locale related programs.
2787 * locale/C-collate.c, locale/C-ctype.c,
2788 locale/C-messages.c, locale/C-monetary.c,
2789 locale/C-numeric.c, locale/C-time.c,
2790 locale/lc-collate.c, locale/lc-ctype.c,
2791 locale/lc-messages.c, locale/lc-monetary.c,
2792 locale/lc-numeric.c, locale/lc-time.c: New implementation of locale
2793 functions, and new generated "C" locale data.
2795 * locale/loadlocale.c: Now handles word fields in locale binary
2796 automatically by changing the endianess if necessary.
2798 * locale/localeinfo.h (LIMAGIC): Changed magic number because
2799 of incompatible changes.
2800 (locale_data): Changed definition to allow word as a value type.
2801 (coll_sort_rule): Values for collation sorting mode.
2802 (_NL_CURRENT_WORD): New macro to access word value of locale entry.
2803 (__collate_table, __collate_extra): Declare new global variables
2804 for collation tables.
2806 * locale/programs/charmap-kw.gperf, locale/programs/charmap-kw.h,
2807 locale/programs/charmap.c, locale/programs/charset.c,
2808 locale/programs/charset.h, locale/programs/config.h,
2809 locale/programs/ctypedump.c, locale/programs/ld-collate.c,
2810 locale/programs/ld-ctype.c, locale/programs/ld-messages.c,
2811 locale/programs/ld-monetary.c, locale/programs/ld-numeric.c,
2812 locale/programs/ld-time.c, locale/programs/linereader.c,
2813 locale/programs/linereader.h, locale/programs/locale.c,
2814 locale/programs/localedef.c, locale/programs/locales.h,
2815 locale/programs/locfile-kw.gperf, locale/programs/locfile-kw.h,
2816 locale/programs/locfile-token.h, locale/programs/locfile.c,
2817 locale/programs/locfile.h, locale/programs/stringtrans.c,
2818 locale/programs/stringtrans.h: Implementation of locale related
2821 * locale/weight.h: Functions to access collation tables.
2823 * posix/unistd.h: Define _POSIX2_LOCALEDEF.
2825 * stdio-common/printf_fp.c: Fix bug with printing certain numbers
2826 < 10^-1. Reported by Bill Metzenthen.
2828 * stdio-common/tfformat.c: Add new test for above bug.
2830 * string/strcoll.c, string/strxfrm.c: Real implementation of
2831 string collation according to ISO C.
2833 * wctype/Makefile, wctype/cname-lookup.h, wctype/iswctype.c,
2834 wctype/test_wctype.c, wctype/towctrans.c, wctype/wcfuncs.c,
2835 wctype/wctrans.c, wctype/wctype.c, wctype/wctype.h: New files.
2836 Implementation of wide character classes and mapping.
2838 Wed Mar 27 14:52:11 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
2840 * elf/rtld.c (dl_main): Call _dl_sysdep_start_cleanup after
2841 _dl_relocate_object loop. Avoid relocating RTLD_MAP in that loop, and
2842 do it individually if necessary after _dl_sysdep_start_cleanup call.
2844 * stdlib/Makefile (mpn-routines): Add divrem.
2846 Tue Mar 26 22:54:14 Ulrich Drepper <drepper@gnu.ai.mit.edu>
2848 * stdio-common/printf_fp.c (__printf_fp): Use mpn_divmod
2849 instead of __mpn_divmod.
2851 Wed Mar 27 10:26:21 1996 David Mosberger-Tang <davidm@azstarnet.com>
2853 * sysdeps/alpha/setjmp.S: Must establish global pointer before
2854 address of __sigsetjmp_aux can be loaded.
2856 Wed Mar 27 02:23:19 1996 Ulrich Drepper <drepper@gnu.ai.mit.edu>
2858 * sysdeps/i386/i586/memset.S: New file. Highly optimized
2859 version for i586 contributed by Torbjorn Granlund.
2860 Adapted for use as bzero.
2861 * sysdeps/i386/i586/bzero.S: Use sysdeps/i386/i586/memset.S
2862 code to implement bzero().
2864 Tue Mar 26 20:01:17 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
2866 * stdlib/Makefile (mpn-routines): Remove divmod.
2868 Tue Mar 26 15:40:14 1996 Brendan Kehoe <brendan@zen.org>
2870 * sysdeps/unix/sysv/sysv4/solaris2/sparc/sysdep.h (NO_UNDERSCORES): Use
2871 wrapped with #ifndef, to avoid config.h defining it.
2873 Mon Mar 25 13:10:04 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
2875 * malloc/realloc.c (_realloc_internal): In case of growing large
2876 block, leave _heaplimit zero across _malloc_internal call.
2878 * intl/Makefile [gettext-srcdir]: Use gpl2lgpl.sed on copied sources.
2880 Mon Mar 25 03:35:16 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
2882 * malloc/malloc.c (morecore): Don't attempt recursive realloc of info
2883 table when _heaplimit==0 during realloc growing large block.
2885 * MakeTAGS (extract): Remove /dev/null from xgettext command line.
2886 (text-srcs): New variable: extract only C sources from $(tags_sources).
2887 (po/$(domain).pot): Depend on that.
2888 If it's empty, cp /dev/null $@ instead of $(extract).
2890 * misc/Makefile (headers): Add iovec.h.
2891 * sysdeps/unix/sysv/linux/iovec.h: New file.
2892 * sysdeps/generic/iovec.h: New file.
2893 * misc/sys/uio.h (struct iovec): Type replaced with #include <iovec.h>.
2895 * configure.in (NO_UNDERSCORES check): Use AC_TRY_LINK instead of
2898 * misc/sys/cdefs.h [__USE_BSD] (const, signed, volatile): Move these
2899 macros inside [! __STDC__].
2901 * stdlib/rpmatch.c: New file.
2902 * stdlib/Makefile (routines): Add rpmatch.
2903 * stdlib/stdlib.h [__USE_SVID]: Declare rpmatch.
2905 * MakeTAGS (MSGJOIN): Variable removed.
2906 (po/SYS_libc.pot): Use $(XGETTEXT) instead of $(MSGJOIN).
2908 Wed Mar 20 20:08:46 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2910 * sysdeps/unix/sysdep.h: Don't define C_SYMBOL_NAME.
2912 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Don't define
2915 Thu Mar 21 11:19:15 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
2917 * mach/devstream.c (input): Translate \r to \n on input.
2919 Wed Mar 20 11:28:49 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2921 * stdio-common/printf.h, stdio-common/printf_fp.c,
2922 stdio-common/vfprintf.c: Place const in parameter list at
2925 Wed Mar 20 23:58.12 1996 Ulrich Drepper <drepper@gnu.ai.mit.edu>
2927 * sysdeps/i386/ldbl2mpn.c: Copy of former version of
2928 sysdeps/ieee754/ldbl2mpn.c.
2929 * sysdeps/ieee754/ldbl2mpn.c: Remove i386 specific unification.
2930 Reported by Andreas Schwab.
2932 Wed Mar 20 19:58:43 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
2934 * version.c: Include version.h to define RELEASE and VERSION macros.
2935 (__libc_release, __libc_version): Use them.
2936 * locale/SYS_libc.c (_libc_intl_domainname): Include ../version.h and
2937 use VERSION to define domainname as `SYS_GNU_libc-VERSION'.
2938 * Make-dist (rel+vers): Snarf the macro values from version.h.
2940 * MakeTAGS (extract): Pass $(XGETTEXTFLAGS-$(@F)).
2941 (XGETTEXTFLAGS-siglist.pot, XGETTEXTFLAGS-errlist.pot): New variables;
2942 pass -a for these files.
2944 * Makerules (po/%.pot): Depend on FORCE target so recursive make is
2947 Mon Mar 18 22:54:32 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2949 * sysdeps/unix/sysv/linux/wait3.c: New file.
2950 * sysdeps/unix/sysv/linux/wait.c: Use the bsd4.4 wait, not the
2951 one from sysdeps/posix.
2953 Wed Mar 20 09:42:11 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
2955 * sysdeps/unix/bsd/waitflags.h (WNOREAP): New macro.
2957 * elf/dl-load.c (_dl_map_object_from_fd): Always set L->l_type; if not
2958 lt_executable, then lt_library.
2959 * elf/rtld.c (dl_main): Don't set NEW->l_type after _dl_map_object.
2961 Wed Mar 20 00:08:23 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2963 * sysdeps/unix/sysv/linux/syscalls.list: Remove gtty and stty.
2965 Tue Mar 19 16:31:06 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2967 * sysdeps/unix/sysv/linux/termbits.h (CRTSCTS, CBAUDEX, VEOL,
2968 VEOL2, VMIN, VTIME): Corrected.
2969 (PAGEOUT, WRAP, VDSUSP): Deleted.
2971 Tue Mar 19 14:18:42 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
2973 * sysdeps/unix/readdir.c: Test [! _DIRENT_HAVE_D_RECLEN] instead of
2974 (sizeof (DP->d_name) > 1) to detect fixed-size dir entries.
2976 * sysdeps/i386/fpu/__math.h (asinh): Call log1p instead of __log1p.
2978 * math/math.h: Move M_* constants before __math.h include.
2979 [__NO_MATH_INLINES || __OPTIMIZE__]: Include __math.h only #if this.
2981 * misc/efgcvt_r.c (ecvt_r): Declare floor, log10, fabs as weak extern.
2982 If log10 is not defined (i.e. no -lm), use stupid loop instead.
2984 * features.h (__FAVOR_BSD): Define only if _BSD_SOURCE is defined
2985 and no other _*_SOURCE macro is.
2986 (_GNU_SOURCE): Don't define by default.
2987 * libc-symbols.h (_GNU_SOURCE): Define it.
2989 * configure.in (alpha*-*-linux*): Unset $gnu_ld and $elf.
2991 * config.make.in (weak-symbols): Variable removed.
2992 * configure.in (--with-weak-symbols): Option removed.
2993 (NO_UNDERSCORES, HAVE_ASM_WEAK_DIRECTIVE, HAVE_ASM_WEAKEXT_DIRECTIVE):
2996 * config.h.in (HAVE_WEAK_SYMBOLS): #undef removed.
2997 (NO_UNDERSCORES, HAVE_ASM_WEAK_DIRECTIVE, HAVE_ASM_WEAKEXT_DIRECTIVE):
2999 * libc-symbols.h: Use them instead of HAVE_WEAK_SYMBOLS.
3001 * sysdeps/unix/bsd/pause.c: Moved to sysdeps/unix/common/pause.c.
3003 Mon Mar 4 20:17:28 1996 David Mosberger-Tang <davidm@azstarnet.com>
3005 * inet/inet_lnaof.c: Use u_int32_t instead of u_long.
3006 * inet/inet_mkadr.c: Likewise.
3007 * inet/inet_net.c: Likewise.
3008 * inet/inet_netof.c: Likewise.
3009 * inet/rcmd.c: Likewise.
3010 * inet/arpa/inet.h: Likewise.
3011 * inet/netinet/in.h: Likewise.
3012 * inet/netinet/tcp.h: Likewise.
3013 * inet/protocols/rwhod.h: Likewise.
3014 * inet/protocols/talkd.h: Likewise.
3015 * resolv/inet_addr.c: Likewise.
3017 * sysdeps/unix/sysv/linux/adjtime.c: Use INT_MAX instead of LONG_MAX.
3019 * sysdeps/unix/sysv/Makefile (sysdep_routines): Don't add s_getdents.
3021 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Don't add mount,
3024 * sysdeps/alpha/__math.h (atan, cabs): New functions.
3026 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S: new file (syscall
3027 expects set-value, not pointer to it).
3029 Sun Feb 25 22:36:10 1996 David Mosberger-Tang <davidm@azstarnet.com>
3031 * sysdeps/unix/sysv/linux/alpha/profil-counter.h: New file.
3033 * gmon/gmon.c (__bb_head): new variable.
3034 (write_hist, write_call_graph, write_bb_counts): new functions.
3035 (_mcleanup): modified to call above functions instead of directly
3036 writing out gmon.out.
3037 * gmon/sys/gmon.h (struct __bb): New type.
3038 (struct gmonhdr): Type removed.
3039 (struct gmonparam): New member `log_hashfraction'.
3040 (GMONVERSION): Macro removed.
3042 * gmon/sys/gmon_out.h, gmon/bb_exit_func.c,
3043 sysdeps/generic/bb_init_func.c, sysdeps/alpha/bb_init_func.S: new
3045 * gmon/Makefile (headers): Add sys/gmon_out.h.
3046 (routines): Add bb_init_func, bb_exit_func.
3048 * gmon/mcount.c: Avoid integer division.
3050 Wed Feb 21 23:56:41 1996 David Mosberger-Tang <davidm@azstarnet.com>
3052 * sysdeps/alpha/setjmp.S: switched order in which sp and fp are
3053 passed to match what __sigsetjmp_aux() expects.
3055 Tue Feb 20 11:33:46 1996 David Mosberger-Tang <davidm@azstarnet.com>
3057 * sysdeps/unix/sysv/linux/alpha/syscalls.list (select, bind,
3058 connect, getpeername, getsockname, listen, recv, recvfrom,
3059 recvmsg, send, sendmsg, sendto, setsockopt, shutdown, socketpair):
3060 added to override same-name assembly file in the parent directory.
3062 * stdlib/stdlib.h: add include of sys/types.h in front of random
3063 etc declarations to ensure int32_t is declared.
3065 * stdlib/random.c, stdlib/random_r.c: replaced "long int" by int32_t
3066 where 32 bit integers are required. Also change LONG_MAX into
3067 0x7fffffff since the intent is to turn off the sign bit in a
3070 * time/offtime.c (__offtime): Use Paul Eggert's code to deal
3071 with very large values for "days" (e.g., 64 bit values).
3073 Mon Feb 19 22:22:12 1996 David Mosberger-Tang <davidm@azstarnet.com>
3075 * stdlib/stdlib.h (__random, __random_r, random_r, struct
3076 random_data): use int32_t instead of `long int'.
3078 Sat Feb 17 11:29:29 1996 David Mosberger-Tang <davidm@azstarnet.com>
3080 * sysdeps/unix/sysv/linux/alpha/ioperm.c: new file.
3082 * sysdeps/alpha/ffs.S: new file.
3084 * sysdeps/alpha/fabs.c: File removed.
3086 * time/tzfile.c (__tzfile_read): counter variable is i, *not*
3089 * time/offtime.c: make capable of dealing with very large (64 bit)
3090 time_t values. Use old algorithm until a year is reached that
3091 is an integer multiple of 400, then use DAYS_PER_400_YEARS to
3092 do the remainder in a single division.
3094 * sysdeps/generic/ffs.c (ffs): fix variable declarations to
3095 be unsigned int, not unsigned long.
3097 * string/test-ffs.c (main): add test case with all upper bits
3100 * stdlib/tst-strtol.c: add tests cases for machines where
3103 * stdlib/testrand.c (main): disallow rand() to return negative
3106 * stdlib/testmb.c (main): fix format to use %lx instead of %x.
3108 * stdlib/stdlib.h: on 64 bit machines, declare
3109 struct random_data, __random(), __random_r, and random_r to
3110 return "int" instead of "long int".
3112 * stdlib/random_r.c: 64 bit machines use "int" instead of "long
3113 int". Similarly, use INT_MAX instead of LONG_MAX.
3115 * stdlib/random.c: on 64 bit machines, randtbl[] and __random[]
3116 need to operate on "int" instead of "long int".
3118 * locale/locfile-hash.c (compute_hashval): make shifted constant
3119 a long to avoid loosing bits on 64 bit machines.
3121 * dirent/tst-seekdir.c (main): fix confusing comment; print
3122 a line to mark point where directory is rewound.
3124 Fri Feb 16 15:01:49 1996 David Mosberger-Tang <davidm@azstarnet.com>
3126 * time/strftime.c (strftime): any hour > 11 is PM (not > 12!).
3128 Wed Feb 14 00:21:17 1996 David Mosberger-Tang <davidm@azstarnet.com>
3130 * sysdeps/unix/sysv/linux/alpha/Makefile,
3131 sysdeps/unix/sysv/linux/alpha/brk.S,
3132 sysdeps/unix/sysv/linux/alpha/fpu_control.c,
3133 sysdeps/unix/sysv/linux/alpha/fpu_control.h,
3134 sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S,
3135 sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S,
3136 sysdeps/unix/sysv/linux/alpha/pipe.S,
3137 sysdeps/unix/sysv/linux/alpha/setfpucw.c,
3138 sysdeps/unix/sysv/linux/alpha/sigprocmask.c,
3139 sysdeps/unix/sysv/linux/alpha/speed.c,
3140 sysdeps/unix/sysv/linux/alpha/start.S,
3141 sysdeps/unix/sysv/linux/alpha/syscall.S,
3142 sysdeps/unix/sysv/linux/alpha/syscalls.list,
3143 sysdeps/unix/sysv/linux/alpha/alpha/regdef.h,
3144 sysdeps/unix/sysv/linux/alpha/sysdep.S,
3145 sysdeps/unix/sysv/linux/alpha/sysdep.h: New files.
3147 * sysdeps/alpha/setjmp_aux.c (__sigsetjmp_aux): restore return
3148 address register before returning (gcc 2.7.1 doesn't do it,
3149 presumably because $26 is declared as a global variable).
3151 * sysdeps/unix/sysv/linux/sys/mman.h: msync was missing "flags"
3154 * sysdeps/unix/alarm.c (alarm): do roundup using test & increment
3155 instead of multiplication.
3157 * sysdeps/posix/sleep.c (sleep): initialize sa_mask to mask of
3158 currently blocked signals instead of the empty mask to ensure
3159 that execution of alarm handler occurs with none of the currently
3160 blocked signals enabled.
3162 * sysdeps/unix/alpha/sysdep.h: new file (adapted from OSF/1 version).
3164 * sysdeps/unix/bsd/osf/alpha/sysdep.h: include
3165 sysdeps/unix/alpha/sysdep.h and removed definitions now in that file.
3167 * sysdeps/alpha/divrem.S, sysdeps/alpha/htonl.S,
3168 sysdeps/alpha/htons.S, sysdeps/alpha/machine-gmon.h,
3169 sysdeps/alpha/_mcount.S, sysdeps/alpha/ntohl.s, sysdeps/alpha/ntohs.s,
3170 sysdeps/alpha/strlen.S: New files.
3172 * sysdeps/alpha/divl.S, sysdeps/alpha/divlu.S, sysdeps/alpha/divq.S,
3173 sysdeps/alpha/divqu.S, sysdeps/alpha/divrem.m4,
3174 sysdeps/alpha/macros.m4, sysdeps/alpha/reml.S, sysdeps/alpha/remlu.S,
3175 sysdeps/alpha/remq.S, sysdeps/alpha/remqu.S, sysdeps/alpha/strlen.c:
3178 * sysdeps/generic/sbrk.c (__sbrk): argument is of type ptrdiff_t, not
3181 * sysdeps/alpha/__longjmp.c (__longjmp): moved dummy while loop
3182 to end of function to avoid a jump across NOPs.
3184 * sysdeps/alpha/Makefile (sysdep_routines): Removed all rules
3185 pertaining to integer division/remainder routines since new code
3186 doesn't require them.
3188 * sunrpc/xdr_mem.c, sunrpc/xdr_stdio.c: Use 4 instead of sizeof(long)
3189 where 32 bit quantities are consumed/stored. Various other minor
3190 64-bit cleanups (casting).
3192 * sunrpc/xdr.c (xdr_int): test for sizeof(int)==4 to determine
3193 whether xdr_long or xdr_short should be used to encode an int.
3194 Notice that an xdr_long is 4 bytes independent of the architecture
3195 (otherwise no Alpha could interoperate with existing NFS servers,
3196 for example). Ditto for enums.
3198 * sunrpc/svc_udp.c (svcudp_recv): changed test from 4*sizeof(u_long)
3199 to 16 since it really wants 16 bytes.
3201 * sunrpc/svc.c (maskp): changed from u_long* to u_int32*.
3203 * sunrpc/rpc/xdr.h (IXDR_GET_LONG, IXDR_PUT_LONG): change casts to
3204 u_int32_t (instead of u_long).
3206 * sunrpc/rpc_cmsg.c (xdr_callmsg), sunrpc/svc_authux.c: increment
3207 "buf" pointer by casting it to a char* first since a long* may be 8
3208 bytes or more and oa->oa_length may be any multiple of 4.
3210 * sunrpc/clnt_udp.c (clntudp_call): replaced sizeof(u_long) by 4
3211 since it really is testing for 32 bits. Fixed casts to use
3212 u_int32 instead of u_long.
3213 * sunrpc/xdr_rec.c: Likewise.
3215 * sunrpc/clnt_tcp.c (clnttcp_call): replaced u_long by u_int32.
3216 * sunrpc/rpc/auth.h: Likewise.
3218 * limits.h (LONG_MAX, LONG_MIN, ULONG_MAX): use 64 bit values
3221 Tue Mar 19 13:27:49 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
3223 * sysdeps/i386/fpu/__math.h: New file.
3224 Contributed by John C. Bowman <bowman@hagar.ph.utexas.edu>.
3226 Sun Mar 17 00:28:16 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3228 * sysdeps/posix/clock.c: Don't multiply the return value by
3229 CLOCKS_PER_SEC or CLK_TCK.
3231 Mon Mar 18 13:20:46 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
3233 * sysdeps/mach/hurd/getcwd.c: Fail with ENOENT if a parent directory
3234 scan finds no match.
3236 * posix/unistd.h (setpgrp): Declare no-arg version unless __FAVOR_BSD.
3237 * misc/bsd-compat.c (setpgrp): New function, two arg version.
3238 * sysdeps/stub/setpgid.c: Remove setpgrp alias.
3239 * sysdeps/mach/hurd/setpgid.c: Likewise.
3240 * sysdeps/unix/sysv/sysv4/setpgid.c: Likewise.
3241 * sysdeps/unix/common/syscalls.list (setpgid): Remove setpgrp alias.
3242 * sysdeps/unix/sysv/irix4/syscalls.list: Likewise.
3243 * sysdeps/unix/sysv/linux/setpgrp.c: Obsolete file removed.
3244 * posix/setpgrp.c (setpgrp): New file.
3245 * posix/Makefile (routines): Add setpgrp.
3247 * elf/Makefile (rtld-link): New canned sequence.
3248 (ld.so, ld-linux.so.1): Use it. Pass -soname option.
3250 * sysdeps/i386/setjmp.S (__setjmp): Define compatibility entry point.
3252 Sun Mar 17 23:15:32 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3254 * sysdeps/unix/sysv/linux/tcgetpgrp.c,
3255 sysdeps/unix/sysv/linux/tcsetpgrp.c: New files.
3257 Sun Mar 17 07:19:33 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
3259 * db/Makefile (CFLAGS-hash_func.c): New variable; pass -Wno-unused.
3260 (CFLAGS): Append -Wno-unitialized.
3262 Sat Mar 16 20:58:43 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
3264 * stdlib/erand48_r.c: Use FP division by powers of two to distribute
3265 short bits into double.
3267 Sat Mar 16 20:08:22 1996 David Mosberger-Tang <davidm@azstarnet.com>
3269 * sysdeps/alpha/memchr.S: New file.
3270 * sysdeps/alpha/memchr.c: Obsolete file removed.
3271 * string/tester.c: Soup up memchr tests.
3273 Sat Mar 16 16:26:09 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
3275 * misc/Makefile (headers): Add sysexits.h.
3276 * misc/sysexits.h: New file.
3278 Thu Mar 14 15:20:45 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3280 * sysdeps/libm-ieee754/e_atan2.c (__ieee754_atan2): Change atan
3282 * sysdeps/libm-ieee754/e_atan2f.c (__ieee754_atan2f): Change atanf
3285 * sysdeps/m68k/fpu/e_acos.c, sysdeps/m68k/fpu/e_acosf.c,
3286 sysdeps/m68k/fpu/e_asin.c, sysdeps/m68k/fpu/e_asinf.c,
3287 sysdeps/m68k/fpu/e_atanh.c, sysdeps/m68k/fpu/e_atanhf.c,
3288 sysdeps/m68k/fpu/e_cosh.c, sysdeps/m68k/fpu/e_coshf.c,
3289 sysdeps/m68k/fpu/e_exp.c, sysdeps/m68k/fpu/e_expf.c,
3290 sysdeps/m68k/fpu/e_fmod.c, sysdeps/m68k/fpu/e_fmodf.c,
3291 sysdeps/m68k/fpu/e_log.c, sysdeps/m68k/fpu/e_log10.c,
3292 sysdeps/m68k/fpu/e_log10f.c, sysdeps/m68k/fpu/e_logf.c,
3293 sysdeps/m68k/fpu/e_pow.c, sysdeps/m68k/fpu/e_powf.c,
3294 sysdeps/m68k/fpu/e_remainder.c, sysdeps/m68k/fpu/e_remainderf.c,
3295 sysdeps/m68k/fpu/e_scalb.c, sysdeps/m68k/fpu/e_scalbf.c,
3296 sysdeps/m68k/fpu/e_sinh.c, sysdeps/m68k/fpu/e_sinhf.c,
3297 sysdeps/m68k/fpu/e_sqrt.c, sysdeps/m68k/fpu/e_sqrtf.c,
3298 sysdeps/m68k/fpu/k_cos.c, sysdeps/m68k/fpu/k_cosf.c,
3299 sysdeps/m68k/fpu/k_sin.c, sysdeps/m68k/fpu/k_sinf.c,
3300 sysdeps/m68k/fpu/k_tan.c, sysdeps/m68k/fpu/k_tanf.c,
3301 sysdeps/m68k/fpu/s_atan.c, sysdeps/m68k/fpu/s_atanf.c,
3302 sysdeps/m68k/fpu/s_ceil.c, sysdeps/m68k/fpu/s_ceilf.c,
3303 sysdeps/m68k/fpu/s_cos.c, sysdeps/m68k/fpu/s_cosf.c,
3304 sysdeps/m68k/fpu/s_expm1.c, sysdeps/m68k/fpu/s_expm1f.c,
3305 sysdeps/m68k/fpu/s_fabs.c, sysdeps/m68k/fpu/s_fabsf.c,
3306 sysdeps/m68k/fpu/s_finite.c, sysdeps/m68k/fpu/s_finitef.c,
3307 sysdeps/m68k/fpu/s_floor.c, sysdeps/m68k/fpu/s_floorf.c,
3308 sysdeps/m68k/fpu/s_frexp.c, sysdeps/m68k/fpu/s_frexpf.c,
3309 sysdeps/m68k/fpu/s_ilogb.c, sysdeps/m68k/fpu/s_ilogbf.c,
3310 sysdeps/m68k/fpu/s_isinf.c, sysdeps/m68k/fpu/s_isinff.c,
3311 sysdeps/m68k/fpu/s_isnan.c, sysdeps/m68k/fpu/s_isnanf.c,
3312 sysdeps/m68k/fpu/s_ldexp.c, sysdeps/m68k/fpu/s_ldexpf.c,
3313 sysdeps/m68k/fpu/s_log1p.c, sysdeps/m68k/fpu/s_log1pf.c,
3314 sysdeps/m68k/fpu/s_logb.c, sysdeps/m68k/fpu/s_logbf.c,
3315 sysdeps/m68k/fpu/s_modf.c, sysdeps/m68k/fpu/s_modff.c,
3316 sysdeps/m68k/fpu/s_rint.c, sysdeps/m68k/fpu/s_rintf.c,
3317 sysdeps/m68k/fpu/s_scalbn.c, sysdeps/m68k/fpu/s_scalbnf.c,
3318 sysdeps/m68k/fpu/s_significand.c,
3319 sysdeps/m68k/fpu/s_significandf.c, sysdeps/m68k/fpu/s_sin.c,
3320 sysdeps/m68k/fpu/s_sinf.c, sysdeps/m68k/fpu/s_tan.c,
3321 sysdeps/m68k/fpu/s_tanf.c, sysdeps/m68k/fpu/s_tanh.c,
3322 sysdeps/m68k/fpu/s_tanhf.c: New files, for m68881 port of fdlibm.
3324 * sysdeps/m68k/fpu/__math.h: Rewritten for fdlibm.
3326 * sysdeps/m68k/fpu/isinfl.c: Rewritten to get argument type right.
3327 * sysdeps/m68k/fpu/isnanl.c: Likewise.
3329 Thu Mar 14 06:01:07 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
3331 * posix/glob.c (glob): In GLOB_BRACE brace expansion, fix buffer size
3332 calculation to include trailing invariant portion. Don't use alloca;
3333 instead use a dynamic auto array for GCC, malloc for non-GCC.
3334 Handle nested braces properly.
3336 * elf/elf.h (Elf32_auxv_t): Specify prototype (void) for `a_un.a_fcn'.
3338 * libc-symbols.h (lint): New macro.
3340 Fri Mar 15 01:18:00 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3342 * libio/iosetvbuf.c: Add weak alias setvbuf.
3344 Thu Mar 14 06:01:07 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
3346 * string/strnlen.c: New file.
3347 * string/Makefile (routines): Add strnlen.
3348 * string/string.h [__USE_GNU] (strnlen): Declare new function.
3349 [__OPTIMIZE__]: Define extern inline implementation of it.
3351 * stdlib/erand48_r.c: Use __mpn_construct_double instead of ldexp and
3352 addition, to avoid using anything from -lm.
3354 Mon Mar 4 21:57:14 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3356 * sysdeps/unix/sysv/linux/m68k/Makefile: New file.
3358 * sysdeps/unix/sysv/linux/m68k/sysdep.h (SYS_ify): Redefine.
3359 (CALL_MCOUNT): New macro, empty unless [PROF].
3360 (ENTRY): Do CALL_MCOUNT just after the label.
3361 (JUMPTARGET): New macro.
3362 (SYSCALL_ERROR_HANDLER): Fix syntax.
3364 Thu Mar 14 04:20:48 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
3366 * sysdeps/unix/sysv/linux/init-first.c (init): Call `__personality'
3367 function instead of using inline asm i386 syscall.
3368 * sysdeps/unix/sysv/linux/syscalls.list: Add personality syscall.
3370 * posix/unistd.h [__USE_BSD]: Declare usleep.
3372 Tue Mar 12 04:57:57 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
3374 * misc/efgcvt.c (MAXDIG): New macro computed from <floats.h> constants.
3375 (fcvt, ecvt): Use it for buffer size.
3377 * stdlib/drand48-iter.c (__drand48_iterate): Use u_int64_t instead of
3378 conditionalizing long vs long long.
3380 * stdlib/drand48-iter.c (__drand48_iterate): Don't check for null
3381 pointers; never return EFAULT.
3382 * stdlib/drand48_r.c (drand48_r): Likewise.
3383 * stdlib/erand48_r.c (erand48_r): Likewise.
3385 * setjmp/Makefile (tests): Add jmpbug.
3386 * setjmp/jmpbug.c: New file.
3388 Tue Mar 12 04:42:01 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
3390 * sysdeps/sparc/jmp_buf.h: Rewritten; use array of ints, not struct.
3391 * sysdeps/sparc/setjmp.S: Rewritten; store %fp value as well.
3392 * sysdeps/sparc/__longjmp.S: Rewritten; unwind frames one by one with
3393 `restore' until the target frame is hit.
3395 Sun Mar 10 20:29:40 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3397 * sysdeps/unix/sysv/linux/sigsuspend.c: New file.
3398 * sysdeps/unix/sysv/linux/syscalls.list: Remove sigsuspend, add
3401 Thu Mar 7 21:30:58 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3403 * Makerules (+make-deps, sed-remove-objpfx): Quote periods on the
3404 left side of sed substitutions.
3406 Sun Mar 10 16:58:10 1996 Ulrich Drepper <drepper@gnu.ai.mit.edu>
3408 * stdio-common/printf_fp.c (hack_digit): __mpn_normal_size
3409 is not available anymore. Do it ourselves.
3411 * sysdeps/unix/sysv/linux/i386/fpu_control.h (_FPU_SETCW):
3412 Correct GCC `asm' syntax.
3414 Tue Mar 12 03:15:02 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
3416 * stdio-common/Makefile (tests): Add tst-ungetc.
3417 * stdio-common/tst-ungetc.c: New test from drepper.
3418 * stdio-common/tstscanf.c (main): New %[ test case from drepper.
3420 * sysdeps/libm-ieee754/s_scalbn.c (scalbn): Rename to __scalbn;
3421 somehow this was missed, though the weak alias is already there.
3423 * sysdeps/unix/sysv/linux/i386/fpu_control.h (_FPU_DEFAULT): Change
3424 default to double precision, all interrupts masked; fdlibm requires.
3426 Sat Mar 9 18:44:27 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
3428 * sysdeps/unix/sysv/linux/i386/setfpucw.c: Obsolete file removed.
3430 Fri Mar 8 22:16:48 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
3432 * stdio-common/printf_fp.c (HAVE_ALLOCA): New macro.
3434 Tue Mar 5 18:45:14 1996 Miles Bader <miles@gnu.ai.mit.edu>
3436 * sysdeps/mach/hurd/select.c (__select): Include LASTFD in the
3439 Mon Mar 4 20:54:40 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3441 * Makeconfig ($(common-objpfx)config.make): Depend on config.h.in.
3443 Tue Mar 5 12:14:57 1996 Miles Bader <miles@gnu.ai.mit.edu>
3445 * sysdeps/mach/hurd/select.c (__select): Also don't fault just
3446 because some fdmask is 0.
3448 Mon Mar 4 17:35:35 1996 Miles Bader <miles@gnu.ai.mit.edu>
3450 * sysdeps/mach/hurd/select.c (__select):
3451 Don't increment GOT only because READ/WRITE/EXCEPTFDS is 0!
3452 Don't return without frobbing the bitmasks after a timeout.
3453 When clearing the bitmasks, only loop from FIRSTFD to LASTFD.
3455 Mon Mar 4 17:35:09 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
3457 * hurd/catch-signal.c (hurd_safe_memmove): New function.
3458 (hurd_safe_copyin, hurd_safe_copyout): New functions.
3459 * hurd/hurd/sigpreempt.h: Declare them.
3461 Sun Mar 3 08:43:44 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
3463 Replace math code with fdlibm from Sun as modified for netbsd by
3464 JT Conklin and Ian Taylor, including x86 FPU support.
3465 * sysdeps/libm-ieee754, sysdeps/libm-i387: New directories.
3466 * math/math_private.h: New file.
3467 * sysdeps/i386/fpu/Implies: New file.
3468 * sysdeps/ieee754/Implies: New file.
3469 * math/machine/asm.h, math/machine/endian.h: New files.
3470 * math/Makefile, math/math.h: Rewritten.
3471 * mathcalls.h, math/mathcalls.h: New file, broken out of math.h.
3472 * math/finite.c: File removed.
3473 * sysdeps/generic/Makefile [$(subdir)=math]: Frobnication removed.
3475 * math/test-math.c: Include errno.h and string.h.
3477 * sysdeps/unix/bsd/dirstream.h: File removed.
3478 * sysdeps/unix/bsd/readdir.c: File removed.
3480 Sat Mar 2 16:35:40 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
3482 * sysdeps/unix/sysv/linux/m68k/profil-counter.h: File removed.
3483 * sysdeps/unix/sysv/sysv4/solaris2/sparc/profil-counter.h: File
3485 * sysdeps/generic/profil-counter.h: New file.
3487 Fri Mar 1 17:11:59 1996 Brendan Kehoe <brendan@zen.org>
3489 * sysdeps/unix/sysv/sysv4/solaris2/sparc/sigcontext.h: New file,
3490 including <sysdeps/unix/bsd/sun/sparc/sigcontext.h>.
3491 * sysdeps/unix/sysv/sysv4/solaris2/sparc/profil-counter.h: New file,
3492 same as linux/m68k/profil-counter.h except the comment.
3494 Fri Mar 1 10:09:46 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
3496 * stdlib/Makefile (mpn-stuff): New target.
3499 * Code copied from GMP updated to 1.937 version.
3500 * stdlib/strtod.c (HAVE_ALLOCA): Define this for gmp headers.
3502 * posix/glob.c: Use canonical code from autoconf manual for dirent
3504 [_D_NAMLEN]: Redefine NAMLEN using this.
3505 (glob_in_dir): Use NAMLEN macro.
3507 * sysdeps/posix/profil.c: New file.
3509 Thu Feb 29 20:55:57 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3511 * sysdeps/unix/sysv/linux/m68k/profil-counter.h: New file.
3513 Tue Feb 27 12:14:59 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
3515 * libc-symbols.h [GCC >= 2.8] (strong_alias, weak_alias): Remove
3518 * time/strftime.c: Support - and _ flags to affect number padding.
3520 * sysdeps/unix/common/tcsendbrk.c: New file.
3522 Mon Feb 26 10:22:30 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
3524 * sysdeps/unix/dirstream.h: Rewritten.
3525 * sysdeps/unix/readdir.c: Rewritten.