1 Fri Jun 7 1996 05:29:32 Ulrich Drepper <drepper@cygnus.com>
3 * misc/lsearch.c: New file. Implementation of lfind and
6 * misc/search.h: Add prototype for functions from tsearch
8 Correct prototype for lsearch: BASE parameter must not be
11 * misc/tsearch.c: prepend all global function names with __
12 and make normal names weak aliases.
14 Fri Jun 7 00:15:24 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
16 * Make-dist (sysdep_dirs): Skip CVS dirs.
18 Thu Jun 6 16:12:39 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
20 * malloc/Makefile (distribute): Change malloc/gmalloc-head.c to
22 (malloc/gmalloc.c): Depend on malloc/gmalloc-head.c.
23 (malloc/Makefile): Do $(make-target-directory) first.
24 * malloc/gmalloc-head.c: New file.
26 * po/Makefile (linguas.mo): Don't commit .mo files to cvs.
28 * hurd/hurdsig.c (_hurd_internal_post_signal): For SIGNO==0 pending
29 check, deliver a pending blocked signal if its action might be to
31 * sysdeps/mach/hurd/sigaction.c: If new action is SIG_IGN or SIG_DFL
32 and SIG is pending, wake up signal thread to check us.
34 * hurd/hurdsig.c (_hurd_internal_post_signal): Don't mark a signal
35 pending while blocked or stopped when the action is to ignore it.
37 Thu Jun 6 12:56:03 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
39 * hurd/hurdsig.c (_hurd_internal_post_signal: resume): Only set
40 SS_SUSPENDED when the thread is really suspended.
42 * elf/rtld.c (dl_main): Don't dereference _dl_rtld_map.l_next if null.
44 * Makerules (headers): Move append of $(sysdep_headers) after include
47 * sysdeps/mach/hurd/errlist.c: File removed.
49 Thu Jun 6 07:32:14 1996 Miles Bader <miles@gnu.ai.mit.edu>
51 * resolv/gethnamaddr.c (struct hstorage): Make NAME field a pointer.
52 (_gethtbyname2): Remove ALIAS variable.
53 Initialize NAME field of SELF and TARGET to 0.
54 Add SELF_NAME_SIZE static variable.
55 Add loop to call gethostname until the space we allocated is enough.
56 Use malloced strings instead of fixed size buffers.
57 <stdlib.h>, <unistd.h>: New includes.
58 * sysdeps/generic/sys/socket.h (PF_INET6, AF_INET6): New macros.
60 * sysdeps/mach/hurd/errlist.c (_sys_errlist): Add EILSEQ.
61 (_sys_nerr): Initialize to 107.
62 Update _HURD_ERRNOS consistency check.
64 * stdlib/canonicalize.c (canonicalize): Use pathconf for PATH_MAX,
67 * login/login.c [!PATH_MAX] (PATH_MAX): Define to be 1024 if not
70 * sysdeps/mach/hurd/setitimer.c (timer_thread): Supply SIGCODE
71 argument to __msg_sig_post_request.
73 * hurd/hurdmalloc.c: Changes to bring in line with the hurd
75 (more_memory): Use assert_perror instead of MACH_CALL.
76 "cthread_internals.h": Include removed.
77 (realloc): Use LOG2_MIN_SIZE.
78 (LOG2_MIN_SIZE): New macro.
79 (realloc): Don't bother allocating a new block if the
80 new size request fits in the old one and doesn't waste any space.
81 Only free the old block if we successfully got a new one.
82 [MCHECK] (struct header): New type.
83 (union header): Only define if !MCHECK.
84 (HEADER_SIZE, HEADER_NEXT, HEADER_FREE, HEADER_CHECK): New macros.
85 [MCHECK] (MIN_SIZE): Add correct definition for this case.
86 (more_memory, malloc, free, realloc): Use above macros, and add
87 appropiate checks & frobs in MCHECK case.
89 Thu Jun 6 02:00:42 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
91 * Makerules (distinfo-vars): Don't write constant line to frob sources.
92 * Make-dist (sources): Append $(elided-routines) and $(extra-libs)
95 Tue Jun 4 22:03:02 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
97 * sysdeps/m68k/fpu/__math.h: Define long double versions of
100 * sysdeps/m68k/fpu/e_asinl.c, sysdeps/m68k/fpu/e_atanl.c,
101 sysdeps/m68k/fpu/e_acosl.c, sysdeps/m68k/fpu/e_expl.c,
102 sysdeps/m68k/fpu/e_fmodl.c, sysdeps/m68k/fpu/e_log10l.c,
103 sysdeps/m68k/fpu/e_logl.c, sysdeps/m68k/fpu/e_powl.c,
104 sysdeps/m68k/fpu/e_remainderl.c, sysdeps/m68k/fpu/e_scalbl.c,
105 sysdeps/m68k/fpu/e_sinhl.c, sysdeps/m68k/fpu/e_sqrtl.c,
106 sysdeps/m68k/fpu/k_cosl.c, sysdeps/m68k/fpu/k_sinl.c,
107 sysdeps/m68k/fpu/k_tanl.c, sysdeps/m68k/fpu/s_atanl.c,
108 sysdeps/m68k/fpu/s_ceill.c, sysdeps/m68k/fpu/s_cosl.c,
109 sysdeps/m68k/fpu/s_expm1l.c, sysdeps/m68k/fpu/s_fabsl.c,
110 sysdeps/m68k/fpu/s_finitel.c, sysdeps/m68k/fpu/s_floorl.c,
111 sysdeps/m68k/fpu/s_frexpl.c, sysdeps/m68k/fpu/s_ilogbl.c,
112 sysdeps/m68k/fpu/s_isinfl.c, sysdeps/m68k/fpu/s_isnanl.c,
113 sysdeps/m68k/fpu/s_ldexpl.c, sysdeps/m68k/fpu/s_log1pl.c,
114 sysdeps/m68k/fpu/s_logbl.c, sysdeps/m68k/fpu/s_modfl.c,
115 sysdeps/m68k/fpu/s_rintl.c, sysdeps/m68k/fpu/s_scalbnl.c,
116 sysdeps/m68k/fpu/s_significandl.c, sysdeps/m68k/fpu/s_sinl.c,
117 sysdeps/m68k/fpu/s_tanhl.c, sysdeps/m68k/fpu/s_tanl.c: New files.
119 * sysdeps/m68k/fpu/e_acos.c, sysdeps/m68k/fpu/e_fmod.c,
120 sysdeps/m68k/fpu/k_cos.c, sysdeps/m68k/fpu/k_sin.c,
121 sysdeps/m68k/fpu/k_tan.c, sysdeps/m68k/fpu/s_atan.c,
122 sysdeps/m68k/fpu/s_frexp.c, sysdeps/m68k/fpu/s_ilogb.c,
123 sysdeps/m68k/fpu/s_isinf.c, sysdeps/m68k/fpu/s_ldexp.c,
124 sysdeps/m68k/fpu/s_modf.c: Define generic functions using FUNC and
125 float_type with appropriate defaults.
127 * sysdeps/m68k/fpu/e_acosf.c, sysdeps/m68k/fpu/e_fmodf.c,
128 sysdeps/m68k/fpu/k_cosf.c, sysdeps/m68k/fpu/k_sinf.c,
129 sysdeps/m68k/fpu/k_tanf.c, sysdeps/m68k/fpu/s_atanf.c,
130 sysdeps/m68k/fpu/s_frexpf.c, sysdeps/m68k/fpu/s_ilogbf.c,
131 sysdeps/m68k/fpu/s_isinff.c, sysdeps/m68k/fpu/s_ldexpf.c,
132 sysdeps/m68k/fpu/s_modff.c: Include the corresponding double
133 versions with appropriate definitions to get float functions,
134 instead of defining them directly.
136 * sysdeps/m68k/fpu/acos.c: File removed.
137 * sysdeps/m68k/fpu/asin.c: File removed.
138 * sysdeps/m68k/fpu/atan.c: File removed.
139 * sysdeps/m68k/fpu/atan2.c: File removed.
140 * sysdeps/m68k/fpu/atanh.c: File removed.
141 * sysdeps/m68k/fpu/ceil.c: File removed.
142 * sysdeps/m68k/fpu/cos.c: File removed.
143 * sysdeps/m68k/fpu/cosh.c: File removed.
144 * sysdeps/m68k/fpu/drem.c: File removed.
145 * sysdeps/m68k/fpu/exp.c: File removed.
146 * sysdeps/m68k/fpu/expm1.c: File removed.
147 * sysdeps/m68k/fpu/fabs.c: File removed.
148 * sysdeps/m68k/fpu/fl.h: File removed.
149 * sysdeps/m68k/fpu/floor.c: File removed.
150 * sysdeps/m68k/fpu/fmod.c: File removed.
151 * sysdeps/m68k/fpu/frexp.c: File removed.
152 * sysdeps/m68k/fpu/isinf.c: File removed.
153 * sysdeps/m68k/fpu/isinfl.c: File removed.
154 * sysdeps/m68k/fpu/isnan.c: File removed.
155 * sysdeps/m68k/fpu/isnanl.c: File removed.
156 * sysdeps/m68k/fpu/ldexp.c: File removed.
157 * sysdeps/m68k/fpu/log.c: File removed.
158 * sysdeps/m68k/fpu/log10.c: File removed.
159 * sysdeps/m68k/fpu/log1p.c: File removed.
160 * sysdeps/m68k/fpu/logb.c: File removed.
161 * sysdeps/m68k/fpu/pow.c: File removed.
162 * sysdeps/m68k/fpu/rint.c: File removed.
163 * sysdeps/m68k/fpu/sin.c: File removed.
164 * sysdeps/m68k/fpu/sinh.c: File removed.
165 * sysdeps/m68k/fpu/sqrt.c: File removed.
166 * sysdeps/m68k/fpu/tan.c: File removed.
167 * sysdeps/m68k/fpu/tanh.c: File removed.
169 Thu Jun 6 00:02:15 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
171 * sysdeps/unix/sysv/linux/syscalls.list: Add select (the syscall name
173 * sysdeps/unix/sysv/linux/select.S: File removed.
175 * sysdeps/unix/sysv/linux/m68k/select.S: File removed; obsolete with
176 current kernels, generic linux version is fine.
178 * locale/Makefile: Add vpath for %.gperf to programs.
180 * Make-dist (+tsrcs): Variable removed.
181 (dist): Process $^ here instead of using $(+tsrcs).
183 * sysdeps/unix/sysv/linux/Makefile (install-others): Don't set.
184 ($(includedir)/sys/syscall.h): Target removed.
185 (sysdep_headers): Add syscall-list.h.
186 ($(objpfx)syscall-%.[dh]): New rule to build syscall-list.[dh].
187 (generated): Add those.
188 * sysdeps/unix/sysv/linux/syscall.h: Include <syscall-list.h>.
190 Wed Jun 5 15:57:28 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
192 * misc/sys/syscall.h: New file.
193 * misc/Makefile (headers): Add sys/syscall.h.
195 * time/tzfile.h, time/private.h, time/zdump.c, time/zic.c,
196 time/africa, time/asia, time/australasia, time/europe,
197 time/northamerica, time/southamerica: Updated from ADO 96h.
199 * Make-dist (all-headers): Filter $(sysdep_headers) out of $(headers).
200 (try-sysdeps, +sysdep-names): Check sysdeps/libm-ieee754 too.
202 * Makerules (distinfo-vars): Add sysdep_headers.
203 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Append to
204 this instead of $(headers).
205 * sysdeps/unix/sysv/linux/alpha/Makefile: Likewise.
206 * sysdeps/unix/sysv/linux/i386/Makefile: Likewise.
208 * Make-dist [subdirs-dirs]: Don't prefix $(subdir-dirs) with
209 $(subdir); we are already there.
211 * sysdeps/unix/sysv/sysv4/solaris2/sparc/Dist: Removed.
213 * mach/Machrules: Undo last change.
214 (mach-generated): List .uh and .__h files only for $(user-interfaces),
215 not for each .h in $(interface-headers); server-interfaces have no .uh
218 Wed Jun 5 15:42:51 1996 Miles Bader <miles@gnu.ai.mit.edu>
220 * mach/Machrules (%_server.uh, %_server.__h): New rules, so that the
221 corrsponding .defs file with without the `_server' will be used.
223 * mach/Makefile (mach/mach_interface.defs): Renamed from
225 (mach/memory_object_user.defs): New variable.
227 Wed Jun 5 15:10:58 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
229 * Make-dist [subdir-dirs]: Set vpath for %, not just %.c.
231 * locale/Makefile (subdir-dirs): New variable.
233 Wed Jun 5 00:01:19 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
235 * Makerules (distinfo-vars): Add sysdep_routines.
237 * mach/Machrules (include-%.defs): New canned sequence.
238 Change all uses of `#include <$*.defs>' in cmds to use it.
239 * mach/Makefile (mach_interface.defs): New variable, set to mach.defs.
241 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle RESOLVE being
242 null in all cases but R_386_COPY.
245 Wed Jun 5 00:01:19 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
247 * sysdeps/unix/bsd/ultrix4/mips/Dist: Updated.
248 * sysdeps/unix/bsd/ultrix4/Dist: Removed.
249 * sysdeps/unix/sysv/sysv4/Dist: Updated.
250 * sysdeps/unix/sysv/sco3.2.4/Dist: Removed.
251 * sysdeps/unix/sysv/irix4/Dist: Updated.
252 * sysdeps/unix/sysv/linux/i386/Dist: Removed.
253 * sysdeps/unix/sysv/Dist: Updated.
254 * sysdeps/unix/bsd/sun/sunos4/Dist: Removed.
255 * sysdeps/unix/bsd/sony/newsos4/Dist: Removed.
256 * sysdeps/gnu/Dist: New file.
257 * sysdeps/alpha/Dist: Updated.
258 * sysdeps/mach/hurd/Dist: Updated.
260 * Make-dist [subdir-dirs]: Set a vpath for %.c.
262 * Make-dist (README): Fix typo in cvs cmd.
264 * elf/dl-lookup.c (_dl_lookup_symbol): Fix typos in last change.
265 Comment out ref to nonexistent _dl_close.
267 Tue Jun 4 21:01:20 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
269 * math/Makefile (libm-support, libm-calls): New variables.
270 (libm-routines): Construct this from those.
271 (calls): New variable.
272 (routines): Construct this from it.
274 * resolv/res_debug.c: Add missing #include <ctype.h>.
276 * sysdeps/unix/getlogin.c: Must pass struct utmp ptr to getutline_r.
277 * sysdeps/unix/getlogin_r.c: Likewise.
279 * sysdeps/libm-ieee754/w_hypotl.c: Fix typo.
281 * sysdeps/libm-ieee754/w_cabsl.c: __cabsl_complex -> __cabs_complexl
283 * math/Makefile (long-m-routines): Define recursive variable as
284 $(long-m-$(long-double-fcts)).
285 (long-m-yes): Put list of routines here.
286 (long-c-routines, long-c-yes): Likewise.
288 * sysdeps/unix/sysv/linux/schedbits.h: File removed.
290 * sysdeps/i386/Makefile (long-double-fcts): New variable, set to yes.
291 * sysdeps/m68k/Makefile: Likewise.
293 * math/Makefile [$(long-double-fcts)!=yes] (CPPFLAGS): Append
296 * sysdeps/mach/hurd/getlogin_r.c: New file.
298 Wed Jun 5 02:11:30 1996 Ulrich Drepper <drepper@cygnus.com>
300 * io/Makefile (routines): Add ttyname_r.
302 * resolv/res_debug.c, resolv/resolv.h: Update from bind-4.3.4-T4A.
304 * sysdeps/libm-i387/e_asinl.S, sysdeps/libm-i387/e_atan2l.S,
305 sysdeps/libm-i387/e_expl.S, sysdeps/libm-i387/e_fmodl.S,
306 sysdeps/libm-i387/e_log10l.S, sysdeps/libm-i387/e_logl.S,
307 sysdeps/libm-i387/e_remainderl.S, sysdeps/libm-i387/e_scalbl.S,
308 sysdeps/libm-i387/e_sqrtl.S, sysdeps/libm-i387/s_atanl.S,
309 sysdeps/libm-i387/s_cosl.S, sysdeps/libm-i387/s_ilogbl.S,
310 sysdeps/libm-i387/s_log1pl.S, sysdeps/libm-i387/s_logbl.S,
311 sysdeps/libm-i387/s_scalbnl.S, sysdeps/libm-i387/s_sinl.S,
312 sysdeps/libm-i387/s_tanl.S: New files. i387 assembler versions
313 of `long double' math functions.
315 * sysdeps/libm-ieee754/k_standard.c: Add handling for errors
316 in long double functions.
318 * sysdeps/libm-ieee754/s_ilogbl.c, sysdeps/libm-ieee754/s_logbl.c,
319 sysdeps/libm-ieee754/s_modfl.c: New files. Generic versions
320 of `long double' math functions.
322 * sysdeps/libm-ieee754/s_isinf.c [NO_LONG_DOUBLE]: Add string
325 * sysdeps/libm-ieee754/w_acoshl.c, sysdeps/libm-ieee754/w_acosl.c,
326 sysdeps/libm-ieee754/w_asinl.c, sysdeps/libm-ieee754/w_atan2l.c,
327 sysdeps/libm-ieee754/w_atanhl.c, sysdeps/libm-ieee754/w_cabsl.c,
328 sysdeps/libm-ieee754/w_coshl.c, sysdeps/libm-ieee754/w_dreml.c,
329 sysdeps/libm-ieee754/w_expl.c, sysdeps/libm-ieee754/w_fmodl.c,
330 sysdeps/libm-ieee754/w_gammal.c, sysdeps/libm-ieee754/w_gammal_r.c,
331 sysdeps/libm-ieee754/w_hypotl.c, sysdeps/libm-ieee754/w_j0l.c,
332 sysdeps/libm-ieee754/w_j1l.c, sysdeps/libm-ieee754/w_jnl.c,
333 sysdeps/libm-ieee754/w_lgammal.c, sysdeps/libm-ieee754/w_lgammal_r.c,
334 sysdeps/libm-ieee754/w_log10l.c, sysdeps/libm-ieee754/w_logl.c,
335 sysdeps/libm-ieee754/w_powl.c, sysdeps/libm-ieee754/w_remainderl.c,
336 sysdeps/libm-ieee754/w_scalbl.c, sysdeps/libm-ieee754/w_sinhl.c,
337 sysdeps/libm-ieee754/w_sqrtl.c: New files. Wrapper functions
338 around long double function implementations.
340 * sysdeps/posix/ttyname_r.c (ttyname_r): Use _D_EXACT_NAMLEN
341 to determine length of directory entry name.
343 * posix/Makefile (routines): Add getlogin_r.
344 * posix/unistd.h: Add prototype for getlogin_r.
345 * sysdeps/stub/getlogin_r.c: New file. Reentrant version of
346 getlogin function, specified in P1003.1c/D6. Stub version.
347 * sysdeps/unix/getlogin.c (getlogin): Use ttyname_r instead of
348 ttyname. This avoids saving and restoring the old content.
349 Also use setutent_r, getutline_r and endutent_r instead of
350 accing UTMP file directly.
351 * sysdeps/unix/getlogin_r.c: New file. Reentrant version of
352 getlogin function, specified in P1003.1c/D6.
354 Tue Jun 4 20:10:09 1996 J.T. Conklin <jtc@cygnus.com>
356 * sysdeps/libm-i387/s_finitef.S: Fix mask for exponent.
358 Tue Jun 4 18:57:57 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
360 * elf/dl-lookup.c (_dl_lookup_symbol): Grok magical undefined symbols
361 _GNU_libc_dl_{open,close,symbol} and resolve them to dl functions.
363 * elf/rtld.c (rtld_map): Renamed to _dl_rtld_map, made global.
364 * elf/link.h: Declare _dl_rtld_map.
366 * elf/dl-lookup.c (_dl_symbol_value): New function.
367 * elf/link.h: Declare it.
369 * elf/dladdr.c: Remove #include <setjmp.h>, we don't use it.
371 * shlib-versions: Set libdl=2.
373 * elf/dl-deps.c (_dl_map_object_deps): Use a linked list of alloca'd
374 elements and then scan it to fill the single malloc'd array, instead
375 of using realloc to grow the array in the first pass. _dl_map_object
376 may do some mallocs that break our stream of reallocs, and the minimal
377 realloc can't handle that.
379 * elf/dl-init.c (_dl_init_next): Take argument, link_map whose
380 searchlist describes the piece of the DT_NEEDED graph to be
382 * elf/link.h: Update prototype.
383 * sysdeps/i386/dl-machine.h (RTLD_START): Pass _dl_loaded as argument
385 * sysdeps/m68k/dl-machine.h: Likewise.
386 * elf/dl-deps.c (_dl_open): Pass new object as arg to _dl_init_next.
388 * elf/link.h (struct link_map): Add `l_reserved' member, soaking up
389 extra bits in last byte.
390 * elf/dl-deps.c (_dl_map_object_deps): Use that for mark bit to avoid
391 putting dup elts in search list.
393 * elf/dlclose.c: Use MAP->l_searchlist to find deps to close.
395 * elf/dlsym.c: Don't tweak linked list. Scope array given to
396 _dl_lookup_symbol does the right thing.
398 * elf/Makefile (subdir_lib): Change this target to lib-noranlib.
399 (lib-noranlib): Depend on on $(extra-objs).
401 * errno.h: Move __END_DECLS out of #ifdef's so it matches
404 Tue Jun 4 02:25:44 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
406 * stdio-common/vfprintf.c [USE_IN_LIBIO] (size_t): Don't define as
407 macro. _IO_size_t is just an alias for the real size_t anyway.
409 * elf/Makefile (libdl-routines): Add dladdr.
410 * elf/dladdr.c: New file.
411 * elf/dlfcn.h (Dl_info): New typedef.
412 (dladdr): Declare it.
414 * sysdeps/libm-i387/s_finite.S: Use `setne' instead of `setnel'.
416 * intl/l10nflist.c: Fix conditional on #include <argz.h>.
418 * libio/stdio.h (FOPEN_MAX, FILENAME_MAX, TMP_MAX, L_tmpnam): Macros
419 removed. Instead, include <stdio_lim.h>.
421 * libio/_G_config.h: New file.
422 * libio/Makefile (headers): Add _G_config.h.
424 * MakeTAGS (po/errlist.pot): Extract from sysdeps/gnu/errlist.c.
426 * sysdeps/unix/sysv/linux/gnu/types.h (__KERNEL_STRICT_NAMES): Define
427 this macro too; current Linux kernels test that instead of
428 _LINUX_TYPES_DONT_EXPORT.
430 * elf/linux-compat.c (_init): Pass reloc_addr arg to _dl_lookup_symbol.
432 * elf/dl-lookup.c (_dl_lookup_symbol): Use l_searchlist.
434 * elf/dl-deps.c: New file.
435 * elf/Makefile (rtld-routines): Add dl-deps.
436 * elf/link.h: Declare _dl_map_object_deps, _dl_open.
437 * elf/rtld.c (dl_main): Use _dl_map_object_deps.
438 * elf/dlopen.c: Use _dl_open.
440 * elf/rtld.c (dl_main): Remove BEFORE_RTLD variable and list
441 frobnication based on its value. Detach RTLD_MAP from the chain if
442 its l_opencount is zero after loading deps.
444 * elf/dlfcn.h (RTLD_BINDING_MASK): New macro.
446 * elf/link.h (struct link_map): Replace l_deps_loaded flag member with
447 `struct link_map **l_searchlist' and `unsigned int l_nsearchlist'.
448 * elf/dl-lookup.c (_dl_lookup_symbol): Make SYMBOL_SCOPE arg an array
449 of two link_map ptrs. Search the maps in the l_searchlist of each
450 elt that is not null.
451 * elf/dl-reloc.c (_dl_relocate_object): Pass proper SCOPE array.
452 * elf/dl-runtime.c: Likewise.
453 * elf/dlsym.c: Likewise.
454 * elf/rtld.c (dl_main): Likewise.
456 * elf/dl-minimal.c (realloc): Support realloc of the block most
457 recently returned by the minimal malloc.
459 Tue Jun 4 00:16:03 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
461 * sysdeps/gnu/errlist.awk: Produce N_("..."), not _N("...").
463 * intl: Updated from gettext-0.10.13.
464 * intl/localealias.c, intl/dcgettext.c [_LIBC]: Define HAVE_ALLOCA.
466 * signal/siggetmask.c: New file. Wrapper around sigblock with
467 link_warning about obsolescence.
468 * signal/Makefile (routines): Add siggetmask.
470 * sysdeps/gnu/errlist.awk: New file, adapted from ...
471 * sysdeps/mach/hurd/errlist.awk: File removed, above file replaces it.
472 * sysdeps/mach/hurd/Makefile (errlist.c): Target removed.
473 * sysdeps/gnu/Makefile: New file.
474 (sysdeps/gnu/errlist.c): Make the errlist.c generation rule into this.
476 Mon Jun 3 21:03:54 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
478 * manual/errno.texi (Error Codes): Add placeholder items for missing
479 Linux/i386 errno codes, with perror text but no documentation.
480 Some existing perror texts changed.
482 * malloc/mcheck.c (freehook, reallochook): Handle null pointer args.
484 * hurd/hurdsig.c (_hurd_internal_post_signal): When setting ACT to
485 `ignore, resume the thread if SS_SUSPENDED, regardless of old action.
487 Sun Jun 2 20:14:30 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
489 * locale/programs/linereader.c (lr_open): Don't pass NULL to
490 xstrdup; fix memory leak.
491 (lr_close): Fix memory leak.
493 Mon Jun 3 15:58:22 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu>
495 * hurd/hurdsig.c (_hurd_internal_post_signal): When turning the action
496 for a HANDLE signal to IGNORE because the signal is blocked, clean
497 up any pending suspension left over from a call to resume.
499 Mon Jun 3 00:30:35 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
501 * elf/dl-lookup.c (_dl_lookup_symbol): Take new arg RELOC_ADDR and
502 don't allow a defn resolving to that address.
504 * elf/link.h: Update prototype and comment.
505 * elf/dl-runtime.c (fixup): Define local `resolve' function and pass
506 it to elf_machine_relplt.
507 * elf/dl-reloc.c (_dl_relocate_object: resolve): Take new arg
508 RELOC_ADDR and pass it through to _dl_lookup_symbol.
509 * elf/do-rel.h (elf_dynamic_do_rel): Pass RESOLVE to elf_machine_rel
510 instead of calling it ourselves and passing its results.
511 (elf_dynamic_do_rel): RESOLVE fn takes new arg RELOC_ADDR.
512 * elf/rtld.c (dl_main): Pass 0 for RELOC_ADDR to _dl_lookup_symbol.
513 * sysdeps/i386/dl-machine.h (elf_machine_rel): Remove SYM_LOADADDR
514 arg. Add RESOLVE function ptr arg. Call *RESOLVE as necessary.
515 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
516 * sysdeps/stub/dl-machine.h: Likewise.
518 Sun Jun 2 14:56:49 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
520 * csu/initfini.c (_fini): Add extern decl for i_am_not_a_leaf.
522 * elf/dlfcn.h (dl_open_mode): Enumerated type removed.
523 (RTLD_LAZY, RTLD_NOW): Define these as macros instead.
524 (RTLD_GLOBAL): New macro.
525 (dlopen): Take arg of type int instead of dl_open_mode.
526 * elf/dlopen.c: Likewise.
528 * math/math.h (_Mldbl): New macro, either produces L suffix or not.
529 (M_*): Use it for these constants.
531 * elf/dl-lookup.c (_dl_lookup_symbol): Arg NOSELF renamed to NOPLT.
532 Reject SHN_UNDEF defns iff NOPLT is nonzero.
533 * elf/link.h (_dl_lookup_symbol): Update prototype and comment.
534 * elf/dl-runtime.c (fixup): Pass 1 to _dl_lookup_symbol for NOPLT.
535 * elf/dlsym.c (dlsym): Pass 0.
536 * elf/rtld.c (dl_main): Likewise.
537 * elf/dl-reloc.c (_dl_relocate_object: resolve): Second arg R_OFFSET
538 replaced with NOPLT flag. Pass it through to _dl_lookup_symbol.
539 * elf/do-rel.h (elf_dynamic_do_rel): Update prototype of RESOLVE arg.
540 Pass `elf_machine_pltrel_p (R->r_type)' result as NOPLT flag value.
541 * sysdeps/i386/dl-machine.h (elf_machine_pltrel_p): New macro.
542 * sysdeps/m68k/dl-machine.h (elf_machine_pltrel_p): Likewise.
543 * sysdeps/stub/dl-machine.h (elf_machine_pltrel_p): Likewise.
545 * login/pututline_r.c: Fix typo in sizeof for DATA_TMP alloca.
547 * sysdeps/generic/gnu/types.h (__clock_t): New type.
549 Wed May 29 00:57:37 1996 David Mosberger-Tang <davidm@azstarnet.com>
551 * sysdeps/unix/sysv/linux/gnu/types.h (__clock_t, __fsid_t): Define
553 * time/time.h (clock_t): Include <gnu/types.h> and define using
556 * time/Makefile (tests): Add test-tz.
558 * time/test-tz.c: New test.
560 * time/clocktest.c: Rewrite to test more meaningfully.
562 * sysdeps/unix/sysv/linux/syscalls.list: Add bdflush,
563 create_module, delete_module, get_kernel_syms, init_module,
566 * sysdeps/unix/sysv/linux/sys/param.h (MAXSYMLINKS): Define as 5
567 instead of SYMLOOP_MAX, which is nowhere to be found.
569 * sysdeps/unix/sysv/linux/sys/msq_buf.h,
570 sysdeps/unix/sysv/linux/sys/sem_buf.h,
571 sysdeps/unix/sysv/linux/sys/shm_buf.h [__USE_MISC]: Add more
572 control ops and datastructures.
574 * sysdeps/unix/sysv/linux/sys/io.h: New file declaring low-level
575 I/O related functions.
577 * sysdeps/unix/sysv/linux/sys/kdaemon.h: New file declaring kernel
578 daemon related functions/operations.
580 * sysdeps/unix/sysv/linux/sys/klog.h: New file declaring kernel
581 logging related functions/operations.
583 * sysdeps/unix/sysv/linux/sys/module.h: New file declaring kernel
584 module related functions/operations.
586 * sysdeps/unix/sysv/linux/speed.c: Only do "mention this twice" hack
587 for non-Alpha based Linux systems.
589 * sysdeps/unix/sysv/linux/alpha/speed.c: Remove.
591 * sysdeps/unix/sysv/linux/Makefile (headers): Add sys/module.h,
592 sys/io.h, sys/klog.h, and sys/kdaemon.h.
594 * sysdeps/unix/sysdep.h (END): Define empty END macro for
595 platforms that don't need some sort of end directive at the
598 * sysdeps/unix/make-syscalls.sh: Emit END($strong) at end of
599 syscall wrapper to allow correct generation of debugging
602 * sysdeps/unix/alpha/sysdep.h (END): Redefine to use .end
603 directive for both ELF and ECOFF.
604 (ret): Delete macro. It was a dangerous macro and unnecessary
605 since the Alpha assemblers recognizes "ret" as a macro themselves.
607 * sysdeps/gnu/utmpbits.h (struct utmp): Move ut_tv behind
608 ut_session to guarantee long alignment. This is important for
609 Linux/Alpha since ut_tv.tv_sec is 32 bits and time_t is 64 bits.
610 This will all get cleaned up as programs start to use ut_tv
613 * sysdeps/alpha/divrem.h: Include <sysdep.h> instead of <*/regdef.h>.
615 * sysdeps/alpha/bsd-_setjmp.S (setjmp): Renamed entry point to
618 * sysdeps/alpha/_mcount.S, sysdeps/alpha/bb_init_func.S,
619 sysdeps/alpha/bsd-_setjmp.S, sysdeps/alpha/bsd-setjmp.S,
620 sysdeps/alpha/copysign.S, sysdeps/alpha/divrem.h,
621 sysdeps/alpha/fabs.S, sysdeps/alpha/ffs.S, sysdeps/alpha/htonl.S,
622 sysdeps/alpha/htons.S, sysdeps/alpha/memchr.S,
623 sysdeps/alpha/setjmp.S, sysdeps/alpha/strlen.S,
624 sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S,
625 sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S,
626 sysdeps/unix/sysv/linux/alpha/llseek.S,
627 sysdeps/unix/sysv/linux/alpha/pipe.S,
628 sysdeps/unix/sysv/linux/alpha/sigsuspend.S,
629 sysdeps/unix/sysv/linux/alpha/sysdep.S: Use END macro instead of
632 * csu/initfini.c (_fini): Tell gcc that _fini is not a leaf
633 function by having it contain a dummy function call.
635 * configure.in (config_machine): Don't make ELF the default for
636 Linux/Alpha just yet (use --with-elf instead).
637 (.init/.fini check): Generate .text to ensure function start and
638 end are in same section.
640 * sysdeps/unix/bsd/osf/alpha/brk.S,
641 sysdeps/unix/sysv/linux/alpha/brk.S (__curbrk): Store the entire
642 break value, not just the low 32 bits to accomodate large
645 Tue May 28 10:46:04 1996 Richard Henderson <rth@tamu.edu>
647 * sysdeps/unix/sysv/linux/alpha/brk.S: Rather than attempt to
648 dynamically resolve _end for initializing __curbrk, support the
651 * sysdeps/alpha/bb_init_func.S: Don't make `init' an external symbol.
653 * sysdeps/alpha/bsd-_setjmp.S: The function is _setjmp not setjmp.
655 Sun May 26 22:17:38 1996 Richard Henderson <rth@tamu.edu>
657 * stdlib/lcong48_r.c, stdlib/seed48_r.c, stdlib/strtod.c,
658 stdlib/strtol.c: Include <string.h> for mem* and str* fns used.
660 Thu May 23 02:15:56 1996 David Mosberger-Tang <davidm@azstarnet.com>
662 * sysdeps/unix/sysv/linux/Makefile (headers): Add sys/io.h,
663 sys/klog.h, and sys/kdaemon.h.
665 * sysdeps/unix/sysv/linux/sys/io.h: New file.
666 * sysdeps/unix/sysv/linux/sys/klog.h: Ditto.
667 * sysdeps/unix/sysv/linux/sys/kdaemon.h: Ditto.
669 * sysdeps/unix/alpha/sysdep.h (ret): Remove macro. It is
670 dangerous and unnecessary since both OSF/1 as and gas define "ret"
671 as a pseudo-instruction.
673 Sat Jun 1 17:18:21 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
675 * time/tzset.c (__tzset): Clear tz_rules name pointers after freeing
676 them. Bug found by David Mosberger-Tang.
678 * sysdeps/posix/tempname.c (__stdio_gen_tempname): Use __ptr_t instead
681 * extra-lib.mk (extra-objs): Use patsubst intead of $(A:=B) syntax
682 to work around Make bug when A contains var ref.
684 Fri May 31 18:27:52 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
686 * string/string.h [__USE_MISC]: Declare basename; OSF/1 puts it here.
688 * sysdeps/unix/sysv/linux/syscalls.list (getpgid, setpgid): Define __
689 strong names and [gs]etpgid as weak aliases.
691 Thu May 30 11:24:05 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
693 * math/math_private.h (GET_LDOUBLE_EXP): Add missing backslash.
695 * po/header.pot: Replace with exact boilerplate pinard dictates.
697 * sysdeps/i386/strtok.S (Lillegal_argument): Remove this code to set
698 errno and the check that jumped to it.
700 * sysdeps/mach/hurd/Makefile (errnos.d): Use $(sed-remove-objpfx).
702 Thu May 30 03:21:57 1996 Ulrich Drepper <drepper@cygnus.com>
704 * FAQ: Document need of gperf program for developers.
706 * elf/elf.h: Fix typos in comments.
708 * libio/stdio.h [!__STRICT_ANSI__ || _POSIX_SOURCE]: Add
709 prototypes for `ctermid' and `cuserid'.
711 * locale/programs/locale.c: Switch to user selected locale
712 before printing variables.
714 * math/Makefile [$(long-double-fcts)==yes]: Define long-m-routines
715 and long-c-routines. Only if the `long double' data type is
716 available we need to compile the functions.
717 (libm-routines): Add $(long-m-routines).
718 (routines): Remove isinfl, isnanl. Use new file s_isinfl and
719 s_isnanl instead if `long double' is available.
721 * math/math.h: Include <mathcalls.h> again to define `long double'
724 * math/math_private.h: Define data types, prototypes and access
725 macros for `long double'.
727 * stdlib/stdlib.h: Add prototypes for `strtoll' and `strtoull'.
728 [GCC2 && OPTIMIZE]: Define strto{,u}ll as inline function which
729 calls __strto{,u}q_internal.
731 * stdlib/strfmon.c: Replace PTR by `void *'.
733 * stdlib/strtoq.c: Define strtoll as weak alias.
734 * stdlib/strtouq.c: Define strtoull as weak alias.
736 * string/tester.c: Correct `strsep' test.
738 * sysdeps/generic/strsep.c: Make compatible with BSD version.
739 Trailing characters of skip set are not skipped. In this case
740 empty tokens are returned.
742 * sysdeps/i386/isinfl.c, sysdeps/i386/isnanl.c,
743 sysdeps/ieee754/isinf.c, sysdeps/ieee754/isinfl.c,
744 sysdeps/ieee754/isnan.c, sysdeps/ieee754/isnanl.c: Removed. We
745 now use the versions part of libm.
747 * sysdeps/i386/strsep.S: Removed. Generic C version is of
749 * sysdeps/i386/strtok.S: Remove support for `strsep'.
751 * sysdeps/libm-i387/e_acosl.S, sysdeps/libm-i387/s_ceill.S,
752 sysdeps/libm-i387/s_copysignl.S, sysdeps/libm-i387/s_finitel.S,
753 sysdeps/libm-i387/s_floorl.S, sysdeps/libm-i387/s_isinfl.c,
754 sysdeps/libm-i387/s_isnanl.c, sysdeps/libm-i387/s_nextafterl.c,
755 sysdeps/libm-i387/s_rintl.S, sysdeps/libm-i387/s_significandl.S:
756 New i387 specific math functions implementing `long double'
759 * sysdeps/libm-ieee754/s_ceill.c,
760 sysdeps/libm-ieee754/s_copysignl.c,
761 sysdeps/libm-ieee754/s_fabsl.c, sysdeps/libm-ieee754/s_finitel.c,
762 sysdeps/libm-ieee754/s_floorl.c, sysdeps/libm-ieee754/s_isinfl.c,
763 sysdeps/libm-ieee754/s_isnanl.c,
764 sysdeps/libm-ieee754/s_nextafterl.c,
765 sysdeps/libm-ieee754/s_rintl.c, sysdeps/libm-ieee754/s_scalbnl.c,
766 sysdeps/libm-ieee754/s_significandl.c: New generic `long double'
767 versions of libm functions.
769 * sysdeps/libm-i387/e_exp.S: Add a few comments to explain the
772 * sysdeps/libm-i387/s_ceil.S, sysdeps/libm-i387/s_ceilf.S,
773 sysdeps/libm-i387/s_floor.S, sysdeps/libm-i387/s_floorf.S: Correct
774 handling of local variables. The old version created a stack
775 frame but stored the values outside.
777 * sysdeps/libm-ieee754/s_isinf.c, sysdeps/libm-ieee754/s_isnan.c
778 [!NO_LONG_DOUBLE]: Define alias with `long double' versions name.
780 Wed May 29 12:53:10 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
782 * login/pututline_r.c: Include sys/stat.h. Fix typos.
784 * version.h (VERSION): Set to 1.90.
786 * Makerules (distinfo-vars): Write extra-libs and *-routines for each
788 * MakeTAGS (sources): Add those sources.
790 * MakeTAGS (all-sources): Add $(others:=.c) and $(tests:=.c).
792 Wed May 29 08:53:08 1996 Miles Bader <miles@gnu.ai.mit.edu>
794 * hurd/report-wait.c (_S_msg_report_wait): Return `itimer' for the
797 * hurd/hurdinit.c (_hurd_init): Set _HURDSIG_TRACED before calling
800 Wed May 29 00:52:20 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
802 * string/tester.c (main): Fix strsep tests 6, 7, 20 to expect null
803 token instead of it being implicitly skipped.
805 * sysdeps/i386/fpu/__math.h (logb): Correct contraint from =u to =t.
806 Must operate on top of fp reg stack, not second from top.
808 * extra-lib.mk (alltypes-$(lib)): Don't append $(objpfx)$(lib).so.
809 (others): Instead, make this depend on it.
811 Tue May 28 04:38:10 1996 Ulrich Drepper <drepper@cygnus.com>
813 * limits.h: Change MB_LEN_MAX to 6. A 31-bit ISO 10646
814 character in UTF-8 encoding has that many bytes.
816 * locale/langinfo.h: New element _NL_CTYPE_MB_CUR_MAX.
817 * locale/categories.def: Add description of field _NL_CTYPE_MB_CUR_MAX.
818 * locale/Makefile (routines): Add mb_cur_max.
819 * locale/mb_cur_max.c: New file. This function gets called
820 when the macro MB_CUR_MAX is used.
821 * locale/C-ctype.c: Initialize new mb_cur_max field.
822 * locale/localeinfo.h: Change magic value because of incompatible
824 * locale/programs/ld-ctype.c: Determine value of mb_cur_max
825 according to current character set and write it out with the rest.
826 * stdlib/stdlib.h (MB_CUR_MAX): Not constant anymore. Get value
827 according to currently used locale for category LC_CTYPE by
828 calling the function __ctype_get_mb_cur_max.
830 Tue May 28 03:27:46 1996 Ulrich Drepper <drepper@cygnus.com>
832 * FAQ: Fix some typos.
833 Tell that for Linux the kernel header files are necessary.
835 * PROJECTS: New file. List of open jobs for glibc.
836 * Makefile (distribute): Add PROJECTS.
838 * crypt/GNUmakefile (headers): New variable. Mention crypt.h.
839 * crypt/crypt.h: Header for crypt functions.
841 * elf/elf.h: Add some new constants from recent Cygnus ELF
844 * login/getutid_r.c: Test for correct type.
845 Don't depend on ut_type and ut_id unless _HAVE_UT_TYPE and
846 _HAVE_UT_ID resp. are defined.
847 Make really compliant with specification.
849 * login/getutline_r.c, login/pututline_r.c: Don't depend on
850 ut_type and ut_id unless _HAVE_UT_TYPE and _HAVE_UT_ID resp. are
852 Make really compliant with specification.
854 * login/setutent_r.c: Don't depend on ut_type and ut_id unless
855 _HAVE_UT_TYPE and _HAVE_UT_ID resp. are defined.
857 * login/login.c, login/logout.c, login/logwtmp.c: Complete
858 rewrite. Now based on getut*/setut* functions.
860 * stdlib/strtol.c: Undo changes of Wed May 22 01:48:54 1996.
861 This prevented using this file in other GNU packages.
863 * sysdeps/gnu/utmpbits.h: Define _HAVE_UT_TYPE, _HAVE_UT_ID,
864 and _HAVE_UT_TV because struct utmp has these members.
866 * sysdeps/libm-i387/e_exp.S: Correct exp(+-Inf) case.
868 * utmp.h: New file. Wrapper around login/utmp.h.
870 Tue May 28 13:11:19 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
872 * elf/dl-error.c (struct catch): New type.
873 (catch): New static variable, struct catch *.
874 (catch_env, signalled_errstring, signalled_objname): Variables removed.
875 (_dl_signal_error): If CATCH is non-null, set its errstring and
876 objname members and jump to CATCH->env. If it is null, call
877 _dl_sysdep_fatal with a standard message.
878 * elf/rtld.c (dl_main): Explode `doit' function into dl_main's body.
879 No longer use _dl_catch_error.
881 * Makerules (sed-remove-objpfx): Avoid extra space in regexp due to
884 * sysdeps/unix/sysv/linux/i386/socket.S: Fix off-by-one error in
885 setting %ecx to 2nd syscall arg: we have pushed nothing, so function
886 args are found at 4(%esp), not 8(%esp).
888 Mon May 27 10:10:00 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
890 * Makefile ($(includedir)/stubs.h): Add missing backslash.
892 * sysdeps/unix/sysv/linux/i386/brk.c (__curbrk): Initialize it so it
895 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=termios] (headers):
898 * Makefile ($(includedir)/stubs.h): Print a msg if we do nothing.
900 * misc/sgtty.h: Add forward decl of struct sgttyb in case it is never
903 * sysdeps/unix/sysv/linux/termio.h: New file.
904 * sysdeps/unix/sysv/linux/Dist: Add it.
906 * sysdeps/unix/sysv/linux/ioctl-types.h: New file, wrapper around
907 kernel header <asm/termios.h>.
909 * misc/Makefile (headers): Add ioctl-types.h.
910 * sysdeps/generic/ioctl-types.h: New file.
911 * misc/sys/ioctl.h: Include <ioctl-types.h>.
912 (struct tchars, struct ltchars, struct sgttyb, struct winsize,
913 struct ttysize): Types moved there.
915 * Makefile ($(includedir)/stubs.h): Don't touch target if new one is
918 * time/Makefile (z.% rule): Generate generic zone%/ rule after
919 zone%/right/ and zone%/posix/ rules so they match first.
921 Sun May 26 15:15:08 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
923 * features.h [_GNU_SOURCE] (_BSD_SOURCE, _SVID_SOURCE,
924 _POSIX_SOURCE, _POSIX_C_SOURCE): Define these.
926 * time/Makefile (tzcompile): Add missing backslash.
928 * stdlib/ldiv.c: Deansideclized.
930 * wctype/wctype.h (__need_wint_t): Define this and include stddef.h.
931 [! _WINT_T] (wint_t): Conditionalize typedef on this in case pre-2.7.3
932 stddef.h doesn't define it.
933 * wcsmbs/wchar.h: Likewise.
934 * stdlib/strtod.c: Likewise.
936 * wcsmbs/wcstok.c: Fix argument name typo.
938 Sun May 26 19:39:53 1996 Ulrich Drepper <drepper@cygnus.com>
940 * intl/loadmsgcat.c (_nl_load_domain): Test correct variable
943 * string/Makefile (tester-ENV): New variable to suppress message
946 * string/tester.c: Add tests for strtok_r and strsep.
948 * sysdeps/i386/i486/strcat.S: Correct some more 8bit operation
949 <-> 32 bit operand conflicts.
951 * sysdeps/i386/strsep.S: Wrapper around <sysdeps/i386/strtok.S>
952 to produce strsep function.
953 * sysdeps/i386/strtok.S: Optimized implementation of strtok
955 * sysdeps/i386/strtok_r.S: Wrapper around <sysdeps/i386/strtok.S>
956 to produce strtok_r function.
958 * sysdeps/generic/strtok.c: Moved here from string/strtok.c.
959 Corrected example in comment.
961 * string/Makefile (routines): Add strtok_r.
962 * sysdeps/generic/strtok_r.c: New file. Implement reentrant version
964 * string/string.h: Add prototype for strtok_r.
965 * wcsmbs/wcstok.c: Handle illegal SAVE_PTR argument the same
968 Sun May 26 13:28:23 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
970 * time/tzset.c (__tzset): Ignore leading : in $TZ; always try tzfile
971 first and fall back to 1003.1 syntax only if it fails.
973 * time/Makefile (install-others): Also install posix/ZONE and
974 right/ZONE for each ZONE in $(zonenames).
975 (z.% rule): Generate rules for right/ZONE and posix/ZONE targets too,
976 the difference begin leapseconds vs /dev/null as 3rd dep. For
977 original ZONE targets use $(leapseconds), to be set in Makeconfig.
978 (target-zone-flavor): New variable.
979 (tzcompile): Use it to get the right -d for posix/ and right/ flavors.
980 * Makeconfig (leapseconds): New variable.
982 * mach/Machrules (%.udeps rule): Depend on Machrules.
983 Emit deps for .uh and .__h files.
984 (%.uh, %.__h rules): Don't depend on %.defs; use #include <$*.defs>
987 Sun May 26 01:06:47 1996 Ulrich Drepper <drepper@cygnus.com>
989 * stdlib/Makefile (routines): Add llabs, lldiv.
990 * stdlib/llabs.c: New file. Implementation of return
991 absolute value of long long argument.
992 * stdlib/lldiv.c: New file. Implementation of division with remainder
993 of long long argument.
994 * stdlib/stdlib.h [__USE_GNU] (lldiv_t): New type for lldiv
996 Define prototypes for lldiv and llabs functions.
998 * locale/C-collate.c: Initialize _NL_COLLATE_NRULES element.
1000 * stdlib/strtod.c: Replace wchar_t with wint_t. The later is
1001 really the type for a single wide character.
1003 * string/strxfrm.c (print_val): Define separate version for
1004 use as wcsxfrm. Here we don't need UTF8 encoding.
1006 * wcsmbs/wchar.h: gcc-2.7.2-960517 finally introduces wint_t
1007 in <stddef.h>. Use this value and only for older gcc version
1009 (uwchar_t): Remove definition.
1011 * wcsmbs/wcscmp.c, wcsmbs/wcscoll.c, wcsmbs/wcsncmp.c,
1012 wcsmbs/wcsxfrm.c, wcsmbs/wmemcmp.c: : Don't use uwchar_t as unsigned
1013 type. wint_t is intended for this.
1015 Sat May 25 14:10:19 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1017 * sysdeps/unix/bsd/direntry.h: Use [1] instead of [0] for d_name to
1018 quiet -ansi -pedantic.
1019 * sysdeps/unix/common/direntry.h: Likewise.
1021 * login/Makefile (headers): Add lastlog.h.
1022 * login/lastlog.h: New file.
1024 * login/Makefile (CFLAGS): Don't append -D_THREAD_SAFE.
1025 * login/utmp.h [_REENTRANT || _THREAD_SAFE]: Replace this conditional
1026 with #ifdef __USE_REENTRANT.
1028 * features.h (__GNU_LIBRARY__): Set to 6.
1029 [_GNU_SOURCE] (_POSIX_SOURCE, _POSIX_C_SOURCE, _BSD_SOURCE,
1030 _SVID_SOURCE): Make sure they are all defined.
1032 * sysdeps/unix/sysv/linux/gnu/types.h: Instead of including
1033 <linux/posix_types.h>, define _LINUX_TYPES_DONT_EXPORT and then
1034 include <linux/types.h>.
1036 * resource/sys/resource.h: Remove trailing commas from enums.
1038 Fri May 24 17:30:50 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1040 * sysdeps/generic/netinet/in.h: Remove trailing commas from enums.
1041 * sysdeps/unix/sysv/linux/netinet/in.h: Likewise.
1043 * login/getutline_r.c: Include string.h.
1045 * Rules (static-only-routines): Restore the rule to make these .so's
1048 * login/pututline_r.c: Use struct assignment instead of memcpy.
1050 * login/getutline_r.c: Use strncmp instead of comparing two pointers
1051 that will only be equal if you are overwriting the data and screwing
1054 Fri May 24 02:31:36 1996 Ulrich Drepper <drepper@cygnus.com>
1056 * sysdeps/unix/sysv/linux/speed.c: Add new speed value 460800.
1058 Thu May 23 23:09:33 1996 Ulrich Drepper <drepper@cygnus.com>
1060 * FAQ: Add answer for 100% source code compatibility to Linux
1061 libc by David Mosberger-Tang.
1063 Update from bind-4.3.4-T3B.
1064 * inet/arpa/inet.h: Add prototypes for inet_pton, inet_ntop,
1065 inet_nsap_addr, and inet_nsap_ntoa.
1066 * resolv/gethnamaddr.c: Correct compatibility problems (sprintf),
1067 remove fourth argument to inet_pton and correct handling of
1069 * resolv/inet_ntop.c: Correct compatibility problems (sprintf).
1070 * resolv/inet_pton.c: Remove fourth argument.
1071 * resolv/resolv.h: Remove prototypes for inet_nsap_addr and
1072 inet_nsap_ntoa. Now in <arpa/inet.h>.
1074 * stdlib/gmp-impl.h: Add prototypes for internal functions.
1076 Thu May 23 22:49:15 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1078 * Rules (subdir_install): Remove dep on sor-$(subdir).
1079 (static-only-routines): Removed variable and associated rules.
1081 Wed May 22 00:40:50 1996 David Mosberger-Tang <davidm@azstarnet.com>
1083 * sysdeps/unix/sysv/linux/alpha/speed.c (speeds): Add entry for
1086 * sysdeps/unix/sysv/linux/alpha/statbuf.h: New file.
1088 * sysdeps/unix/sysv/linux/alpha/Makefile (headers): Add
1090 * sysdeps/unix/sysv/linux/alpha/alpha/ptrace.h: New file.
1092 * sysdeps/libm-ieee754/s_scalbnf.c: Call __scalbnf instead of
1095 * sysdeps/generic/sigset.h (__sigismember, __sigaddset,
1096 __sigdelset): Add declaration to keep ANSI compilers quiet.
1098 * sysdeps/alpha/__math.h (cabs): Remove underscores from struct
1099 __cabs_complex member names in call to __hypot().
1101 * sysdeps/alpha/copysign.S, sysdeps/alpha/fabs.S: New files.
1103 * sysdeps/alpha/divrem.h: Renamed from sysdeps/alpha/divrem.S to avoid
1104 name collision with math library.
1106 * sysdeps/alpha/divl.S, sysdeps/alpha/divlu.S, sysdeps/alpha/divq.S,
1107 sysdeps/alpha/divqu.S, sysdeps/alpha/reml.S, sysdeps/alpha/remlu.S,
1108 sysdeps/alpha/remq.S, sysdeps/alpha/remqu.S: Include divrem.h instead
1111 * sysdeps/unix/alpha/sysdep.h: Include regdef.h. Define LEAF macro
1112 to simplify declaration of leaf functions.
1114 * sysdeps/alpha/_mcount.S, sysdeps/alpha/bb_init_func.S,
1115 sysdeps/alpha/bsd-_setjmp.S, sysdeps/alpha/ffs.S,
1116 sysdeps/alpha/htonl.S, sysdeps/alpha/htons.S, sysdeps/alpha/memchr.S,
1117 sysdeps/alpha/setjmp.S, sysdeps/alpha/strlen.S,
1118 sysdeps/alpha/udiv_qrnnd.S, sysdeps/unix/sysv/linux/alpha/brk.S,
1119 sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S,
1120 sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S,
1121 sysdeps/unix/sysv/linux/alpha/pipe.S,
1122 sysdeps/unix/sysv/linux/alpha/sigsuspend.S,
1123 sysdeps/unix/sysv/linux/alpha/syscall.S,
1124 sysdeps/unix/sysv/linux/alpha/start.S,
1125 sysdeps/unix/sysv/linux/alpha/sysdep.S: Remove include of regdef.h.
1126 sysdep.h includes it now. Replace ENTRY by LEAF with appropriate
1127 framesize declaration. Replace "lda pv,sym/jsr pv" by "jsr sym".
1129 * sysdeps/unix/sysv/linux/alpha/sysdep.h (NO_UNDERSCORES): Don't
1132 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Added getsockopt,
1135 * sysdeps/unix/sysv/linux/alpha/profil-counter.h: File removed.
1137 * sysdeps/unix/sysv/linux/alpha/ioperm.c: Modify to support
1138 dynamic recognition of platform type.
1139 (_bus_base): New function.
1141 * sysdeps/unix/sysv/linux/alpha/llseek.S: New file.
1143 * sunrpc/rpc/rpc.h, sunrpc/rpc/svc.h: Avoid nested comments since
1144 they produce ugly warnings by gcc.
1146 * posix/sys/types.h [__USE_MISC]: Add typedef for ulong.
1148 Wed Mar 27 10:26:21 1996 David Mosberger-Tang <davidm@azstarnet.com>
1150 * sysdeps/alpha/setjmp.S: Must establish global pointer before
1151 address of __sigsetjmp_aux can be loaded.
1153 Wed May 22 22:10:01 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1155 * stdlib/canonicalize.c: New file.
1156 * stdlib/stdlib.h: Declare canonicalize_file_name, realpath.
1157 * stdlib/Makefile (routines): Add canonicalize.
1159 * posix/unistd.h: Declare __canonicalize_directory_name_internal.
1161 Thu May 23 00:01:10 1996 Ulrich Drepper <drepper@cygnus.com>
1163 * db/recno/rec_seq.c: Prevent `sccsid' definition by using the
1164 same #if condition as in the other db files.
1166 * intl/Makefile: Add -Wno-unused CFLAGS for compilation of
1167 bindtextdom.c, finddomain.c, and localealias.c.
1169 * intl/dcgettext.c: Don't define prototype for getcwd() when
1172 * libio/cleanup.c: Add prototype for _IO_register_cleanup.
1174 * libio/filedoalloc.c, libio/fileops.c, libio/iopopen.c: Don't
1175 define _POSIX_SOURCE unconditionally.
1177 * libio/filedoalloc.c, libio/iopopen.c: Include <unistd.h> if
1180 * libio/fileops.c (_IO_file_close_it): Don't sync file, call
1181 flush instead. This relaxes the rules from POSIX.1 about
1182 changing the active handle a bit.
1184 * libio/iofopncook.c (struct _IO_cookie_file): Move definition
1186 Add prototypes for local functions to prevent warnings.
1188 * libio/iopopen.c: Change prototypes for _IO_fork, _IO_pipe, and
1189 _IO_dup2 to contain complete parameter list.
1191 * libio/libio.h: Add definition of struct _IO_cookie_file.
1193 * libio/libioP.h: Add prototypes for _IO_vasprintf, _IO_vdprintf,
1196 * libio/memstream.c: Include <stdio.h>.
1198 * libio/stdio.h: Add prototypes for fopencookie,
1199 __stdio_gen_tempname, __vfscanf, __vsscanf, and __vsnprintf.
1201 * libio/strops.c: Avoid useless expression in `for' initializer.
1203 * locale/findlocale.c: Add some casts to prevent warnings.
1205 * locale/programs/locfile.c (write_locale_data): Don't use
1206 double `/' in locale binary file.
1208 * posix/unistd.h: Remove prototype for `reboot'.
1210 Update from bind-4.9.4-T1A.
1211 * resolv/Makefile (routines): Add inet_ntop and inet_pton.
1212 * resolv/arpa/nameser.h: Add definition of IN6ADDRSZ.
1213 * resolv/gethnamaddr.c, resolv/getnetnamadr.c, resolv/res_comp.c,
1214 resolv/res_debug.c, resolv/res_init.c
1216 * resolv/inet_ntop.c, resolv/inet_pton.c: New files.
1218 * resolv/resolv.h: Add RES_USE_INET6 flag.
1219 (__dn_isvalid): Renamed to __res_dnok.
1220 Add prototypes for __res_ownok and __res_mailok.
1222 * stdio-common/Makefile: Add -Wno-unused to CFLAGS for _itoa.c.
1224 * stdio-common/getline.c, stdio-common/vfscanf.c,
1225 sysdeps/posix/tempname.c: Don't use <ansidecl.h> anymore.
1227 * sysdeps/unix/sysv/linux/Makefile [$subdir == misc]
1228 (sysdep_routines): Add s_reboot.
1229 (install-others): Add $(includedir)/sys/syscall.h.
1230 New rule for $(includedir)/sys/syscall.h to produce from
1233 * sysdeps/unix/sysv/linux/reboot.c: New file. Make single
1234 argument function call 3 argument system call.
1236 * sysdeps/unix/sysv/linux/sys/reboot.h: New file. Linux specific
1237 definition for reboot function.
1239 * sysdeps/unix/sysv/linux/syscall.h: Remove old and obsolete
1242 * sysdeps/unix/sysv/linux/syscalls.list: Rename function for
1243 reboot syscall to __syscall_reboot.
1245 * wcsmbs/wchar.h: Protect prototypes for wcstof and wcstold by
1246 __USE_GNU, not USE_GNU.
1248 Tue May 21 21:55:49 1996 David Mosberger-Tang <davidm@AZStarNet.com>
1250 * locale/programs/charset.c, locale/programs/ld-collate.c:
1251 Add casts to prevent warnings on 64-bit machines.
1253 * locale/programs/ld-monetary.c: Don't do unnecessary tests for
1254 int_frac_digits and frac_digits which only produce warnings.
1256 Mon May 13 23:45:29 1996 David Mosberger-Tang <davidm@AZStarNet.com>
1258 * inet/arpa/inet.h: Backup return type of inet_addr to u_long.
1259 * resolv/inet_addr.c: Likewise.
1261 * resolv/Makefile (distribute): Add res_hconf.h
1262 (routines): Add res_hconf.
1264 * resolv/gethnamaddr.c: Add support for /etc/host.conf.
1266 * resolv/res_init.c: Initialize /etc/host.conf reader.
1268 * resolv/res_hconf.c, resolv/res_hconf.h: New files.
1269 Implementation of reading /etc/host.conf.
1271 Wed May 22 21:21:15 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1273 * Rules (%.out rules): Prepend $($*-ENV) to the command.
1275 * sysdeps/unix/sysv/linux/i386/brk.c (___brk_addr): Define as weak
1278 Wed May 22 19:37:27 1996 Miles Bader <miles@gnu.ai.mit.edu>
1280 * hurd/hurdexec.c (_hurd_exec): Pass INIT_TRACEMASK.
1281 * hurd/hurdmsg.c (set_int): Support INIT_TRACEMASK.
1283 Wed May 22 18:47:31 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1285 * sysdeps/mach/hurd/getcwd.c
1286 (_hurd_canonicalize_directory_name_internal): New function, broken out
1289 (__canonicalize_directory_name_internal): New function using it.
1291 * sysdeps/posix/getcwd.c (__canonicalize_directory_name_internal): New
1292 function, broken out of __getcwd.
1295 Wed May 22 18:14:05 1996 Miles Bader <miles@gnu.ai.mit.edu>
1297 * string/argz-create.c (__argz_create): Correctly calculate length.
1299 * string/argz-extract.c (__argz_extract): Add terminating 0 entry.
1300 * hurd/hurdstartup.c (_hurd_startup): ... and don't so here.
1302 Wed May 22 17:22:14 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1304 * posix/glob.c [VMS]: Don't include <pwd.h>.
1305 [HAVE_VMSDIR_H]: Include "vmsdir.h".
1306 (glob) [VMS]: Don't grok ~.
1308 Wed May 22 14:46:53 1996 Miles Bader <miles@gnu.ai.mit.edu>
1310 * hurd/hurdstartup.c (_hurd_startup): Terminate the vectors we get
1311 back from argz_extract.
1313 Wed May 22 13:56:42 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1315 * configure.in: Remove checks for objdump, objcopy, and awk.
1316 * config.make.in (OBJDUMP, OBJCOPY, AWK): Variables removed.
1317 * Makefile (distribute): Remove extract-dynsym.
1318 * extract-dynsym: File removed.
1320 Tue May 21 22:17:45 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1322 * termios/cfmakeraw.c: Set MIN to 1 and TIME to 0.
1324 Wed May 22 01:48:54 1996 Ulrich Drepper <drepper@cygnus.com>
1326 * stdlib/strtol.c [!QUAD] (ULONG_MAX, LONG_MAX): Define these
1327 macros if they are not available.
1328 (WEAKNAME): New macro to declare argument as weak.
1329 Define function with __ prefix and add normal name as weak alias.
1331 * sysdeps/posix/euidaccess.c (S_IROTH, S_IWOTH, S_IXOTH): Defines
1332 these macros if not already available based on R_OK, W_OK, and
1335 Tue May 21 18:48:46 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1337 * misc/sys/syslog.h (__need___va_list): Define this instead of
1338 __need_va_list before including <stdarg.h>.
1340 * Makerules (o-iterator): Use $(object-suffixes-left) instead
1341 of $(object-suffixes) to produce repetitions; this is used for other
1342 lists than just that one.
1343 [versioned]: Use $(o-iterator) properly.
1345 * sysdeps/unix/sysv/linux/Implies: Include `gnu'.
1346 * sysdeps/mach/hurd/Implies: Likewise.
1348 Sat May 18 02:57:46 1996 Ulrich Drepper <drepper@cygnus.com>
1350 * login/Makefile: New file. This directory contains functions
1351 for user administration.
1352 * Makefile (subdirs): Add login.
1354 * misc/Makefile (headers): Remove utmp.h. Now in login/utmp.h.
1355 (extra-libs, libutil-routines): Ditto.
1356 * misc/login.c, misc/login_tty.c, misc/logout.c, misc/logwtmp.c,
1357 misc/utmp.h: Moved to misc/.
1358 * login/login.c, login/login_tty.c, login/logout.c,
1359 login/logwtmp.c, login/utmp.h: Moved to here from misc/.
1361 * login/utmp.h: Split file. Definitions of data structures
1362 and constants are now in the system dependent utmpbits.h file.
1364 * login/setutent_r.c, login/setutent.c, login/endutent_r.c,
1365 login/endutent.c, login/getutent_r.c, login/getutent.c,
1366 login/getutid_r.c, login/getutid.c, login/getutline_r.c,
1367 login/getutline.c, login/pututline_r.c, login/pututline.c:
1368 New files. Routines to handle utmp-style files.
1370 * sysdeps/gnu/utmpbits.h: New file. Contains GNU/Linux
1371 specific definitions of utmp data structures and constants.
1373 * sysdeps/unix/sysv/utmpbits.h: Renamed from sysdeps/unix/sysv/utmp.h.
1375 * sysdeps/generic/utmpbits.h: New file. Generic (BSDish) version of
1376 definitions of utmp data structures and constants.
1378 Fri May 17 00:01:31 1996 Ulrich Drepper <drepper@cygnus.com>
1380 * locale/C-monetary.c: Default value for mon_decimal_point should be
1383 * stdio-common/printf.h: Remove Linux libc compatibility stuff.
1384 Add `extra' flag. Currently used in __printf_fp.
1386 * stdio-common/printf_fp.c (__guess_grouping): Renamed from
1387 `guess_grouping' and extend visibility to extern. This function
1388 is now used in `strfmon'.
1389 (__printf_fp): Recognize new bit flag in info struct. This
1390 triggers to use the grouping information and decimal point from
1391 the LC_MONETARY category instead of the LC_NUMERIC category.
1393 * stdio-common/vfprintf.c (process_arg): Correct major bug. In
1394 `complicated' loop we must not use the varargs because the args
1395 are already available in the ARGS_VALUE array.
1397 * stdlib/Makefile (headers): Add monetary.h.
1398 (routines): Add strfmon.
1399 * stdlib/monetary.h: New file. Header for strfmon function.
1400 * stdlib/strfmon.c: New file. Implement strfmon function to print
1401 monetary amounts according to current locale's rules.
1403 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: The kernel header is
1404 now (>= Linux-1.3.100) called <asm/vm86.h>.
1406 Thu May 16 00:31:44 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1408 * Makerules [versioned]: Make symlinks in the build directory, because
1409 the versioned names might be referenced by a DT_NEEDED in another
1412 Wed May 15 18:59:38 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1414 * manual/examples/longopt.c: Include stdlib.h and getopt.h.
1416 Tue May 14 03:36:21 1996 Ulrich Drepper <drepper@cygnus.com>
1418 * sysdeps/unix/sysv/linux/Makefile [$subdir == misc] (headers):
1419 Add sys/acct.h and sys/sysctl.h.
1421 Tue May 14 19:42:04 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1423 * sysdeps/generic/strrchr.c: Deansideclized.
1425 * elf/Makefile (ldd): Depend on Makefile.
1426 Find ld.so in $(slibdir) instead of $(libdir).
1428 * sysdeps/i386/strrchr.S: Use `testl $3, %esi' instead of `testb $3,
1429 %esi'; gas misassembles the latter into `testb $3, %dh'.
1431 * mach/Machrules (%.udeps rule): Do $(make-target-directory) first.
1433 Tue May 14 16:38:44 1996 David Mosberger-Tang <davidm@AZStarNet.com>
1435 * sunrpc/getrpcent.c (interpret): Declare args. Rewrite parsing using
1438 Tue May 14 20:18:38 1996 Ulrich Drepper <drepper@cygnus.com>
1440 * time/Makefile (routines): Add strptime.
1441 * time/time.h: Add prototype for strptime.
1442 * time/strptime.c: New file. Implementation according to XPG4.
1444 Tue May 14 14:07:10 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1446 * libc-symbols.h (lint): Macro removed. The sunrpc code does some
1447 really stupid things #ifdef lint.
1449 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter): Fix
1450 struct member name: sc_eip -> eip.
1452 Mon May 13 19:52:33 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1454 * Makerules (stub-$(subdir)): Put cmds including cd inside (...) with
1455 output redirect outside it.
1457 * elf/Makefile (subdir_lib): Depend on ld.so.
1459 Sun May 12 22:52:22 1996 Bruce Elliott <belliott@accessone.com>
1461 * stdio-common/vfprintf.c: Correct handling of unsigned short
1464 Mon May 13 12:03:03 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1466 * extra-lib.mk (alltype-$(lib)): Put libs in $(objpfx) instead of
1468 * Makerules [install-lib.a]: Find them there.
1470 * sysdeps/unix/sysv/linux/i386/profil-counter.h: New file.
1472 * extra-lib.mk: Skip the hair if $(object-suffixes-$(lib)) is empty.
1474 * posix/glob.h [_AMIGA]: Remove `struct stat;' forward decl.
1476 * configure.in (--with-fp): Note in help string that it's the default.
1478 * locale/programs/ld-ctype.c (struct locale_ctype_t): Use u_int32_t
1479 instead of unsigned int for map_collection_max and map_collection_act.
1481 * stdio-common/vfprintf.c [USE_IN_LIBIO] (flockfile, funlockfile):
1482 Macros removed; they are in <stdio.h>.
1483 * stdio-common/vfscanf.c: Likewise.
1485 * posix/glob.c [_AMIGA]: Don't include <pwd.h>.
1486 (glob): Remove bogus & in call to globfree.
1487 [_AMIGA]: Use AmigaDOS file name conventions.
1489 * time/Makefile (zonenames): Target removed.
1490 (extra-objs): Remove it from here.
1491 Include the z.* files directly instead of including zonenames; use
1492 `-include' to not complain before they exist.
1494 * sysdeps/unix/Makefile: Find sysd-syscalls and s-proto.d with
1495 $(common-objpfx) instead of $(objpfx).
1497 * sysdeps/unix/bsd/telldir.c (seekdir, telldir): Use new struct member
1500 * Makerules [install-lib-non.a]: Find these things with $(objpfx)
1501 instead of $(common-objpfx).
1503 * Makeconfig (sysdep-configures): New variable.
1504 (config.status): Depend on $(sysdep-configures).
1506 Fri May 10 20:07:52 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1508 * sysdeps/unix/sysv/linux/profil.c: New file.
1510 Fri May 10 19:59:50 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1512 * sysdeps/m68k/Makefile (CFLAGS-setjmp.c): New variable.
1514 Fri May 10 19:55:42 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1516 * shlib-versions: Use libm=6 and libc=6 for m68k-linux.
1518 Sun May 12 11:16:58 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1520 * string/envz.c: Fix uses of unsigned to size_t.
1522 * Makerules ($(libdir)/libc.so): Make the file an ld script.
1524 * sysdeps/mach/hurd/configure.in: Don't grok --with-hurd option.
1526 * sysdeps/mach/configure.in: File removed.
1527 * sysdeps/mach/configure: File removed.
1529 * mach/Machrules (%.udeps rule): Write deps for %_server.[ch] too.
1530 (%_server.[ch] rule): Don't depend on %.defs; use #include to get
1531 installed .defs file.
1533 * stdio-common/vfprintf.c (flockfile, funlockfile): Define to
1534 nothing for stdio. Fix fUNlockfile -> funlockfile for libio.
1535 * stdio-common/vfscanf.c: Likewise.
1537 Sat May 11 13:43:41 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1539 * hurd/hurdfault.c: Include faultexc_server.h instead of faultexc.h.
1541 * mach/Machrules (%.ir rule): Don't produce deps for imports.
1543 * elf/dl-fini.c (_dl_fini): Clear L->l_init_called after calling fn.
1545 * Makerules (install): Depend on $(slibdir)/libc.so$(libc.so-version).
1546 [!subdir] ($(libdir)/libc.so, $(common-objpfx)/libc-syms.so): Protect
1547 these targets and install dep on $(libdir)/libc.so with this.
1549 * hurd/Makefile: Removed all rules and defns for using code from Hurd
1550 sources and installing headers from there.
1552 * sysdeps/mach/hurd/errnos.awk: Set in_mach_errors to FILENAME when we
1553 set it. In Mach error matching clause, only match if FILENAME is
1554 still the same value.
1556 * sysdeps/mach/hurd/Makefile: Don't include sysdeps/mach/Makefile;
1557 $(mach-srcdir) no longer exists.
1558 (hurd-srcdir): Variable removed.
1559 (includes): Don't append -I$(hurd-srcdir).
1560 (last-includes): Variable removed.
1561 Remove vpath specs using $(hurd-srcdir).
1562 (mach-errno-h): New canned sequence.
1563 ($(common-objpfx)errnos.d): New target, generated included makefile
1564 to determine absolute file names of Mach headers to search for error
1565 codes and set variable mach-errnos-deps.
1566 ($(common-objpfx)stamp-errnos): Depend on $(mach-errnos-deps) instead
1567 of prior explicit list.
1568 (generated): Add errnos.d, stamp-errnos.
1570 * mach/Machrules (some-if-rtn): New variable and target; compute deps
1571 of some if routine and make all if routines depend on that .d file
1572 instead of static list of .h files.
1574 * mach/Makefile (mach/mach_interface.defs,
1575 mach/memory_object_user.defs): Targets removed.
1576 ($(objpfx)mach-syscalls.mk): Tweak this kludge so it doesn't depend
1577 directly on Mach sources.
1579 * sysdeps/mach/Makefile (mach-srcdir): Variable removed.
1580 (includes): Don't append -I$(mach-srcdir).
1581 Remove vpath specs using $(mach-srcdir).
1583 * hurd/Makefile (server-interfaces): Add faultexc.
1584 (sig): Remove it from here.
1585 (fault%.[ch]): Rule removed.
1586 (MIGFLAGS-faultexc): New variable.
1588 * hurd/faultexc.defs: New file.
1590 * mach/Machrules (%.ustamp rule): Pass $(MIGFLAGS-$*) to mig.
1591 (%_server.[ch] rule): Likewise.
1593 * mach/Makefile: Removed all rules and defns for using code from Mach
1594 sources and installing headers from there.
1596 * Makeconfig [$(build-shared)=yes] (link-libc): Append
1597 $(libc.so-version) to libc.so.
1599 Fri May 10 18:36:14 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1601 * mach/Machrules (%.ustamp rule): Don't depend on %.defs.
1602 (%.udeps): New rule parallel to that one, generating included
1603 makefiles with -M output from `#include <%.defs>'.
1605 * Makerules (sed-remove-objpfx): Remove space before \ at eol.
1607 * Makefile (distribute): Add FAQ.
1608 * FAQ: New file contributed by drepper.
1610 * time/Makefile (headers): Add timebits.h.
1611 * sysdeps/unix/sysv/linux/timebits.h: New file.
1612 * sysdeps/stub/timebits.h: New file.
1613 * time/time.h (CLK_TCK): Define to CLOCKS_PER_SEC.
1614 (CLOCKS_PER_SEC): Remove this macro. Instead #include <timebits.h>.
1616 Fri May 10 16:22:44 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu>
1618 * string/argz-create.c (__argz_create): Restore const keyword to
1620 * string/argz.h (__argz_create, argz_create): Restore const
1622 * string/envz.c (envz_get): Don't declare ENTRY const.
1624 Fri May 10 11:48:03 1996 Miles Bader <miles@gnu.ai.mit.edu>
1626 * string/argz.h (argz_create): Fix param type.
1627 * string/argz-create.c (__argz_create): Remove const from param type.
1628 * string/envz.c (envz_get): Remove const from return type.
1630 Fri May 10 09:41:54 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu>
1632 * string/argz.h (__argz_create, argz_create): Omit const keyword
1633 from declaration of ARGV.
1634 * string/envz.h (envz_get): Omit const from declaration of return
1637 Thu May 9 09:17:46 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1639 * aclocal.m4 (AC_FD_MSG, AC_FD_CC): Fix these for autoconf weirdness.
1641 Cleanups in sunrpc code from NIIBE Yutaka <gniibe@mri.co.jp>.
1642 * sunrpc/clnt_tcp.c (clnttcp_create): Don't close *SOCKP if it's -1.
1643 * sunrpc/clnt_simp.c (callrpc): Don't close CRP->socket if it's
1645 * sunrpc/pmap_clnt.c (pmap_set): Don't close SOCKET, since
1646 CLNT_DESTROY already has.
1647 (pmap_unset): Likewise.
1648 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
1649 * sunrpc/pm_getport.c (pmap_getport): Likewise.
1650 * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
1651 * sunrpc/portmap.c (callit): Likewise.
1653 * Makerules (versioned): Strip whitespace.
1655 * Rules (static-only-routines rule): Remove spurious space in dep.
1657 * misc/getusershell.c: Undo changes of 7 May 96 (rev 1.6).
1658 Cast string constants to char *.
1660 * posix/glob/SMakefile, posix/glob/SCOPTIONS, posix/glob/Makefile.ami:
1661 New files, AmigaDOS support from Aaron Digulla.
1662 * posix/Makefile (glob.tar): Add AmigaDOS support files.
1664 * sysdeps/unix/sysv/linux/net/if.h: New file.
1665 * sysdeps/unix/sysv/linux/Dist: Add it.
1666 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=socket] (headers): Add
1669 * Makeconfig (link-libc): Add libc.a after libc.so in link.
1671 * Rules (static-only-routines rule): Use empty.o instead of dummy.o.
1672 (empty.o): New target.
1673 (generated): Add empty.c, empty.o.
1675 * resolv: Code updated from BIND-4.9.3P2C3.
1677 * Rules (static-only-routines rule): Use dummy.o, not dummy.so.
1679 Wed May 8 20:04:29 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1681 * extract-dynsym: New file.
1682 * Makefile (distribute): Add it.
1683 * Rules (subdir_install): Depend on $(common-objpfx)sor-$(subdir).
1684 [! libc.so-version]: Clear static-only-routines.
1685 ($(common-objpfx)sor-$(subdir)): New target.
1686 [static-only-routines]: New static pattern rule for these .so's.
1687 * Makerules [libc.so-version] ($(slibdir)/libc.so): Target removed.
1688 [libc.so-version] ($(libdir)/libc.so, $(common-objpfx)libc-syms.so):
1689 New targets replace it.
1690 (install) [libc.so-version]: Depend on $(libdir)/libc.so instead of
1692 * io/Makefile (static-only-routines): New variable.
1693 * configure.in: Check for tools objdump and objcopy, and for awk.
1694 * config.make.in (OBJDUMP, OBJCOPY, AWK): New variables.
1696 Thu May 9 01:24:00 1996 Ulrich Drepper <drepper@cygnus.com>
1698 * locale/programs/config.h: Remove definition of wint_t.
1700 * locale/programs/ld-collate.c: Include <wchar.h> instead of
1703 * manual/time.texi: Add some more description for %U and %W
1704 format of strftime. Describe new format %V of strftime.
1706 * resolv/gethnamaddr.c: Prevent warning by preventing variable
1708 * stdio-common/_itoa.c: Ditto.
1710 Tue May 7 23:43:07 1996 Ulrich Drepper <drepper@cygnus.com>
1712 * libio/clearerr.c, libio/feof.c, libio/ferror.c, libio/fgetc.c,
1713 libio/fileno.c, libio/fputc.c, libio/freopen.c, libio/fseek.c,
1714 libio/genops.c, libio/getc.c, libio/getchar.c, libio/iofclose.c,
1715 libio/iofflush.c, libio/iofgetpos.c, libio/iofgets.c,
1716 libio/iofputs.c, libio/iofread.c, libio/iofsetpos.c,
1717 libio/ioftell.c, libio/iofwrite.c, libio/iogetdelim.c,
1718 libio/iogets.c, libio/ioputs.c, libio/iosetbuffer.c,
1719 libio/iosetvbuf.c, libio/ioungetc.c, libio/iovsprintf.c,
1720 libio/libio.h, libio/putc.c, libio/putchar.c, libio/rewind.c,
1721 libio/stdio.h, stdio-common/printf_fp.c, stdio-common/vfprintf.c,
1722 stdio-common/vfscanf.c: Prepare for reentrant libio.
1724 * libio/clearerr_u.c, libio/feof_u.c, libio/ferror_u.c,
1725 libio/fputc_u.c, libio/getc_u.c, libio/getchar_u.c,
1726 libio/iofflush_u.c, libio/putc_u.c, libio/putchar_u.c: New files.
1727 Used in reentrant libio.
1729 * misc/getusershell.c: Prevent warnings.
1731 Wed May 8 12:08:35 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1733 * Makerules (install-lib.so rules): Undouble $s in target and dep
1734 parts of o-iterator-doit defns.
1735 (unversioned libraries install rule): Fix pattern.
1737 * mach/Makefile (mach-src-headers): Use $(base-machine) instead of
1739 ($(includedir)/machine): Likewise.
1741 * config.make.in (base-machine): New variable.
1742 * configure.in (machine): Move case stmt to set $machine out of sysdep
1743 dirs AC_CACHE_CHECK.
1744 (base_machine): New variable, set in that switch and AC_SUBST'd.
1746 * Makerules (stub-$(subdir)): Use file name in directory as output,
1749 * configure.in (MSGFMT): Use : if none found.
1751 * po/Makefile: Include ../Rules instead of ../Makerules.
1753 Tue May 7 23:18:44 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1755 * po/Makefile: New file.
1756 * Makefile (subdirs): Add po.
1758 * configure.in: Check for msgfmt.
1759 * config.make.in (MSGFMT): New variable.
1761 Sun May 5 23:49:10 1996 Ulrich Drepper <drepper@cygnus.com>
1763 * misc/Makefile (routines): Add swapoff.
1765 * sysdeps/unix/sysv/linux/Dist: Add sys/quota.h.
1767 * sysdeps/unix/sysv/linux/sys/quota.h: New file. Wrapper around
1770 Tue May 7 19:00:01 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1772 * string/argz-extract.c: Remove const from decl.
1773 * string/argz.h: Here too.
1775 * Makeconfig (version.mk): Fix regexp in sed cmd.
1776 Depend on $(..)Makeconfig.
1778 * GMP code updated from gmp-2.0 release.
1779 * stdlib/Makefile (mpn-routines): Removed add_1, added inlines.
1780 * sysdeps/generic/add_1.c: File removed.
1781 * stdlib/strtod.c: mp_limb is now mp_limb_t.
1782 * stdlib/fpioconst.c, stdlib/fpioconst.h: Likewise.
1783 * stdio-common/_itoa.c: Likewise.
1784 * stdio-common/printf_fp.c: Likewise.
1785 Don't include ansidecl.h.
1787 * sysdeps/mach/hurd/getcwd.c: Use io_identity instead of io_stat.
1789 * shlib-versions: New file.
1790 * Makerules (soversions.mk): New target, include file generated from
1791 shlib-versions. Moved shared library rules before installation rules.
1792 Rewrote shared library installation rules for versioned libraries.
1793 * math/Makefile (libm.so-version): Variable removed.
1795 * sysdeps/mach/hurd/i386/exc2signal.c: Use struct hurd_signal_detail.
1797 * hurd/report-wait.c (_S_msg_describe_ports): New function.
1799 * configure.in: Add AC_PROG_LN_S check.
1800 * config.make.in (LN_S): New variable.
1802 Sun May 5 03:10:44 1996 Ulrich Drepper <drepper@cygnus.com>
1804 * misc/efgcvt_r.c (ecvt_r): Work aroung gcc bug. gcc does
1805 not know about weak aliases now and optimizes necessary `if'
1808 * posix/unistd.h: Add swapoff prototype.
1810 * sysdeps/generic/confname.h: Add even more POSIX.4 symbols.
1812 * sysdeps/posix/fpathconf.c (__fpathconf): Get information
1813 for _PC_PATH_MAX from fstatfs function if available.
1815 * sysdeps/posix/sysconf.c: Add code to handle _SC_AIO_LISTIO_MAX,
1816 _SC_AIO_MAX, _SC_AIO_PRIO_DELTA_MAX, _SC_DELAYTIMER_MAX,
1817 _SC_MQ_OPEN_MAX, _SC_MQ_PRIO_MAX, _SC_RTSIG_MAX,
1818 _SC_SEM_NSEMS_MAX, _SC_SEM_VALUE_MAX, _SC_SIGQUEUE_MAX, and
1820 * sysdeps/unix/sysv/sysv4/sysconf.c: Ditto.
1822 * sysdeps/stub/swapoff.c: New file. Stub version for swapoff
1825 * sysdeps/unix/syscalls.list: Add swapoff.
1827 * sysdeps/unix/sysv/linux/Dist: Add sys/acct.h.
1829 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
1830 (sysdep_routines): Add mount, umount, llseek, setfsgid, setfsuid,
1831 sysinfo, and uselib.
1832 (headers): Add sys/sysinfo.h.
1834 * sysdeps/unix/sysv/linux/gethostid.c: Prevent warning.
1836 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == misc]
1837 (sysdep_routines): Add ioperm, iopl, and vm86.
1838 (headers): Add sys/perm.h and sys/vm86.h.
1840 * sysdeps/unix/sysv/linux/i386/sys/perm.h: New file. Contains
1841 prototypes for iopl and ioperm.
1843 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: New file. Contains
1846 * sysdeps/unix/sysv/linux/i386/syscalls.list: New file. Add
1849 * sysdeps/unix/sysv/linux/sys/acct.h: New file. Contains
1850 prototypes for acct function.
1852 * sysdeps/unix/sysv/linux/sys/socket.h: Provide real header
1853 file with prototypes.
1855 * sysdeps/unix/sysv/linux/sys/sysinfo.h: New file. Contains
1856 prototype for sysinfo function.
1858 * sysdeps/unix/sysv/linux/syscalls.list: Add flock, ioperm, iopl,
1859 llseek, setfsgid, setfsuid, sysinfo, and uselib.
1861 * sysdeps/unix/sysv/linux/sysconf.c: Instead of duplicating
1862 posix/sysconf.c now only handle cases different to that
1865 Tue May 7 15:08:19 1996 Miles Bader <miles@gnu.ai.mit.edu>
1867 * stdio/linewrap.c (__line_wrap_output): Renamed from lwoutput
1868 (all references changed). Now exported.
1870 * stdio/linewrap.c (struct data): Type deleted (moved to linewrap.h).
1871 (wrap_stream, unwrap_stream, lwclose, lwfileno, lwoutput,
1872 line_wrap_stream, line_unwrap_stream): Use struct line_wrap_data
1873 instead of struct data.
1874 (lwoutput, line_wrap_stream, line_unwrap_stream): Rename various
1875 occurences of `wrap' and `wrapmargin' to `wmargin'.
1876 (line_wrapped, line_wrap_lmargin, line_wrap_set_lmargin,
1877 line_wrap_rmargin, line_wrap_set_rmargin, line_wrap_wmargin,
1878 line_wrap_set_wmargin, line_wrap_point): New functions.
1879 * stdio/linewrap.h: New file.
1880 * stdio/Makefile (headers): Add linewrap.h.
1882 Tue May 7 14:19:12 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1884 * sysdeps/unix/sysv/linux/i386/Makefile: File removed.
1886 * stdio/stdio.h: Remove line_wrap_stream, line_unwap_stream decls.
1888 * sysdeps/unix/sysv/linux/schedbits.h: New file.
1890 Tue May 7 13:47:02 1996 Miles Bader <miles@gnu.ai.mit.edu>
1892 * stdio/linewrap.c (struct data): Make margin fields not-pointers.
1893 (lwoutput): Adjust uses acordingly.
1895 Tue May 7 10:51:52 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1897 * sysdeps/mach/hurd/fdatasync.c: New file.
1898 * sysdeps/mach/hurd/fsync.c: Pass new flag to file_sync.
1900 * sysdeps/mach/hurd/xmknod.c: Pass new flag to dir_link.
1901 * sysdeps/mach/hurd/symlink.c: Likewise.
1902 * sysdeps/mach/hurd/link.c: Likewise.
1903 * sysdeps/mach/hurd/bind.c: Likewise.
1904 * hurd/hurdsig.c (write_corefile): Likewise.
1906 * hurd/hurdsig.c (write_corefile): Pass cttyid port to crash server.
1908 * sysdeps/mach/hurd/fpathconf.c: RPC takes int pointer, not long int.
1910 * sysdeps/mach/hurd/_exit.c (_hurd_exit): Pass sigcode arg to
1912 * sysdeps/mach/hurd/dl-sysdep.c (_exit): Likewise.
1914 * sysdeps/mach/hurd/wait4.c: Pass sigcode arg to proc_wait.
1916 * sysdeps/mach/hurd/rename.c: Pass new flag to dir_rename.
1918 * hurd/hurdfault.c (_hurdsig_fault_catch_exception_raise): Use struct
1920 * hurd/catch-exc.c (_S_catch_exception_raise): Likewise.
1921 * hurd/hurd-raise.c (_hurd_raise_signal): Likewise.
1922 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
1924 * sysdeps/mach/hurd/setitimer.c (restart_itimer): Likewise.
1926 * hurd/hurd/signal.h: Fix _hurd_exception2signal prototype.
1928 * hurd/hurdsig.c (write_corefile): Take const struct
1929 hurd_signal_detail * arg. Pass all details to crash_dump_task.
1930 (_hurd_internal_post_signal): Pass DETAIL to write_corefile.
1931 (_hurd_internal_post_signal: suspend): Pass code and error to
1934 * hurd/hurdprio.c (_hurd_priority_which_map): Pass flags arg to
1935 proc_getprocinfo by reference.
1937 * wcsmbs/wcwidth.c, wcsmbs/wcswidth.c: Fixed typos.
1939 * sysdeps/unix/sysv/linux/sys/mman.h: Fixed typo.
1941 * sysdeps/stub/sched_getp.c: Add missing #include <sys/types.h>.
1942 * sysdeps/stub/sched_sets.c: Likewise.
1943 * sysdeps/stub/sched_setp.c: Likewise.
1944 * sysdeps/stub/sched_rr_gi.c: Likewise.
1945 * sysdeps/stub/sched_gets.c: Likewise.
1947 * hurd/hurdsig.c: Use struct hurd_signal_detail.
1948 * hurd/hurd/fd.h (_hurd_fd_error): Likewise.
1949 * sysdeps/mach/hurd/sysd-stdio.c (fd_fail): Likewise.
1951 Mon May 6 09:51:05 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1953 * stdio/linewrap.c: New file.
1954 * stdio/Makefile (routines): Add linewrap.
1955 * stdio/stdio.h [__USE_GNU]: Declare line_wrap_stream,
1958 Mon May 6 14:53:26 1996 Ulrich Drepper <drepper@cygnus.com>
1960 * time/strftime.c (week): Add third parameter telling how
1961 many days must be in new year so that it is called week 1.
1962 (Following ISO 8601).
1963 Correct computation for %U and %V formats when day was first
1965 (strftime): Implement %V format according to Spec1170.
1967 Mon May 6 17:01:09 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu>
1969 * hurd/hurd/signal.h (_hurd_intr_rpc_mach_msg): New declaration.
1971 Sat May 4 05:44:25 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1973 * hurd/hurd/sigpreempt.h (struct hurd_signal_preempter): Change
1974 prototype of `preempter' elt to use struct hurd_signal_detail.
1976 * hurd/hurd/signal.h (struct hurd_signal_detail): New type.
1977 (struct hurd_sigstate): Make `pending_data' member an array of that.
1978 Use the new type in several decls.
1980 * locale/setlocale.c (_nl_C_name): Variable removed.
1981 * locale/C_name.c: New file.
1982 (_nl_C_name): Put it here instead.
1983 * locale/Makefile (aux): Add C_name.
1985 * sysdeps/mach/hurd/dl-sysdep.c (open): Don't pass io port in
1986 auth_user_authenticate rpc.
1987 (open): Avoid using strtol in digit conversion for "fd/N" magic.
1988 (_dl_sysdep_start): Likewise for memobj name in magic switches.
1990 * elf/Makefile (reloc-link): New variable.
1991 (dl-allobjs.so): New target, link together $(rtld-routines).
1992 (librtld.so): Depend on that instead of the rtld components.
1993 (generated): Add dl-allobjs.so.
1995 * hurd/hurd-raise.c (_hurd_raise_signal): Pass sigcode in msg_sig_post
1998 * hurd/hurdmsg.c (_S_msg_set_environment): Use argz.h functions
1999 instead of _hurd_split_args.
2000 (_S_msg_*_exec_flags): Functions removed.
2001 (_S_msg_startup_dosync): Stub removed.
2003 Sat May 4 02:11:55 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
2005 * sysdeps/mach/hurd/ptrace.c: Set _hurdsig_traced instead of
2006 EXEC_TRACED bit in _hurd_exec_flags.
2007 Pass sigcode arg in msg_sig_post_untraced rpc.
2009 * sysdeps/mach/hurd/access.c: Don't pass io port in
2010 auth_user_authenticate rpc.
2012 * posix/sched.h: Fix typos.
2014 * sysdeps/mach/hurd/fork.c: Use new critical section lock.
2015 Clear _hurdsig_traced instead of EXEC_TRACED.
2017 * sysdeps/stub/nanosleep.c (nanosleep): Fix typo.
2019 * wcsmbs/wcstol.c: Find strtol.c in ../stdlib.
2020 * wcsmbs/wcstof.c: Find strtod.c in ../stdlib.
2021 * wcsmbs/wcstod.c: Likewise.
2022 * wcsmbs/wcstold.c: Likewise.
2024 * wcsmbs/wcwidth.h: Find cname-lookup.h in ../wctype.
2026 * string/envz.c (envz_entry): Use const.
2027 (envz_get, envz_remove): Likewise.
2028 (envz_entry): Return char *, not const char *.
2030 * string/envz.h: Fix decl.
2032 * string/argz-create.c: Use const in prototype.
2033 * string/argz-next.c: Likewise.
2035 Fri May 3 13:32:08 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
2037 * sysdeps/mach/hurd/sigprocmask.c: Pass sigcode arg to msg_sig_post.
2038 * sysdeps/mach/hurd/i386/sigreturn.c: Likewise.
2039 * sysdeps/mach/hurd/sigsuspend.c: Likewise.
2040 * sysdeps/mach/hurd/kill.c: Likewise.
2042 * hurd/hurdexec.c (_hurd_exec): Use new critical section lock.
2043 * hurd/catch-exc.c (_S_catch_exception_raise): Likewise.
2044 * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Likewise.
2045 * hurd/thread-cancel.c (hurd_thread_cancel, hurd_check_cancel):
2047 * sysdeps/mach/hurd/jmp-unwind.c (_longjmp_unwind): Likewise.
2048 * sysdeps/mach/hurd/sigaction.c: Likewise.
2050 * sysdeps/mach/hurd/errnos.awk: Don't use ARGV in comment; it can
2051 change meaninglessly.
2053 * hurd/hurd/signal.h (struct hurd_sigstate): Replace critical section
2054 flag with a spin lock.
2055 (_hurd_critical_section_lock): Use spin_try_lock on that to see if we
2056 get it. No need to take SS->lock at all.
2057 (_hurd_critical_section_unlock): Unlock SS->critical_section_lock
2058 instead of clearing the old flag member.
2059 * hurd/hurdsig.c (_hurd_internal_post_signal): Use spin_lock_locked to
2060 test the critical section state.
2062 * hurd/hurdinit.c (_hurd_init): Set _hurdsig_traced from the intarray.
2064 * hurd/hurdkill.c (_hurd_sig_post): Pass 0 sigcode in msg_sig_post.
2066 * hurd/hurdsig.c (_hurd_internal_post_signal): Test _hurdsig_traced
2067 instead of testing (_hurd_exec_flags & EXEC_TRACED).
2068 (_S_msg_sig_post): Take sigcode arg and pass it through.
2069 (_S_msg_sig_post_untraced): Likewise.
2070 (reauth_proc): Don't pass proc port in auth_user_authenticate.
2072 * hurd/setauth.c (_hurd_setauth): Don't pass object ports in
2073 auth_user_authenticate RPCs, just the one-off rendezvous port.
2074 * hurd/dtable.c (reauth_dtable): Likewise.
2075 * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Likewise.
2077 * hurd/hurdexec.c (_hurd_exec): Pass 0 flags to file_exec.
2078 Pass sigcode arg to msg_sig_post.
2080 * string/argz.h (argz_create): Use const in prototype.
2082 * hurd/hurdinit.c (_hurd_proc_init): Test _hurdsig_traced instead of
2083 testing (_hurd_exec_flags & EXEC_TRACED).
2084 Pass sigcode arg to msg_sig_post.
2086 * hurd/hurd.h: Declare _hurdsig_traced.
2088 * string/argz.h (__argz_next): Cast ENTRY before returning it.
2090 * hurd/hurd/signal.h (_hurd_critical_section_unlock): Pass sigcode arg
2093 * hurd/path-lookup.c: New file.
2094 * hurd/Makefile (routines): Add path-lookup.
2095 * hurd/hurd/lookup.h: Declare file_name_path_scan,
2096 hurd_file_name_path_lookup.
2097 * hurd/hurd.h: Declare file_name_path_lookup.
2099 * sysdeps/mach/hurd/select.c: The io_select rpc no longer has a TAG_ID
2100 argument. Instead, use a separate reply port for each RPC and put them
2101 all in a port set to wait for slow replies.
2103 * intl/Makefile (CPPFLAGS): Change $(nlsdir) to $(i18ndir) in
2106 Fri May 3 03:14:02 1996 Ulrich Drepper <drepper@cygnus.com>
2108 * intl/Makefile (routines): Add l10nflist and explodename.
2109 (distribute): Add loadinfo.h and locale.alias.
2110 (install-others): New variable to install locale.alias.
2112 * intl/dcgettext.c, intl/finddomain.c, intl/gettextP.h,
2113 intl/loadmsgcat.c: Adapt for upcoming gettext-0.10.13. Some code
2114 is now shared with the locale implementation.
2116 * intl/explodename.c, intl/l10nflist.c, intl/loadinfo.h: New file.
2117 Extracted from finddomain.c. This is also used in the locale
2120 * intl/locale.alias: New file. Locale alias database compatible
2121 with X Window System's locale alias file. Can now be used in
2122 locale and gettext code.
2124 * libio/stdio.h: Add prototypes for asprint and vasprintf.
2126 * locale/C-collate.c, locale/C-ctype.c, locale/C-messages.c,
2127 locale/C-monetary.c, locale/C-numeric.c, locale/C-time.c: Add new
2128 field in structure with name of locale ("C" in this case).
2130 * locale/Makefile (routines): Add findlocale.
2132 * locale/findlocale.c: New file. Instead of trying to load the
2133 directly described file we now try to be much smarter when this
2134 fails. Use the same code as gettext does.
2136 * locale/loadlocale.c, locale/setlocale.c: Rewrite to know about
2139 * locale/localeinfo.h: Adapt prototypes and declarations for new
2140 setlocale implementation. Remove definition of u32_t type. We
2141 now use u_int32_t from <sys/types.h>.
2143 * locale/programs/charset.h (ILLEGAL_CHAR_VALUE): Provide type
2146 * locale/programs/config.h, locale/lc-collate.c,
2147 locale/localeinfo.h, locale/programs/ld-collate.c,
2148 locale/programs/ld-ctype.c, locale/programs/ld-messages.c,
2149 locale/programs/ld-monetary.c, locale/programs/ld-numeric.c,
2150 locale/programs/ld-time.c, locale/weight.h, string/strcoll.c:
2151 Change to use u_int32_t and u_int16_t.
2153 * locale/programs/localedef.c (construct_output_path): Change name
2154 of output locale to contain normalized form of the character set
2157 * string/Makefile (routines): Add agrz-ctsep and argz-next.
2158 (tests): Add tst-strlen.
2160 * string/argz-ctsep.c: New file. Implement reverse operation
2161 from argz-stringify.
2163 * string/argz-next.c: Non-inline version of function from argz.h.
2165 * string/argz.h, string/envz.h: Make usable as global header file.
2167 * string/envz.c: Fix declarations to use size_t where prototypes
2170 * string/tst-strlen.c: New file. Another test for critical
2171 situation in strlen implementations.
2173 * sysdeps/i386/i586/strlen.S: Fix bug with highest byte in word
2176 * wctype/test_wctype.c: Fix controlling comparison after change to
2177 32 bit character class array.
2179 Fri May 3 12:53:12 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
2181 * sysdeps/unix/sysv/linux/sys/socket.h: Remove spurious doubled line.
2183 Thu May 2 22:50:52 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2185 * sysdeps/unix/sysv/linux/getpriority.c: New file.
2186 * sysdeps/unix/sysv/linux/syscalls.list: Add s_getpriority.
2188 Thu May 2 22:41:31 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2190 * sysdeps/unix/sysv/linux/m68k/fpu_control.h (_FPU_DEFAULT):
2191 Disable all exceptions.
2193 Thu May 2 22:33:14 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2195 * sysdeps/m68k/fpu/e_acos.c, sysdeps/m68k/fpu/e_acosf.c,
2196 sysdeps/m68k/fpu/e_fmod.c, sysdeps/m68k/fpu/e_fmodf.c,
2197 sysdeps/m68k/fpu/isinfl.c, sysdeps/m68k/fpu/isnanl.c,
2198 sysdeps/m68k/fpu/s_atan.c, sysdeps/m68k/fpu/s_atanf.c,
2199 sysdeps/m68k/fpu/s_frexp.c, sysdeps/m68k/fpu/s_frexpf.c,
2200 sysdeps/m68k/fpu/s_ilogb.c, sysdeps/m68k/fpu/s_ilogbf.c,
2201 sysdeps/m68k/fpu/s_isinf.c, sysdeps/m68k/fpu/s_isinff.c,
2202 sysdeps/m68k/fpu/s_ldexp.c, sysdeps/m68k/fpu/s_ldexpf.c,
2203 sysdeps/m68k/fpu/s_modf.c, sysdeps/m68k/fpu/s_modff.c: Don't
2204 define __NO_MATH_INLINES, which is already defined on command
2207 Thu May 2 22:18:28 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2209 * sysdeps/libm-ieee754/e_j0f.c (__ieee754_j0f, __ieee754_y0f):
2210 Replace 0x80000000 by 0x48000000.
2211 * sysdeps/libm-ieee754/e_j1f.c (__ieee754_j1f): Likewise.
2213 Thu May 2 21:30:33 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2215 * sunrpc/svc_simple.c: Make global variable pl local to
2218 Thu May 2 00:24:04 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2220 * time/Makefile (tz-cflags): New variable.
2221 (CFLAGS-tzfile.c): New variable.
2222 (CFLAGS-zic.c): Add $(tz-cflags).
2223 (tz-cc): Remove variable.
2224 ($(objpfx)tzfile.o, $(objpfx)zic.o): Remove targets.
2226 Wed May 1 09:10:04 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
2228 * sysdeps/mach/hurd/getcwd.c: Jump out of both loops when we find a
2229 name, instead of checking for reaching end of buffer, which happens
2230 when the match is the last entry in the buffer.
2232 * time/strftime.c: Use canonical autoconf nugget for time.h+sys/time.h
2235 Mon Apr 29 02:48:26 1996 Ulrich Drepper <drepper@cygnus.com>
2237 * ctype/ctype-info.c: (__ctype_width): New variable.
2238 (__ctype_names): Initialize correctly without offset.
2240 * locale/C-collate.c, locale/C-ctype.c,
2241 locale/C-messages.c, locale/C-monetary.c,
2242 locale/C-numeric.c, locale/C-time.c: Change copyright.
2244 * locale/C-ctype.c (_nl_C_LC_CTYPE_class32): Correct
2245 endianess for initialization value.
2247 * locale/lc-ctype.c (current): Add parameter for offset.
2248 (__ctype32_b, __ctype_width): Add initialization for these
2251 * locale/programs/charmap.c: Finish support for WIDTH information.
2252 (new_width): New function.
2254 * locale/programs/charset.h (width_rule): new data structure.
2255 (charset_t): Add elements for width information.
2257 * locale/programs/ld-ctype.c (locale_ctype_t): Add element
2258 for width information.
2259 (allocate_arrays): Add new argument for charset.
2260 (ctype_finish): Make sure all characters named in charset
2261 width table are known to name table.
2262 (ctype_output): Correct handling of class and map name
2263 information and write out width information.
2264 (find_idx): Prepare for being called with NULL pointer as
2265 TABLE argument. This means only allocate name entry.
2266 (allocate_arrays): Correct handling of array element -1.
2267 Because EOF == -1 the value of element 127 must *not* be
2269 Fill width information from charset tables.
2271 * locale/programs/localedef.c (main): Correct loop over all
2272 categories after change of order from Thu Mar 28 14:22:51 1996.
2273 Add new charset argument to call of `write_all_categories'.
2275 * locale/programs/locales.h (ctype_finish, ctype_output): New
2278 * locale/programs/locfile.c (write_all_categories): Call
2279 `ctype_output' with additional argument charset.
2281 * posix/getconf.c (vars): Add _POSIX_SYNC_IO, _POSIX_ASYNC_IO,
2282 and _POSIX_PRIO_IO definitions.
2284 * posix/posix2_lim.h: Add definition of _POSIX2_CHARCLASS_NAME_MAX
2285 and CHARCLASS_NAME_MAX.
2287 * posix/unistd.h: Document _POSIX_SYNC_IO, _POSIX_ASYNC_IO,
2290 * stdlib/grouping.h: Prepare for use in wide string functions.
2292 * stdlib/stdlib.h: Correct prototypes for __strto*_internal
2295 * stdlib/strtod.c: Extend for use as `wcsto{f,d,ld}'.
2297 * stdlib/strtol.c: Extend for use as `wcsto{l,ul,q,uq}'.
2299 * string/strcoll.c: Extend for use as `wcscoll'.
2301 * string/strxfrm.c: Extend for use as `wcsxfrm'.
2303 * sysdeps/generic/confname.h: Add definition of _PC_SYNC_IO,
2304 _PC_ASYNC_IO, _PC_PRIO_IO and _SC_CHARCLASS_NAME_MAX.
2306 * sysdeps/generic/stpncpy.c: Correct return value.
2308 * sysdeps/posix/fpathconf.c: Add handling of _PC_SYNC_IO,
2309 _PC_ASYNC_IO, and _PC_PRIO_IO.
2311 * sysdeps/posix/sysconf.c: Add handling of _SC_REALTIME_SIGNALS,
2312 _SC_PRIORITY_SCHEDULING, _SC_TIMERS, _SC_ASYNCHRONOUS_IO,
2313 _SC_PRIORITIZED_IO, _SC_SYNCHRONIZED_IO, _SC_FSYNC,
2314 _SC_MAPPED_FILES, _SC_MEMLOCK, _SC_MEMLOCK_RANGE,
2315 _SC_MEMORY_PROTECTION, _SC_MESSAGE_PASSING, _SC_SEMAPHORES,
2316 _SC_SHARED_MEMORY_OBJECTS, and _SC_CHARCLASS_NAME_MAX.
2317 * sysdeps/stub/sysconf.c: Ditto.
2318 * sysdeps/unix/sysv/sysv4/sysconf.c: Ditto.
2320 * sysdeps/unix/sysv/linux/Dist: Add sys/sysctl.h.
2322 * sysdeps/unix/sysv/linux/Makefile [subdir == misc]
2323 (sysdep_routines): Add s_sysctl and sysctl.
2325 * sysdeps/unix/sysv/linux/sys/mman.h: Add declaration of mremap.
2327 * sysdeps/unix/sysv/linux/sys/socket.h: New file. Wrapper
2328 around kernel header.
2330 * sysdeps/unix/sysv/linux/sys/sysctl.h: New file. Define
2331 interface to `sysctl' function.
2333 * sysdeps/unix/sysv/linux/syscalls.list: Add mremap and _sysctl.
2335 * sysdeps/unix/sysv/linux/sysconf.c: Add handling of
2336 _SC_CHARCLASS_NAME_MAX.
2338 * sysdeps/unix/sysv/linux/sysctl.c: new file. Implement caller
2339 of _sysctl system call.
2341 * sysvipc/Makefile (routines): Add ftok.
2343 * sysvipc/ftok.c: use variable `proj_id' not `id'. Patch by
2344 David Mosberger-Tang.
2346 * wcsmbs/Makefile (routines): Add wcpcpy, wcpncpy, wcstol,
2347 wcstoul, wcstoq, wcstouq, wcstod, wcstold, wcstof, wcscoll,
2348 wcsxfrm, wcwidth, and wcswidth.
2350 * wcsmbs/wchar.h: Add declarations for wcpcpy, wcpncpy, wcstol,
2351 wcstoul, wcstoq, wcstouq, wcstod, wcstold, wcstof, wcscoll,
2352 wcsxfrm, wcwidth, and wcswidth.
2353 Declare internal interfaces for wcsto* functions.
2354 [OPTIMIZE]: Define inline functions for wcsto* functions to
2355 call internal interface functions.
2357 * wcsmbs/wcpcpy.c, wcsmbs/wcpncpy.c: New files. Implement non-
2358 standard function equivalent to stpcpy/stpncpy.
2360 * wcsmbs/wcscoll.c: Implement `wcscoll' function by using
2361 `strcoll' implementation.
2363 * wcsmbs/wcscpy.c, wcsmbs/wcsncpy.c: Use wint_t instead of
2366 * wcsmbs/wcstod.c: Implement `wcstod' function by using `strtod'
2368 * wcsmbs/wcstof.c: Same for `wcstof'.
2369 * wcsmbs/wcstold.c: Same for `strtold'.
2371 * wcsmbs/wcstol.c: Implement `wcstol' function by using `strtol'
2373 * wcsmbs/wcstoq.c: Same for `wcstoq'.
2374 * wcsmbs/wcstoul.c: Same for `wcstoul'.
2375 * wcsmbs/wcstouq.c: Same for `wcstouq'.
2377 * wcsmbs/wcswidth.c: Implement `wcswidth' function from X/Open
2379 * wcsmbs/wcwidth.c: Ditto for `wcwidth'.
2380 * wcsmbs/wcwidth.h: Common function for definitions of above two
2383 * wcsmbs/wcsxfrm.c: Implement `wcsxfrm function by using
2384 `strxfrm implementation.
2386 * wctype/wctype.c: Remove case for `wctype_t' being 16 bit type.
2388 * wctype/wctype.h (wint_t): Protect against multiple definition.
2389 (wctype_t): Always define as `unsigned long int'.
2391 * wctype.h: New file. Wrapper around wctype/wctype.h.
2393 Tue Apr 30 17:30:46 1996 Miles Bader <miles@gnu.ai.mit.edu>
2395 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Add timeout argument to
2396 interrupt_operation call.
2397 (_hurdsig_interrupt_timeout): New variable.
2399 * hurd/report-wait.c (describe_number): Correctly allocate space
2400 in DESCRIPTION for the digits in I.
2402 Mon Apr 29 00:11:59 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
2404 * hurd/hurdstartup.c (_hurd_split_args): Function removed.
2405 (_hurd_startup): Use argz functions.
2407 * hurd/hurdexec.c: Use argz functions.
2409 * errno.h [!__error_t_defined] (error_t): New type.
2410 * sysdeps/mach/hurd/errnos.awk: #define __error_t_defined after the
2411 typedef in errnos.h.
2413 * string/envz.c, string/envz.h: New files.
2414 * string/argz.h, string/argz-append.c, string/argz-count.c,
2415 string/argz-create.c, string/argz-delete.c, string/argz-extract.c,
2416 string/argz-insert.c, string/argz-stringify.c: New files.
2417 * string/Makefile (routines): Add envz, argz-*.
2418 (headers): Add argz.h, envz.h.
2420 Sun Apr 28 14:14:35 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
2422 * sysdeps/unix/sysv/linux/i386/Makefile: New file.
2424 Wed Apr 24 17:35:30 Ulrich Drepper <drepper@cygnus.com>
2426 * inet/netinet/in.h, socket/sys/socket.h: Move to
2427 sysdeps/generic/netinet/in.h, sysdeps/generic/sys/socket.h.
2428 * netinet/in.h, sys/socket.h: Remove file.
2430 * misc/Makefile (routines): Add fdatasync.
2432 * posix/Makefile (headers): Add sched.h.
2433 (routines): Add nanosleep, sched_setp, sched_getp, sched_sets,
2434 sched_gets, sched_yield, sched_primax, sched_primin, sched_rr_gi.
2436 * posix/getconf.c (vars): Add entries for _POSIX_REALTIME_SIGNALS,
2437 _POSIX_PRIORITY_SCHEDULING, _POSIX_TIMERS, _POSIX_ASYNCHRONOUS_IO,
2438 _POSIX_PRIORITIZED_IO, _POSIX_SYNCHRONIZED_IO, _POSIX_FSYNC,
2439 _POSIX_MAPPED_FILES, _POSIX_MEMLOCK, _POSIX_MEMLOCK_RANGE,
2440 _POSIX_MEMORY_PROTECTION, _POSIX_MESSAGE_PASSING,
2441 _POSIX_SEMAPHORES, _POSIX_SHARED_MEMORY_OBJECTS.
2443 * posix/sched.h: New file. Header for POSIX scheduling interface.
2445 * posix/unistd.h: Describe options from POSIX.4.
2446 Add declaration of fdatasync.
2448 * sysdeps/generic/confname.h: Add definition for
2449 _SC_REALTIME_SIGNALS, _SC_PRIORITY_SCHEDULING, _SC_TIMERS,
2450 _SC_ASYNCHRONOUS_IO, _SC_PRIORITIZED_IO, _SC_SYNCHRONIZED_IO,
2451 _SC_FSYNC, _SC_MAPPED_FILES, _SC_MEMLOCK, _SC_MEMLOCK_RANGE,
2452 _SC_MEMORY_PROTECTION, _SC_MESSAGE_PASSING,
2453 _SC_SEMAPHORES, _SC_SHARED_MEMORY_OBJECTS.
2455 * sysdeps/generic/fdatasync.c: New file. Default implementation
2458 * sysdeps/generic/netinit/in.h: Moved to here from inet/netinet/in.h.
2460 * sysdeps/generic/schedbits.h: New file. System dependent
2461 defintion for POSIX.4 scheduling interface.
2463 * sysdeps/generic/sys/socket.h: Moved to here from socket/sys/socket.h.
2465 * sysdeps/stub/nanosleep.c, sysdeps/stub/sched_getp.c,
2466 sysdeps/stub/sched_gets.c, sysdeps/stub/sched_primax.c,
2467 sysdeps/stub/sched_primin.c, sysdeps/stub/sched_rr_gi.c,
2468 sysdeps/stub/sched_setp.c, sysdeps/stub/sched_sets.c,
2469 sysdeps/stub/sched_yield.c: New file: Stub implementation
2470 for systems missing these POSIX.4 system calls.
2472 * sysdeps/unix/sysv/linux/gnu/types.h,
2473 sysdeps/unix/sysv/linux/ioctls.h: Use kernel header for
2474 data type definitions.
2476 * sysdeps/unix/sysv/linux/netinet/in.h: New file. Linux
2479 * sysdeps/unix/sysv/linux/posix_opt.h: New file. Define POSIX
2480 options applicable for Linux.
2482 * sysdeps/unix/sysv/linux/syscalls.list: Add definitions for
2483 fdatasync, nanosleep, sched_setparam, sched_getparam,
2484 sched_setscheduler, sched_getscheduler, sched_yield,
2485 sched_get_priority_max, sched_get_priority_min, and
2486 sched_rr_get_interval.
2488 * sysdeps/unix/sysv/linux/sysconf.c: Add handling of POSIX.4
2491 * sysdeps/unix/sysv/linux/termbits.h: Use kernel headers.
2493 * time/sys/time.h: Remove definition of `struct timespec'.
2495 * time/time.h (struct timespec): Move definition to here.
2497 Fri Apr 26 01:55:07 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
2499 * malloc/mcheck.c (mabort): Use __libc_fatal only #ifdef _LIBC.
2501 Thu Apr 25 15:49:57 1996 Miles Bader <miles@gnu.ai.mit.edu>
2503 * sysdeps/mach/hurd/getcwd.c (__getcwd): When we find a match in
2504 the scan for a name, avoid doing another readdir (which overwrites
2505 NENTRIES, and was resulting in a bogus ENOENT).
2507 * sysdeps/mach/hurd/fcntl.c (__fcntl): Add missing break after F_SETFL.
2509 Wed Apr 24 00:22:42 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
2511 * stdio/internals.c (seek_to_target): Set errno if seek function
2512 returns the wrong offset.
2514 * wcsmbs/wcsrtombs.c [! EILSEQ] (EILSEQ): Define to EINVAL.
2515 * wcsmbs/wcrtomb.c: Likewise.
2517 * stdio-common/vfprintf.c: Include errno.h.
2519 Tue Apr 23 21:09:14 1996 Miles Bader <miles@gnu.ai.mit.edu>
2521 * hurd/hurdsig.c (signal_allowed): For SIGIO/SIGURG, add a new
2522 variable, LUCKY, to use instead of setting D to -1 (which fouls
2525 Tue Apr 23 15:56:56 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
2527 * config.h.in (HAVE_REGEX): New macro.
2529 * sysdeps/unix/syscalls.list: Add statfs, fstatfs.
2530 * io/Makefile (headers): Add sys/statfs.h, statfsbuf.h.
2531 (routines): Add statfs, fstatfs.
2532 * sysdeps/mach/hurd/statfs.c: New file.
2533 * sysdeps/mach/hurd/fstatfs.c: New file.
2534 * sysdeps/stub/fstatfs.c: New file.
2535 * sysdeps/stub/statfs.c: New file.
2536 * io/sys/statfs.h: New file.
2537 * sysdeps/generic/statfsbuf.h: New file.
2538 * sysdeps/unix/sysv/linux/statfsbuf.h: New file.
2540 Tue Apr 23 00:06:47 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
2542 * malloc/Makefile (gmalloc-routines): Add valloc back here.
2543 (dist-routines): Remove it here.
2544 * malloc/valloc.c [_MALLOC_INTERNAL && GMALLOC_INHIBIT_VALLOC]
2545 (ELIDE_VALLOC): Define it.
2546 [! ELIDE_VALLOC]: Make whole file conditional on this.
2547 * malloc/malloc.h (valloc): Make decl conditional on
2548 [!GMALLOC_INHIBIT_VALLOC] instead of [!emacs].
2550 Mon Apr 22 00:02:19 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
2552 * MakeTAGS: Include version.mk.
2553 (po/SYS_libc.pot): Add missing / in sed s cmd.
2555 Sat Apr 20 18:13:00 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
2557 * Makerules (no-whole-archive): Test $(have-no-whole-archive), not
2558 $(libc_cv_ld_no_whole_archive).
2560 Sat Apr 20 17:07:17 1996 Ulrich Drepper <drepper@cygnus.com>
2562 * assert/assert.h, ctype/ctype.h, dirent/dirent.h, errno.h,
2563 grp/grp.h, io/fcntl.h, io/sys/stat.h, io/utime.h, locale/locale.h,
2564 math/math.h, misc/nlist.h, misc/sgtty.h, misc/sys/file.h,
2565 misc/sys/ioctl.h, misc/sys/uio.h, posix/sys/times.h,
2566 posix/sys/types.h, posix/sys/utsname.h, posix/sys/wait.h,
2567 posix/tar.h, posix/wordexp.h, pwd/pwd.h, resource/sys/vlimit.h,
2568 resource/sys/vtimes.h, setjmp/setjmp.h, signal/signal.h,
2569 stdio-common/printf.h, stdlib/alloca.h, stdlib/stdlib.h,
2570 string/string.h, sysdeps/generic/sigaction.h,
2571 sysdeps/generic/sigset.h, sysdeps/generic/sys/ptrace.h,
2572 sysdeps/generic/sys/ptrace.h, sysdeps/unix/bsd/osf/sigaction.h,
2573 sysdeps/unix/sysv/linux/sys/ptrace.h,
2574 sysdeps/unix/sysv/minix/sigaction.h,
2575 sysdeps/unix/sysv/sco3.2.4/sigaction.h,
2576 sysdeps/unix/sysv/sysv4/sigaction.h,
2577 sysdeps/unix/sysv/sysv4/sigset.h, termios/termios.h,
2578 time/sys/time.h, time/time.h: Fix copyright comment.
2580 Fri Apr 19 00:49:44 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
2582 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): If uids and gids are
2583 not given in stack aux vector, fetch them with syscalls.
2585 * stdlib/rpmatch.c (rpmatch: try): Take new arg NOMATCH, return value
2586 for nonmatching nonerror (instead of !MATCH).
2587 (rpmatch): Use it, so we return -1 when NOEXPR doesn't match either.
2589 * resolv/getnetnamadr.c (getnetbyaddr): Use u_int32_t instead of
2590 unsigned long for variable NET2.
2592 * time/etcetera, time/europe, time/solar89: Updated from ADO's 96e.
2594 Tue Apr 9 14:37:31 1996 Ulrich Drepper <drepper@cygnus.com>
2596 * catgets/Makefile, catgets/catgets.c, catgets/catgetsinfo.h,
2597 catgets/config.h, catgets/gencat.c, catgets/nl_types.h,
2598 catgets/open_catalog.c: New files. Implementation of XPG4
2599 compliant catgets() function and needed tools.
2600 * Makefile (subdirs): Add catgets.
2602 Thu Apr 18 23:36:11 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
2604 * math/Makefile (CPPFLAGS): Append -D__NO_MATH_INLINES.
2606 Wed Apr 10 20:48:43 1996 Ulrich Drepper <drepper@cygnus.com>
2608 * stdio-common/vfprintf.c: Correct some typos.
2610 * sysdeps/libm-ieee754/w_gammaf.c, sysdeps/libm-ieee754/w_lgamma.c,
2611 sysdeps/libm-ieee754/w_lgammaf.c: Reference signgam instead of
2614 Thu Apr 18 21:07:27 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
2616 * Makerules (no-whole-archive): New variable.
2617 (build-shlib): Use it.
2618 * elf/Makefile (libdl.so): Use it.
2619 * configure.in (libc_cv_ld_no_whole_archive): New check for
2621 * config.make.in (have-no-whole-archive): New variable.
2623 * stdio-common/printf_fp.c: Increase fudge factor for BIGNUM_SIZE calc
2626 * Make-dist: Include version.mk.
2627 (version, release): Variables removed.
2628 * Makeconfig (version.mk): New target.
2630 Fri Apr 19 01:42:18 1996 Ulrich Drepper <drepper@cygnus.com>
2632 * locale/Makefile (headers): Add langinfo.h.
2633 (CPPFLAGS): Remove -Iliblib.
2635 Mon Apr 15 16:49:04 1996 Roland McGrath <roland@whiz-bang.gnu.ai.mit.edu>
2637 * malloc/memalign.c, malloc/malloc.h [__DJGPP__ == 1]: Elide memalign
2638 function and its declaration.
2640 Wed Apr 10 14:13:45 1996 Miles Bader <miles@gnu.ai.mit.edu>
2642 * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Store
2643 MACH_PORT_DEAD in the thread reply-port variable before destroying
2644 the signal handler's reply port, to avoid infinite recursion.
2646 Mon Apr 8 18:27:17 1996 Miles Bader <miles@gnu.ai.mit.edu>
2648 * sysdeps/mach/gettimeofday.c (__gettimeofday): Don't fail if the
2649 user passes in TZ, just zero it (emacs passes in a dummy variable,
2650 and rms says the hurd should be the one to change).
2652 Sun Apr 7 10:37:30 1996 Roland McGrath <roland@whiz-bang.gnu.ai.mit.edu>
2654 * sysdeps/mach/hurd/fork.c: Don't leak send rights to the child's proc
2657 Fri Apr 5 17:43:41 1996 Miles Bader <miles@gnu.ai.mit.edu>
2659 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn): Store
2660 MACH_PORT_DEAD in the thread reply-port variable before destroying
2661 the signal handler's reply port to avoid infinite recursion.
2662 * sysdeps/mach/hurd/mig-reply.c (__mig_dealloc_reply_port): Only
2663 attempt to destroy PORT if it's a valid port name.
2665 Wed Apr 3 17:10:44 1996 Roland McGrath <roland@whiz-bang.gnu.ai.mit.edu>
2667 * extra-lib.mk: Put libs in $(common-objpfx) instead of $(objpfx).
2668 * Makerules ($(install-lib) rules): Find libs with $(common-objpfx)
2669 instead of $(objpfx).
2671 Tue Apr 2 21:27:01 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2673 * posix/glob.c (glob_pattern_p): Avoid scanning past eos if
2674 the pattern ends with a backslash and quoting is enabled.
2675 * posix/fnmatch.c (fnmatch): Likewise; return FNM_NOMATCH for such
2678 Mon Apr 1 13:34:55 1996 Roland McGrath <roland@whiz-bang.gnu.ai.mit.edu>
2680 * stdio-common/tst-printf.c (main): Add new test case.
2682 * sysdeps/generic/setenv.c (unsetenv): Use old-style definition.
2684 Mon Apr 1 11:39:10 Ulrich Drepper <drepper@gnu.ai.mit.edu>
2686 * stdlib/strtod.c (STRTOD): Fix handling of American style FP
2689 * stdio-common/vfprintf.c (vfprintf): Don't increment format
2690 string pointer twice after seeing `*'.
2692 Sun Mar 31 17:31:54 1996 Roland McGrath <roland@whiz-bang.gnu.ai.mit.edu>
2694 * MakeTAGS (po/SYS_libc.pot): Prepend header processed from
2697 Sun Mar 31 18:07:32 1996 Ulrich Drepper <drepper@gnu.ai.mit.edu>
2699 * locale/Makefile (others, install-bin): Compiling locale works
2701 (locale-modules): locale has no --dump option anymore. Remove
2704 * locale/programs/config.h: Don't declare euidaccess.
2705 Use #include_next to get libc's config.h.
2707 * locale/programs/ctypedump.c: Not needed anymore. Dump option
2708 of locale is removed.
2710 * locale/programs/locale.c: Adapt for new locale implementation.
2712 * stdio-common/_itoa.h (_itoa_word): Define as inline function.
2713 * stdio-common/_itoa.c (_itoa_lower_digits, _itoa_upper_digits):
2714 Don't declare static because used in _itoa_word inline function.
2716 * stdio-common/printf-parse.h: Prepare for use in wide-char
2717 stdio implementation.
2718 (find_spec): Take additional argument to work with mbrlen instead
2720 (parse_one_spec): Ditto.
2722 * stdio-common/printf-prs.c: Prepare for use in wide-char
2723 stdio implementation.
2725 * stdio-common/printf.h: Mark change for wide-char handling.
2726 Changing it now would result in incompatibilities.
2728 * stdio-common/vfprintf.c: New and fast implementation.
2730 * wcsmbs/Makefile (routines): Remove pre-ISO C multibyte functions
2731 mbsadvance, mbscat, mbschr, mbscmp, mbscpy, mbsdup, mbslen,
2732 mbsncat, mbsncmp, mbsncpy, mbsrchr, mbstomb.
2733 Change wcswcs to wcsstr.
2734 Add wmemchr, wmemcmp, wmemcpy, wmemmove, wmemset, btowc, wctob,
2735 mbsinit, mbrlen, mbrtowc, wcrtomb, mbsrtowcs, wcsrtombs.
2737 * wcsmbs/btowc.c, wcsmbs/mbrlen.c, wcsmbs/mbrtowc.c,
2738 wcsmbs/mbsinit.c, wcsmbs/mbsrtowcs.c, wcsmbs/wchar.h,
2739 wcsmbs/wcrtomb.c, wcsmbs/wcsrtombs.c, wcsmbs/wcsstr.c,
2740 wcsmbs/wctob.c, wcsmbs/wmemchr.c, wcsmbs/wmemcmp.c,
2741 wcsmbs/wmemcpy.c, wcsmbs/wmemmove.c, wcsmbs/wmemset.c: New
2742 function according to ISO C amendment 1.
2743 * wchar.h: Wrapper around "wcsmbs/wchar.h".
2745 * wcsmbs/wcscat.c, wcsmbs/wcschr.c, wcsmbs/wcscmp.c,
2746 wcsmbs/wcscpy.c, wcsmbs/wcscspn.c, wcsmbs/wcsdup.c,
2747 wcsmbs/wcslen.c, wcsmbs/wcsncat.c, wcsmbs/wcsncmp.c,
2748 wcsmbs/wcsncpy.c, wcsmbs/wcspbrk.c, wcsmbs/wcsrchr.c,
2749 wcsmbs/wcsspn.c, wcsmbs/wcstok.c: Changed to conform with ISO C
2752 * wcsmbs/mbsadvance.c, wcsmbs/mbscat.c, wcsmbs/mbschr.c,
2753 wcsmbs/mbscmp.c, wcsmbs/mbscpy.c, wcsmbs/mbsdup.c,
2754 wcsmbs/mbslen.c, wcsmbs/mbsncat.c, wcsmbs/mbsncmp.c,
2755 wcsmbs/mbsncpy.c, wcsmbs/mbsrchr.c, wcsmbs/mbstomb.c,
2756 wcsmbs/mbstr.h, wcsmbs/wcstr.h, wcsmbs/wcswcs.c: Removed.
2757 Implement functions from early drafts, not part of final standard.
2759 Sun Mar 31 16:50:41 1996 Roland McGrath <roland@whiz-bang.gnu.ai.mit.edu>
2761 * setjmp/setjmp.h (jmp_buf): Change gratuitous struct tag name to
2762 __jmp_bug_tag so its C++ implicit typedef does not conflict with the
2765 * Makerules (BUILD_CFLAGS) [! objdir]: Use $(..)config.h when
2766 compiling in the source directories.
2768 Fri Mar 29 16:26:35 1996 Roland McGrath <roland@whiz-bang.gnu.ai.mit.edu>
2770 * sysdeps/libm-ieee754/w_gamma.c: Use signgam instead of __signgam.
2771 * sysdeps/libm-ieee754/s_signgam.c: Undo last change.
2773 Fri Mar 29 11:29:46 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
2775 * sysdeps/libm-ieee754/s_signgam.c (signgam): Renamed to __signgam,
2776 with weak alias signgam.
2778 Thu Mar 28 18:32:34 1996 Roland McGrath <roland@whiz-bang.gnu.ai.mit.edu>
2780 * Makeconfig (+cflags, +gcc-nowarn): Use gcc flags unconditionally.
2782 Thu Mar 28 14:22:51 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
2784 * sunrpc/rpc_main.c (main): Call textdomain.
2786 * MakeTAGS (XGETTEXTFLAGS-siglist.pot, XGETTEXTFLAGS-errlist.pot): Add
2788 (all-pot): Replace $(subdirs) files with $P/subdirs.pot.
2789 ($P/subdirs.pot): New target.
2790 ($P/SYS_libc.pot): Add -n switch.
2792 * locale/locale.h (LC_*): Values reordered to match Linux libc.
2794 * sysdeps/mach/hurd/kill.c: If proc_pid2task gives us MACH_PORT_NULL
2795 the process is a zombie; send no messages and return success.
2797 Thu Mar 28 11:53:26 1996 Roland McGrath <roland@whiz-bang.gnu.ai.mit.edu>
2799 * wctype/cname-lookup.h: Find localeinfo.h in ../locale.
2800 * wctype/wctype.c: Likewise.
2801 * wctype/wctrans.c: Likewise.
2803 Thu Mar 28 03:00:43 1996 Roland McGrath <roland@whiz-bang.gnu.ai.mit.edu>
2805 * locale/nl_langinfo.c (nl_langinfo): Use DATA->values instead of
2808 * Makerules (BUILD_CFLAGS): Remove $(common-objpfx) from config.h.
2810 * configure.in (.weakext check): Fix asm code to use .weakext instead
2811 of .weak! Fix bogus test calls.
2812 * configure: Regenerated.
2814 Thu Mar 28 03:25:10 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
2816 * locale/programs/xmalloc.c: Test _LIBC as well as STDC_HEADERS.
2818 * locale/programs/ld-collate.c (collate_finish): Use error_at_line
2819 instead of error_with_loc.
2821 * locale/weight.h: Use u_int32_t instead of u32_t.
2822 * string/strxfrm.c: Likewise.
2824 * string/strxfrm.c: Find weight.h in ../locale; don't #include
2826 * string/strcoll.c: Likewise.
2828 * intl/Makefile (copysrc): Add missing > in sed cmd.
2830 Sat Mar 23 17:52:49 1996 Ulrich Drepper <drepper@gnu.ai.mit.edu>
2832 * Makeconfig: Rename Makefile variable nlsdir to i18ndir and
2833 change value to $(datadir)/i18n. `nls' is not an appropriate
2836 * Makefile (subdirs): Add new subdir wctype.
2838 * ctype/ctype-info.c: Add new global variable __ctype_names
2839 and initialize from _nl_C_LC_CTYPE.
2841 * ctype/ctype.h: In P1003.3b/D11 `alnum' is a separate character
2843 [_ISbit]: Protect definition of bitmasks because they are also
2846 * libio/genops.c (_IO_sputbackc, _IO_sungetc): Clear EOF flag
2847 after successfully pushing back a character.
2849 Fundamental changes in locale implementation. Almost nothing
2850 from the old code is used anymore.
2851 * locale/charmap.c, locale/collate.c, locale/config.h,
2852 locale/ctypedump.c, locale/hash.h, locale/keyword.gperf,
2853 locale/keyword.h, locale/loadlocale.c, locale/locale-ctype.c,
2854 locale/locale.c locale/localeconv.c, locale/localedef.c,
2855 locale/localedef.h, locale/locfile-hash.c, locale/locfile-lex.c,
2856 locale/locfile-parse.c, locale/messages.c, locale/monetary.c,
2857 locale/numeric.c, locale/setlocale.c, locale/token.h,
2858 locale/xmalloc.c: Removed.
2860 * locale/Makefile: Update for new locale implementation with
2861 program source code distributed in subdir.
2863 * locale/categories.def, locale/iso-4217.def: Updated file
2864 for new locale implementation.
2866 * locale/langinfo.h: Updated for new locale implementation.
2867 (ERA_D_T_FMT, ERA_T_FMT): New official values according to
2869 (_NL_COLLATE_NRULES, _NL_COLLATE_RULES, _NL_COLLATE_HASH_SIZE,
2870 _NL_COLLATE_HASH_LAYERS, _NL_COLLATE_TABLE_EB,
2871 _NL_COLLATE_TABLE_EL, _NL_COLLATE_UNDEFINED, _NL_COLLATE_EXTRA_EB,
2872 _NL_COLLATE_EXTRA_EL, _NL_CTYPE_NAMES_EB, _NL_CTYPE_NAMES_EL,
2873 _NL_CTYPE_HASH_SIZE, _NL_CTYPE_HASH_LAYERS, _NL_CTYPE_CLASS_NAMES,
2874 _NL_CTYPE_MAP_NAMES, _NL_CTYPE_WIDTH): New internal values for
2875 extended LC_CTYPE and LC_COLLATE implementation.
2877 * locale/programs/simple-hash.c, locale/programs/simple-hash.h,
2878 locale/programs/xmalloc.c, locale/programs/xstrdup.c: Helper functions
2879 for locale related programs.
2881 * locale/C-collate.c, locale/C-ctype.c,
2882 locale/C-messages.c, locale/C-monetary.c,
2883 locale/C-numeric.c, locale/C-time.c,
2884 locale/lc-collate.c, locale/lc-ctype.c,
2885 locale/lc-messages.c, locale/lc-monetary.c,
2886 locale/lc-numeric.c, locale/lc-time.c: New implementation of locale
2887 functions, and new generated "C" locale data.
2889 * locale/loadlocale.c: Now handles word fields in locale binary
2890 automatically by changing the endianess if necessary.
2892 * locale/localeinfo.h (LIMAGIC): Changed magic number because
2893 of incompatible changes.
2894 (locale_data): Changed definition to allow word as a value type.
2895 (coll_sort_rule): Values for collation sorting mode.
2896 (_NL_CURRENT_WORD): New macro to access word value of locale entry.
2897 (__collate_table, __collate_extra): Declare new global variables
2898 for collation tables.
2900 * locale/programs/charmap-kw.gperf, locale/programs/charmap-kw.h,
2901 locale/programs/charmap.c, locale/programs/charset.c,
2902 locale/programs/charset.h, locale/programs/config.h,
2903 locale/programs/ctypedump.c, locale/programs/ld-collate.c,
2904 locale/programs/ld-ctype.c, locale/programs/ld-messages.c,
2905 locale/programs/ld-monetary.c, locale/programs/ld-numeric.c,
2906 locale/programs/ld-time.c, locale/programs/linereader.c,
2907 locale/programs/linereader.h, locale/programs/locale.c,
2908 locale/programs/localedef.c, locale/programs/locales.h,
2909 locale/programs/locfile-kw.gperf, locale/programs/locfile-kw.h,
2910 locale/programs/locfile-token.h, locale/programs/locfile.c,
2911 locale/programs/locfile.h, locale/programs/stringtrans.c,
2912 locale/programs/stringtrans.h: Implementation of locale related
2915 * locale/weight.h: Functions to access collation tables.
2917 * posix/unistd.h: Define _POSIX2_LOCALEDEF.
2919 * stdio-common/printf_fp.c: Fix bug with printing certain numbers
2920 < 10^-1. Reported by Bill Metzenthen.
2922 * stdio-common/tfformat.c: Add new test for above bug.
2924 * string/strcoll.c, string/strxfrm.c: Real implementation of
2925 string collation according to ISO C.
2927 * wctype/Makefile, wctype/cname-lookup.h, wctype/iswctype.c,
2928 wctype/test_wctype.c, wctype/towctrans.c, wctype/wcfuncs.c,
2929 wctype/wctrans.c, wctype/wctype.c, wctype/wctype.h: New files.
2930 Implementation of wide character classes and mapping.
2932 Wed Mar 27 14:52:11 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
2934 * elf/rtld.c (dl_main): Call _dl_sysdep_start_cleanup after
2935 _dl_relocate_object loop. Avoid relocating RTLD_MAP in that loop, and
2936 do it individually if necessary after _dl_sysdep_start_cleanup call.
2938 * stdlib/Makefile (mpn-routines): Add divrem.
2940 Tue Mar 26 22:54:14 Ulrich Drepper <drepper@gnu.ai.mit.edu>
2942 * stdio-common/printf_fp.c (__printf_fp): Use mpn_divmod
2943 instead of __mpn_divmod.
2945 Wed Mar 27 10:26:21 1996 David Mosberger-Tang <davidm@azstarnet.com>
2947 * sysdeps/alpha/setjmp.S: Must establish global pointer before
2948 address of __sigsetjmp_aux can be loaded.
2950 Wed Mar 27 02:23:19 1996 Ulrich Drepper <drepper@gnu.ai.mit.edu>
2952 * sysdeps/i386/i586/memset.S: New file. Highly optimized
2953 version for i586 contributed by Torbjorn Granlund.
2954 Adapted for use as bzero.
2955 * sysdeps/i386/i586/bzero.S: Use sysdeps/i386/i586/memset.S
2956 code to implement bzero().
2958 Tue Mar 26 20:01:17 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
2960 * stdlib/Makefile (mpn-routines): Remove divmod.
2962 Tue Mar 26 15:40:14 1996 Brendan Kehoe <brendan@zen.org>
2964 * sysdeps/unix/sysv/sysv4/solaris2/sparc/sysdep.h (NO_UNDERSCORES): Use
2965 wrapped with #ifndef, to avoid config.h defining it.
2967 Mon Mar 25 13:10:04 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
2969 * malloc/realloc.c (_realloc_internal): In case of growing large
2970 block, leave _heaplimit zero across _malloc_internal call.
2972 * intl/Makefile [gettext-srcdir]: Use gpl2lgpl.sed on copied sources.
2974 Mon Mar 25 03:35:16 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
2976 * malloc/malloc.c (morecore): Don't attempt recursive realloc of info
2977 table when _heaplimit==0 during realloc growing large block.
2979 * MakeTAGS (extract): Remove /dev/null from xgettext command line.
2980 (text-srcs): New variable: extract only C sources from $(tags_sources).
2981 (po/$(domain).pot): Depend on that.
2982 If it's empty, cp /dev/null $@ instead of $(extract).
2984 * misc/Makefile (headers): Add iovec.h.
2985 * sysdeps/unix/sysv/linux/iovec.h: New file.
2986 * sysdeps/generic/iovec.h: New file.
2987 * misc/sys/uio.h (struct iovec): Type replaced with #include <iovec.h>.
2989 * configure.in (NO_UNDERSCORES check): Use AC_TRY_LINK instead of
2992 * misc/sys/cdefs.h [__USE_BSD] (const, signed, volatile): Move these
2993 macros inside [! __STDC__].
2995 * stdlib/rpmatch.c: New file.
2996 * stdlib/Makefile (routines): Add rpmatch.
2997 * stdlib/stdlib.h [__USE_SVID]: Declare rpmatch.
2999 * MakeTAGS (MSGJOIN): Variable removed.
3000 (po/SYS_libc.pot): Use $(XGETTEXT) instead of $(MSGJOIN).
3002 Wed Mar 20 20:08:46 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3004 * sysdeps/unix/sysdep.h: Don't define C_SYMBOL_NAME.
3006 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Don't define
3009 Thu Mar 21 11:19:15 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
3011 * mach/devstream.c (input): Translate \r to \n on input.
3013 Wed Mar 20 11:28:49 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3015 * stdio-common/printf.h, stdio-common/printf_fp.c,
3016 stdio-common/vfprintf.c: Place const in parameter list at
3019 Wed Mar 20 23:58.12 1996 Ulrich Drepper <drepper@gnu.ai.mit.edu>
3021 * sysdeps/i386/ldbl2mpn.c: Copy of former version of
3022 sysdeps/ieee754/ldbl2mpn.c.
3023 * sysdeps/ieee754/ldbl2mpn.c: Remove i386 specific unification.
3024 Reported by Andreas Schwab.
3026 Wed Mar 20 19:58:43 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
3028 * version.c: Include version.h to define RELEASE and VERSION macros.
3029 (__libc_release, __libc_version): Use them.
3030 * locale/SYS_libc.c (_libc_intl_domainname): Include ../version.h and
3031 use VERSION to define domainname as `SYS_GNU_libc-VERSION'.
3032 * Make-dist (rel+vers): Snarf the macro values from version.h.
3034 * MakeTAGS (extract): Pass $(XGETTEXTFLAGS-$(@F)).
3035 (XGETTEXTFLAGS-siglist.pot, XGETTEXTFLAGS-errlist.pot): New variables;
3036 pass -a for these files.
3038 * Makerules (po/%.pot): Depend on FORCE target so recursive make is
3041 Mon Mar 18 22:54:32 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3043 * sysdeps/unix/sysv/linux/wait3.c: New file.
3044 * sysdeps/unix/sysv/linux/wait.c: Use the bsd4.4 wait, not the
3045 one from sysdeps/posix.
3047 Wed Mar 20 09:42:11 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
3049 * sysdeps/unix/bsd/waitflags.h (WNOREAP): New macro.
3051 * elf/dl-load.c (_dl_map_object_from_fd): Always set L->l_type; if not
3052 lt_executable, then lt_library.
3053 * elf/rtld.c (dl_main): Don't set NEW->l_type after _dl_map_object.
3055 Wed Mar 20 00:08:23 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3057 * sysdeps/unix/sysv/linux/syscalls.list: Remove gtty and stty.
3059 Tue Mar 19 16:31:06 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3061 * sysdeps/unix/sysv/linux/termbits.h (CRTSCTS, CBAUDEX, VEOL,
3062 VEOL2, VMIN, VTIME): Corrected.
3063 (PAGEOUT, WRAP, VDSUSP): Deleted.
3065 Tue Mar 19 14:18:42 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
3067 * sysdeps/unix/readdir.c: Test [! _DIRENT_HAVE_D_RECLEN] instead of
3068 (sizeof (DP->d_name) > 1) to detect fixed-size dir entries.
3070 * sysdeps/i386/fpu/__math.h (asinh): Call log1p instead of __log1p.
3072 * math/math.h: Move M_* constants before __math.h include.
3073 [__NO_MATH_INLINES || __OPTIMIZE__]: Include __math.h only #if this.
3075 * misc/efgcvt_r.c (ecvt_r): Declare floor, log10, fabs as weak extern.
3076 If log10 is not defined (i.e. no -lm), use stupid loop instead.
3078 * features.h (__FAVOR_BSD): Define only if _BSD_SOURCE is defined
3079 and no other _*_SOURCE macro is.
3080 (_GNU_SOURCE): Don't define by default.
3081 * libc-symbols.h (_GNU_SOURCE): Define it.
3083 * configure.in (alpha*-*-linux*): Unset $gnu_ld and $elf.
3085 * config.make.in (weak-symbols): Variable removed.
3086 * configure.in (--with-weak-symbols): Option removed.
3087 (NO_UNDERSCORES, HAVE_ASM_WEAK_DIRECTIVE, HAVE_ASM_WEAKEXT_DIRECTIVE):
3090 * config.h.in (HAVE_WEAK_SYMBOLS): #undef removed.
3091 (NO_UNDERSCORES, HAVE_ASM_WEAK_DIRECTIVE, HAVE_ASM_WEAKEXT_DIRECTIVE):
3093 * libc-symbols.h: Use them instead of HAVE_WEAK_SYMBOLS.
3095 * sysdeps/unix/bsd/pause.c: Moved to sysdeps/unix/common/pause.c.
3097 Mon Mar 4 20:17:28 1996 David Mosberger-Tang <davidm@azstarnet.com>
3099 * inet/inet_lnaof.c: Use u_int32_t instead of u_long.
3100 * inet/inet_mkadr.c: Likewise.
3101 * inet/inet_net.c: Likewise.
3102 * inet/inet_netof.c: Likewise.
3103 * inet/rcmd.c: Likewise.
3104 * inet/arpa/inet.h: Likewise.
3105 * inet/netinet/in.h: Likewise.
3106 * inet/netinet/tcp.h: Likewise.
3107 * inet/protocols/rwhod.h: Likewise.
3108 * inet/protocols/talkd.h: Likewise.
3109 * resolv/inet_addr.c: Likewise.
3111 * sysdeps/unix/sysv/linux/adjtime.c: Use INT_MAX instead of LONG_MAX.
3113 * sysdeps/unix/sysv/Makefile (sysdep_routines): Don't add s_getdents.
3115 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Don't add mount,
3118 * sysdeps/alpha/__math.h (atan, cabs): New functions.
3120 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S: new file (syscall
3121 expects set-value, not pointer to it).
3123 Sun Feb 25 22:36:10 1996 David Mosberger-Tang <davidm@azstarnet.com>
3125 * sysdeps/unix/sysv/linux/alpha/profil-counter.h: New file.
3127 * gmon/gmon.c (__bb_head): new variable.
3128 (write_hist, write_call_graph, write_bb_counts): new functions.
3129 (_mcleanup): modified to call above functions instead of directly
3130 writing out gmon.out.
3131 * gmon/sys/gmon.h (struct __bb): New type.
3132 (struct gmonhdr): Type removed.
3133 (struct gmonparam): New member `log_hashfraction'.
3134 (GMONVERSION): Macro removed.
3136 * gmon/sys/gmon_out.h, gmon/bb_exit_func.c,
3137 sysdeps/generic/bb_init_func.c, sysdeps/alpha/bb_init_func.S: new
3139 * gmon/Makefile (headers): Add sys/gmon_out.h.
3140 (routines): Add bb_init_func, bb_exit_func.
3142 * gmon/mcount.c: Avoid integer division.
3144 Wed Feb 21 23:56:41 1996 David Mosberger-Tang <davidm@azstarnet.com>
3146 * sysdeps/alpha/setjmp.S: switched order in which sp and fp are
3147 passed to match what __sigsetjmp_aux() expects.
3149 Tue Feb 20 11:33:46 1996 David Mosberger-Tang <davidm@azstarnet.com>
3151 * sysdeps/unix/sysv/linux/alpha/syscalls.list (select, bind,
3152 connect, getpeername, getsockname, listen, recv, recvfrom,
3153 recvmsg, send, sendmsg, sendto, setsockopt, shutdown, socketpair):
3154 added to override same-name assembly file in the parent directory.
3156 * stdlib/stdlib.h: add include of sys/types.h in front of random
3157 etc declarations to ensure int32_t is declared.
3159 * stdlib/random.c, stdlib/random_r.c: replaced "long int" by int32_t
3160 where 32 bit integers are required. Also change LONG_MAX into
3161 0x7fffffff since the intent is to turn off the sign bit in a
3164 * time/offtime.c (__offtime): Use Paul Eggert's code to deal
3165 with very large values for "days" (e.g., 64 bit values).
3167 Mon Feb 19 22:22:12 1996 David Mosberger-Tang <davidm@azstarnet.com>
3169 * stdlib/stdlib.h (__random, __random_r, random_r, struct
3170 random_data): use int32_t instead of `long int'.
3172 Sat Feb 17 11:29:29 1996 David Mosberger-Tang <davidm@azstarnet.com>
3174 * sysdeps/unix/sysv/linux/alpha/ioperm.c: new file.
3176 * sysdeps/alpha/ffs.S: new file.
3178 * sysdeps/alpha/fabs.c: File removed.
3180 * time/tzfile.c (__tzfile_read): counter variable is i, *not*
3183 * time/offtime.c: make capable of dealing with very large (64 bit)
3184 time_t values. Use old algorithm until a year is reached that
3185 is an integer multiple of 400, then use DAYS_PER_400_YEARS to
3186 do the remainder in a single division.
3188 * sysdeps/generic/ffs.c (ffs): fix variable declarations to
3189 be unsigned int, not unsigned long.
3191 * string/test-ffs.c (main): add test case with all upper bits
3194 * stdlib/tst-strtol.c: add tests cases for machines where
3197 * stdlib/testrand.c (main): disallow rand() to return negative
3200 * stdlib/testmb.c (main): fix format to use %lx instead of %x.
3202 * stdlib/stdlib.h: on 64 bit machines, declare
3203 struct random_data, __random(), __random_r, and random_r to
3204 return "int" instead of "long int".
3206 * stdlib/random_r.c: 64 bit machines use "int" instead of "long
3207 int". Similarly, use INT_MAX instead of LONG_MAX.
3209 * stdlib/random.c: on 64 bit machines, randtbl[] and __random[]
3210 need to operate on "int" instead of "long int".
3212 * locale/locfile-hash.c (compute_hashval): make shifted constant
3213 a long to avoid loosing bits on 64 bit machines.
3215 * dirent/tst-seekdir.c (main): fix confusing comment; print
3216 a line to mark point where directory is rewound.
3218 Fri Feb 16 15:01:49 1996 David Mosberger-Tang <davidm@azstarnet.com>
3220 * time/strftime.c (strftime): any hour > 11 is PM (not > 12!).
3222 Wed Feb 14 00:21:17 1996 David Mosberger-Tang <davidm@azstarnet.com>
3224 * sysdeps/unix/sysv/linux/alpha/Makefile,
3225 sysdeps/unix/sysv/linux/alpha/brk.S,
3226 sysdeps/unix/sysv/linux/alpha/fpu_control.c,
3227 sysdeps/unix/sysv/linux/alpha/fpu_control.h,
3228 sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S,
3229 sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S,
3230 sysdeps/unix/sysv/linux/alpha/pipe.S,
3231 sysdeps/unix/sysv/linux/alpha/setfpucw.c,
3232 sysdeps/unix/sysv/linux/alpha/sigprocmask.c,
3233 sysdeps/unix/sysv/linux/alpha/speed.c,
3234 sysdeps/unix/sysv/linux/alpha/start.S,
3235 sysdeps/unix/sysv/linux/alpha/syscall.S,
3236 sysdeps/unix/sysv/linux/alpha/syscalls.list,
3237 sysdeps/unix/sysv/linux/alpha/alpha/regdef.h,
3238 sysdeps/unix/sysv/linux/alpha/sysdep.S,
3239 sysdeps/unix/sysv/linux/alpha/sysdep.h: New files.
3241 * sysdeps/alpha/setjmp_aux.c (__sigsetjmp_aux): restore return
3242 address register before returning (gcc 2.7.1 doesn't do it,
3243 presumably because $26 is declared as a global variable).
3245 * sysdeps/unix/sysv/linux/sys/mman.h: msync was missing "flags"
3248 * sysdeps/unix/alarm.c (alarm): do roundup using test & increment
3249 instead of multiplication.
3251 * sysdeps/posix/sleep.c (sleep): initialize sa_mask to mask of
3252 currently blocked signals instead of the empty mask to ensure
3253 that execution of alarm handler occurs with none of the currently
3254 blocked signals enabled.
3256 * sysdeps/unix/alpha/sysdep.h: new file (adapted from OSF/1 version).
3258 * sysdeps/unix/bsd/osf/alpha/sysdep.h: include
3259 sysdeps/unix/alpha/sysdep.h and removed definitions now in that file.
3261 * sysdeps/alpha/divrem.S, sysdeps/alpha/htonl.S,
3262 sysdeps/alpha/htons.S, sysdeps/alpha/machine-gmon.h,
3263 sysdeps/alpha/_mcount.S, sysdeps/alpha/ntohl.s, sysdeps/alpha/ntohs.s,
3264 sysdeps/alpha/strlen.S: New files.
3266 * sysdeps/alpha/divl.S, sysdeps/alpha/divlu.S, sysdeps/alpha/divq.S,
3267 sysdeps/alpha/divqu.S, sysdeps/alpha/divrem.m4,
3268 sysdeps/alpha/macros.m4, sysdeps/alpha/reml.S, sysdeps/alpha/remlu.S,
3269 sysdeps/alpha/remq.S, sysdeps/alpha/remqu.S, sysdeps/alpha/strlen.c:
3272 * sysdeps/generic/sbrk.c (__sbrk): argument is of type ptrdiff_t, not
3275 * sysdeps/alpha/__longjmp.c (__longjmp): moved dummy while loop
3276 to end of function to avoid a jump across NOPs.
3278 * sysdeps/alpha/Makefile (sysdep_routines): Removed all rules
3279 pertaining to integer division/remainder routines since new code
3280 doesn't require them.
3282 * sunrpc/xdr_mem.c, sunrpc/xdr_stdio.c: Use 4 instead of sizeof(long)
3283 where 32 bit quantities are consumed/stored. Various other minor
3284 64-bit cleanups (casting).
3286 * sunrpc/xdr.c (xdr_int): test for sizeof(int)==4 to determine
3287 whether xdr_long or xdr_short should be used to encode an int.
3288 Notice that an xdr_long is 4 bytes independent of the architecture
3289 (otherwise no Alpha could interoperate with existing NFS servers,
3290 for example). Ditto for enums.
3292 * sunrpc/svc_udp.c (svcudp_recv): changed test from 4*sizeof(u_long)
3293 to 16 since it really wants 16 bytes.
3295 * sunrpc/svc.c (maskp): changed from u_long* to u_int32*.
3297 * sunrpc/rpc/xdr.h (IXDR_GET_LONG, IXDR_PUT_LONG): change casts to
3298 u_int32_t (instead of u_long).
3300 * sunrpc/rpc_cmsg.c (xdr_callmsg), sunrpc/svc_authux.c: increment
3301 "buf" pointer by casting it to a char* first since a long* may be 8
3302 bytes or more and oa->oa_length may be any multiple of 4.
3304 * sunrpc/clnt_udp.c (clntudp_call): replaced sizeof(u_long) by 4
3305 since it really is testing for 32 bits. Fixed casts to use
3306 u_int32 instead of u_long.
3307 * sunrpc/xdr_rec.c: Likewise.
3309 * sunrpc/clnt_tcp.c (clnttcp_call): replaced u_long by u_int32.
3310 * sunrpc/rpc/auth.h: Likewise.
3312 * limits.h (LONG_MAX, LONG_MIN, ULONG_MAX): use 64 bit values
3315 Tue Mar 19 13:27:49 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
3317 * sysdeps/i386/fpu/__math.h: New file.
3318 Contributed by John C. Bowman <bowman@hagar.ph.utexas.edu>.
3320 Sun Mar 17 00:28:16 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3322 * sysdeps/posix/clock.c: Don't multiply the return value by
3323 CLOCKS_PER_SEC or CLK_TCK.
3325 Mon Mar 18 13:20:46 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
3327 * sysdeps/mach/hurd/getcwd.c: Fail with ENOENT if a parent directory
3328 scan finds no match.
3330 * posix/unistd.h (setpgrp): Declare no-arg version unless __FAVOR_BSD.
3331 * misc/bsd-compat.c (setpgrp): New function, two arg version.
3332 * sysdeps/stub/setpgid.c: Remove setpgrp alias.
3333 * sysdeps/mach/hurd/setpgid.c: Likewise.
3334 * sysdeps/unix/sysv/sysv4/setpgid.c: Likewise.
3335 * sysdeps/unix/common/syscalls.list (setpgid): Remove setpgrp alias.
3336 * sysdeps/unix/sysv/irix4/syscalls.list: Likewise.
3337 * sysdeps/unix/sysv/linux/setpgrp.c: Obsolete file removed.
3338 * posix/setpgrp.c (setpgrp): New file.
3339 * posix/Makefile (routines): Add setpgrp.
3341 * elf/Makefile (rtld-link): New canned sequence.
3342 (ld.so, ld-linux.so.1): Use it. Pass -soname option.
3344 * sysdeps/i386/setjmp.S (__setjmp): Define compatibility entry point.
3346 Sun Mar 17 23:15:32 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3348 * sysdeps/unix/sysv/linux/tcgetpgrp.c,
3349 sysdeps/unix/sysv/linux/tcsetpgrp.c: New files.
3351 Sun Mar 17 07:19:33 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
3353 * db/Makefile (CFLAGS-hash_func.c): New variable; pass -Wno-unused.
3354 (CFLAGS): Append -Wno-unitialized.
3356 Sat Mar 16 20:58:43 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
3358 * stdlib/erand48_r.c: Use FP division by powers of two to distribute
3359 short bits into double.
3361 Sat Mar 16 20:08:22 1996 David Mosberger-Tang <davidm@azstarnet.com>
3363 * sysdeps/alpha/memchr.S: New file.
3364 * sysdeps/alpha/memchr.c: Obsolete file removed.
3365 * string/tester.c: Soup up memchr tests.
3367 Sat Mar 16 16:26:09 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
3369 * misc/Makefile (headers): Add sysexits.h.
3370 * misc/sysexits.h: New file.
3372 Thu Mar 14 15:20:45 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3374 * sysdeps/libm-ieee754/e_atan2.c (__ieee754_atan2): Change atan
3376 * sysdeps/libm-ieee754/e_atan2f.c (__ieee754_atan2f): Change atanf
3379 * sysdeps/m68k/fpu/e_acos.c, sysdeps/m68k/fpu/e_acosf.c,
3380 sysdeps/m68k/fpu/e_asin.c, sysdeps/m68k/fpu/e_asinf.c,
3381 sysdeps/m68k/fpu/e_atanh.c, sysdeps/m68k/fpu/e_atanhf.c,
3382 sysdeps/m68k/fpu/e_cosh.c, sysdeps/m68k/fpu/e_coshf.c,
3383 sysdeps/m68k/fpu/e_exp.c, sysdeps/m68k/fpu/e_expf.c,
3384 sysdeps/m68k/fpu/e_fmod.c, sysdeps/m68k/fpu/e_fmodf.c,
3385 sysdeps/m68k/fpu/e_log.c, sysdeps/m68k/fpu/e_log10.c,
3386 sysdeps/m68k/fpu/e_log10f.c, sysdeps/m68k/fpu/e_logf.c,
3387 sysdeps/m68k/fpu/e_pow.c, sysdeps/m68k/fpu/e_powf.c,
3388 sysdeps/m68k/fpu/e_remainder.c, sysdeps/m68k/fpu/e_remainderf.c,
3389 sysdeps/m68k/fpu/e_scalb.c, sysdeps/m68k/fpu/e_scalbf.c,
3390 sysdeps/m68k/fpu/e_sinh.c, sysdeps/m68k/fpu/e_sinhf.c,
3391 sysdeps/m68k/fpu/e_sqrt.c, sysdeps/m68k/fpu/e_sqrtf.c,
3392 sysdeps/m68k/fpu/k_cos.c, sysdeps/m68k/fpu/k_cosf.c,
3393 sysdeps/m68k/fpu/k_sin.c, sysdeps/m68k/fpu/k_sinf.c,
3394 sysdeps/m68k/fpu/k_tan.c, sysdeps/m68k/fpu/k_tanf.c,
3395 sysdeps/m68k/fpu/s_atan.c, sysdeps/m68k/fpu/s_atanf.c,
3396 sysdeps/m68k/fpu/s_ceil.c, sysdeps/m68k/fpu/s_ceilf.c,
3397 sysdeps/m68k/fpu/s_cos.c, sysdeps/m68k/fpu/s_cosf.c,
3398 sysdeps/m68k/fpu/s_expm1.c, sysdeps/m68k/fpu/s_expm1f.c,
3399 sysdeps/m68k/fpu/s_fabs.c, sysdeps/m68k/fpu/s_fabsf.c,
3400 sysdeps/m68k/fpu/s_finite.c, sysdeps/m68k/fpu/s_finitef.c,
3401 sysdeps/m68k/fpu/s_floor.c, sysdeps/m68k/fpu/s_floorf.c,
3402 sysdeps/m68k/fpu/s_frexp.c, sysdeps/m68k/fpu/s_frexpf.c,
3403 sysdeps/m68k/fpu/s_ilogb.c, sysdeps/m68k/fpu/s_ilogbf.c,
3404 sysdeps/m68k/fpu/s_isinf.c, sysdeps/m68k/fpu/s_isinff.c,
3405 sysdeps/m68k/fpu/s_isnan.c, sysdeps/m68k/fpu/s_isnanf.c,
3406 sysdeps/m68k/fpu/s_ldexp.c, sysdeps/m68k/fpu/s_ldexpf.c,
3407 sysdeps/m68k/fpu/s_log1p.c, sysdeps/m68k/fpu/s_log1pf.c,
3408 sysdeps/m68k/fpu/s_logb.c, sysdeps/m68k/fpu/s_logbf.c,
3409 sysdeps/m68k/fpu/s_modf.c, sysdeps/m68k/fpu/s_modff.c,
3410 sysdeps/m68k/fpu/s_rint.c, sysdeps/m68k/fpu/s_rintf.c,
3411 sysdeps/m68k/fpu/s_scalbn.c, sysdeps/m68k/fpu/s_scalbnf.c,
3412 sysdeps/m68k/fpu/s_significand.c,
3413 sysdeps/m68k/fpu/s_significandf.c, sysdeps/m68k/fpu/s_sin.c,
3414 sysdeps/m68k/fpu/s_sinf.c, sysdeps/m68k/fpu/s_tan.c,
3415 sysdeps/m68k/fpu/s_tanf.c, sysdeps/m68k/fpu/s_tanh.c,
3416 sysdeps/m68k/fpu/s_tanhf.c: New files, for m68881 port of fdlibm.
3418 * sysdeps/m68k/fpu/__math.h: Rewritten for fdlibm.
3420 * sysdeps/m68k/fpu/isinfl.c: Rewritten to get argument type right.
3421 * sysdeps/m68k/fpu/isnanl.c: Likewise.
3423 Thu Mar 14 06:01:07 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
3425 * posix/glob.c (glob): In GLOB_BRACE brace expansion, fix buffer size
3426 calculation to include trailing invariant portion. Don't use alloca;
3427 instead use a dynamic auto array for GCC, malloc for non-GCC.
3428 Handle nested braces properly.
3430 * elf/elf.h (Elf32_auxv_t): Specify prototype (void) for `a_un.a_fcn'.
3432 * libc-symbols.h (lint): New macro.
3434 Fri Mar 15 01:18:00 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3436 * libio/iosetvbuf.c: Add weak alias setvbuf.
3438 Thu Mar 14 06:01:07 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
3440 * string/strnlen.c: New file.
3441 * string/Makefile (routines): Add strnlen.
3442 * string/string.h [__USE_GNU] (strnlen): Declare new function.
3443 [__OPTIMIZE__]: Define extern inline implementation of it.
3445 * stdlib/erand48_r.c: Use __mpn_construct_double instead of ldexp and
3446 addition, to avoid using anything from -lm.
3448 Mon Mar 4 21:57:14 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3450 * sysdeps/unix/sysv/linux/m68k/Makefile: New file.
3452 * sysdeps/unix/sysv/linux/m68k/sysdep.h (SYS_ify): Redefine.
3453 (CALL_MCOUNT): New macro, empty unless [PROF].
3454 (ENTRY): Do CALL_MCOUNT just after the label.
3455 (JUMPTARGET): New macro.
3456 (SYSCALL_ERROR_HANDLER): Fix syntax.
3458 Thu Mar 14 04:20:48 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
3460 * sysdeps/unix/sysv/linux/init-first.c (init): Call `__personality'
3461 function instead of using inline asm i386 syscall.
3462 * sysdeps/unix/sysv/linux/syscalls.list: Add personality syscall.
3464 * posix/unistd.h [__USE_BSD]: Declare usleep.
3466 Tue Mar 12 04:57:57 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
3468 * misc/efgcvt.c (MAXDIG): New macro computed from <floats.h> constants.
3469 (fcvt, ecvt): Use it for buffer size.
3471 * stdlib/drand48-iter.c (__drand48_iterate): Use u_int64_t instead of
3472 conditionalizing long vs long long.
3474 * stdlib/drand48-iter.c (__drand48_iterate): Don't check for null
3475 pointers; never return EFAULT.
3476 * stdlib/drand48_r.c (drand48_r): Likewise.
3477 * stdlib/erand48_r.c (erand48_r): Likewise.
3479 * setjmp/Makefile (tests): Add jmpbug.
3480 * setjmp/jmpbug.c: New file.
3482 Tue Mar 12 04:42:01 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
3484 * sysdeps/sparc/jmp_buf.h: Rewritten; use array of ints, not struct.
3485 * sysdeps/sparc/setjmp.S: Rewritten; store %fp value as well.
3486 * sysdeps/sparc/__longjmp.S: Rewritten; unwind frames one by one with
3487 `restore' until the target frame is hit.
3489 Sun Mar 10 20:29:40 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3491 * sysdeps/unix/sysv/linux/sigsuspend.c: New file.
3492 * sysdeps/unix/sysv/linux/syscalls.list: Remove sigsuspend, add
3495 Thu Mar 7 21:30:58 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3497 * Makerules (+make-deps, sed-remove-objpfx): Quote periods on the
3498 left side of sed substitutions.
3500 Sun Mar 10 16:58:10 1996 Ulrich Drepper <drepper@gnu.ai.mit.edu>
3502 * stdio-common/printf_fp.c (hack_digit): __mpn_normal_size
3503 is not available anymore. Do it ourselves.
3505 * sysdeps/unix/sysv/linux/i386/fpu_control.h (_FPU_SETCW):
3506 Correct GCC `asm' syntax.
3508 Tue Mar 12 03:15:02 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
3510 * stdio-common/Makefile (tests): Add tst-ungetc.
3511 * stdio-common/tst-ungetc.c: New test from drepper.
3512 * stdio-common/tstscanf.c (main): New %[ test case from drepper.
3514 * sysdeps/libm-ieee754/s_scalbn.c (scalbn): Rename to __scalbn;
3515 somehow this was missed, though the weak alias is already there.
3517 * sysdeps/unix/sysv/linux/i386/fpu_control.h (_FPU_DEFAULT): Change
3518 default to double precision, all interrupts masked; fdlibm requires.
3520 Sat Mar 9 18:44:27 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>