1 Wed Jun 5 22:06:21 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Fix type of reloc
5 [case R_68K_32]: Check for resolve being null.
6 (RTLD_START): Add missing label.
8 Fri Jun 7 1996 05:29:32 Ulrich Drepper <drepper@cygnus.com>
10 * misc/lsearch.c: New file. Implementation of lfind and
13 * misc/search.h: Add prototype for functions from tsearch
14 family with __ prefix.
15 Correct prototype for lsearch: BASE parameter must not be
18 * misc/tsearch.c: prepend all global function names with __
19 and make normal names weak aliases.
21 Fri Jun 7 00:15:24 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
23 * Make-dist (sysdep_dirs): Skip CVS dirs.
25 Thu Jun 6 16:12:39 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
27 * malloc/Makefile (distribute): Change malloc/gmalloc-head.c to
29 (malloc/gmalloc.c): Depend on malloc/gmalloc-head.c.
30 (malloc/Makefile): Do $(make-target-directory) first.
31 * malloc/gmalloc-head.c: New file.
33 * po/Makefile (linguas.mo): Don't commit .mo files to cvs.
35 * hurd/hurdsig.c (_hurd_internal_post_signal): For SIGNO==0 pending
36 check, deliver a pending blocked signal if its action might be to
38 * sysdeps/mach/hurd/sigaction.c: If new action is SIG_IGN or SIG_DFL
39 and SIG is pending, wake up signal thread to check us.
41 * hurd/hurdsig.c (_hurd_internal_post_signal): Don't mark a signal
42 pending while blocked or stopped when the action is to ignore it.
44 Thu Jun 6 12:56:03 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
46 * hurd/hurdsig.c (_hurd_internal_post_signal: resume): Only set
47 SS_SUSPENDED when the thread is really suspended.
49 * elf/rtld.c (dl_main): Don't dereference _dl_rtld_map.l_next if null.
51 * Makerules (headers): Move append of $(sysdep_headers) after include
54 * sysdeps/mach/hurd/errlist.c: File removed.
56 Thu Jun 6 07:32:14 1996 Miles Bader <miles@gnu.ai.mit.edu>
58 * resolv/gethnamaddr.c (struct hstorage): Make NAME field a pointer.
59 (_gethtbyname2): Remove ALIAS variable.
60 Initialize NAME field of SELF and TARGET to 0.
61 Add SELF_NAME_SIZE static variable.
62 Add loop to call gethostname until the space we allocated is enough.
63 Use malloced strings instead of fixed size buffers.
64 <stdlib.h>, <unistd.h>: New includes.
65 * sysdeps/generic/sys/socket.h (PF_INET6, AF_INET6): New macros.
67 * sysdeps/mach/hurd/errlist.c (_sys_errlist): Add EILSEQ.
68 (_sys_nerr): Initialize to 107.
69 Update _HURD_ERRNOS consistency check.
71 * stdlib/canonicalize.c (canonicalize): Use pathconf for PATH_MAX,
74 * login/login.c [!PATH_MAX] (PATH_MAX): Define to be 1024 if not
77 * sysdeps/mach/hurd/setitimer.c (timer_thread): Supply SIGCODE
78 argument to __msg_sig_post_request.
80 * hurd/hurdmalloc.c: Changes to bring in line with the hurd
82 (more_memory): Use assert_perror instead of MACH_CALL.
83 "cthread_internals.h": Include removed.
84 (realloc): Use LOG2_MIN_SIZE.
85 (LOG2_MIN_SIZE): New macro.
86 (realloc): Don't bother allocating a new block if the
87 new size request fits in the old one and doesn't waste any space.
88 Only free the old block if we successfully got a new one.
89 [MCHECK] (struct header): New type.
90 (union header): Only define if !MCHECK.
91 (HEADER_SIZE, HEADER_NEXT, HEADER_FREE, HEADER_CHECK): New macros.
92 [MCHECK] (MIN_SIZE): Add correct definition for this case.
93 (more_memory, malloc, free, realloc): Use above macros, and add
94 appropiate checks & frobs in MCHECK case.
96 Thu Jun 6 02:00:42 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
98 * Makerules (distinfo-vars): Don't write constant line to frob sources.
99 * Make-dist (sources): Append $(elided-routines) and $(extra-libs)
102 Tue Jun 4 22:03:02 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
104 * sysdeps/m68k/fpu/__math.h: Define long double versions of
105 the inline functions.
107 * sysdeps/m68k/fpu/e_asinl.c, sysdeps/m68k/fpu/e_atanl.c,
108 sysdeps/m68k/fpu/e_acosl.c, sysdeps/m68k/fpu/e_expl.c,
109 sysdeps/m68k/fpu/e_fmodl.c, sysdeps/m68k/fpu/e_log10l.c,
110 sysdeps/m68k/fpu/e_logl.c, sysdeps/m68k/fpu/e_powl.c,
111 sysdeps/m68k/fpu/e_remainderl.c, sysdeps/m68k/fpu/e_scalbl.c,
112 sysdeps/m68k/fpu/e_sinhl.c, sysdeps/m68k/fpu/e_sqrtl.c,
113 sysdeps/m68k/fpu/k_cosl.c, sysdeps/m68k/fpu/k_sinl.c,
114 sysdeps/m68k/fpu/k_tanl.c, sysdeps/m68k/fpu/s_atanl.c,
115 sysdeps/m68k/fpu/s_ceill.c, sysdeps/m68k/fpu/s_cosl.c,
116 sysdeps/m68k/fpu/s_expm1l.c, sysdeps/m68k/fpu/s_fabsl.c,
117 sysdeps/m68k/fpu/s_finitel.c, sysdeps/m68k/fpu/s_floorl.c,
118 sysdeps/m68k/fpu/s_frexpl.c, sysdeps/m68k/fpu/s_ilogbl.c,
119 sysdeps/m68k/fpu/s_isinfl.c, sysdeps/m68k/fpu/s_isnanl.c,
120 sysdeps/m68k/fpu/s_ldexpl.c, sysdeps/m68k/fpu/s_log1pl.c,
121 sysdeps/m68k/fpu/s_logbl.c, sysdeps/m68k/fpu/s_modfl.c,
122 sysdeps/m68k/fpu/s_rintl.c, sysdeps/m68k/fpu/s_scalbnl.c,
123 sysdeps/m68k/fpu/s_significandl.c, sysdeps/m68k/fpu/s_sinl.c,
124 sysdeps/m68k/fpu/s_tanhl.c, sysdeps/m68k/fpu/s_tanl.c: New files.
126 * sysdeps/m68k/fpu/e_acos.c, sysdeps/m68k/fpu/e_fmod.c,
127 sysdeps/m68k/fpu/k_cos.c, sysdeps/m68k/fpu/k_sin.c,
128 sysdeps/m68k/fpu/k_tan.c, sysdeps/m68k/fpu/s_atan.c,
129 sysdeps/m68k/fpu/s_frexp.c, sysdeps/m68k/fpu/s_ilogb.c,
130 sysdeps/m68k/fpu/s_isinf.c, sysdeps/m68k/fpu/s_ldexp.c,
131 sysdeps/m68k/fpu/s_modf.c: Define generic functions using FUNC and
132 float_type with appropriate defaults.
134 * sysdeps/m68k/fpu/e_acosf.c, sysdeps/m68k/fpu/e_fmodf.c,
135 sysdeps/m68k/fpu/k_cosf.c, sysdeps/m68k/fpu/k_sinf.c,
136 sysdeps/m68k/fpu/k_tanf.c, sysdeps/m68k/fpu/s_atanf.c,
137 sysdeps/m68k/fpu/s_frexpf.c, sysdeps/m68k/fpu/s_ilogbf.c,
138 sysdeps/m68k/fpu/s_isinff.c, sysdeps/m68k/fpu/s_ldexpf.c,
139 sysdeps/m68k/fpu/s_modff.c: Include the corresponding double
140 versions with appropriate definitions to get float functions,
141 instead of defining them directly.
143 * sysdeps/m68k/fpu/acos.c: File removed.
144 * sysdeps/m68k/fpu/asin.c: File removed.
145 * sysdeps/m68k/fpu/atan.c: File removed.
146 * sysdeps/m68k/fpu/atan2.c: File removed.
147 * sysdeps/m68k/fpu/atanh.c: File removed.
148 * sysdeps/m68k/fpu/ceil.c: File removed.
149 * sysdeps/m68k/fpu/cos.c: File removed.
150 * sysdeps/m68k/fpu/cosh.c: File removed.
151 * sysdeps/m68k/fpu/drem.c: File removed.
152 * sysdeps/m68k/fpu/exp.c: File removed.
153 * sysdeps/m68k/fpu/expm1.c: File removed.
154 * sysdeps/m68k/fpu/fabs.c: File removed.
155 * sysdeps/m68k/fpu/fl.h: File removed.
156 * sysdeps/m68k/fpu/floor.c: File removed.
157 * sysdeps/m68k/fpu/fmod.c: File removed.
158 * sysdeps/m68k/fpu/frexp.c: File removed.
159 * sysdeps/m68k/fpu/isinf.c: File removed.
160 * sysdeps/m68k/fpu/isinfl.c: File removed.
161 * sysdeps/m68k/fpu/isnan.c: File removed.
162 * sysdeps/m68k/fpu/isnanl.c: File removed.
163 * sysdeps/m68k/fpu/ldexp.c: File removed.
164 * sysdeps/m68k/fpu/log.c: File removed.
165 * sysdeps/m68k/fpu/log10.c: File removed.
166 * sysdeps/m68k/fpu/log1p.c: File removed.
167 * sysdeps/m68k/fpu/logb.c: File removed.
168 * sysdeps/m68k/fpu/pow.c: File removed.
169 * sysdeps/m68k/fpu/rint.c: File removed.
170 * sysdeps/m68k/fpu/sin.c: File removed.
171 * sysdeps/m68k/fpu/sinh.c: File removed.
172 * sysdeps/m68k/fpu/sqrt.c: File removed.
173 * sysdeps/m68k/fpu/tan.c: File removed.
174 * sysdeps/m68k/fpu/tanh.c: File removed.
176 Thu Jun 6 00:02:15 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
178 * sysdeps/unix/sysv/linux/syscalls.list: Add select (the syscall name
180 * sysdeps/unix/sysv/linux/select.S: File removed.
182 * sysdeps/unix/sysv/linux/m68k/select.S: File removed; obsolete with
183 current kernels, generic linux version is fine.
185 * locale/Makefile: Add vpath for %.gperf to programs.
187 * Make-dist (+tsrcs): Variable removed.
188 (dist): Process $^ here instead of using $(+tsrcs).
190 * sysdeps/unix/sysv/linux/Makefile (install-others): Don't set.
191 ($(includedir)/sys/syscall.h): Target removed.
192 (sysdep_headers): Add syscall-list.h.
193 ($(objpfx)syscall-%.[dh]): New rule to build syscall-list.[dh].
194 (generated): Add those.
195 * sysdeps/unix/sysv/linux/syscall.h: Include <syscall-list.h>.
197 Wed Jun 5 15:57:28 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
199 * misc/sys/syscall.h: New file.
200 * misc/Makefile (headers): Add sys/syscall.h.
202 * time/tzfile.h, time/private.h, time/zdump.c, time/zic.c,
203 time/africa, time/asia, time/australasia, time/europe,
204 time/northamerica, time/southamerica: Updated from ADO 96h.
206 * Make-dist (all-headers): Filter $(sysdep_headers) out of $(headers).
207 (try-sysdeps, +sysdep-names): Check sysdeps/libm-ieee754 too.
209 * Makerules (distinfo-vars): Add sysdep_headers.
210 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Append to
211 this instead of $(headers).
212 * sysdeps/unix/sysv/linux/alpha/Makefile: Likewise.
213 * sysdeps/unix/sysv/linux/i386/Makefile: Likewise.
215 * Make-dist [subdirs-dirs]: Don't prefix $(subdir-dirs) with
216 $(subdir); we are already there.
218 * sysdeps/unix/sysv/sysv4/solaris2/sparc/Dist: Removed.
220 * mach/Machrules: Undo last change.
221 (mach-generated): List .uh and .__h files only for $(user-interfaces),
222 not for each .h in $(interface-headers); server-interfaces have no .uh
225 Wed Jun 5 15:42:51 1996 Miles Bader <miles@gnu.ai.mit.edu>
227 * mach/Machrules (%_server.uh, %_server.__h): New rules, so that the
228 corrsponding .defs file with without the `_server' will be used.
230 * mach/Makefile (mach/mach_interface.defs): Renamed from
232 (mach/memory_object_user.defs): New variable.
234 Wed Jun 5 15:10:58 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
236 * Make-dist [subdir-dirs]: Set vpath for %, not just %.c.
238 * locale/Makefile (subdir-dirs): New variable.
240 Wed Jun 5 00:01:19 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
242 * Makerules (distinfo-vars): Add sysdep_routines.
244 * mach/Machrules (include-%.defs): New canned sequence.
245 Change all uses of `#include <$*.defs>' in cmds to use it.
246 * mach/Makefile (mach_interface.defs): New variable, set to mach.defs.
248 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle RESOLVE being
249 null in all cases but R_386_COPY.
252 Wed Jun 5 00:01:19 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
254 * sysdeps/unix/bsd/ultrix4/mips/Dist: Updated.
255 * sysdeps/unix/bsd/ultrix4/Dist: Removed.
256 * sysdeps/unix/sysv/sysv4/Dist: Updated.
257 * sysdeps/unix/sysv/sco3.2.4/Dist: Removed.
258 * sysdeps/unix/sysv/irix4/Dist: Updated.
259 * sysdeps/unix/sysv/linux/i386/Dist: Removed.
260 * sysdeps/unix/sysv/Dist: Updated.
261 * sysdeps/unix/bsd/sun/sunos4/Dist: Removed.
262 * sysdeps/unix/bsd/sony/newsos4/Dist: Removed.
263 * sysdeps/gnu/Dist: New file.
264 * sysdeps/alpha/Dist: Updated.
265 * sysdeps/mach/hurd/Dist: Updated.
267 * Make-dist [subdir-dirs]: Set a vpath for %.c.
269 * Make-dist (README): Fix typo in cvs cmd.
271 * elf/dl-lookup.c (_dl_lookup_symbol): Fix typos in last change.
272 Comment out ref to nonexistent _dl_close.
274 Tue Jun 4 21:01:20 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
276 * math/Makefile (libm-support, libm-calls): New variables.
277 (libm-routines): Construct this from those.
278 (calls): New variable.
279 (routines): Construct this from it.
281 * resolv/res_debug.c: Add missing #include <ctype.h>.
283 * sysdeps/unix/getlogin.c: Must pass struct utmp ptr to getutline_r.
284 * sysdeps/unix/getlogin_r.c: Likewise.
286 * sysdeps/libm-ieee754/w_hypotl.c: Fix typo.
288 * sysdeps/libm-ieee754/w_cabsl.c: __cabsl_complex -> __cabs_complexl
290 * math/Makefile (long-m-routines): Define recursive variable as
291 $(long-m-$(long-double-fcts)).
292 (long-m-yes): Put list of routines here.
293 (long-c-routines, long-c-yes): Likewise.
295 * sysdeps/unix/sysv/linux/schedbits.h: File removed.
297 * sysdeps/i386/Makefile (long-double-fcts): New variable, set to yes.
298 * sysdeps/m68k/Makefile: Likewise.
300 * math/Makefile [$(long-double-fcts)!=yes] (CPPFLAGS): Append
303 * sysdeps/mach/hurd/getlogin_r.c: New file.
305 Wed Jun 5 02:11:30 1996 Ulrich Drepper <drepper@cygnus.com>
307 * io/Makefile (routines): Add ttyname_r.
309 * resolv/res_debug.c, resolv/resolv.h: Update from bind-4.3.4-T4A.
311 * sysdeps/libm-i387/e_asinl.S, sysdeps/libm-i387/e_atan2l.S,
312 sysdeps/libm-i387/e_expl.S, sysdeps/libm-i387/e_fmodl.S,
313 sysdeps/libm-i387/e_log10l.S, sysdeps/libm-i387/e_logl.S,
314 sysdeps/libm-i387/e_remainderl.S, sysdeps/libm-i387/e_scalbl.S,
315 sysdeps/libm-i387/e_sqrtl.S, sysdeps/libm-i387/s_atanl.S,
316 sysdeps/libm-i387/s_cosl.S, sysdeps/libm-i387/s_ilogbl.S,
317 sysdeps/libm-i387/s_log1pl.S, sysdeps/libm-i387/s_logbl.S,
318 sysdeps/libm-i387/s_scalbnl.S, sysdeps/libm-i387/s_sinl.S,
319 sysdeps/libm-i387/s_tanl.S: New files. i387 assembler versions
320 of `long double' math functions.
322 * sysdeps/libm-ieee754/k_standard.c: Add handling for errors
323 in long double functions.
325 * sysdeps/libm-ieee754/s_ilogbl.c, sysdeps/libm-ieee754/s_logbl.c,
326 sysdeps/libm-ieee754/s_modfl.c: New files. Generic versions
327 of `long double' math functions.
329 * sysdeps/libm-ieee754/s_isinf.c [NO_LONG_DOUBLE]: Add string
332 * sysdeps/libm-ieee754/w_acoshl.c, sysdeps/libm-ieee754/w_acosl.c,
333 sysdeps/libm-ieee754/w_asinl.c, sysdeps/libm-ieee754/w_atan2l.c,
334 sysdeps/libm-ieee754/w_atanhl.c, sysdeps/libm-ieee754/w_cabsl.c,
335 sysdeps/libm-ieee754/w_coshl.c, sysdeps/libm-ieee754/w_dreml.c,
336 sysdeps/libm-ieee754/w_expl.c, sysdeps/libm-ieee754/w_fmodl.c,
337 sysdeps/libm-ieee754/w_gammal.c, sysdeps/libm-ieee754/w_gammal_r.c,
338 sysdeps/libm-ieee754/w_hypotl.c, sysdeps/libm-ieee754/w_j0l.c,
339 sysdeps/libm-ieee754/w_j1l.c, sysdeps/libm-ieee754/w_jnl.c,
340 sysdeps/libm-ieee754/w_lgammal.c, sysdeps/libm-ieee754/w_lgammal_r.c,
341 sysdeps/libm-ieee754/w_log10l.c, sysdeps/libm-ieee754/w_logl.c,
342 sysdeps/libm-ieee754/w_powl.c, sysdeps/libm-ieee754/w_remainderl.c,
343 sysdeps/libm-ieee754/w_scalbl.c, sysdeps/libm-ieee754/w_sinhl.c,
344 sysdeps/libm-ieee754/w_sqrtl.c: New files. Wrapper functions
345 around long double function implementations.
347 * sysdeps/posix/ttyname_r.c (ttyname_r): Use _D_EXACT_NAMLEN
348 to determine length of directory entry name.
350 * posix/Makefile (routines): Add getlogin_r.
351 * posix/unistd.h: Add prototype for getlogin_r.
352 * sysdeps/stub/getlogin_r.c: New file. Reentrant version of
353 getlogin function, specified in P1003.1c/D6. Stub version.
354 * sysdeps/unix/getlogin.c (getlogin): Use ttyname_r instead of
355 ttyname. This avoids saving and restoring the old content.
356 Also use setutent_r, getutline_r and endutent_r instead of
357 accing UTMP file directly.
358 * sysdeps/unix/getlogin_r.c: New file. Reentrant version of
359 getlogin function, specified in P1003.1c/D6.
361 Tue Jun 4 20:10:09 1996 J.T. Conklin <jtc@cygnus.com>
363 * sysdeps/libm-i387/s_finitef.S: Fix mask for exponent.
365 Tue Jun 4 18:57:57 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
367 * elf/dl-lookup.c (_dl_lookup_symbol): Grok magical undefined symbols
368 _GNU_libc_dl_{open,close,symbol} and resolve them to dl functions.
370 * elf/rtld.c (rtld_map): Renamed to _dl_rtld_map, made global.
371 * elf/link.h: Declare _dl_rtld_map.
373 * elf/dl-lookup.c (_dl_symbol_value): New function.
374 * elf/link.h: Declare it.
376 * elf/dladdr.c: Remove #include <setjmp.h>, we don't use it.
378 * shlib-versions: Set libdl=2.
380 * elf/dl-deps.c (_dl_map_object_deps): Use a linked list of alloca'd
381 elements and then scan it to fill the single malloc'd array, instead
382 of using realloc to grow the array in the first pass. _dl_map_object
383 may do some mallocs that break our stream of reallocs, and the minimal
384 realloc can't handle that.
386 * elf/dl-init.c (_dl_init_next): Take argument, link_map whose
387 searchlist describes the piece of the DT_NEEDED graph to be
389 * elf/link.h: Update prototype.
390 * sysdeps/i386/dl-machine.h (RTLD_START): Pass _dl_loaded as argument
392 * sysdeps/m68k/dl-machine.h: Likewise.
393 * elf/dl-deps.c (_dl_open): Pass new object as arg to _dl_init_next.
395 * elf/link.h (struct link_map): Add `l_reserved' member, soaking up
396 extra bits in last byte.
397 * elf/dl-deps.c (_dl_map_object_deps): Use that for mark bit to avoid
398 putting dup elts in search list.
400 * elf/dlclose.c: Use MAP->l_searchlist to find deps to close.
402 * elf/dlsym.c: Don't tweak linked list. Scope array given to
403 _dl_lookup_symbol does the right thing.
405 * elf/Makefile (subdir_lib): Change this target to lib-noranlib.
406 (lib-noranlib): Depend on on $(extra-objs).
408 * errno.h: Move __END_DECLS out of #ifdef's so it matches
411 Tue Jun 4 02:25:44 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
413 * stdio-common/vfprintf.c [USE_IN_LIBIO] (size_t): Don't define as
414 macro. _IO_size_t is just an alias for the real size_t anyway.
416 * elf/Makefile (libdl-routines): Add dladdr.
417 * elf/dladdr.c: New file.
418 * elf/dlfcn.h (Dl_info): New typedef.
419 (dladdr): Declare it.
421 * sysdeps/libm-i387/s_finite.S: Use `setne' instead of `setnel'.
423 * intl/l10nflist.c: Fix conditional on #include <argz.h>.
425 * libio/stdio.h (FOPEN_MAX, FILENAME_MAX, TMP_MAX, L_tmpnam): Macros
426 removed. Instead, include <stdio_lim.h>.
428 * libio/_G_config.h: New file.
429 * libio/Makefile (headers): Add _G_config.h.
431 * MakeTAGS (po/errlist.pot): Extract from sysdeps/gnu/errlist.c.
433 * sysdeps/unix/sysv/linux/gnu/types.h (__KERNEL_STRICT_NAMES): Define
434 this macro too; current Linux kernels test that instead of
435 _LINUX_TYPES_DONT_EXPORT.
437 * elf/linux-compat.c (_init): Pass reloc_addr arg to _dl_lookup_symbol.
439 * elf/dl-lookup.c (_dl_lookup_symbol): Use l_searchlist.
441 * elf/dl-deps.c: New file.
442 * elf/Makefile (rtld-routines): Add dl-deps.
443 * elf/link.h: Declare _dl_map_object_deps, _dl_open.
444 * elf/rtld.c (dl_main): Use _dl_map_object_deps.
445 * elf/dlopen.c: Use _dl_open.
447 * elf/rtld.c (dl_main): Remove BEFORE_RTLD variable and list
448 frobnication based on its value. Detach RTLD_MAP from the chain if
449 its l_opencount is zero after loading deps.
451 * elf/dlfcn.h (RTLD_BINDING_MASK): New macro.
453 * elf/link.h (struct link_map): Replace l_deps_loaded flag member with
454 `struct link_map **l_searchlist' and `unsigned int l_nsearchlist'.
455 * elf/dl-lookup.c (_dl_lookup_symbol): Make SYMBOL_SCOPE arg an array
456 of two link_map ptrs. Search the maps in the l_searchlist of each
457 elt that is not null.
458 * elf/dl-reloc.c (_dl_relocate_object): Pass proper SCOPE array.
459 * elf/dl-runtime.c: Likewise.
460 * elf/dlsym.c: Likewise.
461 * elf/rtld.c (dl_main): Likewise.
463 * elf/dl-minimal.c (realloc): Support realloc of the block most
464 recently returned by the minimal malloc.
466 Tue Jun 4 00:16:03 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
468 * sysdeps/gnu/errlist.awk: Produce N_("..."), not _N("...").
470 * intl: Updated from gettext-0.10.13.
471 * intl/localealias.c, intl/dcgettext.c [_LIBC]: Define HAVE_ALLOCA.
473 * signal/siggetmask.c: New file. Wrapper around sigblock with
474 link_warning about obsolescence.
475 * signal/Makefile (routines): Add siggetmask.
477 * sysdeps/gnu/errlist.awk: New file, adapted from ...
478 * sysdeps/mach/hurd/errlist.awk: File removed, above file replaces it.
479 * sysdeps/mach/hurd/Makefile (errlist.c): Target removed.
480 * sysdeps/gnu/Makefile: New file.
481 (sysdeps/gnu/errlist.c): Make the errlist.c generation rule into this.
483 Mon Jun 3 21:03:54 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
485 * manual/errno.texi (Error Codes): Add placeholder items for missing
486 Linux/i386 errno codes, with perror text but no documentation.
487 Some existing perror texts changed.
489 * malloc/mcheck.c (freehook, reallochook): Handle null pointer args.
491 * hurd/hurdsig.c (_hurd_internal_post_signal): When setting ACT to
492 `ignore, resume the thread if SS_SUSPENDED, regardless of old action.
494 Sun Jun 2 20:14:30 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
496 * locale/programs/linereader.c (lr_open): Don't pass NULL to
497 xstrdup; fix memory leak.
498 (lr_close): Fix memory leak.
500 Mon Jun 3 15:58:22 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu>
502 * hurd/hurdsig.c (_hurd_internal_post_signal): When turning the action
503 for a HANDLE signal to IGNORE because the signal is blocked, clean
504 up any pending suspension left over from a call to resume.
506 Mon Jun 3 00:30:35 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
508 * elf/dl-lookup.c (_dl_lookup_symbol): Take new arg RELOC_ADDR and
509 don't allow a defn resolving to that address.
511 * elf/link.h: Update prototype and comment.
512 * elf/dl-runtime.c (fixup): Define local `resolve' function and pass
513 it to elf_machine_relplt.
514 * elf/dl-reloc.c (_dl_relocate_object: resolve): Take new arg
515 RELOC_ADDR and pass it through to _dl_lookup_symbol.
516 * elf/do-rel.h (elf_dynamic_do_rel): Pass RESOLVE to elf_machine_rel
517 instead of calling it ourselves and passing its results.
518 (elf_dynamic_do_rel): RESOLVE fn takes new arg RELOC_ADDR.
519 * elf/rtld.c (dl_main): Pass 0 for RELOC_ADDR to _dl_lookup_symbol.
520 * sysdeps/i386/dl-machine.h (elf_machine_rel): Remove SYM_LOADADDR
521 arg. Add RESOLVE function ptr arg. Call *RESOLVE as necessary.
522 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
523 * sysdeps/stub/dl-machine.h: Likewise.
525 Sun Jun 2 14:56:49 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
527 * csu/initfini.c (_fini): Add extern decl for i_am_not_a_leaf.
529 * elf/dlfcn.h (dl_open_mode): Enumerated type removed.
530 (RTLD_LAZY, RTLD_NOW): Define these as macros instead.
531 (RTLD_GLOBAL): New macro.
532 (dlopen): Take arg of type int instead of dl_open_mode.
533 * elf/dlopen.c: Likewise.
535 * math/math.h (_Mldbl): New macro, either produces L suffix or not.
536 (M_*): Use it for these constants.
538 * elf/dl-lookup.c (_dl_lookup_symbol): Arg NOSELF renamed to NOPLT.
539 Reject SHN_UNDEF defns iff NOPLT is nonzero.
540 * elf/link.h (_dl_lookup_symbol): Update prototype and comment.
541 * elf/dl-runtime.c (fixup): Pass 1 to _dl_lookup_symbol for NOPLT.
542 * elf/dlsym.c (dlsym): Pass 0.
543 * elf/rtld.c (dl_main): Likewise.
544 * elf/dl-reloc.c (_dl_relocate_object: resolve): Second arg R_OFFSET
545 replaced with NOPLT flag. Pass it through to _dl_lookup_symbol.
546 * elf/do-rel.h (elf_dynamic_do_rel): Update prototype of RESOLVE arg.
547 Pass `elf_machine_pltrel_p (R->r_type)' result as NOPLT flag value.
548 * sysdeps/i386/dl-machine.h (elf_machine_pltrel_p): New macro.
549 * sysdeps/m68k/dl-machine.h (elf_machine_pltrel_p): Likewise.
550 * sysdeps/stub/dl-machine.h (elf_machine_pltrel_p): Likewise.
552 * login/pututline_r.c: Fix typo in sizeof for DATA_TMP alloca.
554 * sysdeps/generic/gnu/types.h (__clock_t): New type.
556 Wed May 29 00:57:37 1996 David Mosberger-Tang <davidm@azstarnet.com>
558 * sysdeps/unix/sysv/linux/gnu/types.h (__clock_t, __fsid_t): Define
560 * time/time.h (clock_t): Include <gnu/types.h> and define using
563 * time/Makefile (tests): Add test-tz.
565 * time/test-tz.c: New test.
567 * time/clocktest.c: Rewrite to test more meaningfully.
569 * sysdeps/unix/sysv/linux/syscalls.list: Add bdflush,
570 create_module, delete_module, get_kernel_syms, init_module,
573 * sysdeps/unix/sysv/linux/sys/param.h (MAXSYMLINKS): Define as 5
574 instead of SYMLOOP_MAX, which is nowhere to be found.
576 * sysdeps/unix/sysv/linux/sys/msq_buf.h,
577 sysdeps/unix/sysv/linux/sys/sem_buf.h,
578 sysdeps/unix/sysv/linux/sys/shm_buf.h [__USE_MISC]: Add more
579 control ops and datastructures.
581 * sysdeps/unix/sysv/linux/sys/io.h: New file declaring low-level
582 I/O related functions.
584 * sysdeps/unix/sysv/linux/sys/kdaemon.h: New file declaring kernel
585 daemon related functions/operations.
587 * sysdeps/unix/sysv/linux/sys/klog.h: New file declaring kernel
588 logging related functions/operations.
590 * sysdeps/unix/sysv/linux/sys/module.h: New file declaring kernel
591 module related functions/operations.
593 * sysdeps/unix/sysv/linux/speed.c: Only do "mention this twice" hack
594 for non-Alpha based Linux systems.
596 * sysdeps/unix/sysv/linux/alpha/speed.c: Remove.
598 * sysdeps/unix/sysv/linux/Makefile (headers): Add sys/module.h,
599 sys/io.h, sys/klog.h, and sys/kdaemon.h.
601 * sysdeps/unix/sysdep.h (END): Define empty END macro for
602 platforms that don't need some sort of end directive at the
605 * sysdeps/unix/make-syscalls.sh: Emit END($strong) at end of
606 syscall wrapper to allow correct generation of debugging
609 * sysdeps/unix/alpha/sysdep.h (END): Redefine to use .end
610 directive for both ELF and ECOFF.
611 (ret): Delete macro. It was a dangerous macro and unnecessary
612 since the Alpha assemblers recognizes "ret" as a macro themselves.
614 * sysdeps/gnu/utmpbits.h (struct utmp): Move ut_tv behind
615 ut_session to guarantee long alignment. This is important for
616 Linux/Alpha since ut_tv.tv_sec is 32 bits and time_t is 64 bits.
617 This will all get cleaned up as programs start to use ut_tv
620 * sysdeps/alpha/divrem.h: Include <sysdep.h> instead of <*/regdef.h>.
622 * sysdeps/alpha/bsd-_setjmp.S (setjmp): Renamed entry point to
625 * sysdeps/alpha/_mcount.S, sysdeps/alpha/bb_init_func.S,
626 sysdeps/alpha/bsd-_setjmp.S, sysdeps/alpha/bsd-setjmp.S,
627 sysdeps/alpha/copysign.S, sysdeps/alpha/divrem.h,
628 sysdeps/alpha/fabs.S, sysdeps/alpha/ffs.S, sysdeps/alpha/htonl.S,
629 sysdeps/alpha/htons.S, sysdeps/alpha/memchr.S,
630 sysdeps/alpha/setjmp.S, sysdeps/alpha/strlen.S,
631 sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S,
632 sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S,
633 sysdeps/unix/sysv/linux/alpha/llseek.S,
634 sysdeps/unix/sysv/linux/alpha/pipe.S,
635 sysdeps/unix/sysv/linux/alpha/sigsuspend.S,
636 sysdeps/unix/sysv/linux/alpha/sysdep.S: Use END macro instead of
639 * csu/initfini.c (_fini): Tell gcc that _fini is not a leaf
640 function by having it contain a dummy function call.
642 * configure.in (config_machine): Don't make ELF the default for
643 Linux/Alpha just yet (use --with-elf instead).
644 (.init/.fini check): Generate .text to ensure function start and
645 end are in same section.
647 * sysdeps/unix/bsd/osf/alpha/brk.S,
648 sysdeps/unix/sysv/linux/alpha/brk.S (__curbrk): Store the entire
649 break value, not just the low 32 bits to accomodate large
652 Tue May 28 10:46:04 1996 Richard Henderson <rth@tamu.edu>
654 * sysdeps/unix/sysv/linux/alpha/brk.S: Rather than attempt to
655 dynamically resolve _end for initializing __curbrk, support the
658 * sysdeps/alpha/bb_init_func.S: Don't make `init' an external symbol.
660 * sysdeps/alpha/bsd-_setjmp.S: The function is _setjmp not setjmp.
662 Sun May 26 22:17:38 1996 Richard Henderson <rth@tamu.edu>
664 * stdlib/lcong48_r.c, stdlib/seed48_r.c, stdlib/strtod.c,
665 stdlib/strtol.c: Include <string.h> for mem* and str* fns used.
667 Thu May 23 02:15:56 1996 David Mosberger-Tang <davidm@azstarnet.com>
669 * sysdeps/unix/sysv/linux/Makefile (headers): Add sys/io.h,
670 sys/klog.h, and sys/kdaemon.h.
672 * sysdeps/unix/sysv/linux/sys/io.h: New file.
673 * sysdeps/unix/sysv/linux/sys/klog.h: Ditto.
674 * sysdeps/unix/sysv/linux/sys/kdaemon.h: Ditto.
676 * sysdeps/unix/alpha/sysdep.h (ret): Remove macro. It is
677 dangerous and unnecessary since both OSF/1 as and gas define "ret"
678 as a pseudo-instruction.
680 Sat Jun 1 17:18:21 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
682 * time/tzset.c (__tzset): Clear tz_rules name pointers after freeing
683 them. Bug found by David Mosberger-Tang.
685 * sysdeps/posix/tempname.c (__stdio_gen_tempname): Use __ptr_t instead
688 * extra-lib.mk (extra-objs): Use patsubst intead of $(A:=B) syntax
689 to work around Make bug when A contains var ref.
691 Fri May 31 18:27:52 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
693 * string/string.h [__USE_MISC]: Declare basename; OSF/1 puts it here.
695 * sysdeps/unix/sysv/linux/syscalls.list (getpgid, setpgid): Define __
696 strong names and [gs]etpgid as weak aliases.
698 Thu May 30 11:24:05 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
700 * math/math_private.h (GET_LDOUBLE_EXP): Add missing backslash.
702 * po/header.pot: Replace with exact boilerplate pinard dictates.
704 * sysdeps/i386/strtok.S (Lillegal_argument): Remove this code to set
705 errno and the check that jumped to it.
707 * sysdeps/mach/hurd/Makefile (errnos.d): Use $(sed-remove-objpfx).
709 Thu May 30 03:21:57 1996 Ulrich Drepper <drepper@cygnus.com>
711 * FAQ: Document need of gperf program for developers.
713 * elf/elf.h: Fix typos in comments.
715 * libio/stdio.h [!__STRICT_ANSI__ || _POSIX_SOURCE]: Add
716 prototypes for `ctermid' and `cuserid'.
718 * locale/programs/locale.c: Switch to user selected locale
719 before printing variables.
721 * math/Makefile [$(long-double-fcts)==yes]: Define long-m-routines
722 and long-c-routines. Only if the `long double' data type is
723 available we need to compile the functions.
724 (libm-routines): Add $(long-m-routines).
725 (routines): Remove isinfl, isnanl. Use new file s_isinfl and
726 s_isnanl instead if `long double' is available.
728 * math/math.h: Include <mathcalls.h> again to define `long double'
731 * math/math_private.h: Define data types, prototypes and access
732 macros for `long double'.
734 * stdlib/stdlib.h: Add prototypes for `strtoll' and `strtoull'.
735 [GCC2 && OPTIMIZE]: Define strto{,u}ll as inline function which
736 calls __strto{,u}q_internal.
738 * stdlib/strfmon.c: Replace PTR by `void *'.
740 * stdlib/strtoq.c: Define strtoll as weak alias.
741 * stdlib/strtouq.c: Define strtoull as weak alias.
743 * string/tester.c: Correct `strsep' test.
745 * sysdeps/generic/strsep.c: Make compatible with BSD version.
746 Trailing characters of skip set are not skipped. In this case
747 empty tokens are returned.
749 * sysdeps/i386/isinfl.c, sysdeps/i386/isnanl.c,
750 sysdeps/ieee754/isinf.c, sysdeps/ieee754/isinfl.c,
751 sysdeps/ieee754/isnan.c, sysdeps/ieee754/isnanl.c: Removed. We
752 now use the versions part of libm.
754 * sysdeps/i386/strsep.S: Removed. Generic C version is of
756 * sysdeps/i386/strtok.S: Remove support for `strsep'.
758 * sysdeps/libm-i387/e_acosl.S, sysdeps/libm-i387/s_ceill.S,
759 sysdeps/libm-i387/s_copysignl.S, sysdeps/libm-i387/s_finitel.S,
760 sysdeps/libm-i387/s_floorl.S, sysdeps/libm-i387/s_isinfl.c,
761 sysdeps/libm-i387/s_isnanl.c, sysdeps/libm-i387/s_nextafterl.c,
762 sysdeps/libm-i387/s_rintl.S, sysdeps/libm-i387/s_significandl.S:
763 New i387 specific math functions implementing `long double'
766 * sysdeps/libm-ieee754/s_ceill.c,
767 sysdeps/libm-ieee754/s_copysignl.c,
768 sysdeps/libm-ieee754/s_fabsl.c, sysdeps/libm-ieee754/s_finitel.c,
769 sysdeps/libm-ieee754/s_floorl.c, sysdeps/libm-ieee754/s_isinfl.c,
770 sysdeps/libm-ieee754/s_isnanl.c,
771 sysdeps/libm-ieee754/s_nextafterl.c,
772 sysdeps/libm-ieee754/s_rintl.c, sysdeps/libm-ieee754/s_scalbnl.c,
773 sysdeps/libm-ieee754/s_significandl.c: New generic `long double'
774 versions of libm functions.
776 * sysdeps/libm-i387/e_exp.S: Add a few comments to explain the
779 * sysdeps/libm-i387/s_ceil.S, sysdeps/libm-i387/s_ceilf.S,
780 sysdeps/libm-i387/s_floor.S, sysdeps/libm-i387/s_floorf.S: Correct
781 handling of local variables. The old version created a stack
782 frame but stored the values outside.
784 * sysdeps/libm-ieee754/s_isinf.c, sysdeps/libm-ieee754/s_isnan.c
785 [!NO_LONG_DOUBLE]: Define alias with `long double' versions name.
787 Wed May 29 12:53:10 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
789 * login/pututline_r.c: Include sys/stat.h. Fix typos.
791 * version.h (VERSION): Set to 1.90.
793 * Makerules (distinfo-vars): Write extra-libs and *-routines for each
795 * MakeTAGS (sources): Add those sources.
797 * MakeTAGS (all-sources): Add $(others:=.c) and $(tests:=.c).
799 Wed May 29 08:53:08 1996 Miles Bader <miles@gnu.ai.mit.edu>
801 * hurd/report-wait.c (_S_msg_report_wait): Return `itimer' for the
804 * hurd/hurdinit.c (_hurd_init): Set _HURDSIG_TRACED before calling
807 Wed May 29 00:52:20 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
809 * string/tester.c (main): Fix strsep tests 6, 7, 20 to expect null
810 token instead of it being implicitly skipped.
812 * sysdeps/i386/fpu/__math.h (logb): Correct contraint from =u to =t.
813 Must operate on top of fp reg stack, not second from top.
815 * extra-lib.mk (alltypes-$(lib)): Don't append $(objpfx)$(lib).so.
816 (others): Instead, make this depend on it.
818 Tue May 28 04:38:10 1996 Ulrich Drepper <drepper@cygnus.com>
820 * limits.h: Change MB_LEN_MAX to 6. A 31-bit ISO 10646
821 character in UTF-8 encoding has that many bytes.
823 * locale/langinfo.h: New element _NL_CTYPE_MB_CUR_MAX.
824 * locale/categories.def: Add description of field _NL_CTYPE_MB_CUR_MAX.
825 * locale/Makefile (routines): Add mb_cur_max.
826 * locale/mb_cur_max.c: New file. This function gets called
827 when the macro MB_CUR_MAX is used.
828 * locale/C-ctype.c: Initialize new mb_cur_max field.
829 * locale/localeinfo.h: Change magic value because of incompatible
831 * locale/programs/ld-ctype.c: Determine value of mb_cur_max
832 according to current character set and write it out with the rest.
833 * stdlib/stdlib.h (MB_CUR_MAX): Not constant anymore. Get value
834 according to currently used locale for category LC_CTYPE by
835 calling the function __ctype_get_mb_cur_max.
837 Tue May 28 03:27:46 1996 Ulrich Drepper <drepper@cygnus.com>
839 * FAQ: Fix some typos.
840 Tell that for Linux the kernel header files are necessary.
842 * PROJECTS: New file. List of open jobs for glibc.
843 * Makefile (distribute): Add PROJECTS.
845 * crypt/GNUmakefile (headers): New variable. Mention crypt.h.
846 * crypt/crypt.h: Header for crypt functions.
848 * elf/elf.h: Add some new constants from recent Cygnus ELF
851 * login/getutid_r.c: Test for correct type.
852 Don't depend on ut_type and ut_id unless _HAVE_UT_TYPE and
853 _HAVE_UT_ID resp. are defined.
854 Make really compliant with specification.
856 * login/getutline_r.c, login/pututline_r.c: Don't depend on
857 ut_type and ut_id unless _HAVE_UT_TYPE and _HAVE_UT_ID resp. are
859 Make really compliant with specification.
861 * login/setutent_r.c: Don't depend on ut_type and ut_id unless
862 _HAVE_UT_TYPE and _HAVE_UT_ID resp. are defined.
864 * login/login.c, login/logout.c, login/logwtmp.c: Complete
865 rewrite. Now based on getut*/setut* functions.
867 * stdlib/strtol.c: Undo changes of Wed May 22 01:48:54 1996.
868 This prevented using this file in other GNU packages.
870 * sysdeps/gnu/utmpbits.h: Define _HAVE_UT_TYPE, _HAVE_UT_ID,
871 and _HAVE_UT_TV because struct utmp has these members.
873 * sysdeps/libm-i387/e_exp.S: Correct exp(+-Inf) case.
875 * utmp.h: New file. Wrapper around login/utmp.h.
877 Tue May 28 13:11:19 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
879 * elf/dl-error.c (struct catch): New type.
880 (catch): New static variable, struct catch *.
881 (catch_env, signalled_errstring, signalled_objname): Variables removed.
882 (_dl_signal_error): If CATCH is non-null, set its errstring and
883 objname members and jump to CATCH->env. If it is null, call
884 _dl_sysdep_fatal with a standard message.
885 * elf/rtld.c (dl_main): Explode `doit' function into dl_main's body.
886 No longer use _dl_catch_error.
888 * Makerules (sed-remove-objpfx): Avoid extra space in regexp due to
891 * sysdeps/unix/sysv/linux/i386/socket.S: Fix off-by-one error in
892 setting %ecx to 2nd syscall arg: we have pushed nothing, so function
893 args are found at 4(%esp), not 8(%esp).
895 Mon May 27 10:10:00 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
897 * Makefile ($(includedir)/stubs.h): Add missing backslash.
899 * sysdeps/unix/sysv/linux/i386/brk.c (__curbrk): Initialize it so it
902 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=termios] (headers):
905 * Makefile ($(includedir)/stubs.h): Print a msg if we do nothing.
907 * misc/sgtty.h: Add forward decl of struct sgttyb in case it is never
910 * sysdeps/unix/sysv/linux/termio.h: New file.
911 * sysdeps/unix/sysv/linux/Dist: Add it.
913 * sysdeps/unix/sysv/linux/ioctl-types.h: New file, wrapper around
914 kernel header <asm/termios.h>.
916 * misc/Makefile (headers): Add ioctl-types.h.
917 * sysdeps/generic/ioctl-types.h: New file.
918 * misc/sys/ioctl.h: Include <ioctl-types.h>.
919 (struct tchars, struct ltchars, struct sgttyb, struct winsize,
920 struct ttysize): Types moved there.
922 * Makefile ($(includedir)/stubs.h): Don't touch target if new one is
925 * time/Makefile (z.% rule): Generate generic zone%/ rule after
926 zone%/right/ and zone%/posix/ rules so they match first.
928 Sun May 26 15:15:08 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
930 * features.h [_GNU_SOURCE] (_BSD_SOURCE, _SVID_SOURCE,
931 _POSIX_SOURCE, _POSIX_C_SOURCE): Define these.
933 * time/Makefile (tzcompile): Add missing backslash.
935 * stdlib/ldiv.c: Deansideclized.
937 * wctype/wctype.h (__need_wint_t): Define this and include stddef.h.
938 [! _WINT_T] (wint_t): Conditionalize typedef on this in case pre-2.7.3
939 stddef.h doesn't define it.
940 * wcsmbs/wchar.h: Likewise.
941 * stdlib/strtod.c: Likewise.
943 * wcsmbs/wcstok.c: Fix argument name typo.
945 Sun May 26 19:39:53 1996 Ulrich Drepper <drepper@cygnus.com>
947 * intl/loadmsgcat.c (_nl_load_domain): Test correct variable
950 * string/Makefile (tester-ENV): New variable to suppress message
953 * string/tester.c: Add tests for strtok_r and strsep.
955 * sysdeps/i386/i486/strcat.S: Correct some more 8bit operation
956 <-> 32 bit operand conflicts.
958 * sysdeps/i386/strsep.S: Wrapper around <sysdeps/i386/strtok.S>
959 to produce strsep function.
960 * sysdeps/i386/strtok.S: Optimized implementation of strtok
962 * sysdeps/i386/strtok_r.S: Wrapper around <sysdeps/i386/strtok.S>
963 to produce strtok_r function.
965 * sysdeps/generic/strtok.c: Moved here from string/strtok.c.
966 Corrected example in comment.
968 * string/Makefile (routines): Add strtok_r.
969 * sysdeps/generic/strtok_r.c: New file. Implement reentrant version
971 * string/string.h: Add prototype for strtok_r.
972 * wcsmbs/wcstok.c: Handle illegal SAVE_PTR argument the same
975 Sun May 26 13:28:23 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
977 * time/tzset.c (__tzset): Ignore leading : in $TZ; always try tzfile
978 first and fall back to 1003.1 syntax only if it fails.
980 * time/Makefile (install-others): Also install posix/ZONE and
981 right/ZONE for each ZONE in $(zonenames).
982 (z.% rule): Generate rules for right/ZONE and posix/ZONE targets too,
983 the difference begin leapseconds vs /dev/null as 3rd dep. For
984 original ZONE targets use $(leapseconds), to be set in Makeconfig.
985 (target-zone-flavor): New variable.
986 (tzcompile): Use it to get the right -d for posix/ and right/ flavors.
987 * Makeconfig (leapseconds): New variable.
989 * mach/Machrules (%.udeps rule): Depend on Machrules.
990 Emit deps for .uh and .__h files.
991 (%.uh, %.__h rules): Don't depend on %.defs; use #include <$*.defs>
994 Sun May 26 01:06:47 1996 Ulrich Drepper <drepper@cygnus.com>
996 * stdlib/Makefile (routines): Add llabs, lldiv.
997 * stdlib/llabs.c: New file. Implementation of return
998 absolute value of long long argument.
999 * stdlib/lldiv.c: New file. Implementation of division with remainder
1000 of long long argument.
1001 * stdlib/stdlib.h [__USE_GNU] (lldiv_t): New type for lldiv
1003 Define prototypes for lldiv and llabs functions.
1005 * locale/C-collate.c: Initialize _NL_COLLATE_NRULES element.
1007 * stdlib/strtod.c: Replace wchar_t with wint_t. The later is
1008 really the type for a single wide character.
1010 * string/strxfrm.c (print_val): Define separate version for
1011 use as wcsxfrm. Here we don't need UTF8 encoding.
1013 * wcsmbs/wchar.h: gcc-2.7.2-960517 finally introduces wint_t
1014 in <stddef.h>. Use this value and only for older gcc version
1016 (uwchar_t): Remove definition.
1018 * wcsmbs/wcscmp.c, wcsmbs/wcscoll.c, wcsmbs/wcsncmp.c,
1019 wcsmbs/wcsxfrm.c, wcsmbs/wmemcmp.c: : Don't use uwchar_t as unsigned
1020 type. wint_t is intended for this.
1022 Sat May 25 14:10:19 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1024 * sysdeps/unix/bsd/direntry.h: Use [1] instead of [0] for d_name to
1025 quiet -ansi -pedantic.
1026 * sysdeps/unix/common/direntry.h: Likewise.
1028 * login/Makefile (headers): Add lastlog.h.
1029 * login/lastlog.h: New file.
1031 * login/Makefile (CFLAGS): Don't append -D_THREAD_SAFE.
1032 * login/utmp.h [_REENTRANT || _THREAD_SAFE]: Replace this conditional
1033 with #ifdef __USE_REENTRANT.
1035 * features.h (__GNU_LIBRARY__): Set to 6.
1036 [_GNU_SOURCE] (_POSIX_SOURCE, _POSIX_C_SOURCE, _BSD_SOURCE,
1037 _SVID_SOURCE): Make sure they are all defined.
1039 * sysdeps/unix/sysv/linux/gnu/types.h: Instead of including
1040 <linux/posix_types.h>, define _LINUX_TYPES_DONT_EXPORT and then
1041 include <linux/types.h>.
1043 * resource/sys/resource.h: Remove trailing commas from enums.
1045 Fri May 24 17:30:50 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1047 * sysdeps/generic/netinet/in.h: Remove trailing commas from enums.
1048 * sysdeps/unix/sysv/linux/netinet/in.h: Likewise.
1050 * login/getutline_r.c: Include string.h.
1052 * Rules (static-only-routines): Restore the rule to make these .so's
1055 * login/pututline_r.c: Use struct assignment instead of memcpy.
1057 * login/getutline_r.c: Use strncmp instead of comparing two pointers
1058 that will only be equal if you are overwriting the data and screwing
1061 Fri May 24 02:31:36 1996 Ulrich Drepper <drepper@cygnus.com>
1063 * sysdeps/unix/sysv/linux/speed.c: Add new speed value 460800.
1065 Thu May 23 23:09:33 1996 Ulrich Drepper <drepper@cygnus.com>
1067 * FAQ: Add answer for 100% source code compatibility to Linux
1068 libc by David Mosberger-Tang.
1070 Update from bind-4.3.4-T3B.
1071 * inet/arpa/inet.h: Add prototypes for inet_pton, inet_ntop,
1072 inet_nsap_addr, and inet_nsap_ntoa.
1073 * resolv/gethnamaddr.c: Correct compatibility problems (sprintf),
1074 remove fourth argument to inet_pton and correct handling of
1076 * resolv/inet_ntop.c: Correct compatibility problems (sprintf).
1077 * resolv/inet_pton.c: Remove fourth argument.
1078 * resolv/resolv.h: Remove prototypes for inet_nsap_addr and
1079 inet_nsap_ntoa. Now in <arpa/inet.h>.
1081 * stdlib/gmp-impl.h: Add prototypes for internal functions.
1083 Thu May 23 22:49:15 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1085 * Rules (subdir_install): Remove dep on sor-$(subdir).
1086 (static-only-routines): Removed variable and associated rules.
1088 Wed May 22 00:40:50 1996 David Mosberger-Tang <davidm@azstarnet.com>
1090 * sysdeps/unix/sysv/linux/alpha/speed.c (speeds): Add entry for
1093 * sysdeps/unix/sysv/linux/alpha/statbuf.h: New file.
1095 * sysdeps/unix/sysv/linux/alpha/Makefile (headers): Add
1097 * sysdeps/unix/sysv/linux/alpha/alpha/ptrace.h: New file.
1099 * sysdeps/libm-ieee754/s_scalbnf.c: Call __scalbnf instead of
1102 * sysdeps/generic/sigset.h (__sigismember, __sigaddset,
1103 __sigdelset): Add declaration to keep ANSI compilers quiet.
1105 * sysdeps/alpha/__math.h (cabs): Remove underscores from struct
1106 __cabs_complex member names in call to __hypot().
1108 * sysdeps/alpha/copysign.S, sysdeps/alpha/fabs.S: New files.
1110 * sysdeps/alpha/divrem.h: Renamed from sysdeps/alpha/divrem.S to avoid
1111 name collision with math library.
1113 * sysdeps/alpha/divl.S, sysdeps/alpha/divlu.S, sysdeps/alpha/divq.S,
1114 sysdeps/alpha/divqu.S, sysdeps/alpha/reml.S, sysdeps/alpha/remlu.S,
1115 sysdeps/alpha/remq.S, sysdeps/alpha/remqu.S: Include divrem.h instead
1118 * sysdeps/unix/alpha/sysdep.h: Include regdef.h. Define LEAF macro
1119 to simplify declaration of leaf functions.
1121 * sysdeps/alpha/_mcount.S, sysdeps/alpha/bb_init_func.S,
1122 sysdeps/alpha/bsd-_setjmp.S, sysdeps/alpha/ffs.S,
1123 sysdeps/alpha/htonl.S, sysdeps/alpha/htons.S, sysdeps/alpha/memchr.S,
1124 sysdeps/alpha/setjmp.S, sysdeps/alpha/strlen.S,
1125 sysdeps/alpha/udiv_qrnnd.S, sysdeps/unix/sysv/linux/alpha/brk.S,
1126 sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S,
1127 sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S,
1128 sysdeps/unix/sysv/linux/alpha/pipe.S,
1129 sysdeps/unix/sysv/linux/alpha/sigsuspend.S,
1130 sysdeps/unix/sysv/linux/alpha/syscall.S,
1131 sysdeps/unix/sysv/linux/alpha/start.S,
1132 sysdeps/unix/sysv/linux/alpha/sysdep.S: Remove include of regdef.h.
1133 sysdep.h includes it now. Replace ENTRY by LEAF with appropriate
1134 framesize declaration. Replace "lda pv,sym/jsr pv" by "jsr sym".
1136 * sysdeps/unix/sysv/linux/alpha/sysdep.h (NO_UNDERSCORES): Don't
1139 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Added getsockopt,
1142 * sysdeps/unix/sysv/linux/alpha/profil-counter.h: File removed.
1144 * sysdeps/unix/sysv/linux/alpha/ioperm.c: Modify to support
1145 dynamic recognition of platform type.
1146 (_bus_base): New function.
1148 * sysdeps/unix/sysv/linux/alpha/llseek.S: New file.
1150 * sunrpc/rpc/rpc.h, sunrpc/rpc/svc.h: Avoid nested comments since
1151 they produce ugly warnings by gcc.
1153 * posix/sys/types.h [__USE_MISC]: Add typedef for ulong.
1155 Wed Mar 27 10:26:21 1996 David Mosberger-Tang <davidm@azstarnet.com>
1157 * sysdeps/alpha/setjmp.S: Must establish global pointer before
1158 address of __sigsetjmp_aux can be loaded.
1160 Wed May 22 22:10:01 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1162 * stdlib/canonicalize.c: New file.
1163 * stdlib/stdlib.h: Declare canonicalize_file_name, realpath.
1164 * stdlib/Makefile (routines): Add canonicalize.
1166 * posix/unistd.h: Declare __canonicalize_directory_name_internal.
1168 Thu May 23 00:01:10 1996 Ulrich Drepper <drepper@cygnus.com>
1170 * db/recno/rec_seq.c: Prevent `sccsid' definition by using the
1171 same #if condition as in the other db files.
1173 * intl/Makefile: Add -Wno-unused CFLAGS for compilation of
1174 bindtextdom.c, finddomain.c, and localealias.c.
1176 * intl/dcgettext.c: Don't define prototype for getcwd() when
1179 * libio/cleanup.c: Add prototype for _IO_register_cleanup.
1181 * libio/filedoalloc.c, libio/fileops.c, libio/iopopen.c: Don't
1182 define _POSIX_SOURCE unconditionally.
1184 * libio/filedoalloc.c, libio/iopopen.c: Include <unistd.h> if
1187 * libio/fileops.c (_IO_file_close_it): Don't sync file, call
1188 flush instead. This relaxes the rules from POSIX.1 about
1189 changing the active handle a bit.
1191 * libio/iofopncook.c (struct _IO_cookie_file): Move definition
1193 Add prototypes for local functions to prevent warnings.
1195 * libio/iopopen.c: Change prototypes for _IO_fork, _IO_pipe, and
1196 _IO_dup2 to contain complete parameter list.
1198 * libio/libio.h: Add definition of struct _IO_cookie_file.
1200 * libio/libioP.h: Add prototypes for _IO_vasprintf, _IO_vdprintf,
1203 * libio/memstream.c: Include <stdio.h>.
1205 * libio/stdio.h: Add prototypes for fopencookie,
1206 __stdio_gen_tempname, __vfscanf, __vsscanf, and __vsnprintf.
1208 * libio/strops.c: Avoid useless expression in `for' initializer.
1210 * locale/findlocale.c: Add some casts to prevent warnings.
1212 * locale/programs/locfile.c (write_locale_data): Don't use
1213 double `/' in locale binary file.
1215 * posix/unistd.h: Remove prototype for `reboot'.
1217 Update from bind-4.9.4-T1A.
1218 * resolv/Makefile (routines): Add inet_ntop and inet_pton.
1219 * resolv/arpa/nameser.h: Add definition of IN6ADDRSZ.
1220 * resolv/gethnamaddr.c, resolv/getnetnamadr.c, resolv/res_comp.c,
1221 resolv/res_debug.c, resolv/res_init.c
1223 * resolv/inet_ntop.c, resolv/inet_pton.c: New files.
1225 * resolv/resolv.h: Add RES_USE_INET6 flag.
1226 (__dn_isvalid): Renamed to __res_dnok.
1227 Add prototypes for __res_ownok and __res_mailok.
1229 * stdio-common/Makefile: Add -Wno-unused to CFLAGS for _itoa.c.
1231 * stdio-common/getline.c, stdio-common/vfscanf.c,
1232 sysdeps/posix/tempname.c: Don't use <ansidecl.h> anymore.
1234 * sysdeps/unix/sysv/linux/Makefile [$subdir == misc]
1235 (sysdep_routines): Add s_reboot.
1236 (install-others): Add $(includedir)/sys/syscall.h.
1237 New rule for $(includedir)/sys/syscall.h to produce from
1240 * sysdeps/unix/sysv/linux/reboot.c: New file. Make single
1241 argument function call 3 argument system call.
1243 * sysdeps/unix/sysv/linux/sys/reboot.h: New file. Linux specific
1244 definition for reboot function.
1246 * sysdeps/unix/sysv/linux/syscall.h: Remove old and obsolete
1249 * sysdeps/unix/sysv/linux/syscalls.list: Rename function for
1250 reboot syscall to __syscall_reboot.
1252 * wcsmbs/wchar.h: Protect prototypes for wcstof and wcstold by
1253 __USE_GNU, not USE_GNU.
1255 Tue May 21 21:55:49 1996 David Mosberger-Tang <davidm@AZStarNet.com>
1257 * locale/programs/charset.c, locale/programs/ld-collate.c:
1258 Add casts to prevent warnings on 64-bit machines.
1260 * locale/programs/ld-monetary.c: Don't do unnecessary tests for
1261 int_frac_digits and frac_digits which only produce warnings.
1263 Mon May 13 23:45:29 1996 David Mosberger-Tang <davidm@AZStarNet.com>
1265 * inet/arpa/inet.h: Backup return type of inet_addr to u_long.
1266 * resolv/inet_addr.c: Likewise.
1268 * resolv/Makefile (distribute): Add res_hconf.h
1269 (routines): Add res_hconf.
1271 * resolv/gethnamaddr.c: Add support for /etc/host.conf.
1273 * resolv/res_init.c: Initialize /etc/host.conf reader.
1275 * resolv/res_hconf.c, resolv/res_hconf.h: New files.
1276 Implementation of reading /etc/host.conf.
1278 Wed May 22 21:21:15 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1280 * Rules (%.out rules): Prepend $($*-ENV) to the command.
1282 * sysdeps/unix/sysv/linux/i386/brk.c (___brk_addr): Define as weak
1285 Wed May 22 19:37:27 1996 Miles Bader <miles@gnu.ai.mit.edu>
1287 * hurd/hurdexec.c (_hurd_exec): Pass INIT_TRACEMASK.
1288 * hurd/hurdmsg.c (set_int): Support INIT_TRACEMASK.
1290 Wed May 22 18:47:31 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1292 * sysdeps/mach/hurd/getcwd.c
1293 (_hurd_canonicalize_directory_name_internal): New function, broken out
1296 (__canonicalize_directory_name_internal): New function using it.
1298 * sysdeps/posix/getcwd.c (__canonicalize_directory_name_internal): New
1299 function, broken out of __getcwd.
1302 Wed May 22 18:14:05 1996 Miles Bader <miles@gnu.ai.mit.edu>
1304 * string/argz-create.c (__argz_create): Correctly calculate length.
1306 * string/argz-extract.c (__argz_extract): Add terminating 0 entry.
1307 * hurd/hurdstartup.c (_hurd_startup): ... and don't so here.
1309 Wed May 22 17:22:14 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1311 * posix/glob.c [VMS]: Don't include <pwd.h>.
1312 [HAVE_VMSDIR_H]: Include "vmsdir.h".
1313 (glob) [VMS]: Don't grok ~.
1315 Wed May 22 14:46:53 1996 Miles Bader <miles@gnu.ai.mit.edu>
1317 * hurd/hurdstartup.c (_hurd_startup): Terminate the vectors we get
1318 back from argz_extract.
1320 Wed May 22 13:56:42 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1322 * configure.in: Remove checks for objdump, objcopy, and awk.
1323 * config.make.in (OBJDUMP, OBJCOPY, AWK): Variables removed.
1324 * Makefile (distribute): Remove extract-dynsym.
1325 * extract-dynsym: File removed.
1327 Tue May 21 22:17:45 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1329 * termios/cfmakeraw.c: Set MIN to 1 and TIME to 0.
1331 Wed May 22 01:48:54 1996 Ulrich Drepper <drepper@cygnus.com>
1333 * stdlib/strtol.c [!QUAD] (ULONG_MAX, LONG_MAX): Define these
1334 macros if they are not available.
1335 (WEAKNAME): New macro to declare argument as weak.
1336 Define function with __ prefix and add normal name as weak alias.
1338 * sysdeps/posix/euidaccess.c (S_IROTH, S_IWOTH, S_IXOTH): Defines
1339 these macros if not already available based on R_OK, W_OK, and
1342 Tue May 21 18:48:46 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1344 * misc/sys/syslog.h (__need___va_list): Define this instead of
1345 __need_va_list before including <stdarg.h>.
1347 * Makerules (o-iterator): Use $(object-suffixes-left) instead
1348 of $(object-suffixes) to produce repetitions; this is used for other
1349 lists than just that one.
1350 [versioned]: Use $(o-iterator) properly.
1352 * sysdeps/unix/sysv/linux/Implies: Include `gnu'.
1353 * sysdeps/mach/hurd/Implies: Likewise.
1355 Sat May 18 02:57:46 1996 Ulrich Drepper <drepper@cygnus.com>
1357 * login/Makefile: New file. This directory contains functions
1358 for user administration.
1359 * Makefile (subdirs): Add login.
1361 * misc/Makefile (headers): Remove utmp.h. Now in login/utmp.h.
1362 (extra-libs, libutil-routines): Ditto.
1363 * misc/login.c, misc/login_tty.c, misc/logout.c, misc/logwtmp.c,
1364 misc/utmp.h: Moved to misc/.
1365 * login/login.c, login/login_tty.c, login/logout.c,
1366 login/logwtmp.c, login/utmp.h: Moved to here from misc/.
1368 * login/utmp.h: Split file. Definitions of data structures
1369 and constants are now in the system dependent utmpbits.h file.
1371 * login/setutent_r.c, login/setutent.c, login/endutent_r.c,
1372 login/endutent.c, login/getutent_r.c, login/getutent.c,
1373 login/getutid_r.c, login/getutid.c, login/getutline_r.c,
1374 login/getutline.c, login/pututline_r.c, login/pututline.c:
1375 New files. Routines to handle utmp-style files.
1377 * sysdeps/gnu/utmpbits.h: New file. Contains GNU/Linux
1378 specific definitions of utmp data structures and constants.
1380 * sysdeps/unix/sysv/utmpbits.h: Renamed from sysdeps/unix/sysv/utmp.h.
1382 * sysdeps/generic/utmpbits.h: New file. Generic (BSDish) version of
1383 definitions of utmp data structures and constants.
1385 Fri May 17 00:01:31 1996 Ulrich Drepper <drepper@cygnus.com>
1387 * locale/C-monetary.c: Default value for mon_decimal_point should be
1390 * stdio-common/printf.h: Remove Linux libc compatibility stuff.
1391 Add `extra' flag. Currently used in __printf_fp.
1393 * stdio-common/printf_fp.c (__guess_grouping): Renamed from
1394 `guess_grouping' and extend visibility to extern. This function
1395 is now used in `strfmon'.
1396 (__printf_fp): Recognize new bit flag in info struct. This
1397 triggers to use the grouping information and decimal point from
1398 the LC_MONETARY category instead of the LC_NUMERIC category.
1400 * stdio-common/vfprintf.c (process_arg): Correct major bug. In
1401 `complicated' loop we must not use the varargs because the args
1402 are already available in the ARGS_VALUE array.
1404 * stdlib/Makefile (headers): Add monetary.h.
1405 (routines): Add strfmon.
1406 * stdlib/monetary.h: New file. Header for strfmon function.
1407 * stdlib/strfmon.c: New file. Implement strfmon function to print
1408 monetary amounts according to current locale's rules.
1410 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: The kernel header is
1411 now (>= Linux-1.3.100) called <asm/vm86.h>.
1413 Thu May 16 00:31:44 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1415 * Makerules [versioned]: Make symlinks in the build directory, because
1416 the versioned names might be referenced by a DT_NEEDED in another
1419 Wed May 15 18:59:38 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1421 * manual/examples/longopt.c: Include stdlib.h and getopt.h.
1423 Tue May 14 03:36:21 1996 Ulrich Drepper <drepper@cygnus.com>
1425 * sysdeps/unix/sysv/linux/Makefile [$subdir == misc] (headers):
1426 Add sys/acct.h and sys/sysctl.h.
1428 Tue May 14 19:42:04 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1430 * sysdeps/generic/strrchr.c: Deansideclized.
1432 * elf/Makefile (ldd): Depend on Makefile.
1433 Find ld.so in $(slibdir) instead of $(libdir).
1435 * sysdeps/i386/strrchr.S: Use `testl $3, %esi' instead of `testb $3,
1436 %esi'; gas misassembles the latter into `testb $3, %dh'.
1438 * mach/Machrules (%.udeps rule): Do $(make-target-directory) first.
1440 Tue May 14 16:38:44 1996 David Mosberger-Tang <davidm@AZStarNet.com>
1442 * sunrpc/getrpcent.c (interpret): Declare args. Rewrite parsing using
1445 Tue May 14 20:18:38 1996 Ulrich Drepper <drepper@cygnus.com>
1447 * time/Makefile (routines): Add strptime.
1448 * time/time.h: Add prototype for strptime.
1449 * time/strptime.c: New file. Implementation according to XPG4.
1451 Tue May 14 14:07:10 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1453 * libc-symbols.h (lint): Macro removed. The sunrpc code does some
1454 really stupid things #ifdef lint.
1456 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter): Fix
1457 struct member name: sc_eip -> eip.
1459 Mon May 13 19:52:33 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1461 * Makerules (stub-$(subdir)): Put cmds including cd inside (...) with
1462 output redirect outside it.
1464 * elf/Makefile (subdir_lib): Depend on ld.so.
1466 Sun May 12 22:52:22 1996 Bruce Elliott <belliott@accessone.com>
1468 * stdio-common/vfprintf.c: Correct handling of unsigned short
1471 Mon May 13 12:03:03 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1473 * extra-lib.mk (alltype-$(lib)): Put libs in $(objpfx) instead of
1475 * Makerules [install-lib.a]: Find them there.
1477 * sysdeps/unix/sysv/linux/i386/profil-counter.h: New file.
1479 * extra-lib.mk: Skip the hair if $(object-suffixes-$(lib)) is empty.
1481 * posix/glob.h [_AMIGA]: Remove `struct stat;' forward decl.
1483 * configure.in (--with-fp): Note in help string that it's the default.
1485 * locale/programs/ld-ctype.c (struct locale_ctype_t): Use u_int32_t
1486 instead of unsigned int for map_collection_max and map_collection_act.
1488 * stdio-common/vfprintf.c [USE_IN_LIBIO] (flockfile, funlockfile):
1489 Macros removed; they are in <stdio.h>.
1490 * stdio-common/vfscanf.c: Likewise.
1492 * posix/glob.c [_AMIGA]: Don't include <pwd.h>.
1493 (glob): Remove bogus & in call to globfree.
1494 [_AMIGA]: Use AmigaDOS file name conventions.
1496 * time/Makefile (zonenames): Target removed.
1497 (extra-objs): Remove it from here.
1498 Include the z.* files directly instead of including zonenames; use
1499 `-include' to not complain before they exist.
1501 * sysdeps/unix/Makefile: Find sysd-syscalls and s-proto.d with
1502 $(common-objpfx) instead of $(objpfx).
1504 * sysdeps/unix/bsd/telldir.c (seekdir, telldir): Use new struct member
1507 * Makerules [install-lib-non.a]: Find these things with $(objpfx)
1508 instead of $(common-objpfx).
1510 * Makeconfig (sysdep-configures): New variable.
1511 (config.status): Depend on $(sysdep-configures).
1513 Fri May 10 20:07:52 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1515 * sysdeps/unix/sysv/linux/profil.c: New file.
1517 Fri May 10 19:59:50 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1519 * sysdeps/m68k/Makefile (CFLAGS-setjmp.c): New variable.
1521 Fri May 10 19:55:42 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1523 * shlib-versions: Use libm=6 and libc=6 for m68k-linux.
1525 Sun May 12 11:16:58 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1527 * string/envz.c: Fix uses of unsigned to size_t.
1529 * Makerules ($(libdir)/libc.so): Make the file an ld script.
1531 * sysdeps/mach/hurd/configure.in: Don't grok --with-hurd option.
1533 * sysdeps/mach/configure.in: File removed.
1534 * sysdeps/mach/configure: File removed.
1536 * mach/Machrules (%.udeps rule): Write deps for %_server.[ch] too.
1537 (%_server.[ch] rule): Don't depend on %.defs; use #include to get
1538 installed .defs file.
1540 * stdio-common/vfprintf.c (flockfile, funlockfile): Define to
1541 nothing for stdio. Fix fUNlockfile -> funlockfile for libio.
1542 * stdio-common/vfscanf.c: Likewise.
1544 Sat May 11 13:43:41 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1546 * hurd/hurdfault.c: Include faultexc_server.h instead of faultexc.h.
1548 * mach/Machrules (%.ir rule): Don't produce deps for imports.
1550 * elf/dl-fini.c (_dl_fini): Clear L->l_init_called after calling fn.
1552 * Makerules (install): Depend on $(slibdir)/libc.so$(libc.so-version).
1553 [!subdir] ($(libdir)/libc.so, $(common-objpfx)/libc-syms.so): Protect
1554 these targets and install dep on $(libdir)/libc.so with this.
1556 * hurd/Makefile: Removed all rules and defns for using code from Hurd
1557 sources and installing headers from there.
1559 * sysdeps/mach/hurd/errnos.awk: Set in_mach_errors to FILENAME when we
1560 set it. In Mach error matching clause, only match if FILENAME is
1561 still the same value.
1563 * sysdeps/mach/hurd/Makefile: Don't include sysdeps/mach/Makefile;
1564 $(mach-srcdir) no longer exists.
1565 (hurd-srcdir): Variable removed.
1566 (includes): Don't append -I$(hurd-srcdir).
1567 (last-includes): Variable removed.
1568 Remove vpath specs using $(hurd-srcdir).
1569 (mach-errno-h): New canned sequence.
1570 ($(common-objpfx)errnos.d): New target, generated included makefile
1571 to determine absolute file names of Mach headers to search for error
1572 codes and set variable mach-errnos-deps.
1573 ($(common-objpfx)stamp-errnos): Depend on $(mach-errnos-deps) instead
1574 of prior explicit list.
1575 (generated): Add errnos.d, stamp-errnos.
1577 * mach/Machrules (some-if-rtn): New variable and target; compute deps
1578 of some if routine and make all if routines depend on that .d file
1579 instead of static list of .h files.
1581 * mach/Makefile (mach/mach_interface.defs,
1582 mach/memory_object_user.defs): Targets removed.
1583 ($(objpfx)mach-syscalls.mk): Tweak this kludge so it doesn't depend
1584 directly on Mach sources.
1586 * sysdeps/mach/Makefile (mach-srcdir): Variable removed.
1587 (includes): Don't append -I$(mach-srcdir).
1588 Remove vpath specs using $(mach-srcdir).
1590 * hurd/Makefile (server-interfaces): Add faultexc.
1591 (sig): Remove it from here.
1592 (fault%.[ch]): Rule removed.
1593 (MIGFLAGS-faultexc): New variable.
1595 * hurd/faultexc.defs: New file.
1597 * mach/Machrules (%.ustamp rule): Pass $(MIGFLAGS-$*) to mig.
1598 (%_server.[ch] rule): Likewise.
1600 * mach/Makefile: Removed all rules and defns for using code from Mach
1601 sources and installing headers from there.
1603 * Makeconfig [$(build-shared)=yes] (link-libc): Append
1604 $(libc.so-version) to libc.so.
1606 Fri May 10 18:36:14 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1608 * mach/Machrules (%.ustamp rule): Don't depend on %.defs.
1609 (%.udeps): New rule parallel to that one, generating included
1610 makefiles with -M output from `#include <%.defs>'.
1612 * Makerules (sed-remove-objpfx): Remove space before \ at eol.
1614 * Makefile (distribute): Add FAQ.
1615 * FAQ: New file contributed by drepper.
1617 * time/Makefile (headers): Add timebits.h.
1618 * sysdeps/unix/sysv/linux/timebits.h: New file.
1619 * sysdeps/stub/timebits.h: New file.
1620 * time/time.h (CLK_TCK): Define to CLOCKS_PER_SEC.
1621 (CLOCKS_PER_SEC): Remove this macro. Instead #include <timebits.h>.
1623 Fri May 10 16:22:44 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu>
1625 * string/argz-create.c (__argz_create): Restore const keyword to
1627 * string/argz.h (__argz_create, argz_create): Restore const
1629 * string/envz.c (envz_get): Don't declare ENTRY const.
1631 Fri May 10 11:48:03 1996 Miles Bader <miles@gnu.ai.mit.edu>
1633 * string/argz.h (argz_create): Fix param type.
1634 * string/argz-create.c (__argz_create): Remove const from param type.
1635 * string/envz.c (envz_get): Remove const from return type.
1637 Fri May 10 09:41:54 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu>
1639 * string/argz.h (__argz_create, argz_create): Omit const keyword
1640 from declaration of ARGV.
1641 * string/envz.h (envz_get): Omit const from declaration of return
1644 Thu May 9 09:17:46 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1646 * aclocal.m4 (AC_FD_MSG, AC_FD_CC): Fix these for autoconf weirdness.
1648 Cleanups in sunrpc code from NIIBE Yutaka <gniibe@mri.co.jp>.
1649 * sunrpc/clnt_tcp.c (clnttcp_create): Don't close *SOCKP if it's -1.
1650 * sunrpc/clnt_simp.c (callrpc): Don't close CRP->socket if it's
1652 * sunrpc/pmap_clnt.c (pmap_set): Don't close SOCKET, since
1653 CLNT_DESTROY already has.
1654 (pmap_unset): Likewise.
1655 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
1656 * sunrpc/pm_getport.c (pmap_getport): Likewise.
1657 * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
1658 * sunrpc/portmap.c (callit): Likewise.
1660 * Makerules (versioned): Strip whitespace.
1662 * Rules (static-only-routines rule): Remove spurious space in dep.
1664 * misc/getusershell.c: Undo changes of 7 May 96 (rev 1.6).
1665 Cast string constants to char *.
1667 * posix/glob/SMakefile, posix/glob/SCOPTIONS, posix/glob/Makefile.ami:
1668 New files, AmigaDOS support from Aaron Digulla.
1669 * posix/Makefile (glob.tar): Add AmigaDOS support files.
1671 * sysdeps/unix/sysv/linux/net/if.h: New file.
1672 * sysdeps/unix/sysv/linux/Dist: Add it.
1673 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=socket] (headers): Add
1676 * Makeconfig (link-libc): Add libc.a after libc.so in link.
1678 * Rules (static-only-routines rule): Use empty.o instead of dummy.o.
1679 (empty.o): New target.
1680 (generated): Add empty.c, empty.o.
1682 * resolv: Code updated from BIND-4.9.3P2C3.
1684 * Rules (static-only-routines rule): Use dummy.o, not dummy.so.
1686 Wed May 8 20:04:29 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1688 * extract-dynsym: New file.
1689 * Makefile (distribute): Add it.
1690 * Rules (subdir_install): Depend on $(common-objpfx)sor-$(subdir).
1691 [! libc.so-version]: Clear static-only-routines.
1692 ($(common-objpfx)sor-$(subdir)): New target.
1693 [static-only-routines]: New static pattern rule for these .so's.
1694 * Makerules [libc.so-version] ($(slibdir)/libc.so): Target removed.
1695 [libc.so-version] ($(libdir)/libc.so, $(common-objpfx)libc-syms.so):
1696 New targets replace it.
1697 (install) [libc.so-version]: Depend on $(libdir)/libc.so instead of
1699 * io/Makefile (static-only-routines): New variable.
1700 * configure.in: Check for tools objdump and objcopy, and for awk.
1701 * config.make.in (OBJDUMP, OBJCOPY, AWK): New variables.
1703 Thu May 9 01:24:00 1996 Ulrich Drepper <drepper@cygnus.com>
1705 * locale/programs/config.h: Remove definition of wint_t.
1707 * locale/programs/ld-collate.c: Include <wchar.h> instead of
1710 * manual/time.texi: Add some more description for %U and %W
1711 format of strftime. Describe new format %V of strftime.
1713 * resolv/gethnamaddr.c: Prevent warning by preventing variable
1715 * stdio-common/_itoa.c: Ditto.
1717 Tue May 7 23:43:07 1996 Ulrich Drepper <drepper@cygnus.com>
1719 * libio/clearerr.c, libio/feof.c, libio/ferror.c, libio/fgetc.c,
1720 libio/fileno.c, libio/fputc.c, libio/freopen.c, libio/fseek.c,
1721 libio/genops.c, libio/getc.c, libio/getchar.c, libio/iofclose.c,
1722 libio/iofflush.c, libio/iofgetpos.c, libio/iofgets.c,
1723 libio/iofputs.c, libio/iofread.c, libio/iofsetpos.c,
1724 libio/ioftell.c, libio/iofwrite.c, libio/iogetdelim.c,
1725 libio/iogets.c, libio/ioputs.c, libio/iosetbuffer.c,
1726 libio/iosetvbuf.c, libio/ioungetc.c, libio/iovsprintf.c,
1727 libio/libio.h, libio/putc.c, libio/putchar.c, libio/rewind.c,
1728 libio/stdio.h, stdio-common/printf_fp.c, stdio-common/vfprintf.c,
1729 stdio-common/vfscanf.c: Prepare for reentrant libio.
1731 * libio/clearerr_u.c, libio/feof_u.c, libio/ferror_u.c,
1732 libio/fputc_u.c, libio/getc_u.c, libio/getchar_u.c,
1733 libio/iofflush_u.c, libio/putc_u.c, libio/putchar_u.c: New files.
1734 Used in reentrant libio.
1736 * misc/getusershell.c: Prevent warnings.
1738 Wed May 8 12:08:35 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1740 * Makerules (install-lib.so rules): Undouble $s in target and dep
1741 parts of o-iterator-doit defns.
1742 (unversioned libraries install rule): Fix pattern.
1744 * mach/Makefile (mach-src-headers): Use $(base-machine) instead of
1746 ($(includedir)/machine): Likewise.
1748 * config.make.in (base-machine): New variable.
1749 * configure.in (machine): Move case stmt to set $machine out of sysdep
1750 dirs AC_CACHE_CHECK.
1751 (base_machine): New variable, set in that switch and AC_SUBST'd.
1753 * Makerules (stub-$(subdir)): Use file name in directory as output,
1756 * configure.in (MSGFMT): Use : if none found.
1758 * po/Makefile: Include ../Rules instead of ../Makerules.
1760 Tue May 7 23:18:44 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1762 * po/Makefile: New file.
1763 * Makefile (subdirs): Add po.
1765 * configure.in: Check for msgfmt.
1766 * config.make.in (MSGFMT): New variable.
1768 Sun May 5 23:49:10 1996 Ulrich Drepper <drepper@cygnus.com>
1770 * misc/Makefile (routines): Add swapoff.
1772 * sysdeps/unix/sysv/linux/Dist: Add sys/quota.h.
1774 * sysdeps/unix/sysv/linux/sys/quota.h: New file. Wrapper around
1777 Tue May 7 19:00:01 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1779 * string/argz-extract.c: Remove const from decl.
1780 * string/argz.h: Here too.
1782 * Makeconfig (version.mk): Fix regexp in sed cmd.
1783 Depend on $(..)Makeconfig.
1785 * GMP code updated from gmp-2.0 release.
1786 * stdlib/Makefile (mpn-routines): Removed add_1, added inlines.
1787 * sysdeps/generic/add_1.c: File removed.
1788 * stdlib/strtod.c: mp_limb is now mp_limb_t.
1789 * stdlib/fpioconst.c, stdlib/fpioconst.h: Likewise.
1790 * stdio-common/_itoa.c: Likewise.
1791 * stdio-common/printf_fp.c: Likewise.
1792 Don't include ansidecl.h.
1794 * sysdeps/mach/hurd/getcwd.c: Use io_identity instead of io_stat.
1796 * shlib-versions: New file.
1797 * Makerules (soversions.mk): New target, include file generated from
1798 shlib-versions. Moved shared library rules before installation rules.
1799 Rewrote shared library installation rules for versioned libraries.
1800 * math/Makefile (libm.so-version): Variable removed.
1802 * sysdeps/mach/hurd/i386/exc2signal.c: Use struct hurd_signal_detail.
1804 * hurd/report-wait.c (_S_msg_describe_ports): New function.
1806 * configure.in: Add AC_PROG_LN_S check.
1807 * config.make.in (LN_S): New variable.
1809 Sun May 5 03:10:44 1996 Ulrich Drepper <drepper@cygnus.com>
1811 * misc/efgcvt_r.c (ecvt_r): Work aroung gcc bug. gcc does
1812 not know about weak aliases now and optimizes necessary `if'
1815 * posix/unistd.h: Add swapoff prototype.
1817 * sysdeps/generic/confname.h: Add even more POSIX.4 symbols.
1819 * sysdeps/posix/fpathconf.c (__fpathconf): Get information
1820 for _PC_PATH_MAX from fstatfs function if available.
1822 * sysdeps/posix/sysconf.c: Add code to handle _SC_AIO_LISTIO_MAX,
1823 _SC_AIO_MAX, _SC_AIO_PRIO_DELTA_MAX, _SC_DELAYTIMER_MAX,
1824 _SC_MQ_OPEN_MAX, _SC_MQ_PRIO_MAX, _SC_RTSIG_MAX,
1825 _SC_SEM_NSEMS_MAX, _SC_SEM_VALUE_MAX, _SC_SIGQUEUE_MAX, and
1827 * sysdeps/unix/sysv/sysv4/sysconf.c: Ditto.
1829 * sysdeps/stub/swapoff.c: New file. Stub version for swapoff
1832 * sysdeps/unix/syscalls.list: Add swapoff.
1834 * sysdeps/unix/sysv/linux/Dist: Add sys/acct.h.
1836 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
1837 (sysdep_routines): Add mount, umount, llseek, setfsgid, setfsuid,
1838 sysinfo, and uselib.
1839 (headers): Add sys/sysinfo.h.
1841 * sysdeps/unix/sysv/linux/gethostid.c: Prevent warning.
1843 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == misc]
1844 (sysdep_routines): Add ioperm, iopl, and vm86.
1845 (headers): Add sys/perm.h and sys/vm86.h.
1847 * sysdeps/unix/sysv/linux/i386/sys/perm.h: New file. Contains
1848 prototypes for iopl and ioperm.
1850 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: New file. Contains
1853 * sysdeps/unix/sysv/linux/i386/syscalls.list: New file. Add
1856 * sysdeps/unix/sysv/linux/sys/acct.h: New file. Contains
1857 prototypes for acct function.
1859 * sysdeps/unix/sysv/linux/sys/socket.h: Provide real header
1860 file with prototypes.
1862 * sysdeps/unix/sysv/linux/sys/sysinfo.h: New file. Contains
1863 prototype for sysinfo function.
1865 * sysdeps/unix/sysv/linux/syscalls.list: Add flock, ioperm, iopl,
1866 llseek, setfsgid, setfsuid, sysinfo, and uselib.
1868 * sysdeps/unix/sysv/linux/sysconf.c: Instead of duplicating
1869 posix/sysconf.c now only handle cases different to that
1872 Tue May 7 15:08:19 1996 Miles Bader <miles@gnu.ai.mit.edu>
1874 * stdio/linewrap.c (__line_wrap_output): Renamed from lwoutput
1875 (all references changed). Now exported.
1877 * stdio/linewrap.c (struct data): Type deleted (moved to linewrap.h).
1878 (wrap_stream, unwrap_stream, lwclose, lwfileno, lwoutput,
1879 line_wrap_stream, line_unwrap_stream): Use struct line_wrap_data
1880 instead of struct data.
1881 (lwoutput, line_wrap_stream, line_unwrap_stream): Rename various
1882 occurences of `wrap' and `wrapmargin' to `wmargin'.
1883 (line_wrapped, line_wrap_lmargin, line_wrap_set_lmargin,
1884 line_wrap_rmargin, line_wrap_set_rmargin, line_wrap_wmargin,
1885 line_wrap_set_wmargin, line_wrap_point): New functions.
1886 * stdio/linewrap.h: New file.
1887 * stdio/Makefile (headers): Add linewrap.h.
1889 Tue May 7 14:19:12 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1891 * sysdeps/unix/sysv/linux/i386/Makefile: File removed.
1893 * stdio/stdio.h: Remove line_wrap_stream, line_unwap_stream decls.
1895 * sysdeps/unix/sysv/linux/schedbits.h: New file.
1897 Tue May 7 13:47:02 1996 Miles Bader <miles@gnu.ai.mit.edu>
1899 * stdio/linewrap.c (struct data): Make margin fields not-pointers.
1900 (lwoutput): Adjust uses acordingly.
1902 Tue May 7 10:51:52 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1904 * sysdeps/mach/hurd/fdatasync.c: New file.
1905 * sysdeps/mach/hurd/fsync.c: Pass new flag to file_sync.
1907 * sysdeps/mach/hurd/xmknod.c: Pass new flag to dir_link.
1908 * sysdeps/mach/hurd/symlink.c: Likewise.
1909 * sysdeps/mach/hurd/link.c: Likewise.
1910 * sysdeps/mach/hurd/bind.c: Likewise.
1911 * hurd/hurdsig.c (write_corefile): Likewise.
1913 * hurd/hurdsig.c (write_corefile): Pass cttyid port to crash server.
1915 * sysdeps/mach/hurd/fpathconf.c: RPC takes int pointer, not long int.
1917 * sysdeps/mach/hurd/_exit.c (_hurd_exit): Pass sigcode arg to
1919 * sysdeps/mach/hurd/dl-sysdep.c (_exit): Likewise.
1921 * sysdeps/mach/hurd/wait4.c: Pass sigcode arg to proc_wait.
1923 * sysdeps/mach/hurd/rename.c: Pass new flag to dir_rename.
1925 * hurd/hurdfault.c (_hurdsig_fault_catch_exception_raise): Use struct
1927 * hurd/catch-exc.c (_S_catch_exception_raise): Likewise.
1928 * hurd/hurd-raise.c (_hurd_raise_signal): Likewise.
1929 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
1931 * sysdeps/mach/hurd/setitimer.c (restart_itimer): Likewise.
1933 * hurd/hurd/signal.h: Fix _hurd_exception2signal prototype.
1935 * hurd/hurdsig.c (write_corefile): Take const struct
1936 hurd_signal_detail * arg. Pass all details to crash_dump_task.
1937 (_hurd_internal_post_signal): Pass DETAIL to write_corefile.
1938 (_hurd_internal_post_signal: suspend): Pass code and error to
1941 * hurd/hurdprio.c (_hurd_priority_which_map): Pass flags arg to
1942 proc_getprocinfo by reference.
1944 * wcsmbs/wcwidth.c, wcsmbs/wcswidth.c: Fixed typos.
1946 * sysdeps/unix/sysv/linux/sys/mman.h: Fixed typo.
1948 * sysdeps/stub/sched_getp.c: Add missing #include <sys/types.h>.
1949 * sysdeps/stub/sched_sets.c: Likewise.
1950 * sysdeps/stub/sched_setp.c: Likewise.
1951 * sysdeps/stub/sched_rr_gi.c: Likewise.
1952 * sysdeps/stub/sched_gets.c: Likewise.
1954 * hurd/hurdsig.c: Use struct hurd_signal_detail.
1955 * hurd/hurd/fd.h (_hurd_fd_error): Likewise.
1956 * sysdeps/mach/hurd/sysd-stdio.c (fd_fail): Likewise.
1958 Mon May 6 09:51:05 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1960 * stdio/linewrap.c: New file.
1961 * stdio/Makefile (routines): Add linewrap.
1962 * stdio/stdio.h [__USE_GNU]: Declare line_wrap_stream,
1965 Mon May 6 14:53:26 1996 Ulrich Drepper <drepper@cygnus.com>
1967 * time/strftime.c (week): Add third parameter telling how
1968 many days must be in new year so that it is called week 1.
1969 (Following ISO 8601).
1970 Correct computation for %U and %V formats when day was first
1972 (strftime): Implement %V format according to Spec1170.
1974 Mon May 6 17:01:09 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu>
1976 * hurd/hurd/signal.h (_hurd_intr_rpc_mach_msg): New declaration.
1978 Sat May 4 05:44:25 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1980 * hurd/hurd/sigpreempt.h (struct hurd_signal_preempter): Change
1981 prototype of `preempter' elt to use struct hurd_signal_detail.
1983 * hurd/hurd/signal.h (struct hurd_signal_detail): New type.
1984 (struct hurd_sigstate): Make `pending_data' member an array of that.
1985 Use the new type in several decls.
1987 * locale/setlocale.c (_nl_C_name): Variable removed.
1988 * locale/C_name.c: New file.
1989 (_nl_C_name): Put it here instead.
1990 * locale/Makefile (aux): Add C_name.
1992 * sysdeps/mach/hurd/dl-sysdep.c (open): Don't pass io port in
1993 auth_user_authenticate rpc.
1994 (open): Avoid using strtol in digit conversion for "fd/N" magic.
1995 (_dl_sysdep_start): Likewise for memobj name in magic switches.
1997 * elf/Makefile (reloc-link): New variable.
1998 (dl-allobjs.so): New target, link together $(rtld-routines).
1999 (librtld.so): Depend on that instead of the rtld components.
2000 (generated): Add dl-allobjs.so.
2002 * hurd/hurd-raise.c (_hurd_raise_signal): Pass sigcode in msg_sig_post
2005 * hurd/hurdmsg.c (_S_msg_set_environment): Use argz.h functions
2006 instead of _hurd_split_args.
2007 (_S_msg_*_exec_flags): Functions removed.
2008 (_S_msg_startup_dosync): Stub removed.
2010 Sat May 4 02:11:55 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
2012 * sysdeps/mach/hurd/ptrace.c: Set _hurdsig_traced instead of
2013 EXEC_TRACED bit in _hurd_exec_flags.
2014 Pass sigcode arg in msg_sig_post_untraced rpc.
2016 * sysdeps/mach/hurd/access.c: Don't pass io port in
2017 auth_user_authenticate rpc.
2019 * posix/sched.h: Fix typos.
2021 * sysdeps/mach/hurd/fork.c: Use new critical section lock.
2022 Clear _hurdsig_traced instead of EXEC_TRACED.
2024 * sysdeps/stub/nanosleep.c (nanosleep): Fix typo.
2026 * wcsmbs/wcstol.c: Find strtol.c in ../stdlib.
2027 * wcsmbs/wcstof.c: Find strtod.c in ../stdlib.
2028 * wcsmbs/wcstod.c: Likewise.
2029 * wcsmbs/wcstold.c: Likewise.
2031 * wcsmbs/wcwidth.h: Find cname-lookup.h in ../wctype.
2033 * string/envz.c (envz_entry): Use const.
2034 (envz_get, envz_remove): Likewise.
2035 (envz_entry): Return char *, not const char *.
2037 * string/envz.h: Fix decl.
2039 * string/argz-create.c: Use const in prototype.
2040 * string/argz-next.c: Likewise.
2042 Fri May 3 13:32:08 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
2044 * sysdeps/mach/hurd/sigprocmask.c: Pass sigcode arg to msg_sig_post.
2045 * sysdeps/mach/hurd/i386/sigreturn.c: Likewise.
2046 * sysdeps/mach/hurd/sigsuspend.c: Likewise.
2047 * sysdeps/mach/hurd/kill.c: Likewise.
2049 * hurd/hurdexec.c (_hurd_exec): Use new critical section lock.
2050 * hurd/catch-exc.c (_S_catch_exception_raise): Likewise.
2051 * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Likewise.
2052 * hurd/thread-cancel.c (hurd_thread_cancel, hurd_check_cancel):
2054 * sysdeps/mach/hurd/jmp-unwind.c (_longjmp_unwind): Likewise.
2055 * sysdeps/mach/hurd/sigaction.c: Likewise.
2057 * sysdeps/mach/hurd/errnos.awk: Don't use ARGV in comment; it can
2058 change meaninglessly.
2060 * hurd/hurd/signal.h (struct hurd_sigstate): Replace critical section
2061 flag with a spin lock.
2062 (_hurd_critical_section_lock): Use spin_try_lock on that to see if we
2063 get it. No need to take SS->lock at all.
2064 (_hurd_critical_section_unlock): Unlock SS->critical_section_lock
2065 instead of clearing the old flag member.
2066 * hurd/hurdsig.c (_hurd_internal_post_signal): Use spin_lock_locked to
2067 test the critical section state.
2069 * hurd/hurdinit.c (_hurd_init): Set _hurdsig_traced from the intarray.
2071 * hurd/hurdkill.c (_hurd_sig_post): Pass 0 sigcode in msg_sig_post.
2073 * hurd/hurdsig.c (_hurd_internal_post_signal): Test _hurdsig_traced
2074 instead of testing (_hurd_exec_flags & EXEC_TRACED).
2075 (_S_msg_sig_post): Take sigcode arg and pass it through.
2076 (_S_msg_sig_post_untraced): Likewise.
2077 (reauth_proc): Don't pass proc port in auth_user_authenticate.
2079 * hurd/setauth.c (_hurd_setauth): Don't pass object ports in
2080 auth_user_authenticate RPCs, just the one-off rendezvous port.
2081 * hurd/dtable.c (reauth_dtable): Likewise.
2082 * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Likewise.
2084 * hurd/hurdexec.c (_hurd_exec): Pass 0 flags to file_exec.
2085 Pass sigcode arg to msg_sig_post.
2087 * string/argz.h (argz_create): Use const in prototype.
2089 * hurd/hurdinit.c (_hurd_proc_init): Test _hurdsig_traced instead of
2090 testing (_hurd_exec_flags & EXEC_TRACED).
2091 Pass sigcode arg to msg_sig_post.
2093 * hurd/hurd.h: Declare _hurdsig_traced.
2095 * string/argz.h (__argz_next): Cast ENTRY before returning it.
2097 * hurd/hurd/signal.h (_hurd_critical_section_unlock): Pass sigcode arg
2100 * hurd/path-lookup.c: New file.
2101 * hurd/Makefile (routines): Add path-lookup.
2102 * hurd/hurd/lookup.h: Declare file_name_path_scan,
2103 hurd_file_name_path_lookup.
2104 * hurd/hurd.h: Declare file_name_path_lookup.
2106 * sysdeps/mach/hurd/select.c: The io_select rpc no longer has a TAG_ID
2107 argument. Instead, use a separate reply port for each RPC and put them
2108 all in a port set to wait for slow replies.
2110 * intl/Makefile (CPPFLAGS): Change $(nlsdir) to $(i18ndir) in
2113 Fri May 3 03:14:02 1996 Ulrich Drepper <drepper@cygnus.com>
2115 * intl/Makefile (routines): Add l10nflist and explodename.
2116 (distribute): Add loadinfo.h and locale.alias.
2117 (install-others): New variable to install locale.alias.
2119 * intl/dcgettext.c, intl/finddomain.c, intl/gettextP.h,
2120 intl/loadmsgcat.c: Adapt for upcoming gettext-0.10.13. Some code
2121 is now shared with the locale implementation.
2123 * intl/explodename.c, intl/l10nflist.c, intl/loadinfo.h: New file.
2124 Extracted from finddomain.c. This is also used in the locale
2127 * intl/locale.alias: New file. Locale alias database compatible
2128 with X Window System's locale alias file. Can now be used in
2129 locale and gettext code.
2131 * libio/stdio.h: Add prototypes for asprint and vasprintf.
2133 * locale/C-collate.c, locale/C-ctype.c, locale/C-messages.c,
2134 locale/C-monetary.c, locale/C-numeric.c, locale/C-time.c: Add new
2135 field in structure with name of locale ("C" in this case).
2137 * locale/Makefile (routines): Add findlocale.
2139 * locale/findlocale.c: New file. Instead of trying to load the
2140 directly described file we now try to be much smarter when this
2141 fails. Use the same code as gettext does.
2143 * locale/loadlocale.c, locale/setlocale.c: Rewrite to know about
2146 * locale/localeinfo.h: Adapt prototypes and declarations for new
2147 setlocale implementation. Remove definition of u32_t type. We
2148 now use u_int32_t from <sys/types.h>.
2150 * locale/programs/charset.h (ILLEGAL_CHAR_VALUE): Provide type
2153 * locale/programs/config.h, locale/lc-collate.c,
2154 locale/localeinfo.h, locale/programs/ld-collate.c,
2155 locale/programs/ld-ctype.c, locale/programs/ld-messages.c,
2156 locale/programs/ld-monetary.c, locale/programs/ld-numeric.c,
2157 locale/programs/ld-time.c, locale/weight.h, string/strcoll.c:
2158 Change to use u_int32_t and u_int16_t.
2160 * locale/programs/localedef.c (construct_output_path): Change name
2161 of output locale to contain normalized form of the character set
2164 * string/Makefile (routines): Add agrz-ctsep and argz-next.
2165 (tests): Add tst-strlen.
2167 * string/argz-ctsep.c: New file. Implement reverse operation
2168 from argz-stringify.
2170 * string/argz-next.c: Non-inline version of function from argz.h.
2172 * string/argz.h, string/envz.h: Make usable as global header file.
2174 * string/envz.c: Fix declarations to use size_t where prototypes
2177 * string/tst-strlen.c: New file. Another test for critical
2178 situation in strlen implementations.
2180 * sysdeps/i386/i586/strlen.S: Fix bug with highest byte in word
2183 * wctype/test_wctype.c: Fix controlling comparison after change to
2184 32 bit character class array.
2186 Fri May 3 12:53:12 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
2188 * sysdeps/unix/sysv/linux/sys/socket.h: Remove spurious doubled line.
2190 Thu May 2 22:50:52 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2192 * sysdeps/unix/sysv/linux/getpriority.c: New file.
2193 * sysdeps/unix/sysv/linux/syscalls.list: Add s_getpriority.
2195 Thu May 2 22:41:31 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2197 * sysdeps/unix/sysv/linux/m68k/fpu_control.h (_FPU_DEFAULT):
2198 Disable all exceptions.
2200 Thu May 2 22:33:14 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2202 * sysdeps/m68k/fpu/e_acos.c, sysdeps/m68k/fpu/e_acosf.c,
2203 sysdeps/m68k/fpu/e_fmod.c, sysdeps/m68k/fpu/e_fmodf.c,
2204 sysdeps/m68k/fpu/isinfl.c, sysdeps/m68k/fpu/isnanl.c,
2205 sysdeps/m68k/fpu/s_atan.c, sysdeps/m68k/fpu/s_atanf.c,
2206 sysdeps/m68k/fpu/s_frexp.c, sysdeps/m68k/fpu/s_frexpf.c,
2207 sysdeps/m68k/fpu/s_ilogb.c, sysdeps/m68k/fpu/s_ilogbf.c,
2208 sysdeps/m68k/fpu/s_isinf.c, sysdeps/m68k/fpu/s_isinff.c,
2209 sysdeps/m68k/fpu/s_ldexp.c, sysdeps/m68k/fpu/s_ldexpf.c,
2210 sysdeps/m68k/fpu/s_modf.c, sysdeps/m68k/fpu/s_modff.c: Don't
2211 define __NO_MATH_INLINES, which is already defined on command
2214 Thu May 2 22:18:28 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2216 * sysdeps/libm-ieee754/e_j0f.c (__ieee754_j0f, __ieee754_y0f):
2217 Replace 0x80000000 by 0x48000000.
2218 * sysdeps/libm-ieee754/e_j1f.c (__ieee754_j1f): Likewise.
2220 Thu May 2 21:30:33 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2222 * sunrpc/svc_simple.c: Make global variable pl local to
2225 Thu May 2 00:24:04 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2227 * time/Makefile (tz-cflags): New variable.
2228 (CFLAGS-tzfile.c): New variable.
2229 (CFLAGS-zic.c): Add $(tz-cflags).
2230 (tz-cc): Remove variable.
2231 ($(objpfx)tzfile.o, $(objpfx)zic.o): Remove targets.
2233 Wed May 1 09:10:04 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
2235 * sysdeps/mach/hurd/getcwd.c: Jump out of both loops when we find a
2236 name, instead of checking for reaching end of buffer, which happens
2237 when the match is the last entry in the buffer.
2239 * time/strftime.c: Use canonical autoconf nugget for time.h+sys/time.h
2242 Mon Apr 29 02:48:26 1996 Ulrich Drepper <drepper@cygnus.com>
2244 * ctype/ctype-info.c: (__ctype_width): New variable.
2245 (__ctype_names): Initialize correctly without offset.
2247 * locale/C-collate.c, locale/C-ctype.c,
2248 locale/C-messages.c, locale/C-monetary.c,
2249 locale/C-numeric.c, locale/C-time.c: Change copyright.
2251 * locale/C-ctype.c (_nl_C_LC_CTYPE_class32): Correct
2252 endianess for initialization value.
2254 * locale/lc-ctype.c (current): Add parameter for offset.
2255 (__ctype32_b, __ctype_width): Add initialization for these
2258 * locale/programs/charmap.c: Finish support for WIDTH information.
2259 (new_width): New function.
2261 * locale/programs/charset.h (width_rule): new data structure.
2262 (charset_t): Add elements for width information.
2264 * locale/programs/ld-ctype.c (locale_ctype_t): Add element
2265 for width information.
2266 (allocate_arrays): Add new argument for charset.
2267 (ctype_finish): Make sure all characters named in charset
2268 width table are known to name table.
2269 (ctype_output): Correct handling of class and map name
2270 information and write out width information.
2271 (find_idx): Prepare for being called with NULL pointer as
2272 TABLE argument. This means only allocate name entry.
2273 (allocate_arrays): Correct handling of array element -1.
2274 Because EOF == -1 the value of element 127 must *not* be
2276 Fill width information from charset tables.
2278 * locale/programs/localedef.c (main): Correct loop over all
2279 categories after change of order from Thu Mar 28 14:22:51 1996.
2280 Add new charset argument to call of `write_all_categories'.
2282 * locale/programs/locales.h (ctype_finish, ctype_output): New
2285 * locale/programs/locfile.c (write_all_categories): Call
2286 `ctype_output' with additional argument charset.
2288 * posix/getconf.c (vars): Add _POSIX_SYNC_IO, _POSIX_ASYNC_IO,
2289 and _POSIX_PRIO_IO definitions.
2291 * posix/posix2_lim.h: Add definition of _POSIX2_CHARCLASS_NAME_MAX
2292 and CHARCLASS_NAME_MAX.
2294 * posix/unistd.h: Document _POSIX_SYNC_IO, _POSIX_ASYNC_IO,
2297 * stdlib/grouping.h: Prepare for use in wide string functions.
2299 * stdlib/stdlib.h: Correct prototypes for __strto*_internal
2302 * stdlib/strtod.c: Extend for use as `wcsto{f,d,ld}'.
2304 * stdlib/strtol.c: Extend for use as `wcsto{l,ul,q,uq}'.
2306 * string/strcoll.c: Extend for use as `wcscoll'.
2308 * string/strxfrm.c: Extend for use as `wcsxfrm'.
2310 * sysdeps/generic/confname.h: Add definition of _PC_SYNC_IO,
2311 _PC_ASYNC_IO, _PC_PRIO_IO and _SC_CHARCLASS_NAME_MAX.
2313 * sysdeps/generic/stpncpy.c: Correct return value.
2315 * sysdeps/posix/fpathconf.c: Add handling of _PC_SYNC_IO,
2316 _PC_ASYNC_IO, and _PC_PRIO_IO.
2318 * sysdeps/posix/sysconf.c: Add handling of _SC_REALTIME_SIGNALS,
2319 _SC_PRIORITY_SCHEDULING, _SC_TIMERS, _SC_ASYNCHRONOUS_IO,
2320 _SC_PRIORITIZED_IO, _SC_SYNCHRONIZED_IO, _SC_FSYNC,
2321 _SC_MAPPED_FILES, _SC_MEMLOCK, _SC_MEMLOCK_RANGE,
2322 _SC_MEMORY_PROTECTION, _SC_MESSAGE_PASSING, _SC_SEMAPHORES,
2323 _SC_SHARED_MEMORY_OBJECTS, and _SC_CHARCLASS_NAME_MAX.
2324 * sysdeps/stub/sysconf.c: Ditto.
2325 * sysdeps/unix/sysv/sysv4/sysconf.c: Ditto.
2327 * sysdeps/unix/sysv/linux/Dist: Add sys/sysctl.h.
2329 * sysdeps/unix/sysv/linux/Makefile [subdir == misc]
2330 (sysdep_routines): Add s_sysctl and sysctl.
2332 * sysdeps/unix/sysv/linux/sys/mman.h: Add declaration of mremap.
2334 * sysdeps/unix/sysv/linux/sys/socket.h: New file. Wrapper
2335 around kernel header.
2337 * sysdeps/unix/sysv/linux/sys/sysctl.h: New file. Define
2338 interface to `sysctl' function.
2340 * sysdeps/unix/sysv/linux/syscalls.list: Add mremap and _sysctl.
2342 * sysdeps/unix/sysv/linux/sysconf.c: Add handling of
2343 _SC_CHARCLASS_NAME_MAX.
2345 * sysdeps/unix/sysv/linux/sysctl.c: new file. Implement caller
2346 of _sysctl system call.
2348 * sysvipc/Makefile (routines): Add ftok.
2350 * sysvipc/ftok.c: use variable `proj_id' not `id'. Patch by
2351 David Mosberger-Tang.
2353 * wcsmbs/Makefile (routines): Add wcpcpy, wcpncpy, wcstol,
2354 wcstoul, wcstoq, wcstouq, wcstod, wcstold, wcstof, wcscoll,
2355 wcsxfrm, wcwidth, and wcswidth.
2357 * wcsmbs/wchar.h: Add declarations for wcpcpy, wcpncpy, wcstol,
2358 wcstoul, wcstoq, wcstouq, wcstod, wcstold, wcstof, wcscoll,
2359 wcsxfrm, wcwidth, and wcswidth.
2360 Declare internal interfaces for wcsto* functions.
2361 [OPTIMIZE]: Define inline functions for wcsto* functions to
2362 call internal interface functions.
2364 * wcsmbs/wcpcpy.c, wcsmbs/wcpncpy.c: New files. Implement non-
2365 standard function equivalent to stpcpy/stpncpy.
2367 * wcsmbs/wcscoll.c: Implement `wcscoll' function by using
2368 `strcoll' implementation.
2370 * wcsmbs/wcscpy.c, wcsmbs/wcsncpy.c: Use wint_t instead of
2373 * wcsmbs/wcstod.c: Implement `wcstod' function by using `strtod'
2375 * wcsmbs/wcstof.c: Same for `wcstof'.
2376 * wcsmbs/wcstold.c: Same for `strtold'.
2378 * wcsmbs/wcstol.c: Implement `wcstol' function by using `strtol'
2380 * wcsmbs/wcstoq.c: Same for `wcstoq'.
2381 * wcsmbs/wcstoul.c: Same for `wcstoul'.
2382 * wcsmbs/wcstouq.c: Same for `wcstouq'.
2384 * wcsmbs/wcswidth.c: Implement `wcswidth' function from X/Open
2386 * wcsmbs/wcwidth.c: Ditto for `wcwidth'.
2387 * wcsmbs/wcwidth.h: Common function for definitions of above two
2390 * wcsmbs/wcsxfrm.c: Implement `wcsxfrm function by using
2391 `strxfrm implementation.
2393 * wctype/wctype.c: Remove case for `wctype_t' being 16 bit type.
2395 * wctype/wctype.h (wint_t): Protect against multiple definition.
2396 (wctype_t): Always define as `unsigned long int'.
2398 * wctype.h: New file. Wrapper around wctype/wctype.h.
2400 Tue Apr 30 17:30:46 1996 Miles Bader <miles@gnu.ai.mit.edu>
2402 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Add timeout argument to
2403 interrupt_operation call.
2404 (_hurdsig_interrupt_timeout): New variable.
2406 * hurd/report-wait.c (describe_number): Correctly allocate space
2407 in DESCRIPTION for the digits in I.
2409 Mon Apr 29 00:11:59 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
2411 * hurd/hurdstartup.c (_hurd_split_args): Function removed.
2412 (_hurd_startup): Use argz functions.
2414 * hurd/hurdexec.c: Use argz functions.
2416 * errno.h [!__error_t_defined] (error_t): New type.
2417 * sysdeps/mach/hurd/errnos.awk: #define __error_t_defined after the
2418 typedef in errnos.h.
2420 * string/envz.c, string/envz.h: New files.
2421 * string/argz.h, string/argz-append.c, string/argz-count.c,
2422 string/argz-create.c, string/argz-delete.c, string/argz-extract.c,
2423 string/argz-insert.c, string/argz-stringify.c: New files.
2424 * string/Makefile (routines): Add envz, argz-*.
2425 (headers): Add argz.h, envz.h.
2427 Sun Apr 28 14:14:35 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
2429 * sysdeps/unix/sysv/linux/i386/Makefile: New file.
2431 Wed Apr 24 17:35:30 Ulrich Drepper <drepper@cygnus.com>
2433 * inet/netinet/in.h, socket/sys/socket.h: Move to
2434 sysdeps/generic/netinet/in.h, sysdeps/generic/sys/socket.h.
2435 * netinet/in.h, sys/socket.h: Remove file.
2437 * misc/Makefile (routines): Add fdatasync.
2439 * posix/Makefile (headers): Add sched.h.
2440 (routines): Add nanosleep, sched_setp, sched_getp, sched_sets,
2441 sched_gets, sched_yield, sched_primax, sched_primin, sched_rr_gi.
2443 * posix/getconf.c (vars): Add entries for _POSIX_REALTIME_SIGNALS,
2444 _POSIX_PRIORITY_SCHEDULING, _POSIX_TIMERS, _POSIX_ASYNCHRONOUS_IO,
2445 _POSIX_PRIORITIZED_IO, _POSIX_SYNCHRONIZED_IO, _POSIX_FSYNC,
2446 _POSIX_MAPPED_FILES, _POSIX_MEMLOCK, _POSIX_MEMLOCK_RANGE,
2447 _POSIX_MEMORY_PROTECTION, _POSIX_MESSAGE_PASSING,
2448 _POSIX_SEMAPHORES, _POSIX_SHARED_MEMORY_OBJECTS.
2450 * posix/sched.h: New file. Header for POSIX scheduling interface.
2452 * posix/unistd.h: Describe options from POSIX.4.
2453 Add declaration of fdatasync.
2455 * sysdeps/generic/confname.h: Add definition for
2456 _SC_REALTIME_SIGNALS, _SC_PRIORITY_SCHEDULING, _SC_TIMERS,
2457 _SC_ASYNCHRONOUS_IO, _SC_PRIORITIZED_IO, _SC_SYNCHRONIZED_IO,
2458 _SC_FSYNC, _SC_MAPPED_FILES, _SC_MEMLOCK, _SC_MEMLOCK_RANGE,
2459 _SC_MEMORY_PROTECTION, _SC_MESSAGE_PASSING,
2460 _SC_SEMAPHORES, _SC_SHARED_MEMORY_OBJECTS.
2462 * sysdeps/generic/fdatasync.c: New file. Default implementation
2465 * sysdeps/generic/netinit/in.h: Moved to here from inet/netinet/in.h.
2467 * sysdeps/generic/schedbits.h: New file. System dependent
2468 defintion for POSIX.4 scheduling interface.
2470 * sysdeps/generic/sys/socket.h: Moved to here from socket/sys/socket.h.
2472 * sysdeps/stub/nanosleep.c, sysdeps/stub/sched_getp.c,
2473 sysdeps/stub/sched_gets.c, sysdeps/stub/sched_primax.c,
2474 sysdeps/stub/sched_primin.c, sysdeps/stub/sched_rr_gi.c,
2475 sysdeps/stub/sched_setp.c, sysdeps/stub/sched_sets.c,
2476 sysdeps/stub/sched_yield.c: New file: Stub implementation
2477 for systems missing these POSIX.4 system calls.
2479 * sysdeps/unix/sysv/linux/gnu/types.h,
2480 sysdeps/unix/sysv/linux/ioctls.h: Use kernel header for
2481 data type definitions.
2483 * sysdeps/unix/sysv/linux/netinet/in.h: New file. Linux
2486 * sysdeps/unix/sysv/linux/posix_opt.h: New file. Define POSIX
2487 options applicable for Linux.
2489 * sysdeps/unix/sysv/linux/syscalls.list: Add definitions for
2490 fdatasync, nanosleep, sched_setparam, sched_getparam,
2491 sched_setscheduler, sched_getscheduler, sched_yield,
2492 sched_get_priority_max, sched_get_priority_min, and
2493 sched_rr_get_interval.
2495 * sysdeps/unix/sysv/linux/sysconf.c: Add handling of POSIX.4
2498 * sysdeps/unix/sysv/linux/termbits.h: Use kernel headers.
2500 * time/sys/time.h: Remove definition of `struct timespec'.
2502 * time/time.h (struct timespec): Move definition to here.
2504 Fri Apr 26 01:55:07 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
2506 * malloc/mcheck.c (mabort): Use __libc_fatal only #ifdef _LIBC.
2508 Thu Apr 25 15:49:57 1996 Miles Bader <miles@gnu.ai.mit.edu>
2510 * sysdeps/mach/hurd/getcwd.c (__getcwd): When we find a match in
2511 the scan for a name, avoid doing another readdir (which overwrites
2512 NENTRIES, and was resulting in a bogus ENOENT).
2514 * sysdeps/mach/hurd/fcntl.c (__fcntl): Add missing break after F_SETFL.
2516 Wed Apr 24 00:22:42 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
2518 * stdio/internals.c (seek_to_target): Set errno if seek function
2519 returns the wrong offset.
2521 * wcsmbs/wcsrtombs.c [! EILSEQ] (EILSEQ): Define to EINVAL.
2522 * wcsmbs/wcrtomb.c: Likewise.
2524 * stdio-common/vfprintf.c: Include errno.h.
2526 Tue Apr 23 21:09:14 1996 Miles Bader <miles@gnu.ai.mit.edu>
2528 * hurd/hurdsig.c (signal_allowed): For SIGIO/SIGURG, add a new
2529 variable, LUCKY, to use instead of setting D to -1 (which fouls
2532 Tue Apr 23 15:56:56 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
2534 * config.h.in (HAVE_REGEX): New macro.
2536 * sysdeps/unix/syscalls.list: Add statfs, fstatfs.
2537 * io/Makefile (headers): Add sys/statfs.h, statfsbuf.h.
2538 (routines): Add statfs, fstatfs.
2539 * sysdeps/mach/hurd/statfs.c: New file.
2540 * sysdeps/mach/hurd/fstatfs.c: New file.
2541 * sysdeps/stub/fstatfs.c: New file.
2542 * sysdeps/stub/statfs.c: New file.
2543 * io/sys/statfs.h: New file.
2544 * sysdeps/generic/statfsbuf.h: New file.
2545 * sysdeps/unix/sysv/linux/statfsbuf.h: New file.
2547 Tue Apr 23 00:06:47 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
2549 * malloc/Makefile (gmalloc-routines): Add valloc back here.
2550 (dist-routines): Remove it here.
2551 * malloc/valloc.c [_MALLOC_INTERNAL && GMALLOC_INHIBIT_VALLOC]
2552 (ELIDE_VALLOC): Define it.
2553 [! ELIDE_VALLOC]: Make whole file conditional on this.
2554 * malloc/malloc.h (valloc): Make decl conditional on
2555 [!GMALLOC_INHIBIT_VALLOC] instead of [!emacs].
2557 Mon Apr 22 00:02:19 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
2559 * MakeTAGS: Include version.mk.
2560 (po/SYS_libc.pot): Add missing / in sed s cmd.
2562 Sat Apr 20 18:13:00 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
2564 * Makerules (no-whole-archive): Test $(have-no-whole-archive), not
2565 $(libc_cv_ld_no_whole_archive).
2567 Sat Apr 20 17:07:17 1996 Ulrich Drepper <drepper@cygnus.com>
2569 * assert/assert.h, ctype/ctype.h, dirent/dirent.h, errno.h,
2570 grp/grp.h, io/fcntl.h, io/sys/stat.h, io/utime.h, locale/locale.h,
2571 math/math.h, misc/nlist.h, misc/sgtty.h, misc/sys/file.h,
2572 misc/sys/ioctl.h, misc/sys/uio.h, posix/sys/times.h,
2573 posix/sys/types.h, posix/sys/utsname.h, posix/sys/wait.h,
2574 posix/tar.h, posix/wordexp.h, pwd/pwd.h, resource/sys/vlimit.h,
2575 resource/sys/vtimes.h, setjmp/setjmp.h, signal/signal.h,
2576 stdio-common/printf.h, stdlib/alloca.h, stdlib/stdlib.h,
2577 string/string.h, sysdeps/generic/sigaction.h,
2578 sysdeps/generic/sigset.h, sysdeps/generic/sys/ptrace.h,
2579 sysdeps/generic/sys/ptrace.h, sysdeps/unix/bsd/osf/sigaction.h,
2580 sysdeps/unix/sysv/linux/sys/ptrace.h,
2581 sysdeps/unix/sysv/minix/sigaction.h,
2582 sysdeps/unix/sysv/sco3.2.4/sigaction.h,
2583 sysdeps/unix/sysv/sysv4/sigaction.h,
2584 sysdeps/unix/sysv/sysv4/sigset.h, termios/termios.h,
2585 time/sys/time.h, time/time.h: Fix copyright comment.
2587 Fri Apr 19 00:49:44 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
2589 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): If uids and gids are
2590 not given in stack aux vector, fetch them with syscalls.
2592 * stdlib/rpmatch.c (rpmatch: try): Take new arg NOMATCH, return value
2593 for nonmatching nonerror (instead of !MATCH).
2594 (rpmatch): Use it, so we return -1 when NOEXPR doesn't match either.
2596 * resolv/getnetnamadr.c (getnetbyaddr): Use u_int32_t instead of
2597 unsigned long for variable NET2.
2599 * time/etcetera, time/europe, time/solar89: Updated from ADO's 96e.
2601 Tue Apr 9 14:37:31 1996 Ulrich Drepper <drepper@cygnus.com>
2603 * catgets/Makefile, catgets/catgets.c, catgets/catgetsinfo.h,
2604 catgets/config.h, catgets/gencat.c, catgets/nl_types.h,
2605 catgets/open_catalog.c: New files. Implementation of XPG4
2606 compliant catgets() function and needed tools.
2607 * Makefile (subdirs): Add catgets.
2609 Thu Apr 18 23:36:11 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
2611 * math/Makefile (CPPFLAGS): Append -D__NO_MATH_INLINES.
2613 Wed Apr 10 20:48:43 1996 Ulrich Drepper <drepper@cygnus.com>
2615 * stdio-common/vfprintf.c: Correct some typos.
2617 * sysdeps/libm-ieee754/w_gammaf.c, sysdeps/libm-ieee754/w_lgamma.c,
2618 sysdeps/libm-ieee754/w_lgammaf.c: Reference signgam instead of
2621 Thu Apr 18 21:07:27 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
2623 * Makerules (no-whole-archive): New variable.
2624 (build-shlib): Use it.
2625 * elf/Makefile (libdl.so): Use it.
2626 * configure.in (libc_cv_ld_no_whole_archive): New check for
2628 * config.make.in (have-no-whole-archive): New variable.
2630 * stdio-common/printf_fp.c: Increase fudge factor for BIGNUM_SIZE calc
2633 * Make-dist: Include version.mk.
2634 (version, release): Variables removed.
2635 * Makeconfig (version.mk): New target.
2637 Fri Apr 19 01:42:18 1996 Ulrich Drepper <drepper@cygnus.com>
2639 * locale/Makefile (headers): Add langinfo.h.
2640 (CPPFLAGS): Remove -Iliblib.
2642 Mon Apr 15 16:49:04 1996 Roland McGrath <roland@whiz-bang.gnu.ai.mit.edu>
2644 * malloc/memalign.c, malloc/malloc.h [__DJGPP__ == 1]: Elide memalign
2645 function and its declaration.
2647 Wed Apr 10 14:13:45 1996 Miles Bader <miles@gnu.ai.mit.edu>
2649 * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Store
2650 MACH_PORT_DEAD in the thread reply-port variable before destroying
2651 the signal handler's reply port, to avoid infinite recursion.
2653 Mon Apr 8 18:27:17 1996 Miles Bader <miles@gnu.ai.mit.edu>
2655 * sysdeps/mach/gettimeofday.c (__gettimeofday): Don't fail if the
2656 user passes in TZ, just zero it (emacs passes in a dummy variable,
2657 and rms says the hurd should be the one to change).
2659 Sun Apr 7 10:37:30 1996 Roland McGrath <roland@whiz-bang.gnu.ai.mit.edu>
2661 * sysdeps/mach/hurd/fork.c: Don't leak send rights to the child's proc
2664 Fri Apr 5 17:43:41 1996 Miles Bader <miles@gnu.ai.mit.edu>
2666 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn): Store
2667 MACH_PORT_DEAD in the thread reply-port variable before destroying
2668 the signal handler's reply port to avoid infinite recursion.
2669 * sysdeps/mach/hurd/mig-reply.c (__mig_dealloc_reply_port): Only
2670 attempt to destroy PORT if it's a valid port name.
2672 Wed Apr 3 17:10:44 1996 Roland McGrath <roland@whiz-bang.gnu.ai.mit.edu>
2674 * extra-lib.mk: Put libs in $(common-objpfx) instead of $(objpfx).
2675 * Makerules ($(install-lib) rules): Find libs with $(common-objpfx)
2676 instead of $(objpfx).
2678 Tue Apr 2 21:27:01 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2680 * posix/glob.c (glob_pattern_p): Avoid scanning past eos if
2681 the pattern ends with a backslash and quoting is enabled.
2682 * posix/fnmatch.c (fnmatch): Likewise; return FNM_NOMATCH for such
2685 Mon Apr 1 13:34:55 1996 Roland McGrath <roland@whiz-bang.gnu.ai.mit.edu>
2687 * stdio-common/tst-printf.c (main): Add new test case.
2689 * sysdeps/generic/setenv.c (unsetenv): Use old-style definition.
2691 Mon Apr 1 11:39:10 Ulrich Drepper <drepper@gnu.ai.mit.edu>
2693 * stdlib/strtod.c (STRTOD): Fix handling of American style FP
2696 * stdio-common/vfprintf.c (vfprintf): Don't increment format
2697 string pointer twice after seeing `*'.
2699 Sun Mar 31 17:31:54 1996 Roland McGrath <roland@whiz-bang.gnu.ai.mit.edu>
2701 * MakeTAGS (po/SYS_libc.pot): Prepend header processed from
2704 Sun Mar 31 18:07:32 1996 Ulrich Drepper <drepper@gnu.ai.mit.edu>
2706 * locale/Makefile (others, install-bin): Compiling locale works
2708 (locale-modules): locale has no --dump option anymore. Remove
2711 * locale/programs/config.h: Don't declare euidaccess.
2712 Use #include_next to get libc's config.h.
2714 * locale/programs/ctypedump.c: Not needed anymore. Dump option
2715 of locale is removed.
2717 * locale/programs/locale.c: Adapt for new locale implementation.
2719 * stdio-common/_itoa.h (_itoa_word): Define as inline function.
2720 * stdio-common/_itoa.c (_itoa_lower_digits, _itoa_upper_digits):
2721 Don't declare static because used in _itoa_word inline function.
2723 * stdio-common/printf-parse.h: Prepare for use in wide-char
2724 stdio implementation.
2725 (find_spec): Take additional argument to work with mbrlen instead
2727 (parse_one_spec): Ditto.
2729 * stdio-common/printf-prs.c: Prepare for use in wide-char
2730 stdio implementation.
2732 * stdio-common/printf.h: Mark change for wide-char handling.
2733 Changing it now would result in incompatibilities.
2735 * stdio-common/vfprintf.c: New and fast implementation.
2737 * wcsmbs/Makefile (routines): Remove pre-ISO C multibyte functions
2738 mbsadvance, mbscat, mbschr, mbscmp, mbscpy, mbsdup, mbslen,
2739 mbsncat, mbsncmp, mbsncpy, mbsrchr, mbstomb.
2740 Change wcswcs to wcsstr.
2741 Add wmemchr, wmemcmp, wmemcpy, wmemmove, wmemset, btowc, wctob,
2742 mbsinit, mbrlen, mbrtowc, wcrtomb, mbsrtowcs, wcsrtombs.
2744 * wcsmbs/btowc.c, wcsmbs/mbrlen.c, wcsmbs/mbrtowc.c,
2745 wcsmbs/mbsinit.c, wcsmbs/mbsrtowcs.c, wcsmbs/wchar.h,
2746 wcsmbs/wcrtomb.c, wcsmbs/wcsrtombs.c, wcsmbs/wcsstr.c,
2747 wcsmbs/wctob.c, wcsmbs/wmemchr.c, wcsmbs/wmemcmp.c,
2748 wcsmbs/wmemcpy.c, wcsmbs/wmemmove.c, wcsmbs/wmemset.c: New
2749 function according to ISO C amendment 1.
2750 * wchar.h: Wrapper around "wcsmbs/wchar.h".
2752 * wcsmbs/wcscat.c, wcsmbs/wcschr.c, wcsmbs/wcscmp.c,
2753 wcsmbs/wcscpy.c, wcsmbs/wcscspn.c, wcsmbs/wcsdup.c,
2754 wcsmbs/wcslen.c, wcsmbs/wcsncat.c, wcsmbs/wcsncmp.c,
2755 wcsmbs/wcsncpy.c, wcsmbs/wcspbrk.c, wcsmbs/wcsrchr.c,
2756 wcsmbs/wcsspn.c, wcsmbs/wcstok.c: Changed to conform with ISO C
2759 * wcsmbs/mbsadvance.c, wcsmbs/mbscat.c, wcsmbs/mbschr.c,
2760 wcsmbs/mbscmp.c, wcsmbs/mbscpy.c, wcsmbs/mbsdup.c,
2761 wcsmbs/mbslen.c, wcsmbs/mbsncat.c, wcsmbs/mbsncmp.c,
2762 wcsmbs/mbsncpy.c, wcsmbs/mbsrchr.c, wcsmbs/mbstomb.c,
2763 wcsmbs/mbstr.h, wcsmbs/wcstr.h, wcsmbs/wcswcs.c: Removed.
2764 Implement functions from early drafts, not part of final standard.
2766 Sun Mar 31 16:50:41 1996 Roland McGrath <roland@whiz-bang.gnu.ai.mit.edu>
2768 * setjmp/setjmp.h (jmp_buf): Change gratuitous struct tag name to
2769 __jmp_bug_tag so its C++ implicit typedef does not conflict with the
2772 * Makerules (BUILD_CFLAGS) [! objdir]: Use $(..)config.h when
2773 compiling in the source directories.
2775 Fri Mar 29 16:26:35 1996 Roland McGrath <roland@whiz-bang.gnu.ai.mit.edu>
2777 * sysdeps/libm-ieee754/w_gamma.c: Use signgam instead of __signgam.
2778 * sysdeps/libm-ieee754/s_signgam.c: Undo last change.
2780 Fri Mar 29 11:29:46 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
2782 * sysdeps/libm-ieee754/s_signgam.c (signgam): Renamed to __signgam,
2783 with weak alias signgam.
2785 Thu Mar 28 18:32:34 1996 Roland McGrath <roland@whiz-bang.gnu.ai.mit.edu>
2787 * Makeconfig (+cflags, +gcc-nowarn): Use gcc flags unconditionally.
2789 Thu Mar 28 14:22:51 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
2791 * sunrpc/rpc_main.c (main): Call textdomain.
2793 * MakeTAGS (XGETTEXTFLAGS-siglist.pot, XGETTEXTFLAGS-errlist.pot): Add
2795 (all-pot): Replace $(subdirs) files with $P/subdirs.pot.
2796 ($P/subdirs.pot): New target.
2797 ($P/SYS_libc.pot): Add -n switch.
2799 * locale/locale.h (LC_*): Values reordered to match Linux libc.
2801 * sysdeps/mach/hurd/kill.c: If proc_pid2task gives us MACH_PORT_NULL
2802 the process is a zombie; send no messages and return success.
2804 Thu Mar 28 11:53:26 1996 Roland McGrath <roland@whiz-bang.gnu.ai.mit.edu>
2806 * wctype/cname-lookup.h: Find localeinfo.h in ../locale.
2807 * wctype/wctype.c: Likewise.
2808 * wctype/wctrans.c: Likewise.
2810 Thu Mar 28 03:00:43 1996 Roland McGrath <roland@whiz-bang.gnu.ai.mit.edu>
2812 * locale/nl_langinfo.c (nl_langinfo): Use DATA->values instead of
2815 * Makerules (BUILD_CFLAGS): Remove $(common-objpfx) from config.h.
2817 * configure.in (.weakext check): Fix asm code to use .weakext instead
2818 of .weak! Fix bogus test calls.
2819 * configure: Regenerated.
2821 Thu Mar 28 03:25:10 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
2823 * locale/programs/xmalloc.c: Test _LIBC as well as STDC_HEADERS.
2825 * locale/programs/ld-collate.c (collate_finish): Use error_at_line
2826 instead of error_with_loc.
2828 * locale/weight.h: Use u_int32_t instead of u32_t.
2829 * string/strxfrm.c: Likewise.
2831 * string/strxfrm.c: Find weight.h in ../locale; don't #include
2833 * string/strcoll.c: Likewise.
2835 * intl/Makefile (copysrc): Add missing > in sed cmd.
2837 Sat Mar 23 17:52:49 1996 Ulrich Drepper <drepper@gnu.ai.mit.edu>
2839 * Makeconfig: Rename Makefile variable nlsdir to i18ndir and
2840 change value to $(datadir)/i18n. `nls' is not an appropriate
2843 * Makefile (subdirs): Add new subdir wctype.
2845 * ctype/ctype-info.c: Add new global variable __ctype_names
2846 and initialize from _nl_C_LC_CTYPE.
2848 * ctype/ctype.h: In P1003.3b/D11 `alnum' is a separate character
2850 [_ISbit]: Protect definition of bitmasks because they are also
2853 * libio/genops.c (_IO_sputbackc, _IO_sungetc): Clear EOF flag
2854 after successfully pushing back a character.
2856 Fundamental changes in locale implementation. Almost nothing
2857 from the old code is used anymore.
2858 * locale/charmap.c, locale/collate.c, locale/config.h,
2859 locale/ctypedump.c, locale/hash.h, locale/keyword.gperf,
2860 locale/keyword.h, locale/loadlocale.c, locale/locale-ctype.c,
2861 locale/locale.c locale/localeconv.c, locale/localedef.c,
2862 locale/localedef.h, locale/locfile-hash.c, locale/locfile-lex.c,
2863 locale/locfile-parse.c, locale/messages.c, locale/monetary.c,
2864 locale/numeric.c, locale/setlocale.c, locale/token.h,
2865 locale/xmalloc.c: Removed.
2867 * locale/Makefile: Update for new locale implementation with
2868 program source code distributed in subdir.
2870 * locale/categories.def, locale/iso-4217.def: Updated file
2871 for new locale implementation.
2873 * locale/langinfo.h: Updated for new locale implementation.
2874 (ERA_D_T_FMT, ERA_T_FMT): New official values according to
2876 (_NL_COLLATE_NRULES, _NL_COLLATE_RULES, _NL_COLLATE_HASH_SIZE,
2877 _NL_COLLATE_HASH_LAYERS, _NL_COLLATE_TABLE_EB,
2878 _NL_COLLATE_TABLE_EL, _NL_COLLATE_UNDEFINED, _NL_COLLATE_EXTRA_EB,
2879 _NL_COLLATE_EXTRA_EL, _NL_CTYPE_NAMES_EB, _NL_CTYPE_NAMES_EL,
2880 _NL_CTYPE_HASH_SIZE, _NL_CTYPE_HASH_LAYERS, _NL_CTYPE_CLASS_NAMES,
2881 _NL_CTYPE_MAP_NAMES, _NL_CTYPE_WIDTH): New internal values for
2882 extended LC_CTYPE and LC_COLLATE implementation.
2884 * locale/programs/simple-hash.c, locale/programs/simple-hash.h,
2885 locale/programs/xmalloc.c, locale/programs/xstrdup.c: Helper functions
2886 for locale related programs.
2888 * locale/C-collate.c, locale/C-ctype.c,
2889 locale/C-messages.c, locale/C-monetary.c,
2890 locale/C-numeric.c, locale/C-time.c,
2891 locale/lc-collate.c, locale/lc-ctype.c,
2892 locale/lc-messages.c, locale/lc-monetary.c,
2893 locale/lc-numeric.c, locale/lc-time.c: New implementation of locale
2894 functions, and new generated "C" locale data.
2896 * locale/loadlocale.c: Now handles word fields in locale binary
2897 automatically by changing the endianess if necessary.
2899 * locale/localeinfo.h (LIMAGIC): Changed magic number because
2900 of incompatible changes.
2901 (locale_data): Changed definition to allow word as a value type.
2902 (coll_sort_rule): Values for collation sorting mode.
2903 (_NL_CURRENT_WORD): New macro to access word value of locale entry.
2904 (__collate_table, __collate_extra): Declare new global variables
2905 for collation tables.
2907 * locale/programs/charmap-kw.gperf, locale/programs/charmap-kw.h,
2908 locale/programs/charmap.c, locale/programs/charset.c,
2909 locale/programs/charset.h, locale/programs/config.h,
2910 locale/programs/ctypedump.c, locale/programs/ld-collate.c,
2911 locale/programs/ld-ctype.c, locale/programs/ld-messages.c,
2912 locale/programs/ld-monetary.c, locale/programs/ld-numeric.c,
2913 locale/programs/ld-time.c, locale/programs/linereader.c,
2914 locale/programs/linereader.h, locale/programs/locale.c,
2915 locale/programs/localedef.c, locale/programs/locales.h,
2916 locale/programs/locfile-kw.gperf, locale/programs/locfile-kw.h,
2917 locale/programs/locfile-token.h, locale/programs/locfile.c,
2918 locale/programs/locfile.h, locale/programs/stringtrans.c,
2919 locale/programs/stringtrans.h: Implementation of locale related
2922 * locale/weight.h: Functions to access collation tables.
2924 * posix/unistd.h: Define _POSIX2_LOCALEDEF.
2926 * stdio-common/printf_fp.c: Fix bug with printing certain numbers
2927 < 10^-1. Reported by Bill Metzenthen.
2929 * stdio-common/tfformat.c: Add new test for above bug.
2931 * string/strcoll.c, string/strxfrm.c: Real implementation of
2932 string collation according to ISO C.
2934 * wctype/Makefile, wctype/cname-lookup.h, wctype/iswctype.c,
2935 wctype/test_wctype.c, wctype/towctrans.c, wctype/wcfuncs.c,
2936 wctype/wctrans.c, wctype/wctype.c, wctype/wctype.h: New files.
2937 Implementation of wide character classes and mapping.
2939 Wed Mar 27 14:52:11 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
2941 * elf/rtld.c (dl_main): Call _dl_sysdep_start_cleanup after
2942 _dl_relocate_object loop. Avoid relocating RTLD_MAP in that loop, and
2943 do it individually if necessary after _dl_sysdep_start_cleanup call.
2945 * stdlib/Makefile (mpn-routines): Add divrem.
2947 Tue Mar 26 22:54:14 Ulrich Drepper <drepper@gnu.ai.mit.edu>
2949 * stdio-common/printf_fp.c (__printf_fp): Use mpn_divmod
2950 instead of __mpn_divmod.
2952 Wed Mar 27 10:26:21 1996 David Mosberger-Tang <davidm@azstarnet.com>
2954 * sysdeps/alpha/setjmp.S: Must establish global pointer before
2955 address of __sigsetjmp_aux can be loaded.
2957 Wed Mar 27 02:23:19 1996 Ulrich Drepper <drepper@gnu.ai.mit.edu>
2959 * sysdeps/i386/i586/memset.S: New file. Highly optimized
2960 version for i586 contributed by Torbjorn Granlund.
2961 Adapted for use as bzero.
2962 * sysdeps/i386/i586/bzero.S: Use sysdeps/i386/i586/memset.S
2963 code to implement bzero().
2965 Tue Mar 26 20:01:17 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
2967 * stdlib/Makefile (mpn-routines): Remove divmod.
2969 Tue Mar 26 15:40:14 1996 Brendan Kehoe <brendan@zen.org>
2971 * sysdeps/unix/sysv/sysv4/solaris2/sparc/sysdep.h (NO_UNDERSCORES): Use
2972 wrapped with #ifndef, to avoid config.h defining it.
2974 Mon Mar 25 13:10:04 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
2976 * malloc/realloc.c (_realloc_internal): In case of growing large
2977 block, leave _heaplimit zero across _malloc_internal call.
2979 * intl/Makefile [gettext-srcdir]: Use gpl2lgpl.sed on copied sources.
2981 Mon Mar 25 03:35:16 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
2983 * malloc/malloc.c (morecore): Don't attempt recursive realloc of info
2984 table when _heaplimit==0 during realloc growing large block.
2986 * MakeTAGS (extract): Remove /dev/null from xgettext command line.
2987 (text-srcs): New variable: extract only C sources from $(tags_sources).
2988 (po/$(domain).pot): Depend on that.
2989 If it's empty, cp /dev/null $@ instead of $(extract).
2991 * misc/Makefile (headers): Add iovec.h.
2992 * sysdeps/unix/sysv/linux/iovec.h: New file.
2993 * sysdeps/generic/iovec.h: New file.
2994 * misc/sys/uio.h (struct iovec): Type replaced with #include <iovec.h>.
2996 * configure.in (NO_UNDERSCORES check): Use AC_TRY_LINK instead of
2999 * misc/sys/cdefs.h [__USE_BSD] (const, signed, volatile): Move these
3000 macros inside [! __STDC__].
3002 * stdlib/rpmatch.c: New file.
3003 * stdlib/Makefile (routines): Add rpmatch.
3004 * stdlib/stdlib.h [__USE_SVID]: Declare rpmatch.
3006 * MakeTAGS (MSGJOIN): Variable removed.
3007 (po/SYS_libc.pot): Use $(XGETTEXT) instead of $(MSGJOIN).
3009 Wed Mar 20 20:08:46 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3011 * sysdeps/unix/sysdep.h: Don't define C_SYMBOL_NAME.
3013 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Don't define
3016 Thu Mar 21 11:19:15 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
3018 * mach/devstream.c (input): Translate \r to \n on input.
3020 Wed Mar 20 11:28:49 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3022 * stdio-common/printf.h, stdio-common/printf_fp.c,
3023 stdio-common/vfprintf.c: Place const in parameter list at
3026 Wed Mar 20 23:58.12 1996 Ulrich Drepper <drepper@gnu.ai.mit.edu>
3028 * sysdeps/i386/ldbl2mpn.c: Copy of former version of
3029 sysdeps/ieee754/ldbl2mpn.c.
3030 * sysdeps/ieee754/ldbl2mpn.c: Remove i386 specific unification.
3031 Reported by Andreas Schwab.
3033 Wed Mar 20 19:58:43 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
3035 * version.c: Include version.h to define RELEASE and VERSION macros.
3036 (__libc_release, __libc_version): Use them.
3037 * locale/SYS_libc.c (_libc_intl_domainname): Include ../version.h and
3038 use VERSION to define domainname as `SYS_GNU_libc-VERSION'.
3039 * Make-dist (rel+vers): Snarf the macro values from version.h.
3041 * MakeTAGS (extract): Pass $(XGETTEXTFLAGS-$(@F)).
3042 (XGETTEXTFLAGS-siglist.pot, XGETTEXTFLAGS-errlist.pot): New variables;
3043 pass -a for these files.
3045 * Makerules (po/%.pot): Depend on FORCE target so recursive make is
3048 Mon Mar 18 22:54:32 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3050 * sysdeps/unix/sysv/linux/wait3.c: New file.
3051 * sysdeps/unix/sysv/linux/wait.c: Use the bsd4.4 wait, not the
3052 one from sysdeps/posix.
3054 Wed Mar 20 09:42:11 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
3056 * sysdeps/unix/bsd/waitflags.h (WNOREAP): New macro.
3058 * elf/dl-load.c (_dl_map_object_from_fd): Always set L->l_type; if not
3059 lt_executable, then lt_library.
3060 * elf/rtld.c (dl_main): Don't set NEW->l_type after _dl_map_object.
3062 Wed Mar 20 00:08:23 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3064 * sysdeps/unix/sysv/linux/syscalls.list: Remove gtty and stty.
3066 Tue Mar 19 16:31:06 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3068 * sysdeps/unix/sysv/linux/termbits.h (CRTSCTS, CBAUDEX, VEOL,
3069 VEOL2, VMIN, VTIME): Corrected.
3070 (PAGEOUT, WRAP, VDSUSP): Deleted.
3072 Tue Mar 19 14:18:42 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
3074 * sysdeps/unix/readdir.c: Test [! _DIRENT_HAVE_D_RECLEN] instead of
3075 (sizeof (DP->d_name) > 1) to detect fixed-size dir entries.
3077 * sysdeps/i386/fpu/__math.h (asinh): Call log1p instead of __log1p.
3079 * math/math.h: Move M_* constants before __math.h include.
3080 [__NO_MATH_INLINES || __OPTIMIZE__]: Include __math.h only #if this.
3082 * misc/efgcvt_r.c (ecvt_r): Declare floor, log10, fabs as weak extern.
3083 If log10 is not defined (i.e. no -lm), use stupid loop instead.
3085 * features.h (__FAVOR_BSD): Define only if _BSD_SOURCE is defined
3086 and no other _*_SOURCE macro is.
3087 (_GNU_SOURCE): Don't define by default.
3088 * libc-symbols.h (_GNU_SOURCE): Define it.
3090 * configure.in (alpha*-*-linux*): Unset $gnu_ld and $elf.
3092 * config.make.in (weak-symbols): Variable removed.
3093 * configure.in (--with-weak-symbols): Option removed.
3094 (NO_UNDERSCORES, HAVE_ASM_WEAK_DIRECTIVE, HAVE_ASM_WEAKEXT_DIRECTIVE):
3097 * config.h.in (HAVE_WEAK_SYMBOLS): #undef removed.
3098 (NO_UNDERSCORES, HAVE_ASM_WEAK_DIRECTIVE, HAVE_ASM_WEAKEXT_DIRECTIVE):
3100 * libc-symbols.h: Use them instead of HAVE_WEAK_SYMBOLS.
3102 * sysdeps/unix/bsd/pause.c: Moved to sysdeps/unix/common/pause.c.
3104 Mon Mar 4 20:17:28 1996 David Mosberger-Tang <davidm@azstarnet.com>
3106 * inet/inet_lnaof.c: Use u_int32_t instead of u_long.
3107 * inet/inet_mkadr.c: Likewise.
3108 * inet/inet_net.c: Likewise.
3109 * inet/inet_netof.c: Likewise.
3110 * inet/rcmd.c: Likewise.
3111 * inet/arpa/inet.h: Likewise.
3112 * inet/netinet/in.h: Likewise.
3113 * inet/netinet/tcp.h: Likewise.
3114 * inet/protocols/rwhod.h: Likewise.
3115 * inet/protocols/talkd.h: Likewise.
3116 * resolv/inet_addr.c: Likewise.
3118 * sysdeps/unix/sysv/linux/adjtime.c: Use INT_MAX instead of LONG_MAX.
3120 * sysdeps/unix/sysv/Makefile (sysdep_routines): Don't add s_getdents.
3122 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Don't add mount,
3125 * sysdeps/alpha/__math.h (atan, cabs): New functions.
3127 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S: new file (syscall
3128 expects set-value, not pointer to it).
3130 Sun Feb 25 22:36:10 1996 David Mosberger-Tang <davidm@azstarnet.com>
3132 * sysdeps/unix/sysv/linux/alpha/profil-counter.h: New file.
3134 * gmon/gmon.c (__bb_head): new variable.
3135 (write_hist, write_call_graph, write_bb_counts): new functions.
3136 (_mcleanup): modified to call above functions instead of directly
3137 writing out gmon.out.
3138 * gmon/sys/gmon.h (struct __bb): New type.
3139 (struct gmonhdr): Type removed.
3140 (struct gmonparam): New member `log_hashfraction'.
3141 (GMONVERSION): Macro removed.
3143 * gmon/sys/gmon_out.h, gmon/bb_exit_func.c,
3144 sysdeps/generic/bb_init_func.c, sysdeps/alpha/bb_init_func.S: new
3146 * gmon/Makefile (headers): Add sys/gmon_out.h.
3147 (routines): Add bb_init_func, bb_exit_func.
3149 * gmon/mcount.c: Avoid integer division.
3151 Wed Feb 21 23:56:41 1996 David Mosberger-Tang <davidm@azstarnet.com>
3153 * sysdeps/alpha/setjmp.S: switched order in which sp and fp are
3154 passed to match what __sigsetjmp_aux() expects.
3156 Tue Feb 20 11:33:46 1996 David Mosberger-Tang <davidm@azstarnet.com>
3158 * sysdeps/unix/sysv/linux/alpha/syscalls.list (select, bind,
3159 connect, getpeername, getsockname, listen, recv, recvfrom,
3160 recvmsg, send, sendmsg, sendto, setsockopt, shutdown, socketpair):
3161 added to override same-name assembly file in the parent directory.
3163 * stdlib/stdlib.h: add include of sys/types.h in front of random
3164 etc declarations to ensure int32_t is declared.
3166 * stdlib/random.c, stdlib/random_r.c: replaced "long int" by int32_t
3167 where 32 bit integers are required. Also change LONG_MAX into
3168 0x7fffffff since the intent is to turn off the sign bit in a
3171 * time/offtime.c (__offtime): Use Paul Eggert's code to deal
3172 with very large values for "days" (e.g., 64 bit values).
3174 Mon Feb 19 22:22:12 1996 David Mosberger-Tang <davidm@azstarnet.com>
3176 * stdlib/stdlib.h (__random, __random_r, random_r, struct
3177 random_data): use int32_t instead of `long int'.
3179 Sat Feb 17 11:29:29 1996 David Mosberger-Tang <davidm@azstarnet.com>
3181 * sysdeps/unix/sysv/linux/alpha/ioperm.c: new file.
3183 * sysdeps/alpha/ffs.S: new file.
3185 * sysdeps/alpha/fabs.c: File removed.
3187 * time/tzfile.c (__tzfile_read): counter variable is i, *not*
3190 * time/offtime.c: make capable of dealing with very large (64 bit)
3191 time_t values. Use old algorithm until a year is reached that
3192 is an integer multiple of 400, then use DAYS_PER_400_YEARS to
3193 do the remainder in a single division.
3195 * sysdeps/generic/ffs.c (ffs): fix variable declarations to
3196 be unsigned int, not unsigned long.
3198 * string/test-ffs.c (main): add test case with all upper bits
3201 * stdlib/tst-strtol.c: add tests cases for machines where
3204 * stdlib/testrand.c (main): disallow rand() to return negative
3207 * stdlib/testmb.c (main): fix format to use %lx instead of %x.
3209 * stdlib/stdlib.h: on 64 bit machines, declare
3210 struct random_data, __random(), __random_r, and random_r to
3211 return "int" instead of "long int".
3213 * stdlib/random_r.c: 64 bit machines use "int" instead of "long
3214 int". Similarly, use INT_MAX instead of LONG_MAX.
3216 * stdlib/random.c: on 64 bit machines, randtbl[] and __random[]
3217 need to operate on "int" instead of "long int".
3219 * locale/locfile-hash.c (compute_hashval): make shifted constant
3220 a long to avoid loosing bits on 64 bit machines.
3222 * dirent/tst-seekdir.c (main): fix confusing comment; print
3223 a line to mark point where directory is rewound.
3225 Fri Feb 16 15:01:49 1996 David Mosberger-Tang <davidm@azstarnet.com>
3227 * time/strftime.c (strftime): any hour > 11 is PM (not > 12!).
3229 Wed Feb 14 00:21:17 1996 David Mosberger-Tang <davidm@azstarnet.com>
3231 * sysdeps/unix/sysv/linux/alpha/Makefile,
3232 sysdeps/unix/sysv/linux/alpha/brk.S,
3233 sysdeps/unix/sysv/linux/alpha/fpu_control.c,
3234 sysdeps/unix/sysv/linux/alpha/fpu_control.h,
3235 sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S,
3236 sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S,
3237 sysdeps/unix/sysv/linux/alpha/pipe.S,
3238 sysdeps/unix/sysv/linux/alpha/setfpucw.c,
3239 sysdeps/unix/sysv/linux/alpha/sigprocmask.c,
3240 sysdeps/unix/sysv/linux/alpha/speed.c,
3241 sysdeps/unix/sysv/linux/alpha/start.S,
3242 sysdeps/unix/sysv/linux/alpha/syscall.S,
3243 sysdeps/unix/sysv/linux/alpha/syscalls.list,
3244 sysdeps/unix/sysv/linux/alpha/alpha/regdef.h,
3245 sysdeps/unix/sysv/linux/alpha/sysdep.S,
3246 sysdeps/unix/sysv/linux/alpha/sysdep.h: New files.
3248 * sysdeps/alpha/setjmp_aux.c (__sigsetjmp_aux): restore return
3249 address register before returning (gcc 2.7.1 doesn't do it,
3250 presumably because $26 is declared as a global variable).
3252 * sysdeps/unix/sysv/linux/sys/mman.h: msync was missing "flags"
3255 * sysdeps/unix/alarm.c (alarm): do roundup using test & increment
3256 instead of multiplication.
3258 * sysdeps/posix/sleep.c (sleep): initialize sa_mask to mask of
3259 currently blocked signals instead of the empty mask to ensure
3260 that execution of alarm handler occurs with none of the currently
3261 blocked signals enabled.
3263 * sysdeps/unix/alpha/sysdep.h: new file (adapted from OSF/1 version).
3265 * sysdeps/unix/bsd/osf/alpha/sysdep.h: include
3266 sysdeps/unix/alpha/sysdep.h and removed definitions now in that file.
3268 * sysdeps/alpha/divrem.S, sysdeps/alpha/htonl.S,
3269 sysdeps/alpha/htons.S, sysdeps/alpha/machine-gmon.h,
3270 sysdeps/alpha/_mcount.S, sysdeps/alpha/ntohl.s, sysdeps/alpha/ntohs.s,
3271 sysdeps/alpha/strlen.S: New files.
3273 * sysdeps/alpha/divl.S, sysdeps/alpha/divlu.S, sysdeps/alpha/divq.S,
3274 sysdeps/alpha/divqu.S, sysdeps/alpha/divrem.m4,
3275 sysdeps/alpha/macros.m4, sysdeps/alpha/reml.S, sysdeps/alpha/remlu.S,
3276 sysdeps/alpha/remq.S, sysdeps/alpha/remqu.S, sysdeps/alpha/strlen.c:
3279 * sysdeps/generic/sbrk.c (__sbrk): argument is of type ptrdiff_t, not
3282 * sysdeps/alpha/__longjmp.c (__longjmp): moved dummy while loop
3283 to end of function to avoid a jump across NOPs.
3285 * sysdeps/alpha/Makefile (sysdep_routines): Removed all rules
3286 pertaining to integer division/remainder routines since new code
3287 doesn't require them.
3289 * sunrpc/xdr_mem.c, sunrpc/xdr_stdio.c: Use 4 instead of sizeof(long)
3290 where 32 bit quantities are consumed/stored. Various other minor
3291 64-bit cleanups (casting).
3293 * sunrpc/xdr.c (xdr_int): test for sizeof(int)==4 to determine
3294 whether xdr_long or xdr_short should be used to encode an int.
3295 Notice that an xdr_long is 4 bytes independent of the architecture
3296 (otherwise no Alpha could interoperate with existing NFS servers,
3297 for example). Ditto for enums.
3299 * sunrpc/svc_udp.c (svcudp_recv): changed test from 4*sizeof(u_long)
3300 to 16 since it really wants 16 bytes.
3302 * sunrpc/svc.c (maskp): changed from u_long* to u_int32*.
3304 * sunrpc/rpc/xdr.h (IXDR_GET_LONG, IXDR_PUT_LONG): change casts to
3305 u_int32_t (instead of u_long).
3307 * sunrpc/rpc_cmsg.c (xdr_callmsg), sunrpc/svc_authux.c: increment
3308 "buf" pointer by casting it to a char* first since a long* may be 8
3309 bytes or more and oa->oa_length may be any multiple of 4.
3311 * sunrpc/clnt_udp.c (clntudp_call): replaced sizeof(u_long) by 4
3312 since it really is testing for 32 bits. Fixed casts to use
3313 u_int32 instead of u_long.
3314 * sunrpc/xdr_rec.c: Likewise.
3316 * sunrpc/clnt_tcp.c (clnttcp_call): replaced u_long by u_int32.
3317 * sunrpc/rpc/auth.h: Likewise.
3319 * limits.h (LONG_MAX, LONG_MIN, ULONG_MAX): use 64 bit values
3322 Tue Mar 19 13:27:49 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
3324 * sysdeps/i386/fpu/__math.h: New file.
3325 Contributed by John C. Bowman <bowman@hagar.ph.utexas.edu>.
3327 Sun Mar 17 00:28:16 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3329 * sysdeps/posix/clock.c: Don't multiply the return value by
3330 CLOCKS_PER_SEC or CLK_TCK.
3332 Mon Mar 18 13:20:46 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
3334 * sysdeps/mach/hurd/getcwd.c: Fail with ENOENT if a parent directory
3335 scan finds no match.
3337 * posix/unistd.h (setpgrp): Declare no-arg version unless __FAVOR_BSD.
3338 * misc/bsd-compat.c (setpgrp): New function, two arg version.
3339 * sysdeps/stub/setpgid.c: Remove setpgrp alias.
3340 * sysdeps/mach/hurd/setpgid.c: Likewise.
3341 * sysdeps/unix/sysv/sysv4/setpgid.c: Likewise.
3342 * sysdeps/unix/common/syscalls.list (setpgid): Remove setpgrp alias.
3343 * sysdeps/unix/sysv/irix4/syscalls.list: Likewise.
3344 * sysdeps/unix/sysv/linux/setpgrp.c: Obsolete file removed.
3345 * posix/setpgrp.c (setpgrp): New file.
3346 * posix/Makefile (routines): Add setpgrp.
3348 * elf/Makefile (rtld-link): New canned sequence.
3349 (ld.so, ld-linux.so.1): Use it. Pass -soname option.
3351 * sysdeps/i386/setjmp.S (__setjmp): Define compatibility entry point.
3353 Sun Mar 17 23:15:32 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3355 * sysdeps/unix/sysv/linux/tcgetpgrp.c,
3356 sysdeps/unix/sysv/linux/tcsetpgrp.c: New files.
3358 Sun Mar 17 07:19:33 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
3360 * db/Makefile (CFLAGS-hash_func.c): New variable; pass -Wno-unused.
3361 (CFLAGS): Append -Wno-unitialized.
3363 Sat Mar 16 20:58:43 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
3365 * stdlib/erand48_r.c: Use FP division by powers of two to distribute
3366 short bits into double.
3368 Sat Mar 16 20:08:22 1996 David Mosberger-Tang <davidm@azstarnet.com>
3370 * sysdeps/alpha/memchr.S: New file.
3371 * sysdeps/alpha/memchr.c: Obsolete file removed.
3372 * string/tester.c: Soup up memchr tests.
3374 Sat Mar 16 16:26:09 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
3376 * misc/Makefile (headers): Add sysexits.h.
3377 * misc/sysexits.h: New file.
3379 Thu Mar 14 15:20:45 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3381 * sysdeps/libm-ieee754/e_atan2.c (__ieee754_atan2): Change atan
3383 * sysdeps/libm-ieee754/e_atan2f.c (__ieee754_atan2f): Change atanf
3386 * sysdeps/m68k/fpu/e_acos.c, sysdeps/m68k/fpu/e_acosf.c,
3387 sysdeps/m68k/fpu/e_asin.c, sysdeps/m68k/fpu/e_asinf.c,
3388 sysdeps/m68k/fpu/e_atanh.c, sysdeps/m68k/fpu/e_atanhf.c,
3389 sysdeps/m68k/fpu/e_cosh.c, sysdeps/m68k/fpu/e_coshf.c,
3390 sysdeps/m68k/fpu/e_exp.c, sysdeps/m68k/fpu/e_expf.c,
3391 sysdeps/m68k/fpu/e_fmod.c, sysdeps/m68k/fpu/e_fmodf.c,
3392 sysdeps/m68k/fpu/e_log.c, sysdeps/m68k/fpu/e_log10.c,
3393 sysdeps/m68k/fpu/e_log10f.c, sysdeps/m68k/fpu/e_logf.c,
3394 sysdeps/m68k/fpu/e_pow.c, sysdeps/m68k/fpu/e_powf.c,
3395 sysdeps/m68k/fpu/e_remainder.c, sysdeps/m68k/fpu/e_remainderf.c,
3396 sysdeps/m68k/fpu/e_scalb.c, sysdeps/m68k/fpu/e_scalbf.c,
3397 sysdeps/m68k/fpu/e_sinh.c, sysdeps/m68k/fpu/e_sinhf.c,
3398 sysdeps/m68k/fpu/e_sqrt.c, sysdeps/m68k/fpu/e_sqrtf.c,
3399 sysdeps/m68k/fpu/k_cos.c, sysdeps/m68k/fpu/k_cosf.c,
3400 sysdeps/m68k/fpu/k_sin.c, sysdeps/m68k/fpu/k_sinf.c,
3401 sysdeps/m68k/fpu/k_tan.c, sysdeps/m68k/fpu/k_tanf.c,
3402 sysdeps/m68k/fpu/s_atan.c, sysdeps/m68k/fpu/s_atanf.c,
3403 sysdeps/m68k/fpu/s_ceil.c, sysdeps/m68k/fpu/s_ceilf.c,
3404 sysdeps/m68k/fpu/s_cos.c, sysdeps/m68k/fpu/s_cosf.c,
3405 sysdeps/m68k/fpu/s_expm1.c, sysdeps/m68k/fpu/s_expm1f.c,
3406 sysdeps/m68k/fpu/s_fabs.c, sysdeps/m68k/fpu/s_fabsf.c,
3407 sysdeps/m68k/fpu/s_finite.c, sysdeps/m68k/fpu/s_finitef.c,
3408 sysdeps/m68k/fpu/s_floor.c, sysdeps/m68k/fpu/s_floorf.c,
3409 sysdeps/m68k/fpu/s_frexp.c, sysdeps/m68k/fpu/s_frexpf.c,
3410 sysdeps/m68k/fpu/s_ilogb.c, sysdeps/m68k/fpu/s_ilogbf.c,
3411 sysdeps/m68k/fpu/s_isinf.c, sysdeps/m68k/fpu/s_isinff.c,
3412 sysdeps/m68k/fpu/s_isnan.c, sysdeps/m68k/fpu/s_isnanf.c,
3413 sysdeps/m68k/fpu/s_ldexp.c, sysdeps/m68k/fpu/s_ldexpf.c,
3414 sysdeps/m68k/fpu/s_log1p.c, sysdeps/m68k/fpu/s_log1pf.c,
3415 sysdeps/m68k/fpu/s_logb.c, sysdeps/m68k/fpu/s_logbf.c,
3416 sysdeps/m68k/fpu/s_modf.c, sysdeps/m68k/fpu/s_modff.c,
3417 sysdeps/m68k/fpu/s_rint.c, sysdeps/m68k/fpu/s_rintf.c,
3418 sysdeps/m68k/fpu/s_scalbn.c, sysdeps/m68k/fpu/s_scalbnf.c,
3419 sysdeps/m68k/fpu/s_significand.c,
3420 sysdeps/m68k/fpu/s_significandf.c, sysdeps/m68k/fpu/s_sin.c,
3421 sysdeps/m68k/fpu/s_sinf.c, sysdeps/m68k/fpu/s_tan.c,
3422 sysdeps/m68k/fpu/s_tanf.c, sysdeps/m68k/fpu/s_tanh.c,
3423 sysdeps/m68k/fpu/s_tanhf.c: New files, for m68881 port of fdlibm.
3425 * sysdeps/m68k/fpu/__math.h: Rewritten for fdlibm.
3427 * sysdeps/m68k/fpu/isinfl.c: Rewritten to get argument type right.
3428 * sysdeps/m68k/fpu/isnanl.c: Likewise.
3430 Thu Mar 14 06:01:07 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
3432 * posix/glob.c (glob): In GLOB_BRACE brace expansion, fix buffer size
3433 calculation to include trailing invariant portion. Don't use alloca;
3434 instead use a dynamic auto array for GCC, malloc for non-GCC.
3435 Handle nested braces properly.
3437 * elf/elf.h (Elf32_auxv_t): Specify prototype (void) for `a_un.a_fcn'.
3439 * libc-symbols.h (lint): New macro.
3441 Fri Mar 15 01:18:00 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3443 * libio/iosetvbuf.c: Add weak alias setvbuf.
3445 Thu Mar 14 06:01:07 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
3447 * string/strnlen.c: New file.
3448 * string/Makefile (routines): Add strnlen.
3449 * string/string.h [__USE_GNU] (strnlen): Declare new function.
3450 [__OPTIMIZE__]: Define extern inline implementation of it.
3452 * stdlib/erand48_r.c: Use __mpn_construct_double instead of ldexp and
3453 addition, to avoid using anything from -lm.
3455 Mon Mar 4 21:57:14 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3457 * sysdeps/unix/sysv/linux/m68k/Makefile: New file.
3459 * sysdeps/unix/sysv/linux/m68k/sysdep.h (SYS_ify): Redefine.
3460 (CALL_MCOUNT): New macro, empty unless [PROF].
3461 (ENTRY): Do CALL_MCOUNT just after the label.
3462 (JUMPTARGET): New macro.
3463 (SYSCALL_ERROR_HANDLER): Fix syntax.
3465 Thu Mar 14 04:20:48 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
3467 * sysdeps/unix/sysv/linux/init-first.c (init): Call `__personality'
3468 function instead of using inline asm i386 syscall.
3469 * sysdeps/unix/sysv/linux/syscalls.list: Add personality syscall.
3471 * posix/unistd.h [__USE_BSD]: Declare usleep.
3473 Tue Mar 12 04:57:57 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
3475 * misc/efgcvt.c (MAXDIG): New macro computed from <floats.h> constants.
3476 (fcvt, ecvt): Use it for buffer size.
3478 * stdlib/drand48-iter.c (__drand48_iterate): Use u_int64_t instead of
3479 conditionalizing long vs long long.
3481 * stdlib/drand48-iter.c (__drand48_iterate): Don't check for null
3482 pointers; never return EFAULT.
3483 * stdlib/drand48_r.c (drand48_r): Likewise.
3484 * stdlib/erand48_r.c (erand48_r): Likewise.
3486 * setjmp/Makefile (tests): Add jmpbug.
3487 * setjmp/jmpbug.c: New file.
3489 Tue Mar 12 04:42:01 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
3491 * sysdeps/sparc/jmp_buf.h: Rewritten; use array of ints, not struct.
3492 * sysdeps/sparc/setjmp.S: Rewritten; store %fp value as well.
3493 * sysdeps/sparc/__longjmp.S: Rewritten; unwind frames one by one with
3494 `restore' until the target frame is hit.
3496 Sun Mar 10 20:29:40 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3498 * sysdeps/unix/sysv/linux/sigsuspend.c: New file.
3499 * sysdeps/unix/sysv/linux/syscalls.list: Remove sigsuspend, add
3502 Thu Mar 7 21:30:58 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3504 * Makerules (+make-deps, sed-remove-objpfx): Quote periods on the
3505 left side of sed substitutions.
3507 Sun Mar 10 16:58:10 1996 Ulrich Drepper <drepper@gnu.ai.mit.edu>
3509 * stdio-common/printf_fp.c (hack_digit): __mpn_normal_size
3510 is not available anymore. Do it ourselves.
3512 * sysdeps/unix/sysv/linux/i386/fpu_control.h (_FPU_SETCW):
3513 Correct GCC `asm' syntax.
3515 Tue Mar 12 03:15:02 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
3517 * stdio-common/Makefile (tests): Add tst-ungetc.
3518 * stdio-common/tst-ungetc.c: New test from drepper.
3519 * stdio-common/tstscanf.c (main): New %[ test case from drepper.
3521 * sysdeps/libm-ieee754/s_scalbn.c (scalbn): Rename to __scalbn;