1 Tue May 7 10:51:52 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
3 * wcsmbs/wcwidth.c, wcsmbs/wcswidth.c: Fixed typos.
5 * sysdeps/unix/sysv/linux/sys/mman.h: Fixed typo.
7 * sysdeps/stub/sched_getp.c: Add missing #include <sys/types.h>.
8 * sysdeps/stub/sched_sets.c: Likewise.
9 * sysdeps/stub/sched_setp.c: Likewise.
10 * sysdeps/stub/sched_rr_gi.c: Likewise.
11 * sysdeps/stub/sched_gets.c: Likewise.
13 * hurd/hurdsig.c: Use struct hurd_signal_detail.
14 * hurd/hurd/fd.h (_hurd_fd_error): Likewise.
15 * sysdeps/mach/hurd/sysd-stdio.c (fd_fail): Likewise.
17 Mon May 6 09:51:05 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
19 * stdio/linewrap.c: New file.
20 * stdio/Makefile (routines): Add linewrap.
21 * stdio/stdio.h [__USE_GNU]: Declare line_wrap_stream,
24 Mon May 6 14:53:26 1996 Ulrich Drepper <drepper@cygnus.com>
26 * time/strftime.c (week): Add third parameter telling how
27 many days must be in new year so that it is called week 1.
29 Correct computation for %U and %V formats when day was first
31 (strftime): Implement %V format according to Spec1170.
33 Mon May 6 17:01:09 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu>
35 * hurd/hurd/signal.h (_hurd_intr_rpc_mach_msg): New declaration.
37 Sat May 4 05:44:25 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
39 * hurd/hurd/sigpreempt.h (struct hurd_signal_preempter): Change
40 prototype of `preempter' elt to use struct hurd_signal_detail.
42 * hurd/hurd/signal.h (struct hurd_signal_detail): New type.
43 (struct hurd_sigstate): Make `pending_data' member an array of that.
44 Use the new type in several decls.
46 * locale/setlocale.c (_nl_C_name): Variable removed.
47 * locale/C_name.c: New file.
48 (_nl_C_name): Put it here instead.
49 * locale/Makefile (aux): Add C_name.
51 * sysdeps/mach/hurd/dl-sysdep.c (open): Don't pass io port in
52 auth_user_authenticate rpc.
53 (open): Avoid using strtol in digit conversion for "fd/N" magic.
54 (_dl_sysdep_start): Likewise for memobj name in magic switches.
56 * elf/Makefile (reloc-link): New variable.
57 (dl-allobjs.so): New target, link together $(rtld-routines).
58 (librtld.so): Depend on that instead of the rtld components.
59 (generated): Add dl-allobjs.so.
61 * hurd/hurd-raise.c (_hurd_raise_signal): Pass sigcode in msg_sig_post
64 * hurd/hurdmsg.c (_S_msg_set_environment): Use argz.h functions
65 instead of _hurd_split_args.
66 (_S_msg_*_exec_flags): Functions removed.
67 (_S_msg_startup_dosync): Stub removed.
69 Sat May 4 02:11:55 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
71 * sysdeps/mach/hurd/ptrace.c: Set _hurdsig_traced instead of
72 EXEC_TRACED bit in _hurd_exec_flags.
73 Pass sigcode arg in msg_sig_post_untraced rpc.
75 * sysdeps/mach/hurd/access.c: Don't pass io port in
76 auth_user_authenticate rpc.
78 * posix/sched.h: Fix typos.
80 * sysdeps/mach/hurd/fork.c: Use new critical section lock.
81 Clear _hurdsig_traced instead of EXEC_TRACED.
83 * sysdeps/stub/nanosleep.c (nanosleep): Fix typo.
85 * wcsmbs/wcstol.c: Find strtol.c in ../stdlib.
86 * wcsmbs/wcstof.c: Find strtod.c in ../stdlib.
87 * wcsmbs/wcstod.c: Likewise.
88 * wcsmbs/wcstold.c: Likewise.
90 * wcsmbs/wcwidth.h: Find cname-lookup.h in ../wctype.
92 * string/envz.c (envz_entry): Use const.
93 (envz_get, envz_remove): Likewise.
94 (envz_entry): Return char *, not const char *.
96 * string/envz.h: Fix decl.
98 * string/argz-create.c: Use const in prototype.
99 * string/argz-next.c: Likewise.
101 Fri May 3 13:32:08 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
103 * sysdeps/mach/hurd/sigprocmask.c: Pass sigcode arg to msg_sig_post.
104 * sysdeps/mach/hurd/i386/sigreturn.c: Likewise.
105 * sysdeps/mach/hurd/sigsuspend.c: Likewise.
106 * sysdeps/mach/hurd/kill.c: Likewise.
108 * hurd/hurdexec.c (_hurd_exec): Use new critical section lock.
109 * hurd/catch-exc.c (_S_catch_exception_raise): Likewise.
110 * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Likewise.
111 * hurd/thread-cancel.c (hurd_thread_cancel, hurd_check_cancel):
113 * sysdeps/mach/hurd/jmp-unwind.c (_longjmp_unwind): Likewise.
114 * sysdeps/mach/hurd/sigaction.c: Likewise.
116 * sysdeps/mach/hurd/errnos.awk: Don't use ARGV in comment; it can
117 change meaninglessly.
119 * hurd/hurd/signal.h (struct hurd_sigstate): Replace critical section
120 flag with a spin lock.
121 (_hurd_critical_section_lock): Use spin_try_lock on that to see if we
122 get it. No need to take SS->lock at all.
123 (_hurd_critical_section_unlock): Unlock SS->critical_section_lock
124 instead of clearing the old flag member.
125 * hurd/hurdsig.c (_hurd_internal_post_signal): Use spin_lock_locked to
126 test the critical section state.
128 * hurd/hurdinit.c (_hurd_init): Set _hurdsig_traced from the intarray.
130 * hurd/hurdkill.c (_hurd_sig_post): Pass 0 sigcode in msg_sig_post.
132 * hurd/hurdsig.c (_hurd_internal_post_signal): Test _hurdsig_traced
133 instead of testing (_hurd_exec_flags & EXEC_TRACED).
134 (_S_msg_sig_post): Take sigcode arg and pass it through.
135 (_S_msg_sig_post_untraced): Likewise.
136 (reauth_proc): Don't pass proc port in auth_user_authenticate.
138 * hurd/setauth.c (_hurd_setauth): Don't pass object ports in
139 auth_user_authenticate RPCs, just the one-off rendezvous port.
140 * hurd/dtable.c (reauth_dtable): Likewise.
141 * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Likewise.
143 * hurd/hurdexec.c (_hurd_exec): Pass 0 flags to file_exec.
144 Pass sigcode arg to msg_sig_post.
146 * string/argz.h (argz_create): Use const in prototype.
148 * hurd/hurdinit.c (_hurd_proc_init): Test _hurdsig_traced instead of
149 testing (_hurd_exec_flags & EXEC_TRACED).
150 Pass sigcode arg to msg_sig_post.
152 * hurd/hurd.h: Declare _hurdsig_traced.
154 * string/argz.h (__argz_next): Cast ENTRY before returning it.
156 * hurd/hurd/signal.h (_hurd_critical_section_unlock): Pass sigcode arg
159 * hurd/path-lookup.c: New file.
160 * hurd/Makefile (routines): Add path-lookup.
161 * hurd/hurd/lookup.h: Declare file_name_path_scan,
162 hurd_file_name_path_lookup.
163 * hurd/hurd.h: Declare file_name_path_lookup.
165 * sysdeps/mach/hurd/select.c: The io_select rpc no longer has a TAG_ID
166 argument. Instead, use a separate reply port for each RPC and put them
167 all in a port set to wait for slow replies.
169 * intl/Makefile (CPPFLAGS): Change $(nlsdir) to $(i18ndir) in
172 Fri May 3 03:14:02 1996 Ulrich Drepper <drepper@cygnus.com>
174 * intl/Makefile (routines): Add l10nflist and explodename.
175 (distribute): Add loadinfo.h and locale.alias.
176 (install-others): New variable to install locale.alias.
178 * intl/dcgettext.c, intl/finddomain.c, intl/gettextP.h,
179 intl/loadmsgcat.c: Adapt for upcoming gettext-0.10.13. Some code
180 is now shared with the locale implementation.
182 * intl/explodename.c, intl/l10nflist.c, intl/loadinfo.h: New file.
183 Extracted from finddomain.c. This is also used in the locale
186 * intl/locale.alias: New file. Locale alias database compatible
187 with X Window System's locale alias file. Can now be used in
188 locale and gettext code.
190 * libio/stdio.h: Add prototypes for asprint and vasprintf.
192 * locale/C-collate.c, locale/C-ctype.c, locale/C-messages.c,
193 locale/C-monetary.c, locale/C-numeric.c, locale/C-time.c: Add new
194 field in structure with name of locale ("C" in this case).
196 * locale/Makefile (routines): Add findlocale.
198 * locale/findlocale.c: New file. Instead of trying to load the
199 directly described file we now try to be much smarter when this
200 fails. Use the same code as gettext does.
202 * locale/loadlocale.c, locale/setlocale.c: Rewrite to know about
205 * locale/localeinfo.h: Adapt prototypes and declarations for new
206 setlocale implementation. Remove definition of u32_t type. We
207 now use u_int32_t from <sys/types.h>.
209 * locale/programs/charset.h (ILLEGAL_CHAR_VALUE): Provide type
212 * locale/programs/config.h, locale/lc-collate.c,
213 locale/localeinfo.h, locale/programs/ld-collate.c,
214 locale/programs/ld-ctype.c, locale/programs/ld-messages.c,
215 locale/programs/ld-monetary.c, locale/programs/ld-numeric.c,
216 locale/programs/ld-time.c, locale/weight.h, string/strcoll.c:
217 Change to use u_int32_t and u_int16_t.
219 * locale/programs/localedef.c (construct_output_path): Change name
220 of output locale to contain normalized form of the character set
223 * string/Makefile (routines): Add agrz-ctsep and argz-next.
224 (tests): Add tst-strlen.
226 * string/argz-ctsep.c: New file. Implement reverse operation
229 * string/argz-next.c: Non-inline version of function from argz.h.
231 * string/argz.h, string/envz.h: Make usable as global header file.
233 * string/envz.c: Fix declarations to use size_t where prototypes
236 * string/tst-strlen.c: New file. Another test for critical
237 situation in strlen implementations.
239 * sysdeps/i386/i586/strlen.S: Fix bug with highest byte in word
242 * wctype/test_wctype.c: Fix controlling comparison after change to
243 32 bit character class array.
245 Fri May 3 12:53:12 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
247 * sysdeps/unix/sysv/linux/sys/socket.h: Remove spurious doubled line.
249 Thu May 2 22:50:52 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
251 * sysdeps/unix/sysv/linux/getpriority.c: New file.
252 * sysdeps/unix/sysv/linux/syscalls.list: Add s_getpriority.
254 Thu May 2 22:41:31 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
256 * sysdeps/unix/sysv/linux/m68k/fpu_control.h (_FPU_DEFAULT):
257 Disable all exceptions.
259 Thu May 2 22:33:14 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
261 * sysdeps/m68k/fpu/e_acos.c, sysdeps/m68k/fpu/e_acosf.c,
262 sysdeps/m68k/fpu/e_fmod.c, sysdeps/m68k/fpu/e_fmodf.c,
263 sysdeps/m68k/fpu/isinfl.c, sysdeps/m68k/fpu/isnanl.c,
264 sysdeps/m68k/fpu/s_atan.c, sysdeps/m68k/fpu/s_atanf.c,
265 sysdeps/m68k/fpu/s_frexp.c, sysdeps/m68k/fpu/s_frexpf.c,
266 sysdeps/m68k/fpu/s_ilogb.c, sysdeps/m68k/fpu/s_ilogbf.c,
267 sysdeps/m68k/fpu/s_isinf.c, sysdeps/m68k/fpu/s_isinff.c,
268 sysdeps/m68k/fpu/s_ldexp.c, sysdeps/m68k/fpu/s_ldexpf.c,
269 sysdeps/m68k/fpu/s_modf.c, sysdeps/m68k/fpu/s_modff.c: Don't
270 define __NO_MATH_INLINES, which is already defined on command
273 Thu May 2 22:18:28 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
275 * sysdeps/libm-ieee754/e_j0f.c (__ieee754_j0f, __ieee754_y0f):
276 Replace 0x80000000 by 0x48000000.
277 * sysdeps/libm-ieee754/e_j1f.c (__ieee754_j1f): Likewise.
279 Thu May 2 21:30:33 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
281 * sunrpc/svc_simple.c: Make global variable pl local to
284 Thu May 2 00:24:04 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
286 * time/Makefile (tz-cflags): New variable.
287 (CFLAGS-tzfile.c): New variable.
288 (CFLAGS-zic.c): Add $(tz-cflags).
289 (tz-cc): Remove variable.
290 ($(objpfx)tzfile.o, $(objpfx)zic.o): Remove targets.
292 Wed May 1 09:10:04 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
294 * sysdeps/mach/hurd/getcwd.c: Jump out of both loops when we find a
295 name, instead of checking for reaching end of buffer, which happens
296 when the match is the last entry in the buffer.
298 * time/strftime.c: Use canonical autoconf nugget for time.h+sys/time.h
301 Mon Apr 29 02:48:26 1996 Ulrich Drepper <drepper@cygnus.com>
303 * ctype/ctype-info.c: (__ctype_width): New variable.
304 (__ctype_names): Initialize correctly without offset.
306 * locale/C-collate.c, locale/C-ctype.c,
307 locale/C-messages.c, locale/C-monetary.c,
308 locale/C-numeric.c, locale/C-time.c: Change copyright.
310 * locale/C-ctype.c (_nl_C_LC_CTYPE_class32): Correct
311 endianess for initialization value.
313 * locale/lc-ctype.c (current): Add parameter for offset.
314 (__ctype32_b, __ctype_width): Add initialization for these
317 * locale/programs/charmap.c: Finish support for WIDTH information.
318 (new_width): New function.
320 * locale/programs/charset.h (width_rule): new data structure.
321 (charset_t): Add elements for width information.
323 * locale/programs/ld-ctype.c (locale_ctype_t): Add element
324 for width information.
325 (allocate_arrays): Add new argument for charset.
326 (ctype_finish): Make sure all characters named in charset
327 width table are known to name table.
328 (ctype_output): Correct handling of class and map name
329 information and write out width information.
330 (find_idx): Prepare for being called with NULL pointer as
331 TABLE argument. This means only allocate name entry.
332 (allocate_arrays): Correct handling of array element -1.
333 Because EOF == -1 the value of element 127 must *not* be
335 Fill width information from charset tables.
337 * locale/programs/localedef.c (main): Correct loop over all
338 categories after change of order from Thu Mar 28 14:22:51 1996.
339 Add new charset argument to call of `write_all_categories'.
341 * locale/programs/locales.h (ctype_finish, ctype_output): New
344 * locale/programs/locfile.c (write_all_categories): Call
345 `ctype_output' with additional argument charset.
347 * posix/getconf.c (vars): Add _POSIX_SYNC_IO, _POSIX_ASYNC_IO,
348 and _POSIX_PRIO_IO definitions.
350 * posix/posix2_lim.h: Add definition of _POSIX2_CHARCLASS_NAME_MAX
351 and CHARCLASS_NAME_MAX.
353 * posix/unistd.h: Document _POSIX_SYNC_IO, _POSIX_ASYNC_IO,
356 * stdlib/grouping.h: Prepare for use in wide string functions.
358 * stdlib/stdlib.h: Correct prototypes for __strto*_internal
361 * stdlib/strtod.c: Extend for use as `wcsto{f,d,ld}'.
363 * stdlib/strtol.c: Extend for use as `wcsto{l,ul,q,uq}'.
365 * string/strcoll.c: Extend for use as `wcscoll'.
367 * string/strxfrm.c: Extend for use as `wcsxfrm'.
369 * sysdeps/generic/confname.h: Add definition of _PC_SYNC_IO,
370 _PC_ASYNC_IO, _PC_PRIO_IO and _SC_CHARCLASS_NAME_MAX.
372 * sysdeps/generic/stpncpy.c: Correct return value.
374 * sysdeps/posix/fpathconf.c: Add handling of _PC_SYNC_IO,
375 _PC_ASYNC_IO, and _PC_PRIO_IO.
377 * sysdeps/posix/sysconf.c: Add handling of _SC_REALTIME_SIGNALS,
378 _SC_PRIORITY_SCHEDULING, _SC_TIMERS, _SC_ASYNCHRONOUS_IO,
379 _SC_PRIORITIZED_IO, _SC_SYNCHRONIZED_IO, _SC_FSYNC,
380 _SC_MAPPED_FILES, _SC_MEMLOCK, _SC_MEMLOCK_RANGE,
381 _SC_MEMORY_PROTECTION, _SC_MESSAGE_PASSING, _SC_SEMAPHORES,
382 _SC_SHARED_MEMORY_OBJECTS, and _SC_CHARCLASS_NAME_MAX.
383 * sysdeps/stub/sysconf.c: Ditto.
384 * sysdeps/unix/sysv/sysv4/sysconf.c: Ditto.
386 * sysdeps/unix/sysv/linux/Dist: Add sys/sysctl.h.
388 * sysdeps/unix/sysv/linux/Makefile [subdir == misc]
389 (sysdep_routines): Add s_sysctl and sysctl.
391 * sysdeps/unix/sysv/linux/sys/mman.h: Add declaration of mremap.
393 * sysdeps/unix/sysv/linux/sys/socket.h: New file. Wrapper
394 around kernel header.
396 * sysdeps/unix/sysv/linux/sys/sysctl.h: New file. Define
397 interface to `sysctl' function.
399 * sysdeps/unix/sysv/linux/syscalls.list: Add mremap and _sysctl.
401 * sysdeps/unix/sysv/linux/sysconf.c: Add handling of
402 _SC_CHARCLASS_NAME_MAX.
404 * sysdeps/unix/sysv/linux/sysctl.c: new file. Implement caller
405 of _sysctl system call.
407 * sysvipc/Makefile (routines): Add ftok.
409 * sysvipc/ftok.c: use variable `proj_id' not `id'. Patch by
410 David Mosberger-Tang.
412 * wcsmbs/Makefile (routines): Add wcpcpy, wcpncpy, wcstol,
413 wcstoul, wcstoq, wcstouq, wcstod, wcstold, wcstof, wcscoll,
414 wcsxfrm, wcwidth, and wcswidth.
416 * wcsmbs/wchar.h: Add declarations for wcpcpy, wcpncpy, wcstol,
417 wcstoul, wcstoq, wcstouq, wcstod, wcstold, wcstof, wcscoll,
418 wcsxfrm, wcwidth, and wcswidth.
419 Declare internal interfaces for wcsto* functions.
420 [OPTIMIZE]: Define inline functions for wcsto* functions to
421 call internal interface functions.
423 * wcsmbs/wcpcpy.c, wcsmbs/wcpncpy.c: New files. Implement non-
424 standard function equivalent to stpcpy/stpncpy.
426 * wcsmbs/wcscoll.c: Implement `wcscoll' function by using
427 `strcoll' implementation.
429 * wcsmbs/wcscpy.c, wcsmbs/wcsncpy.c: Use wint_t instead of
432 * wcsmbs/wcstod.c: Implement `wcstod' function by using `strtod'
434 * wcsmbs/wcstof.c: Same for `wcstof'.
435 * wcsmbs/wcstold.c: Same for `strtold'.
437 * wcsmbs/wcstol.c: Implement `wcstol' function by using `strtol'
439 * wcsmbs/wcstoq.c: Same for `wcstoq'.
440 * wcsmbs/wcstoul.c: Same for `wcstoul'.
441 * wcsmbs/wcstouq.c: Same for `wcstouq'.
443 * wcsmbs/wcswidth.c: Implement `wcswidth' function from X/Open
445 * wcsmbs/wcwidth.c: Ditto for `wcwidth'.
446 * wcsmbs/wcwidth.h: Common function for definitions of above two
449 * wcsmbs/wcsxfrm.c: Implement `wcsxfrm function by using
450 `strxfrm implementation.
452 * wctype/wctype.c: Remove case for `wctype_t' being 16 bit type.
454 * wctype/wctype.h (wint_t): Protect against multiple definition.
455 (wctype_t): Always define as `unsigned long int'.
457 * wctype.h: New file. Wrapper around wctype/wctype.h.
459 Tue Apr 30 17:30:46 1996 Miles Bader <miles@gnu.ai.mit.edu>
461 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Add timeout argument to
462 interrupt_operation call.
463 (_hurdsig_interrupt_timeout): New variable.
465 * hurd/report-wait.c (describe_number): Correctly allocate space
466 in DESCRIPTION for the digits in I.
468 Mon Apr 29 00:11:59 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
470 * hurd/hurdstartup.c (_hurd_split_args): Function removed.
471 (_hurd_startup): Use argz functions.
473 * hurd/hurdexec.c: Use argz functions.
475 * errno.h [!__error_t_defined] (error_t): New type.
476 * sysdeps/mach/hurd/errnos.awk: #define __error_t_defined after the
479 * string/envz.c, string/envz.h: New files.
480 * string/argz.h, string/argz-append.c, string/argz-count.c,
481 string/argz-create.c, string/argz-delete.c, string/argz-extract.c,
482 string/argz-insert.c, string/argz-stringify.c: New files.
483 * string/Makefile (routines): Add envz, argz-*.
484 (headers): Add argz.h, envz.h.
486 Sun Apr 28 14:14:35 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
488 * sysdeps/unix/sysv/linux/i386/Makefile: New file.
490 Wed Apr 24 17:35:30 Ulrich Drepper <drepper@cygnus.com>
492 * inet/netinet/in.h, socket/sys/socket.h: Move to
493 sysdeps/generic/netinet/in.h, sysdeps/generic/sys/socket.h.
494 * netinet/in.h, sys/socket.h: Remove file.
496 * misc/Makefile (routines): Add fdatasync.
498 * posix/Makefile (headers): Add sched.h.
499 (routines): Add nanosleep, sched_setp, sched_getp, sched_sets,
500 sched_gets, sched_yield, sched_primax, sched_primin, sched_rr_gi.
502 * posix/getconf.c (vars): Add entries for _POSIX_REALTIME_SIGNALS,
503 _POSIX_PRIORITY_SCHEDULING, _POSIX_TIMERS, _POSIX_ASYNCHRONOUS_IO,
504 _POSIX_PRIORITIZED_IO, _POSIX_SYNCHRONIZED_IO, _POSIX_FSYNC,
505 _POSIX_MAPPED_FILES, _POSIX_MEMLOCK, _POSIX_MEMLOCK_RANGE,
506 _POSIX_MEMORY_PROTECTION, _POSIX_MESSAGE_PASSING,
507 _POSIX_SEMAPHORES, _POSIX_SHARED_MEMORY_OBJECTS.
509 * posix/sched.h: New file. Header for POSIX scheduling interface.
511 * posix/unistd.h: Describe options from POSIX.4.
512 Add declaration of fdatasync.
514 * sysdeps/generic/confname.h: Add definition for
515 _SC_REALTIME_SIGNALS, _SC_PRIORITY_SCHEDULING, _SC_TIMERS,
516 _SC_ASYNCHRONOUS_IO, _SC_PRIORITIZED_IO, _SC_SYNCHRONIZED_IO,
517 _SC_FSYNC, _SC_MAPPED_FILES, _SC_MEMLOCK, _SC_MEMLOCK_RANGE,
518 _SC_MEMORY_PROTECTION, _SC_MESSAGE_PASSING,
519 _SC_SEMAPHORES, _SC_SHARED_MEMORY_OBJECTS.
521 * sysdeps/generic/fdatasync.c: New file. Default implementation
524 * sysdeps/generic/netinit/in.h: Moved to here from inet/netinet/in.h.
526 * sysdeps/generic/schedbits.h: New file. System dependent
527 defintion for POSIX.4 scheduling interface.
529 * sysdeps/generic/sys/socket.h: Moved to here from socket/sys/socket.h.
531 * sysdeps/stub/nanosleep.c, sysdeps/stub/sched_getp.c,
532 sysdeps/stub/sched_gets.c, sysdeps/stub/sched_primax.c,
533 sysdeps/stub/sched_primin.c, sysdeps/stub/sched_rr_gi.c,
534 sysdeps/stub/sched_setp.c, sysdeps/stub/sched_sets.c,
535 sysdeps/stub/sched_yield.c: New file: Stub implementation
536 for systems missing these POSIX.4 system calls.
538 * sysdeps/unix/sysv/linux/gnu/types.h,
539 sysdeps/unix/sysv/linux/ioctls.h: Use kernel header for
540 data type definitions.
542 * sysdeps/unix/sysv/linux/netinet/in.h: New file. Linux
545 * sysdeps/unix/sysv/linux/posix_opt.h: New file. Define POSIX
546 options applicable for Linux.
548 * sysdeps/unix/sysv/linux/syscalls.list: Add definitions for
549 fdatasync, nanosleep, sched_setparam, sched_getparam,
550 sched_setscheduler, sched_getscheduler, sched_yield,
551 sched_get_priority_max, sched_get_priority_min, and
552 sched_rr_get_interval.
554 * sysdeps/unix/sysv/linux/sysconf.c: Add handling of POSIX.4
557 * sysdeps/unix/sysv/linux/termbits.h: Use kernel headers.
559 * time/sys/time.h: Remove definition of `struct timespec'.
561 * time/time.h (struct timespec): Move definition to here.
563 Fri Apr 26 01:55:07 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
565 * malloc/mcheck.c (mabort): Use __libc_fatal only #ifdef _LIBC.
567 Thu Apr 25 15:49:57 1996 Miles Bader <miles@gnu.ai.mit.edu>
569 * sysdeps/mach/hurd/getcwd.c (__getcwd): When we find a match in
570 the scan for a name, avoid doing another readdir (which overwrites
571 NENTRIES, and was resulting in a bogus ENOENT).
573 * sysdeps/mach/hurd/fcntl.c (__fcntl): Add missing break after F_SETFL.
575 Wed Apr 24 00:22:42 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
577 * stdio/internals.c (seek_to_target): Set errno if seek function
578 returns the wrong offset.
580 * wcsmbs/wcsrtombs.c [! EILSEQ] (EILSEQ): Define to EINVAL.
581 * wcsmbs/wcrtomb.c: Likewise.
583 * stdio-common/vfprintf.c: Include errno.h.
585 Tue Apr 23 21:09:14 1996 Miles Bader <miles@gnu.ai.mit.edu>
587 * hurd/hurdsig.c (signal_allowed): For SIGIO/SIGURG, add a new
588 variable, LUCKY, to use instead of setting D to -1 (which fouls
591 Tue Apr 23 15:56:56 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
593 * config.h.in (HAVE_REGEX): New macro.
595 * sysdeps/unix/syscalls.list: Add statfs, fstatfs.
596 * io/Makefile (headers): Add sys/statfs.h, statfsbuf.h.
597 (routines): Add statfs, fstatfs.
598 * sysdeps/mach/hurd/statfs.c: New file.
599 * sysdeps/mach/hurd/fstatfs.c: New file.
600 * sysdeps/stub/fstatfs.c: New file.
601 * sysdeps/stub/statfs.c: New file.
602 * io/sys/statfs.h: New file.
603 * sysdeps/generic/statfsbuf.h: New file.
604 * sysdeps/unix/sysv/linux/statfsbuf.h: New file.
606 Tue Apr 23 00:06:47 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
608 * malloc/Makefile (gmalloc-routines): Add valloc back here.
609 (dist-routines): Remove it here.
610 * malloc/valloc.c [_MALLOC_INTERNAL && GMALLOC_INHIBIT_VALLOC]
611 (ELIDE_VALLOC): Define it.
612 [! ELIDE_VALLOC]: Make whole file conditional on this.
613 * malloc/malloc.h (valloc): Make decl conditional on
614 [!GMALLOC_INHIBIT_VALLOC] instead of [!emacs].
616 Mon Apr 22 00:02:19 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
618 * MakeTAGS: Include version.mk.
619 (po/SYS_libc.pot): Add missing / in sed s cmd.
621 Sat Apr 20 18:13:00 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
623 * Makerules (no-whole-archive): Test $(have-no-whole-archive), not
624 $(libc_cv_ld_no_whole_archive).
626 Sat Apr 20 17:07:17 1996 Ulrich Drepper <drepper@cygnus.com>
628 * assert/assert.h, ctype/ctype.h, dirent/dirent.h, errno.h,
629 grp/grp.h, io/fcntl.h, io/sys/stat.h, io/utime.h, locale/locale.h,
630 math/math.h, misc/nlist.h, misc/sgtty.h, misc/sys/file.h,
631 misc/sys/ioctl.h, misc/sys/uio.h, posix/sys/times.h,
632 posix/sys/types.h, posix/sys/utsname.h, posix/sys/wait.h,
633 posix/tar.h, posix/wordexp.h, pwd/pwd.h, resource/sys/vlimit.h,
634 resource/sys/vtimes.h, setjmp/setjmp.h, signal/signal.h,
635 stdio-common/printf.h, stdlib/alloca.h, stdlib/stdlib.h,
636 string/string.h, sysdeps/generic/sigaction.h,
637 sysdeps/generic/sigset.h, sysdeps/generic/sys/ptrace.h,
638 sysdeps/generic/sys/ptrace.h, sysdeps/unix/bsd/osf/sigaction.h,
639 sysdeps/unix/sysv/linux/sys/ptrace.h,
640 sysdeps/unix/sysv/minix/sigaction.h,
641 sysdeps/unix/sysv/sco3.2.4/sigaction.h,
642 sysdeps/unix/sysv/sysv4/sigaction.h,
643 sysdeps/unix/sysv/sysv4/sigset.h, termios/termios.h,
644 time/sys/time.h, time/time.h: Fix copyright comment.
646 Fri Apr 19 00:49:44 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
648 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): If uids and gids are
649 not given in stack aux vector, fetch them with syscalls.
651 * stdlib/rpmatch.c (rpmatch: try): Take new arg NOMATCH, return value
652 for nonmatching nonerror (instead of !MATCH).
653 (rpmatch): Use it, so we return -1 when NOEXPR doesn't match either.
655 * resolv/getnetnamadr.c (getnetbyaddr): Use u_int32_t instead of
656 unsigned long for variable NET2.
658 * time/etcetera, time/europe, time/solar89: Updated from ADO's 96e.
660 Tue Apr 9 14:37:31 1996 Ulrich Drepper <drepper@cygnus.com>
662 * catgets/Makefile, catgets/catgets.c, catgets/catgetsinfo.h,
663 catgets/config.h, catgets/gencat.c, catgets/nl_types.h,
664 catgets/open_catalog.c: New files. Implementation of XPG4
665 compliant catgets() function and needed tools.
666 * Makefile (subdirs): Add catgets.
668 Thu Apr 18 23:36:11 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
670 * math/Makefile (CPPFLAGS): Append -D__NO_MATH_INLINES.
672 Wed Apr 10 20:48:43 1996 Ulrich Drepper <drepper@cygnus.com>
674 * stdio-common/vfprintf.c: Correct some typos.
676 * sysdeps/libm-ieee754/w_gammaf.c, sysdeps/libm-ieee754/w_lgamma.c,
677 sysdeps/libm-ieee754/w_lgammaf.c: Reference signgam instead of
680 Thu Apr 18 21:07:27 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
682 * Makerules (no-whole-archive): New variable.
683 (build-shlib): Use it.
684 * elf/Makefile (libdl.so): Use it.
685 * configure.in (libc_cv_ld_no_whole_archive): New check for
687 * config.make.in (have-no-whole-archive): New variable.
689 * stdio-common/printf_fp.c: Increase fudge factor for BIGNUM_SIZE calc
692 * Make-dist: Include version.mk.
693 (version, release): Variables removed.
694 * Makeconfig (version.mk): New target.
696 Fri Apr 19 01:42:18 1996 Ulrich Drepper <drepper@cygnus.com>
698 * locale/Makefile (headers): Add langinfo.h.
699 (CPPFLAGS): Remove -Iliblib.
701 Mon Apr 15 16:49:04 1996 Roland McGrath <roland@whiz-bang.gnu.ai.mit.edu>
703 * malloc/memalign.c, malloc/malloc.h [__DJGPP__ == 1]: Elide memalign
704 function and its declaration.
706 Wed Apr 10 14:13:45 1996 Miles Bader <miles@gnu.ai.mit.edu>
708 * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Store
709 MACH_PORT_DEAD in the thread reply-port variable before destroying
710 the signal handler's reply port, to avoid infinite recursion.
712 Mon Apr 8 18:27:17 1996 Miles Bader <miles@gnu.ai.mit.edu>
714 * sysdeps/mach/gettimeofday.c (__gettimeofday): Don't fail if the
715 user passes in TZ, just zero it (emacs passes in a dummy variable,
716 and rms says the hurd should be the one to change).
718 Sun Apr 7 10:37:30 1996 Roland McGrath <roland@whiz-bang.gnu.ai.mit.edu>
720 * sysdeps/mach/hurd/fork.c: Don't leak send rights to the child's proc
723 Fri Apr 5 17:43:41 1996 Miles Bader <miles@gnu.ai.mit.edu>
725 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn): Store
726 MACH_PORT_DEAD in the thread reply-port variable before destroying
727 the signal handler's reply port to avoid infinite recursion.
728 * sysdeps/mach/hurd/mig-reply.c (__mig_dealloc_reply_port): Only
729 attempt to destroy PORT if it's a valid port name.
731 Wed Apr 3 17:10:44 1996 Roland McGrath <roland@whiz-bang.gnu.ai.mit.edu>
733 * extra-lib.mk: Put libs in $(common-objpfx) instead of $(objpfx).
734 * Makerules ($(install-lib) rules): Find libs with $(common-objpfx)
735 instead of $(objpfx).
737 Tue Apr 2 21:27:01 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
739 * posix/glob.c (glob_pattern_p): Avoid scanning past eos if
740 the pattern ends with a backslash and quoting is enabled.
741 * posix/fnmatch.c (fnmatch): Likewise; return FNM_NOMATCH for such
744 Mon Apr 1 13:34:55 1996 Roland McGrath <roland@whiz-bang.gnu.ai.mit.edu>
746 * stdio-common/tst-printf.c (main): Add new test case.
748 * sysdeps/generic/setenv.c (unsetenv): Use old-style definition.
750 Mon Apr 1 11:39:10 Ulrich Drepper <drepper@gnu.ai.mit.edu>
752 * stdlib/strtod.c (STRTOD): Fix handling of American style FP
755 * stdio-common/vfprintf.c (vfprintf): Don't increment format
756 string pointer twice after seeing `*'.
758 Sun Mar 31 17:31:54 1996 Roland McGrath <roland@whiz-bang.gnu.ai.mit.edu>
760 * MakeTAGS (po/SYS_libc.pot): Prepend header processed from
763 Sun Mar 31 18:07:32 1996 Ulrich Drepper <drepper@gnu.ai.mit.edu>
765 * locale/Makefile (others, install-bin): Compiling locale works
767 (locale-modules): locale has no --dump option anymore. Remove
770 * locale/programs/config.h: Don't declare euidaccess.
771 Use #include_next to get libc's config.h.
773 * locale/programs/ctypedump.c: Not needed anymore. Dump option
774 of locale is removed.
776 * locale/programs/locale.c: Adapt for new locale implementation.
778 * stdio-common/_itoa.h (_itoa_word): Define as inline function.
779 * stdio-common/_itoa.c (_itoa_lower_digits, _itoa_upper_digits):
780 Don't declare static because used in _itoa_word inline function.
782 * stdio-common/printf-parse.h: Prepare for use in wide-char
783 stdio implementation.
784 (find_spec): Take additional argument to work with mbrlen instead
786 (parse_one_spec): Ditto.
788 * stdio-common/printf-prs.c: Prepare for use in wide-char
789 stdio implementation.
791 * stdio-common/printf.h: Mark change for wide-char handling.
792 Changing it now would result in incompatibilities.
794 * stdio-common/vfprintf.c: New and fast implementation.
796 * wcsmbs/Makefile (routines): Remove pre-ISO C multibyte functions
797 mbsadvance, mbscat, mbschr, mbscmp, mbscpy, mbsdup, mbslen,
798 mbsncat, mbsncmp, mbsncpy, mbsrchr, mbstomb.
799 Change wcswcs to wcsstr.
800 Add wmemchr, wmemcmp, wmemcpy, wmemmove, wmemset, btowc, wctob,
801 mbsinit, mbrlen, mbrtowc, wcrtomb, mbsrtowcs, wcsrtombs.
803 * wcsmbs/btowc.c, wcsmbs/mbrlen.c, wcsmbs/mbrtowc.c,
804 wcsmbs/mbsinit.c, wcsmbs/mbsrtowcs.c, wcsmbs/wchar.h,
805 wcsmbs/wcrtomb.c, wcsmbs/wcsrtombs.c, wcsmbs/wcsstr.c,
806 wcsmbs/wctob.c, wcsmbs/wmemchr.c, wcsmbs/wmemcmp.c,
807 wcsmbs/wmemcpy.c, wcsmbs/wmemmove.c, wcsmbs/wmemset.c: New
808 function according to ISO C amendment 1.
809 * wchar.h: Wrapper around "wcsmbs/wchar.h".
811 * wcsmbs/wcscat.c, wcsmbs/wcschr.c, wcsmbs/wcscmp.c,
812 wcsmbs/wcscpy.c, wcsmbs/wcscspn.c, wcsmbs/wcsdup.c,
813 wcsmbs/wcslen.c, wcsmbs/wcsncat.c, wcsmbs/wcsncmp.c,
814 wcsmbs/wcsncpy.c, wcsmbs/wcspbrk.c, wcsmbs/wcsrchr.c,
815 wcsmbs/wcsspn.c, wcsmbs/wcstok.c: Changed to conform with ISO C
818 * wcsmbs/mbsadvance.c, wcsmbs/mbscat.c, wcsmbs/mbschr.c,
819 wcsmbs/mbscmp.c, wcsmbs/mbscpy.c, wcsmbs/mbsdup.c,
820 wcsmbs/mbslen.c, wcsmbs/mbsncat.c, wcsmbs/mbsncmp.c,
821 wcsmbs/mbsncpy.c, wcsmbs/mbsrchr.c, wcsmbs/mbstomb.c,
822 wcsmbs/mbstr.h, wcsmbs/wcstr.h, wcsmbs/wcswcs.c: Removed.
823 Implement functions from early drafts, not part of final standard.
825 Sun Mar 31 16:50:41 1996 Roland McGrath <roland@whiz-bang.gnu.ai.mit.edu>
827 * setjmp/setjmp.h (jmp_buf): Change gratuitous struct tag name to
828 __jmp_bug_tag so its C++ implicit typedef does not conflict with the
831 * Makerules (BUILD_CFLAGS) [! objdir]: Use $(..)config.h when
832 compiling in the source directories.
834 Fri Mar 29 16:26:35 1996 Roland McGrath <roland@whiz-bang.gnu.ai.mit.edu>
836 * sysdeps/libm-ieee754/w_gamma.c: Use signgam instead of __signgam.
837 * sysdeps/libm-ieee754/s_signgam.c: Undo last change.
839 Fri Mar 29 11:29:46 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
841 * sysdeps/libm-ieee754/s_signgam.c (signgam): Renamed to __signgam,
842 with weak alias signgam.
844 Thu Mar 28 18:32:34 1996 Roland McGrath <roland@whiz-bang.gnu.ai.mit.edu>
846 * Makeconfig (+cflags, +gcc-nowarn): Use gcc flags unconditionally.
848 Thu Mar 28 14:22:51 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
850 * sunrpc/rpc_main.c (main): Call textdomain.
852 * MakeTAGS (XGETTEXTFLAGS-siglist.pot, XGETTEXTFLAGS-errlist.pot): Add
854 (all-pot): Replace $(subdirs) files with $P/subdirs.pot.
855 ($P/subdirs.pot): New target.
856 ($P/SYS_libc.pot): Add -n switch.
858 * locale/locale.h (LC_*): Values reordered to match Linux libc.
860 * sysdeps/mach/hurd/kill.c: If proc_pid2task gives us MACH_PORT_NULL
861 the process is a zombie; send no messages and return success.
863 Thu Mar 28 11:53:26 1996 Roland McGrath <roland@whiz-bang.gnu.ai.mit.edu>
865 * wctype/cname-lookup.h: Find localeinfo.h in ../locale.
866 * wctype/wctype.c: Likewise.
867 * wctype/wctrans.c: Likewise.
869 Thu Mar 28 03:00:43 1996 Roland McGrath <roland@whiz-bang.gnu.ai.mit.edu>
871 * locale/nl_langinfo.c (nl_langinfo): Use DATA->values instead of
874 * Makerules (BUILD_CFLAGS): Remove $(common-objpfx) from config.h.
876 * configure.in (.weakext check): Fix asm code to use .weakext instead
877 of .weak! Fix bogus test calls.
878 * configure: Regenerated.
880 Thu Mar 28 03:25:10 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
882 * locale/programs/xmalloc.c: Test _LIBC as well as STDC_HEADERS.
884 * locale/programs/ld-collate.c (collate_finish): Use error_at_line
885 instead of error_with_loc.
887 * locale/weight.h: Use u_int32_t instead of u32_t.
888 * string/strxfrm.c: Likewise.
890 * string/strxfrm.c: Find weight.h in ../locale; don't #include
892 * string/strcoll.c: Likewise.
894 * intl/Makefile (copysrc): Add missing > in sed cmd.
896 Sat Mar 23 17:52:49 1996 Ulrich Drepper <drepper@gnu.ai.mit.edu>
898 * Makeconfig: Rename Makefile variable nlsdir to i18ndir and
899 change value to $(datadir)/i18n. `nls' is not an appropriate
902 * Makefile (subdirs): Add new subdir wctype.
904 * ctype/ctype-info.c: Add new global variable __ctype_names
905 and initialize from _nl_C_LC_CTYPE.
907 * ctype/ctype.h: In P1003.3b/D11 `alnum' is a separate character
909 [_ISbit]: Protect definition of bitmasks because they are also
912 * libio/genops.c (_IO_sputbackc, _IO_sungetc): Clear EOF flag
913 after successfully pushing back a character.
915 Fundamental changes in locale implementation. Almost nothing
916 from the old code is used anymore.
917 * locale/charmap.c, locale/collate.c, locale/config.h,
918 locale/ctypedump.c, locale/hash.h, locale/keyword.gperf,
919 locale/keyword.h, locale/loadlocale.c, locale/locale-ctype.c,
920 locale/locale.c locale/localeconv.c, locale/localedef.c,
921 locale/localedef.h, locale/locfile-hash.c, locale/locfile-lex.c,
922 locale/locfile-parse.c, locale/messages.c, locale/monetary.c,
923 locale/numeric.c, locale/setlocale.c, locale/token.h,
924 locale/xmalloc.c: Removed.
926 * locale/Makefile: Update for new locale implementation with
927 program source code distributed in subdir.
929 * locale/categories.def, locale/iso-4217.def: Updated file
930 for new locale implementation.
932 * locale/langinfo.h: Updated for new locale implementation.
933 (ERA_D_T_FMT, ERA_T_FMT): New official values according to
935 (_NL_COLLATE_NRULES, _NL_COLLATE_RULES, _NL_COLLATE_HASH_SIZE,
936 _NL_COLLATE_HASH_LAYERS, _NL_COLLATE_TABLE_EB,
937 _NL_COLLATE_TABLE_EL, _NL_COLLATE_UNDEFINED, _NL_COLLATE_EXTRA_EB,
938 _NL_COLLATE_EXTRA_EL, _NL_CTYPE_NAMES_EB, _NL_CTYPE_NAMES_EL,
939 _NL_CTYPE_HASH_SIZE, _NL_CTYPE_HASH_LAYERS, _NL_CTYPE_CLASS_NAMES,
940 _NL_CTYPE_MAP_NAMES, _NL_CTYPE_WIDTH): New internal values for
941 extended LC_CTYPE and LC_COLLATE implementation.
943 * locale/programs/simple-hash.c, locale/programs/simple-hash.h,
944 locale/programs/xmalloc.c, locale/programs/xstrdup.c: Helper functions
945 for locale related programs.
947 * locale/C-collate.c, locale/C-ctype.c,
948 locale/C-messages.c, locale/C-monetary.c,
949 locale/C-numeric.c, locale/C-time.c,
950 locale/lc-collate.c, locale/lc-ctype.c,
951 locale/lc-messages.c, locale/lc-monetary.c,
952 locale/lc-numeric.c, locale/lc-time.c: New implementation of locale
953 functions, and new generated "C" locale data.
955 * locale/loadlocale.c: Now handles word fields in locale binary
956 automatically by changing the endianess if necessary.
958 * locale/localeinfo.h (LIMAGIC): Changed magic number because
959 of incompatible changes.
960 (locale_data): Changed definition to allow word as a value type.
961 (coll_sort_rule): Values for collation sorting mode.
962 (_NL_CURRENT_WORD): New macro to access word value of locale entry.
963 (__collate_table, __collate_extra): Declare new global variables
964 for collation tables.
966 * locale/programs/charmap-kw.gperf, locale/programs/charmap-kw.h,
967 locale/programs/charmap.c, locale/programs/charset.c,
968 locale/programs/charset.h, locale/programs/config.h,
969 locale/programs/ctypedump.c, locale/programs/ld-collate.c,
970 locale/programs/ld-ctype.c, locale/programs/ld-messages.c,
971 locale/programs/ld-monetary.c, locale/programs/ld-numeric.c,
972 locale/programs/ld-time.c, locale/programs/linereader.c,
973 locale/programs/linereader.h, locale/programs/locale.c,
974 locale/programs/localedef.c, locale/programs/locales.h,
975 locale/programs/locfile-kw.gperf, locale/programs/locfile-kw.h,
976 locale/programs/locfile-token.h, locale/programs/locfile.c,
977 locale/programs/locfile.h, locale/programs/stringtrans.c,
978 locale/programs/stringtrans.h: Implementation of locale related
981 * locale/weight.h: Functions to access collation tables.
983 * posix/unistd.h: Define _POSIX2_LOCALEDEF.
985 * stdio-common/printf_fp.c: Fix bug with printing certain numbers
986 < 10^-1. Reported by Bill Metzenthen.
988 * stdio-common/tfformat.c: Add new test for above bug.
990 * string/strcoll.c, string/strxfrm.c: Real implementation of
991 string collation according to ISO C.
993 * wctype/Makefile, wctype/cname-lookup.h, wctype/iswctype.c,
994 wctype/test_wctype.c, wctype/towctrans.c, wctype/wcfuncs.c,
995 wctype/wctrans.c, wctype/wctype.c, wctype/wctype.h: New files.
996 Implementation of wide character classes and mapping.
998 Wed Mar 27 14:52:11 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
1000 * elf/rtld.c (dl_main): Call _dl_sysdep_start_cleanup after
1001 _dl_relocate_object loop. Avoid relocating RTLD_MAP in that loop, and
1002 do it individually if necessary after _dl_sysdep_start_cleanup call.
1004 * stdlib/Makefile (mpn-routines): Add divrem.
1006 Tue Mar 26 22:54:14 Ulrich Drepper <drepper@gnu.ai.mit.edu>
1008 * stdio-common/printf_fp.c (__printf_fp): Use mpn_divmod
1009 instead of __mpn_divmod.
1011 Wed Mar 27 10:26:21 1996 David Mosberger-Tang <davidm@azstarnet.com>
1013 * sysdeps/alpha/setjmp.S: Must establish global pointer before
1014 address of __sigsetjmp_aux can be loaded.
1016 Wed Mar 27 02:23:19 1996 Ulrich Drepper <drepper@gnu.ai.mit.edu>
1018 * sysdeps/i386/i586/memset.S: New file. Highly optimized
1019 version for i586 contributed by Torbjorn Granlund.
1020 Adapted for use as bzero.
1021 * sysdeps/i386/i586/bzero.S: Use sysdeps/i386/i586/memset.S
1022 code to implement bzero().
1024 Tue Mar 26 20:01:17 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
1026 * stdlib/Makefile (mpn-routines): Remove divmod.
1028 Tue Mar 26 15:40:14 1996 Brendan Kehoe <brendan@zen.org>
1030 * sysdeps/unix/sysv/sysv4/solaris2/sparc/sysdep.h (NO_UNDERSCORES): Use
1031 wrapped with #ifndef, to avoid config.h defining it.
1033 Mon Mar 25 13:10:04 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
1035 * malloc/realloc.c (_realloc_internal): In case of growing large
1036 block, leave _heaplimit zero across _malloc_internal call.
1038 * intl/Makefile [gettext-srcdir]: Use gpl2lgpl.sed on copied sources.
1040 Mon Mar 25 03:35:16 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
1042 * malloc/malloc.c (morecore): Don't attempt recursive realloc of info
1043 table when _heaplimit==0 during realloc growing large block.
1045 * MakeTAGS (extract): Remove /dev/null from xgettext command line.
1046 (text-srcs): New variable: extract only C sources from $(tags_sources).
1047 (po/$(domain).pot): Depend on that.
1048 If it's empty, cp /dev/null $@ instead of $(extract).
1050 * misc/Makefile (headers): Add iovec.h.
1051 * sysdeps/unix/sysv/linux/iovec.h: New file.
1052 * sysdeps/generic/iovec.h: New file.
1053 * misc/sys/uio.h (struct iovec): Type replaced with #include <iovec.h>.
1055 * configure.in (NO_UNDERSCORES check): Use AC_TRY_LINK instead of
1058 * misc/sys/cdefs.h [__USE_BSD] (const, signed, volatile): Move these
1059 macros inside [! __STDC__].
1061 * stdlib/rpmatch.c: New file.
1062 * stdlib/Makefile (routines): Add rpmatch.
1063 * stdlib/stdlib.h [__USE_SVID]: Declare rpmatch.
1065 * MakeTAGS (MSGJOIN): Variable removed.
1066 (po/SYS_libc.pot): Use $(XGETTEXT) instead of $(MSGJOIN).
1068 Wed Mar 20 20:08:46 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1070 * sysdeps/unix/sysdep.h: Don't define C_SYMBOL_NAME.
1072 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Don't define
1075 Thu Mar 21 11:19:15 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
1077 * mach/devstream.c (input): Translate \r to \n on input.
1079 Wed Mar 20 11:28:49 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1081 * stdio-common/printf.h, stdio-common/printf_fp.c,
1082 stdio-common/vfprintf.c: Place const in parameter list at
1085 Wed Mar 20 23:58.12 1996 Ulrich Drepper <drepper@gnu.ai.mit.edu>
1087 * sysdeps/i386/ldbl2mpn.c: Copy of former version of
1088 sysdeps/ieee754/ldbl2mpn.c.
1089 * sysdeps/ieee754/ldbl2mpn.c: Remove i386 specific unification.
1090 Reported by Andreas Schwab.
1092 Wed Mar 20 19:58:43 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
1094 * version.c: Include version.h to define RELEASE and VERSION macros.
1095 (__libc_release, __libc_version): Use them.
1096 * locale/SYS_libc.c (_libc_intl_domainname): Include ../version.h and
1097 use VERSION to define domainname as `SYS_GNU_libc-VERSION'.
1098 * Make-dist (rel+vers): Snarf the macro values from version.h.
1100 * MakeTAGS (extract): Pass $(XGETTEXTFLAGS-$(@F)).
1101 (XGETTEXTFLAGS-siglist.pot, XGETTEXTFLAGS-errlist.pot): New variables;
1102 pass -a for these files.
1104 * Makerules (po/%.pot): Depend on FORCE target so recursive make is
1107 Mon Mar 18 22:54:32 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1109 * sysdeps/unix/sysv/linux/wait3.c: New file.
1110 * sysdeps/unix/sysv/linux/wait.c: Use the bsd4.4 wait, not the
1111 one from sysdeps/posix.
1113 Wed Mar 20 09:42:11 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
1115 * sysdeps/unix/bsd/waitflags.h (WNOREAP): New macro.
1117 * elf/dl-load.c (_dl_map_object_from_fd): Always set L->l_type; if not
1118 lt_executable, then lt_library.
1119 * elf/rtld.c (dl_main): Don't set NEW->l_type after _dl_map_object.
1121 Wed Mar 20 00:08:23 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1123 * sysdeps/unix/sysv/linux/syscalls.list: Remove gtty and stty.
1125 Tue Mar 19 16:31:06 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1127 * sysdeps/unix/sysv/linux/termbits.h (CRTSCTS, CBAUDEX, VEOL,
1128 VEOL2, VMIN, VTIME): Corrected.
1129 (PAGEOUT, WRAP, VDSUSP): Deleted.
1131 Tue Mar 19 14:18:42 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
1133 * sysdeps/unix/readdir.c: Test [! _DIRENT_HAVE_D_RECLEN] instead of
1134 (sizeof (DP->d_name) > 1) to detect fixed-size dir entries.
1136 * sysdeps/i386/fpu/__math.h (asinh): Call log1p instead of __log1p.
1138 * math/math.h: Move M_* constants before __math.h include.
1139 [__NO_MATH_INLINES || __OPTIMIZE__]: Include __math.h only #if this.
1141 * misc/efgcvt_r.c (ecvt_r): Declare floor, log10, fabs as weak extern.
1142 If log10 is not defined (i.e. no -lm), use stupid loop instead.
1144 * features.h (__FAVOR_BSD): Define only if _BSD_SOURCE is defined
1145 and no other _*_SOURCE macro is.
1146 (_GNU_SOURCE): Don't define by default.
1147 * libc-symbols.h (_GNU_SOURCE): Define it.
1149 * configure.in (alpha*-*-linux*): Unset $gnu_ld and $elf.
1151 * config.make.in (weak-symbols): Variable removed.
1152 * configure.in (--with-weak-symbols): Option removed.
1153 (NO_UNDERSCORES, HAVE_ASM_WEAK_DIRECTIVE, HAVE_ASM_WEAKEXT_DIRECTIVE):
1156 * config.h.in (HAVE_WEAK_SYMBOLS): #undef removed.
1157 (NO_UNDERSCORES, HAVE_ASM_WEAK_DIRECTIVE, HAVE_ASM_WEAKEXT_DIRECTIVE):
1159 * libc-symbols.h: Use them instead of HAVE_WEAK_SYMBOLS.
1161 * sysdeps/unix/bsd/pause.c: Moved to sysdeps/unix/common/pause.c.
1163 Mon Mar 4 20:17:28 1996 David Mosberger-Tang <davidm@azstarnet.com>
1165 * inet/inet_lnaof.c: Use u_int32_t instead of u_long.
1166 * inet/inet_mkadr.c: Likewise.
1167 * inet/inet_net.c: Likewise.
1168 * inet/inet_netof.c: Likewise.
1169 * inet/rcmd.c: Likewise.
1170 * inet/arpa/inet.h: Likewise.
1171 * inet/netinet/in.h: Likewise.
1172 * inet/netinet/tcp.h: Likewise.
1173 * inet/protocols/rwhod.h: Likewise.
1174 * inet/protocols/talkd.h: Likewise.
1175 * resolv/inet_addr.c: Likewise.
1177 * sysdeps/unix/sysv/linux/adjtime.c: Use INT_MAX instead of LONG_MAX.
1179 * sysdeps/unix/sysv/Makefile (sysdep_routines): Don't add s_getdents.
1181 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Don't add mount,
1184 * sysdeps/alpha/__math.h (atan, cabs): New functions.
1186 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S: new file (syscall
1187 expects set-value, not pointer to it).
1189 Sun Feb 25 22:36:10 1996 David Mosberger-Tang <davidm@azstarnet.com>
1191 * sysdeps/unix/sysv/linux/alpha/profil-counter.h: New file.
1193 * gmon/gmon.c (__bb_head): new variable.
1194 (write_hist, write_call_graph, write_bb_counts): new functions.
1195 (_mcleanup): modified to call above functions instead of directly
1196 writing out gmon.out.
1197 * gmon/sys/gmon.h (struct __bb): New type.
1198 (struct gmonhdr): Type removed.
1199 (struct gmonparam): New member `log_hashfraction'.
1200 (GMONVERSION): Macro removed.
1202 * gmon/sys/gmon_out.h, gmon/bb_exit_func.c,
1203 sysdeps/generic/bb_init_func.c, sysdeps/alpha/bb_init_func.S: new
1205 * gmon/Makefile (headers): Add sys/gmon_out.h.
1206 (routines): Add bb_init_func, bb_exit_func.
1208 * gmon/mcount.c: Avoid integer division.
1210 Wed Feb 21 23:56:41 1996 David Mosberger-Tang <davidm@azstarnet.com>
1212 * sysdeps/alpha/setjmp.S: switched order in which sp and fp are
1213 passed to match what __sigsetjmp_aux() expects.
1215 Tue Feb 20 11:33:46 1996 David Mosberger-Tang <davidm@azstarnet.com>
1217 * sysdeps/unix/sysv/linux/alpha/syscalls.list (select, bind,
1218 connect, getpeername, getsockname, listen, recv, recvfrom,
1219 recvmsg, send, sendmsg, sendto, setsockopt, shutdown, socketpair):
1220 added to override same-name assembly file in the parent directory.
1222 * stdlib/stdlib.h: add include of sys/types.h in front of random
1223 etc declarations to ensure int32_t is declared.
1225 * stdlib/random.c, stdlib/random_r.c: replaced "long int" by int32_t
1226 where 32 bit integers are required. Also change LONG_MAX into
1227 0x7fffffff since the intent is to turn off the sign bit in a
1230 * time/offtime.c (__offtime): Use Paul Eggert's code to deal
1231 with very large values for "days" (e.g., 64 bit values).
1233 Mon Feb 19 22:22:12 1996 David Mosberger-Tang <davidm@azstarnet.com>
1235 * stdlib/stdlib.h (__random, __random_r, random_r, struct
1236 random_data): use int32_t instead of `long int'.
1238 Sat Feb 17 11:29:29 1996 David Mosberger-Tang <davidm@azstarnet.com>
1240 * sysdeps/unix/sysv/linux/alpha/ioperm.c: new file.
1242 * sysdeps/alpha/ffs.S: new file.
1244 * sysdeps/alpha/fabs.c: File removed.
1246 * time/tzfile.c (__tzfile_read): counter variable is i, *not*
1249 * time/offtime.c: make capable of dealing with very large (64 bit)
1250 time_t values. Use old algorithm until a year is reached that
1251 is an integer multiple of 400, then use DAYS_PER_400_YEARS to
1252 do the remainder in a single division.
1254 * sysdeps/generic/ffs.c (ffs): fix variable declarations to
1255 be unsigned int, not unsigned long.
1257 * string/test-ffs.c (main): add test case with all upper bits
1260 * stdlib/tst-strtol.c: add tests cases for machines where
1263 * stdlib/testrand.c (main): disallow rand() to return negative
1266 * stdlib/testmb.c (main): fix format to use %lx instead of %x.
1268 * stdlib/stdlib.h: on 64 bit machines, declare
1269 struct random_data, __random(), __random_r, and random_r to
1270 return "int" instead of "long int".
1272 * stdlib/random_r.c: 64 bit machines use "int" instead of "long
1273 int". Similarly, use INT_MAX instead of LONG_MAX.
1275 * stdlib/random.c: on 64 bit machines, randtbl[] and __random[]
1276 need to operate on "int" instead of "long int".
1278 * locale/locfile-hash.c (compute_hashval): make shifted constant
1279 a long to avoid loosing bits on 64 bit machines.
1281 * dirent/tst-seekdir.c (main): fix confusing comment; print
1282 a line to mark point where directory is rewound.
1284 Fri Feb 16 15:01:49 1996 David Mosberger-Tang <davidm@azstarnet.com>
1286 * time/strftime.c (strftime): any hour > 11 is PM (not > 12!).
1288 Wed Feb 14 00:21:17 1996 David Mosberger-Tang <davidm@azstarnet.com>
1290 * sysdeps/unix/sysv/linux/alpha/Makefile,
1291 sysdeps/unix/sysv/linux/alpha/brk.S,
1292 sysdeps/unix/sysv/linux/alpha/fpu_control.c,
1293 sysdeps/unix/sysv/linux/alpha/fpu_control.h,
1294 sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S,
1295 sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S,
1296 sysdeps/unix/sysv/linux/alpha/pipe.S,
1297 sysdeps/unix/sysv/linux/alpha/setfpucw.c,
1298 sysdeps/unix/sysv/linux/alpha/sigprocmask.c,
1299 sysdeps/unix/sysv/linux/alpha/speed.c,
1300 sysdeps/unix/sysv/linux/alpha/start.S,
1301 sysdeps/unix/sysv/linux/alpha/syscall.S,
1302 sysdeps/unix/sysv/linux/alpha/syscalls.list,
1303 sysdeps/unix/sysv/linux/alpha/alpha/regdef.h,
1304 sysdeps/unix/sysv/linux/alpha/sysdep.S,
1305 sysdeps/unix/sysv/linux/alpha/sysdep.h: New files.
1307 * sysdeps/alpha/setjmp_aux.c (__sigsetjmp_aux): restore return
1308 address register before returning (gcc 2.7.1 doesn't do it,
1309 presumably because $26 is declared as a global variable).
1311 * sysdeps/unix/sysv/linux/sys/mman.h: msync was missing "flags"
1314 * sysdeps/unix/alarm.c (alarm): do roundup using test & increment
1315 instead of multiplication.
1317 * sysdeps/posix/sleep.c (sleep): initialize sa_mask to mask of
1318 currently blocked signals instead of the empty mask to ensure
1319 that execution of alarm handler occurs with none of the currently
1320 blocked signals enabled.
1322 * sysdeps/unix/alpha/sysdep.h: new file (adapted from OSF/1 version).
1324 * sysdeps/unix/bsd/osf/alpha/sysdep.h: include
1325 sysdeps/unix/alpha/sysdep.h and removed definitions now in that file.
1327 * sysdeps/alpha/divrem.S, sysdeps/alpha/htonl.S,
1328 sysdeps/alpha/htons.S, sysdeps/alpha/machine-gmon.h,
1329 sysdeps/alpha/_mcount.S, sysdeps/alpha/ntohl.s, sysdeps/alpha/ntohs.s,
1330 sysdeps/alpha/strlen.S: New files.
1332 * sysdeps/alpha/divl.S, sysdeps/alpha/divlu.S, sysdeps/alpha/divq.S,
1333 sysdeps/alpha/divqu.S, sysdeps/alpha/divrem.m4,
1334 sysdeps/alpha/macros.m4, sysdeps/alpha/reml.S, sysdeps/alpha/remlu.S,
1335 sysdeps/alpha/remq.S, sysdeps/alpha/remqu.S, sysdeps/alpha/strlen.c:
1338 * sysdeps/generic/sbrk.c (__sbrk): argument is of type ptrdiff_t, not
1341 * sysdeps/alpha/__longjmp.c (__longjmp): moved dummy while loop
1342 to end of function to avoid a jump across NOPs.
1344 * sysdeps/alpha/Makefile (sysdep_routines): Removed all rules
1345 pertaining to integer division/remainder routines since new code
1346 doesn't require them.
1348 * sunrpc/xdr_mem.c, sunrpc/xdr_stdio.c: Use 4 instead of sizeof(long)
1349 where 32 bit quantities are consumed/stored. Various other minor
1350 64-bit cleanups (casting).
1352 * sunrpc/xdr.c (xdr_int): test for sizeof(int)==4 to determine
1353 whether xdr_long or xdr_short should be used to encode an int.
1354 Notice that an xdr_long is 4 bytes independent of the architecture
1355 (otherwise no Alpha could interoperate with existing NFS servers,
1356 for example). Ditto for enums.
1358 * sunrpc/svc_udp.c (svcudp_recv): changed test from 4*sizeof(u_long)
1359 to 16 since it really wants 16 bytes.
1361 * sunrpc/svc.c (maskp): changed from u_long* to u_int32*.
1363 * sunrpc/rpc/xdr.h (IXDR_GET_LONG, IXDR_PUT_LONG): change casts to
1364 u_int32_t (instead of u_long).
1366 * sunrpc/rpc_cmsg.c (xdr_callmsg), sunrpc/svc_authux.c: increment
1367 "buf" pointer by casting it to a char* first since a long* may be 8
1368 bytes or more and oa->oa_length may be any multiple of 4.
1370 * sunrpc/clnt_udp.c (clntudp_call): replaced sizeof(u_long) by 4
1371 since it really is testing for 32 bits. Fixed casts to use
1372 u_int32 instead of u_long.
1373 * sunrpc/xdr_rec.c: Likewise.
1375 * sunrpc/clnt_tcp.c (clnttcp_call): replaced u_long by u_int32.
1376 * sunrpc/rpc/auth.h: Likewise.
1378 * limits.h (LONG_MAX, LONG_MIN, ULONG_MAX): use 64 bit values
1381 Tue Mar 19 13:27:49 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
1383 * sysdeps/i386/fpu/__math.h: New file.
1384 Contributed by John C. Bowman <bowman@hagar.ph.utexas.edu>.
1386 Sun Mar 17 00:28:16 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1388 * sysdeps/posix/clock.c: Don't multiply the return value by
1389 CLOCKS_PER_SEC or CLK_TCK.
1391 Mon Mar 18 13:20:46 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
1393 * sysdeps/mach/hurd/getcwd.c: Fail with ENOENT if a parent directory
1394 scan finds no match.
1396 * posix/unistd.h (setpgrp): Declare no-arg version unless __FAVOR_BSD.
1397 * misc/bsd-compat.c (setpgrp): New function, two arg version.
1398 * sysdeps/stub/setpgid.c: Remove setpgrp alias.
1399 * sysdeps/mach/hurd/setpgid.c: Likewise.
1400 * sysdeps/unix/sysv/sysv4/setpgid.c: Likewise.
1401 * sysdeps/unix/common/syscalls.list (setpgid): Remove setpgrp alias.
1402 * sysdeps/unix/sysv/irix4/syscalls.list: Likewise.
1403 * sysdeps/unix/sysv/linux/setpgrp.c: Obsolete file removed.
1404 * posix/setpgrp.c (setpgrp): New file.
1405 * posix/Makefile (routines): Add setpgrp.
1407 * elf/Makefile (rtld-link): New canned sequence.
1408 (ld.so, ld-linux.so.1): Use it. Pass -soname option.
1410 * sysdeps/i386/setjmp.S (__setjmp): Define compatibility entry point.
1412 Sun Mar 17 23:15:32 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1414 * sysdeps/unix/sysv/linux/tcgetpgrp.c,
1415 sysdeps/unix/sysv/linux/tcsetpgrp.c: New files.
1417 Sun Mar 17 07:19:33 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
1419 * db/Makefile (CFLAGS-hash_func.c): New variable; pass -Wno-unused.
1420 (CFLAGS): Append -Wno-unitialized.
1422 Sat Mar 16 20:58:43 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
1424 * stdlib/erand48_r.c: Use FP division by powers of two to distribute
1425 short bits into double.
1427 Sat Mar 16 20:08:22 1996 David Mosberger-Tang <davidm@azstarnet.com>
1429 * sysdeps/alpha/memchr.S: New file.
1430 * sysdeps/alpha/memchr.c: Obsolete file removed.
1431 * string/tester.c: Soup up memchr tests.
1433 Sat Mar 16 16:26:09 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
1435 * misc/Makefile (headers): Add sysexits.h.
1436 * misc/sysexits.h: New file.
1438 Thu Mar 14 15:20:45 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1440 * sysdeps/libm-ieee754/e_atan2.c (__ieee754_atan2): Change atan
1442 * sysdeps/libm-ieee754/e_atan2f.c (__ieee754_atan2f): Change atanf
1445 * sysdeps/m68k/fpu/e_acos.c, sysdeps/m68k/fpu/e_acosf.c,
1446 sysdeps/m68k/fpu/e_asin.c, sysdeps/m68k/fpu/e_asinf.c,
1447 sysdeps/m68k/fpu/e_atanh.c, sysdeps/m68k/fpu/e_atanhf.c,
1448 sysdeps/m68k/fpu/e_cosh.c, sysdeps/m68k/fpu/e_coshf.c,
1449 sysdeps/m68k/fpu/e_exp.c, sysdeps/m68k/fpu/e_expf.c,
1450 sysdeps/m68k/fpu/e_fmod.c, sysdeps/m68k/fpu/e_fmodf.c,
1451 sysdeps/m68k/fpu/e_log.c, sysdeps/m68k/fpu/e_log10.c,
1452 sysdeps/m68k/fpu/e_log10f.c, sysdeps/m68k/fpu/e_logf.c,
1453 sysdeps/m68k/fpu/e_pow.c, sysdeps/m68k/fpu/e_powf.c,
1454 sysdeps/m68k/fpu/e_remainder.c, sysdeps/m68k/fpu/e_remainderf.c,
1455 sysdeps/m68k/fpu/e_scalb.c, sysdeps/m68k/fpu/e_scalbf.c,
1456 sysdeps/m68k/fpu/e_sinh.c, sysdeps/m68k/fpu/e_sinhf.c,
1457 sysdeps/m68k/fpu/e_sqrt.c, sysdeps/m68k/fpu/e_sqrtf.c,
1458 sysdeps/m68k/fpu/k_cos.c, sysdeps/m68k/fpu/k_cosf.c,
1459 sysdeps/m68k/fpu/k_sin.c, sysdeps/m68k/fpu/k_sinf.c,
1460 sysdeps/m68k/fpu/k_tan.c, sysdeps/m68k/fpu/k_tanf.c,
1461 sysdeps/m68k/fpu/s_atan.c, sysdeps/m68k/fpu/s_atanf.c,
1462 sysdeps/m68k/fpu/s_ceil.c, sysdeps/m68k/fpu/s_ceilf.c,
1463 sysdeps/m68k/fpu/s_cos.c, sysdeps/m68k/fpu/s_cosf.c,
1464 sysdeps/m68k/fpu/s_expm1.c, sysdeps/m68k/fpu/s_expm1f.c,
1465 sysdeps/m68k/fpu/s_fabs.c, sysdeps/m68k/fpu/s_fabsf.c,
1466 sysdeps/m68k/fpu/s_finite.c, sysdeps/m68k/fpu/s_finitef.c,
1467 sysdeps/m68k/fpu/s_floor.c, sysdeps/m68k/fpu/s_floorf.c,
1468 sysdeps/m68k/fpu/s_frexp.c, sysdeps/m68k/fpu/s_frexpf.c,
1469 sysdeps/m68k/fpu/s_ilogb.c, sysdeps/m68k/fpu/s_ilogbf.c,
1470 sysdeps/m68k/fpu/s_isinf.c, sysdeps/m68k/fpu/s_isinff.c,
1471 sysdeps/m68k/fpu/s_isnan.c, sysdeps/m68k/fpu/s_isnanf.c,
1472 sysdeps/m68k/fpu/s_ldexp.c, sysdeps/m68k/fpu/s_ldexpf.c,
1473 sysdeps/m68k/fpu/s_log1p.c, sysdeps/m68k/fpu/s_log1pf.c,
1474 sysdeps/m68k/fpu/s_logb.c, sysdeps/m68k/fpu/s_logbf.c,
1475 sysdeps/m68k/fpu/s_modf.c, sysdeps/m68k/fpu/s_modff.c,
1476 sysdeps/m68k/fpu/s_rint.c, sysdeps/m68k/fpu/s_rintf.c,
1477 sysdeps/m68k/fpu/s_scalbn.c, sysdeps/m68k/fpu/s_scalbnf.c,
1478 sysdeps/m68k/fpu/s_significand.c,
1479 sysdeps/m68k/fpu/s_significandf.c, sysdeps/m68k/fpu/s_sin.c,
1480 sysdeps/m68k/fpu/s_sinf.c, sysdeps/m68k/fpu/s_tan.c,
1481 sysdeps/m68k/fpu/s_tanf.c, sysdeps/m68k/fpu/s_tanh.c,
1482 sysdeps/m68k/fpu/s_tanhf.c: New files, for m68881 port of fdlibm.
1484 * sysdeps/m68k/fpu/__math.h: Rewritten for fdlibm.
1486 * sysdeps/m68k/fpu/isinfl.c: Rewritten to get argument type right.
1487 * sysdeps/m68k/fpu/isnanl.c: Likewise.
1489 Thu Mar 14 06:01:07 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
1491 * posix/glob.c (glob): In GLOB_BRACE brace expansion, fix buffer size
1492 calculation to include trailing invariant portion. Don't use alloca;
1493 instead use a dynamic auto array for GCC, malloc for non-GCC.
1494 Handle nested braces properly.
1496 * elf/elf.h (Elf32_auxv_t): Specify prototype (void) for `a_un.a_fcn'.
1498 * libc-symbols.h (lint): New macro.
1500 Fri Mar 15 01:18:00 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1502 * libio/iosetvbuf.c: Add weak alias setvbuf.
1504 Thu Mar 14 06:01:07 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
1506 * string/strnlen.c: New file.
1507 * string/Makefile (routines): Add strnlen.
1508 * string/string.h [__USE_GNU] (strnlen): Declare new function.
1509 [__OPTIMIZE__]: Define extern inline implementation of it.
1511 * stdlib/erand48_r.c: Use __mpn_construct_double instead of ldexp and
1512 addition, to avoid using anything from -lm.
1514 Mon Mar 4 21:57:14 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1516 * sysdeps/unix/sysv/linux/m68k/Makefile: New file.
1518 * sysdeps/unix/sysv/linux/m68k/sysdep.h (SYS_ify): Redefine.
1519 (CALL_MCOUNT): New macro, empty unless [PROF].
1520 (ENTRY): Do CALL_MCOUNT just after the label.
1521 (JUMPTARGET): New macro.
1522 (SYSCALL_ERROR_HANDLER): Fix syntax.
1524 Thu Mar 14 04:20:48 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
1526 * sysdeps/unix/sysv/linux/init-first.c (init): Call `__personality'
1527 function instead of using inline asm i386 syscall.
1528 * sysdeps/unix/sysv/linux/syscalls.list: Add personality syscall.
1530 * posix/unistd.h [__USE_BSD]: Declare usleep.
1532 Tue Mar 12 04:57:57 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
1534 * misc/efgcvt.c (MAXDIG): New macro computed from <floats.h> constants.
1535 (fcvt, ecvt): Use it for buffer size.
1537 * stdlib/drand48-iter.c (__drand48_iterate): Use u_int64_t instead of
1538 conditionalizing long vs long long.
1540 * stdlib/drand48-iter.c (__drand48_iterate): Don't check for null
1541 pointers; never return EFAULT.
1542 * stdlib/drand48_r.c (drand48_r): Likewise.
1543 * stdlib/erand48_r.c (erand48_r): Likewise.
1545 * setjmp/Makefile (tests): Add jmpbug.
1546 * setjmp/jmpbug.c: New file.
1548 Tue Mar 12 04:42:01 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
1550 * sysdeps/sparc/jmp_buf.h: Rewritten; use array of ints, not struct.
1551 * sysdeps/sparc/setjmp.S: Rewritten; store %fp value as well.
1552 * sysdeps/sparc/__longjmp.S: Rewritten; unwind frames one by one with
1553 `restore' until the target frame is hit.
1555 Sun Mar 10 20:29:40 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1557 * sysdeps/unix/sysv/linux/sigsuspend.c: New file.
1558 * sysdeps/unix/sysv/linux/syscalls.list: Remove sigsuspend, add
1561 Thu Mar 7 21:30:58 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1563 * Makerules (+make-deps, sed-remove-objpfx): Quote periods on the
1564 left side of sed substitutions.
1566 Sun Mar 10 16:58:10 1996 Ulrich Drepper <drepper@gnu.ai.mit.edu>
1568 * stdio-common/printf_fp.c (hack_digit): __mpn_normal_size
1569 is not available anymore. Do it ourselves.
1571 * sysdeps/unix/sysv/linux/i386/fpu_control.h (_FPU_SETCW):
1572 Correct GCC `asm' syntax.
1574 Tue Mar 12 03:15:02 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
1576 * stdio-common/Makefile (tests): Add tst-ungetc.
1577 * stdio-common/tst-ungetc.c: New test from drepper.
1578 * stdio-common/tstscanf.c (main): New %[ test case from drepper.
1580 * sysdeps/libm-ieee754/s_scalbn.c (scalbn): Rename to __scalbn;
1581 somehow this was missed, though the weak alias is already there.
1583 * sysdeps/unix/sysv/linux/i386/fpu_control.h (_FPU_DEFAULT): Change
1584 default to double precision, all interrupts masked; fdlibm requires.
1586 Sat Mar 9 18:44:27 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
1588 * sysdeps/unix/sysv/linux/i386/setfpucw.c: Obsolete file removed.
1590 Fri Mar 8 22:16:48 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
1592 * stdio-common/printf_fp.c (HAVE_ALLOCA): New macro.
1594 Tue Mar 5 18:45:14 1996 Miles Bader <miles@gnu.ai.mit.edu>
1596 * sysdeps/mach/hurd/select.c (__select): Include LASTFD in the
1599 Mon Mar 4 20:54:40 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1601 * Makeconfig ($(common-objpfx)config.make): Depend on config.h.in.
1603 Tue Mar 5 12:14:57 1996 Miles Bader <miles@gnu.ai.mit.edu>
1605 * sysdeps/mach/hurd/select.c (__select): Also don't fault just
1606 because some fdmask is 0.
1608 Mon Mar 4 17:35:35 1996 Miles Bader <miles@gnu.ai.mit.edu>
1610 * sysdeps/mach/hurd/select.c (__select):
1611 Don't increment GOT only because READ/WRITE/EXCEPTFDS is 0!
1612 Don't return without frobbing the bitmasks after a timeout.
1613 When clearing the bitmasks, only loop from FIRSTFD to LASTFD.
1615 Mon Mar 4 17:35:09 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
1617 * hurd/catch-signal.c (hurd_safe_memmove): New function.
1618 (hurd_safe_copyin, hurd_safe_copyout): New functions.
1619 * hurd/hurd/sigpreempt.h: Declare them.
1621 Sun Mar 3 08:43:44 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
1623 Replace math code with fdlibm from Sun as modified for netbsd by
1624 JT Conklin and Ian Taylor, including x86 FPU support.
1625 * sysdeps/libm-ieee754, sysdeps/libm-i387: New directories.
1626 * math/math_private.h: New file.
1627 * sysdeps/i386/fpu/Implies: New file.
1628 * sysdeps/ieee754/Implies: New file.
1629 * math/machine/asm.h, math/machine/endian.h: New files.
1630 * math/Makefile, math/math.h: Rewritten.
1631 * mathcalls.h, math/mathcalls.h: New file, broken out of math.h.
1632 * math/finite.c: File removed.
1633 * sysdeps/generic/Makefile [$(subdir)=math]: Frobnication removed.
1635 * math/test-math.c: Include errno.h and string.h.
1637 * sysdeps/unix/bsd/dirstream.h: File removed.
1638 * sysdeps/unix/bsd/readdir.c: File removed.
1640 Sat Mar 2 16:35:40 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
1642 * sysdeps/unix/sysv/linux/m68k/profil-counter.h: File removed.
1643 * sysdeps/unix/sysv/sysv4/solaris2/sparc/profil-counter.h: File
1645 * sysdeps/generic/profil-counter.h: New file.
1647 Fri Mar 1 17:11:59 1996 Brendan Kehoe <brendan@zen.org>
1649 * sysdeps/unix/sysv/sysv4/solaris2/sparc/sigcontext.h: New file,
1650 including <sysdeps/unix/bsd/sun/sparc/sigcontext.h>.
1651 * sysdeps/unix/sysv/sysv4/solaris2/sparc/profil-counter.h: New file,
1652 same as linux/m68k/profil-counter.h except the comment.
1654 Fri Mar 1 10:09:46 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
1656 * stdlib/Makefile (mpn-stuff): New target.
1659 * Code copied from GMP updated to 1.937 version.
1660 * stdlib/strtod.c (HAVE_ALLOCA): Define this for gmp headers.
1662 * posix/glob.c: Use canonical code from autoconf manual for dirent
1664 [_D_NAMLEN]: Redefine NAMLEN using this.
1665 (glob_in_dir): Use NAMLEN macro.
1667 * sysdeps/posix/profil.c: New file.
1669 Thu Feb 29 20:55:57 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1671 * sysdeps/unix/sysv/linux/m68k/profil-counter.h: New file.
1673 Tue Feb 27 12:14:59 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
1675 * libc-symbols.h [GCC >= 2.8] (strong_alias, weak_alias): Remove
1678 * time/strftime.c: Support - and _ flags to affect number padding.
1680 * sysdeps/unix/common/tcsendbrk.c: New file.
1682 Mon Feb 26 10:22:30 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
1684 * sysdeps/unix/dirstream.h: Rewritten.
1685 * sysdeps/unix/readdir.c: Rewritten.
1686 * sysdeps/unix/telldir.c: Rewritten.
1687 * sysdeps/unix/closedir.c: Use <...> instead of "..." for dirstream.h.
1688 Remove __ from DIR struct member names.
1689 * sysdeps/unix/dirfd.c: Likewise.
1690 * sysdeps/unix/seekdir.c: Likewise.
1691 * sysdeps/unix/rewinddir.c: Likewise.
1692 * sysdeps/unix/opendir.c: Likewise. Don't allocate extra space after
1694 * sysdeps/stub/direct.h: File removed.
1695 * sysdeps/unix/bsd/bsd4.4/direct.h: File removed.
1696 * sysdeps/unix/bsd/direct.h: File removed.
1697 * sysdeps/unix/common/direct.h: File removed.
1698 * sysdeps/unix/sysv/irix4/direct.h: File removed.
1699 * sysdeps/unix/sysv/isc3/direct.h: File removed.
1700 * sysdeps/unix/sysv/sco3.2.4/direct.h: File removed.
1701 * sysdeps/unix/sysv/sysv4/solaris2/direct.h: File removed.
1702 * sysdeps/unix/common/direntry.h: New file.
1703 * sysdeps/unix/bsd/direntry.h: New file.
1704 * sysdeps/unix/bsd/bsd4.4/direntry.h: New file.
1705 * sysdeps/unix/sysv/direntry.h: New file.
1706 * sysdeps/stub/direntry.h: New file.
1707 * dirent/dirent.h (struct dirent): Type removed. Include <direntry.h>
1709 (_D_EXACT_NAMLEN, _D_ALLOC_NAMLEN): New macros.
1710 * dirent/Makefile (headers): Add direntry.h.
1711 (distribute): Remove direct.h.
1712 * sysdeps/posix/getcwd.c: Use new macros instead of d_namlen.
1713 * dirent/scandir.c: Likewise.
1714 * io/fts.c (fts_build): Likewise.
1715 * io/ftw.c (ftw_dir): Likewise.
1716 * sysdeps/posix/ttyname.c: Likewise.
1718 * sysdeps/unix/sysv/sysv4/solaris2/syscalls.list: New file.
1720 * sysdeps/mach/hurd/profil.c (MAX_PC_SAMPLES): New macro.
1721 (collector_timeout): New static variable.
1722 (update_waiter): Actually call __task_enable_pc_sampling.
1723 Set collector_timeout based on the `tick' count returned.
1724 (profile_waiter): Use MAX_PC_SAMPLES. Set nsamples before RPC.
1725 Use collector_timeout in __mach_msg call.
1727 * gmon/Makefile (noprof): New variable containing mcount.
1728 Append profil unless it is in $(unix-syscalls).
1729 (mcount.po): Use $(noprof) for list of targets in this rule.
1731 * libc-symbols.h: Define _LIBC before #include <config.h>.
1733 Sun Feb 25 12:29:23 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
1735 * config.h.in [_LIBC] (HAVE_STRERROR): Define it.
1736 Protect 2nd page of #undef's for generator programs with #ifndef _LIBC.
1738 * time/zic.c, time/zdump.c, time/private.h: Updated from ADO 96e.
1740 Fri Feb 9 12:40:19 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
1742 * libio/cleanup.c (_IO_cleanup_registration_needed)
1743 [!_G_HAVE_ATEXIT]: Init to NULL.
1744 * libio/filedoalloc.c (_IO_cleanup_registration_needed): Remove decl.
1746 Thu Feb 8 08:12:50 1996 Brendan Kehoe <brendan@cygnus.com>
1748 * libio/filedoalloc.c (_IO_cleanup_registration_needed): Revert
1749 previous change, since cleanup.c only defines it if _G_HAVE_ATEXIT.
1751 Wed Feb 7 15:10:17 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
1753 * libio/filedoalloc.c (_IO_cleanup_registration_needed): Declare as
1756 Sat Feb 24 11:34:13 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
1758 * sysdeps/i386/memcmp.S: Fix argument %esp offsets.
1760 * time/sys/time.h (timeradd, timersub): New macros; BSD has these.
1762 Wed Feb 21 02:25:07 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
1764 * Rules (others): Depend on $(extra-objs), $(install-lib),
1765 $(install-bin), $(install-sbin), in object directory.
1767 * Makeconfig (link-libc): Don't pass -rpath option with default
1768 path, since ld.so should use the same default.
1769 * Makerules (build-shlib): Likewise.
1771 * Makerules (make-target-directory): Use mkinstalldirs.
1773 * sysdeps/mach/i386/sysdep.h: Include unix/i386/sysdep.h to
1774 redefine ENTRY et al.
1776 * sysdeps/unix/sysv/linux/i386/sysdep.h (NO_UNDERSCORES, ENTRY):
1777 Macros removed. The code in unix/i386/sysdep.h should now suffice.
1779 * sysdeps/unix/i386/sysdep.h (ALIGNARG): New macro, defns for
1781 (ENTRY): Use it in .align directive.
1782 (CALL_MCOUNT): New macro, empty unless [PROF].
1783 (ENTRY): Do CALL_MCOUNT just after the label.
1785 * Makeconfig (CPPFLAGS-.po): New variable, use -DPROF so assembly
1786 code can call mcount.
1788 Tue Feb 20 23:05:16 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
1790 * time/private.h, time/zdump.c, time/zic.c: Updated verbatim from ADO;
1791 translation markings are now integrated in his distribution.
1793 * stdlib/strtod.c (round_and_return): Add missing (mp_limb) 1 cast.
1795 Mon Feb 19 18:31:59 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
1797 * po: New directory where `LANG.po' files for message translations
1799 * po/SYS_libc.pot: New file, template of message strings as in source.
1800 * MakeTAGS: New rules to build po/SYS_libc.pot automatically from
1801 the source using xgettext.
1802 * Makerules ($(..)po/%.pot): New rule.
1803 * manual/Makefile (../po/manual.pot): New target, make it empty.
1805 * sysdeps/unix/bsd/alarm.c: Moved to sysdeps/unix/alarm.c.
1806 * sysdeps/unix/bsd/nice.c: Moved to sysdeps/unix/nice.c.
1807 * sysdeps/unix/bsd/stime.c: Moved to sysdeps/unix/stime.c.
1808 * sysdeps/unix/bsd/time.c: Moved to sysdeps/unix/time.c.
1809 * sysdeps/unix/bsd/utime.c: Moved to sysdeps/unix/utime.c.
1811 * time/zic.c, time/scheck.c, time/private.h, time/tzfile.h:
1812 Updated from ADO 96d.
1814 Sun Feb 18 14:08:04 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1816 * csu/initfini.c (_init): Remove bogus volatile declarations and
1817 extra variable, take the address of __gmon_start__ only implicitly
1818 to avoid the test being optimized out.
1820 Sun Feb 18 15:08:10 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1822 * sysdeps/posix/utimes.c (__utimes): There are 1000000 usecs in a
1825 Sun Feb 18 13:56:00 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1827 * elf/Makefile, time/Makefile: Make `all' the default target.
1829 Mon Feb 19 18:09:04 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
1831 * misc/sys/ptrace.h: Moved to ...
1832 * sysdeps/generic/sys/ptrace.h: ... here.
1833 * sys/ptrace.h: File removed.
1835 Sun Feb 18 12:13:07 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1837 * sysdeps/unix/sysv/linux/Makefile (headers): Add fpu_control.h.
1839 * sysdeps/unix/sysv/linux/i386/sysdep.S (errno): Put it into .bss
1840 so that the symbol alias works.
1842 * sysdeps/unix/sysv/linux/m68k/fpu_control.h (_FPU_SETCW): Corrected.
1844 * sysdeps/unix/sysv/linux/resourcebits.h: New file.
1846 * sysdeps/unix/sysv/linux/sys/ptrace.h: New file.
1848 * sysdeps/unix/sysv/linux/syscalls.list: Add getegid, geteuid,
1851 * sysdeps/unix/sysv/linux/sysconf.c: Special version that does not
1854 Sat Feb 17 10:30:21 1996 David Mosberger-Tang <davidm@AZStarNet.com>
1856 * stdio-common/printf_fp.c, stdlib/strtod.c, sysdeps/ieee754/dbl2mpn.c,
1857 sysdeps/ieee754/ldbl2mpn.c, sysdeps/ieee754/mpn2dbl.c,
1858 sysdeps/ieee754/mpn2ldbl.c: Cast left operands of shift instructions
1859 to `long' where necessary.
1861 Thu Feb 15 20:04:50 1996 Ulrich Drepper <drepper@gnu.ai.mit.edu>
1863 * stdlib/fpioconst.h: Introduce new constant _FPIO_CONST_OFFSET.
1864 * stdio-common/printf_fp.c, stdlib/strtod.c: Use _FPIO_CONST_OFFSET
1865 to correctly access MPN array depending on architecture.
1867 Mon Feb 19 15:30:26 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
1869 * stdio-common/tstscanf.c (main): Add check for "0" as %d.
1871 * sysdeps/stub/msync.c: Undo change of Jan 29; just two args.
1872 Only some systems have three args; let them define their own stub.
1874 * sysdeps/generic/dl-sysdep.c: Declare _dl_secure.
1876 * sysdeps/generic/machine-gmon.h: New file.
1877 * gmon/Makefile (distribute): Add machine-gmon.h.
1878 * gmon/mcount.c: Undo changes of Feb 13.
1879 Include "machine-gmon.h".
1881 Sun Feb 18 13:24:06 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
1883 * sysdeps/unix/sysv/linux/direct.h: File removed, since it is
1884 identical to unix/common/direct.h.
1886 * sysdeps/unix/Makefile [no_deps]: Don't include s-proto.d.
1888 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Don't add ipc.
1890 * stdio-common/Makefile (tests): Remove scanf6.
1892 * sysdeps/unix/sysv/linux/Makefile (non-lib.a): Append libieee.a.
1894 * time/mktime.c (mktime): Move static variable localtime_offset to
1897 * stdio-common/vfscanf.c: Put '0' in buffer before scanning for %i
1900 Thu Feb 15 16:56:17 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1902 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Corrected.
1903 (ELF_MACHINE_BEFORE_RTLD_RELOC): Define.
1904 (_dl_runtime_resolve): Save %a1 as well.
1905 (ELF_MACHINE_RUNTIME_FIXUP_ARGS): Add second dummy arg.
1906 (elf_machine_relplt): Define.
1908 * elf/dl-runtime.c: Include possible extra args in declaration of
1911 Fri Feb 16 11:01:59 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
1913 * time/tzset.c: Limit hours to 23, not 12. From jaffer.
1915 Fri Feb 16 10:14:05 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
1917 * Makeconfig (CFLAGS-.po): Use -pg instead of -p.
1919 Thu Feb 15 13:57:08 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
1921 * mach/Machrules: Use -include for $(*.ir).
1923 * hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS): Mask off type bits in
1925 * sysdeps/mach/hurd/ioctls.h (_IOC_NOTYPE): New macro.
1926 (_IOT_COUNT2): Field is 3 bits, not 2.
1927 * sysdeps/mach/hurd/ioctl.c: Ignore handler if it fails with ENOTTY.
1928 * hurd/hurdioctl.c (_hurd_lookup_ioctl_handler): Mask off type
1929 bits before looking up handler.
1930 (fioctl): Use __hurd_dfail.
1931 (fioctl, fioclex): Use ENOTTY for bogus request instead of EGRATUITOUS.
1933 Thu Feb 15 11:49:45 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
1935 * sysdeps/unix/sysv/sysv4/Makefile [$(subdir)-signal]
1936 (sysdep_routines): Don't add sys-sig.
1938 * sysdeps/unix/sysv/sysv4/solaris2/syscalls.list: New file.
1940 Wed Feb 14 00:21:17 1996 David Mosberger-Tang <davidm@azstarnet.com>
1942 * sysdeps/alpha/memchr.c (memchr): loop searching for matching
1943 character bailed out one too early; changed constant 6 to
1946 Wed Feb 14 01:08:58 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
1948 * posix/execvp.c: When executing shell on script, first arg is
1949 full file name, not argv[0].
1951 * mach/Makefile [no_deps]: Inhibit inclusion of mach-syscalls.mk.
1952 * mach/Machrules [no_deps]: Inhibit interface rules.
1954 * malloc/Makefile (distribute): Removed TODO.
1956 Tue Feb 13 05:12:02 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
1958 * sysdeps/unix/sysv/linux/syscalls.list (ipc): Specify msgget in
1961 * sysdeps/unix/common/syscalls.list: Add sigaction syscall.
1963 * sysdeps/unix/sysv/linux/gnu/types.h: Moved from linux/i386.
1965 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=math]
1966 (sysdep_routines): Append setfpucw.
1967 (extra-objs): Append ieee-fpucw.o.
1968 (install-lib): Append libieee.a.
1969 (libieee.a): New target.
1970 * sysdeps/unix/sysv/linux/ieee-fpucw.c: New file.
1971 * sysdeps/unix/sysv/linux/i386/fpu_control.h
1972 (_FPU_GETCW, _FPU_SETCW): New macros.
1973 (fpu_control_t): New typedef.
1974 (__setfpucw): Use fpu_control_t for argument type.
1975 * sysdeps/unix/sysv/linux/fpu_control.c: Moved from linux/i386.
1977 * sysdeps/unix/sysv/linux/init-first.c: Moved from linux/i386.
1979 * sysdeps/unix/sysv/linux/syscalls.list: Add ipc syscall.
1980 * sysdeps/unix/sysv/linux/i386/syscalls.list: File removed.
1982 Sat Feb 10 13:09:03 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1984 * sysdeps/unix/sysv/linux/m68k/brk.c,
1985 sysdeps/unix/sysv/linux/m68k/mmap.S,
1986 sysdeps/unix/sysv/linux/m68k/select.S,
1987 sysdeps/unix/sysv/linux/m68k/sigcontext.h,
1988 sysdeps/unix/sysv/linux/m68k/sigreturn.S,
1989 sysdeps/unix/sysv/linux/m68k/socket.S,
1990 sysdeps/unix/sysv/linux/m68k/syscall.S,
1991 sysdeps/unix/sysv/linux/m68k/sysdep.S,
1992 sysdeps/unix/sysv/linux/m68k/sysdep.h: New files.
1994 * sysdeps/unix/sysv/linux/m68k/fpu_control.h: New file.
1996 * sysdeps/m68k/fpu/isinfl.c, sysdeps/m68k/fpu/isnanl.c,
1997 sysdeps/m68k/isinfl.c, sysdeps/m68k/isnanl.c: New files.
1999 * sysdeps/unix/sysv/linux/sys/mman.h: Define MAP_ANON and
2000 MAP_FILE if not already defined.
2002 * elf/elf.h: Add m68k reloc definitions.
2003 * sysdeps/m68k/dl-machine.h, sysdeps/m68k/elf/start.S: New files.
2005 Tue Feb 13 00:12:12 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
2007 * elf/dl-runtime.c (fixup) [ELF_MACHINE_RUNTIME_FIXUP_ARGS]: Let
2008 this macro declare extra leading args.
2010 * Makerules [$(elf)=yes] (ar-symtab-name): Define to empty.
2012 * sysdeps/i386/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE,
2013 elf_machine_relplt): New macros.
2014 * elf/dl-runtime.c: New file.
2015 * sysdeps/i386/dl-runtime.c, sysdeps/stub/dl-runtime.c: Files removed.
2017 * gmon/Makefile (headers): Remove machine-gmon.h.
2018 * sysdeps/stub/machine-gmon.h, sysdeps/i386/machine-gmon.h: Removed.
2019 * gmon/mcount.c [! NO_UNDERSCORES] (_mcount): Specify "mcount" as
2021 (_mcount): Define normally, taking no args.
2022 Use __builtin_return_address to fetch PC values of caller and caller's
2025 * Makerules: Rewrote rules to update libc archives of all flavors.
2026 Define separate specific rules for each flavor using o-iterator.
2028 * sysdeps/unix/Makefile: Include s-proto.d only ifdef subdir.
2030 Sat Feb 10 11:35:16 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2032 * Makerules (ar-symtab-name): New macro. Replace all occurences
2033 of __.SYMDEF by $(ar-symtab-name).
2034 * sysdeps/unix/sysv/Makefile (ar-symtab-name): Define as empty.
2036 Mon Feb 12 03:10:41 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
2038 * Makefile (configure, %/configure): Depend on aclocal.m4.
2039 * Make-dist (configure, %/configure): Likewise.
2041 * sysdeps/unix/Makefile: Include s-proto.d for its deps.
2043 * gmon/sys/gmon.h: Don't include machine-gmon.h; those defns are
2044 only needed in the implementation, not for any users.
2046 * time/northamerica: Updated from ADO 96c, new rules for Mexico in
2049 * sunrpc/pm_getport.c: #if 0 out gratuitous inclusion of <net/if.h>.
2050 * sunrpc/pm_getmaps.c: Likewise.
2052 * sysdeps/unix/sysv/syscalls.list: Add setrlimit and settimeofday,
2053 so real syscalls override unix/sysv/*.c on sysv-derived systems
2055 * sysdeps/unix/common/syscalls.list: Add settimeofday here, to
2056 override unix/sysv/settimeofday.c since that overrides
2059 * Makeconfig (+link): Put $(link-libc) after deps from $^,
2060 regardless of where libc.a appears in the deps.
2062 * sysdeps/unix/sysv/sysv4/syscalls.list: Remove redundancies.
2064 * sysdeps/unix/sysv/linux/syscalls.list: Remove redundancies.
2065 Define __ name for sigprocmask.
2066 * sysdeps/unix/bsd/ultrix4/syscalls.list: Remove redundancies.
2068 * sysdeps/unix/bsd/sun/sunos4/syscalls.list: Remove redundancies.
2069 * sysdeps/unix/bsd/sun/syscalls.list: Remove redundancies.
2070 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove redundancies.
2071 * sysdeps/unix/bsd/syscalls.list: Remove settimeofday, utimes.
2072 Add getdents, wait3, waitpid.
2073 * sysdeps/unix/syscalls.list: Add seteuid, setegid, setsid,
2074 settimeofday, sigsuspend, sstk, utimes.
2075 * sysdeps/unix/bsd/ultrix4/mips/sigvec.S: File removed.
2076 * sysdeps/unix/bsd/ultrix4/mips/syscalls.list: New file.
2077 * sysdeps/unix/bsd/ultrix4/mips/Makefile (sysdep_routines):
2079 * sysdeps/unix/bsd/ultrix4/mips/sigvec.c: Renamed from sigtramp.c.
2080 * sysdeps/unix/bsd/bsd4.4/sstk.S: File removed.
2081 * sysdeps/unix/bsd/hp/m68k/syscalls.list: File removed.
2082 * sysdeps/unix/bsd/osf/alpha/getdents.S: File removed.
2083 * sysdeps/unix/bsd/ultrix4/getsysinfo.S: File removed.
2084 * sysdeps/unix/bsd/ultrix4/waitpid.S: File removed.
2085 * sysdeps/unix/bsd/ultrix4/mips/sigtramp.c: File removed.
2086 * sysdeps/unix/bsd/ultrix4/mips/sigvec.S: File removed.
2087 * sysdeps/unix/bsd/ultrix4/mips/sigvec.c: New file.
2088 * sysdeps/unix/bsd/ultrix4/mips/syscalls.list: New file.
2089 * sysdeps/unix/sysv/irix4/wait3.S: File removed.
2090 * sysdeps/unix/sysv/sysv4/__waitid.S: File removed.
2091 * sysdeps/unix/sysv/sysv4/fchdir.S: File removed.
2092 * sysdeps/unix/sysv/sysv4/setegid.S: File removed.
2093 * sysdeps/unix/sysv/sysv4/seteuid.S: File removed.
2094 * sysdeps/unix/sysv/sysv4/sigaltstack.S: File removed.
2095 * sysdeps/unix/sysv/sysv4/solaris2/utimes.S: File removed.
2097 * hurd/hurdfault.c (_hurdsig_fault_init): Set qlimit on
2098 FORWARD_SIGEXC to one. Uncomment setting of thread exc port, and
2099 move it to last thing.
2101 Sat Feb 10 05:57:08 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
2103 * sysdeps/generic/make_siglist.c: #undef _SIGNAL_H before defining it.
2105 * sysdeps/unix/sysv/linux/syscalls.list: Add sigprocmask, sigsuspend.
2107 Sat Feb 10 04:18:48 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2109 * posix/execvp.c: If execv fails with ENOEXEC, run the shell on
2112 Fri Feb 9 11:46:45 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2114 * time/Makefile (CFLAGS-zdump.c, CFLAGS-zic.c, CFLAGS-ialloc.c,
2115 CFLAGS-scheck.c): Use -DNOID instead of -Wno-unused.
2117 * hurd/Makefile (user-interfaces): Added hurd/tioctl.
2119 Thu Feb 8 18:55:27 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2121 * hurd/hurdioctl.c (tiocsctty): Set the terminal's pgrp to our own.
2123 Wed Feb 7 18:48:30 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2125 * Makefile (subdirs): Added wcsmbs.
2126 * wcsmbs: New directory of wide char/multibyte char functions from
2129 * hurd/hurdmsg.c (_S_msg_report_wait): Function removed.
2130 * hurd/report-wait.c: New file.
2131 * hurd/Makefile (routines): Added report-wait.
2133 * sysdeps/mach/hurd/Makefile (inhibit-unix-syscalls): New variable.
2135 * sysdeps/mach/hurd/i386/intr-msg.h (struct mach_msg_trap_args):
2137 (SYSCALL_EXAMINE, MSG_EXAMINE): New inline functions.
2138 * sysdeps/mach/hurd/i386/trampoline.c (struct mach_msg_trap_args):
2139 Structure moved to intr-msg.h; include that.
2141 * time/Makefile (CFLAGS-ialloc.c): Add -Wno-unused.
2142 (CFLAGS-scheck.c): New variable.
2144 * sysdeps/mach/hurd/dl-sysdep.c (__hurd_sigthread_stack_base,
2145 __hurd_sigthread_stack_end, __hurd_sigthread_variables,
2146 __hurd_threadvar_stack_mask): New variables.
2148 * sysdeps/mach/hurd/fork.c: Set the new task's exception port to
2149 its new message port.
2151 * misc/init-misc.c: Put __init_misc in the __libc_subinit set.
2153 * configure.in (uname): Add quoting.
2155 * sysdeps/mach/hurd/fchdir.c: Don't consult errno unless lookup fails.
2156 * hurd/fchroot.c: Likewise.
2158 * posix/sys/types.h [GCC >= 2.7]: Define intN_t/u_intN_t using
2159 __attribute__ ((__mode__ (__XX__))).
2161 Wed Feb 7 03:24:05 1996 Torbjorn Granlund <tege@tmg.se>
2163 * sysdeps/i386/i586/memcopy.h (WORD_COPY_FWD): Manually allocate
2164 destination cache lines.
2165 (WORD_COPY_BWD): Likewise.
2167 Wed Feb 7 14:16:36 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2169 * sysdeps/generic/Makefile (make_siglist): Get signum.h absolute
2170 file name first thing, before $(native-compile) changes directories.
2172 From Gord Matzigkeit <gord@enci.ucalgary.ca>:
2173 * sysdeps/unix/make_errlist.c: Use strerror if available.
2174 * sysdeps/unix/configure.in: New file
2176 * sysdeps/unix/bsd/sun/syscalls.list: Added sigvec.
2177 * sysdeps/unix/bsd/sun/sigvec.S: File removed.
2179 * sysdeps/stub/sendto.c: Make sockaddr arg pointer to const.
2180 * sysdeps/stub/connect.c: Likewise.
2181 * sysdeps/stub/bind.c: Likewise.
2183 * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): RETRYNAME of
2184 "" is only special for FS_RETRY_NORMAL; for FS_RETRY_REAUTH, do
2185 another dir_lookup of "".
2187 Tue Feb 6 12:46:29 1996 David Mosberger-Tang <davidm@azstarnet.com>
2189 * libc-symbols.h (weak_alias, weak_symbol): added definitions
2190 for ECOFF (HAVE_ECOFF).
2192 Fri Feb 2 13:09:18 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2194 * sysdeps/mach/hurd/fork.c: Clear trace flag in child.
2196 Wed Jan 31 20:08:26 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2198 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Clear SS->intr_port
2199 when cancelled before RPC.
2201 Tue Jan 30 13:32:05 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2203 * dirent/scandir.c: Allocate dirents with correct size for name, and
2204 copy with correct size.
2206 * hurd/hurdinit.c [! PIC] (map0): New function, on _hurd_preinit_hook.
2208 * stdio-common/vfscanf.c (TYPEMOD): New macro of all type modifier
2210 (__vfscanf): Fix checking of extra type modifiers.
2212 * time/asia, time/australasia, time/backward: Updated from ADO 96b.
2214 Tue Jan 30 12:17:26 1996 Ulrich Drepper <drepper@ipd.info.uni-karlsruhe.de>
2216 * stdlib/strtod.c: Only negate exponent when there really is one.
2218 * stdio-common/vfscanf.c: Accept type modifiers on %n.
2219 Fix FP number parsing.
2221 Mon Jan 29 21:53:40 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2223 * sysdeps/stub/msync.c (msync): Declare third arg FLAGS.
2225 * resolv/Makefile (+cflags): Append to this instead of CFLAGS.
2227 Mon Jan 29 16:29:16 1996 Miles Bader <miles@gnu.ai.mit.edu>
2229 * sysdeps/mach/hurd/select.c (__select): Recalculate GOT to
2230 include an increment for each operation allowed on each fd.
2232 Mon Jan 29 11:44:38 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2234 * sysdeps/unix/sysv/linux/configure: Set $inhibit_glue.
2236 * Makefile: Use -include for sysd-dirs.
2238 * configure.in (uname): Check for uname in syscalls.list files.
2239 * sysdeps/unix/sysv/syscalls.list: Remove uname.
2240 * sysdeps/unix/syscalls.list: Add uname.
2242 * stdlib/strtol.c (weak1): New macro, to get the right name declared
2245 * sysdeps/posix/getcwd.c (size_t): Don't define #ifdef __GNU_LIBRARY__.
2247 * db/hash/ndbm.c: Change all uses of `errno' struct member to `errnum'.
2248 (dbm_open): Use dynamic allocation for file name buffer, instead of
2249 limitting its size to MAXPATHLEN.
2251 * db/btree/bt_open.c (tmp): Use dynamic allocation for file name
2252 buffer, instead of limitting its size to MAXPATHLEN.
2254 * db/hash/hash.h (HTAB): Rename member `errno' to `errnum'.
2255 * db/hash/hash.c: Change all uses of `errno' struct member to `errnum'.
2257 Sun Jan 28 19:42:04 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2259 * time/Makefile: Fix check for cross compiling.
2261 Thu Jan 25 21:10:39 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2263 * db/Makefile (subdir-dirs): Renamed from dbdirs.
2265 * Makerules (distinfo-vars): Add subdir-dirs.
2267 * MakeTAGS: Remove vpath directives.
2268 (all-dirs): Prepend $(subdir-dirs).
2269 (all-sources, all-headers): Use wildcard to find sources.
2271 Mon Jan 29 10:44:38 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2273 * malloc/Makefile (CFLAGS-vm-limit.c, CFLAGS-ralloc.c): New
2276 * mach/msgserver.c: Declare DEMUX arg with prototype.
2278 Sun Jan 28 17:25:38 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2280 * setjmp/setjmp.h (jmp_buf): Give a tag in the struct defn, to
2282 * alpha/jmp_buf.h: Likewise.
2283 * m68k/jmp_buf.h: Likewise.
2284 * mips/jmp_buf.h: Likewise.
2285 * sparc/jmp_buf.h: Likewise.
2286 * vax/jmp_buf.h: Likewise.
2288 * sysdeps/generic/memmem.c: Fix return value in case where
2291 * hurd/hurdlookup.c (__file_name_lookup_under,
2292 __file_name_lookup): Restrict mode with umask.
2293 * sysdeps/mach/hurd/xmknod.c: Restrict mode with umask.
2294 * sysdeps/mach/hurd/mkdir.c: Restrict mode with umask.
2296 Fri Jan 26 12:20:45 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2298 * stdlib/strtol.c: Undo last change. ANSI C changed since the
2299 draft I checked yesterday. Sigh.
2301 Thu Jan 25 18:58:25 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2303 * stdlib/strtol.c [UNSIGNED]: Don't recognize + or - as sign.
2305 Wed Jan 24 03:22:07 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2307 * malloc/mcheck.c (mabort): Declare prototype.
2309 * sysdeps/unix/sysv/linux/fcntlbits.h: Moved from linux/i386.
2311 * Makerules: Use -include for generated makefiles.
2313 * errno.h: Don't declare errno if it's defined as a macro.
2315 * stdio-common/vfscanf.c: Disallow l flag after ll or L.
2317 * stdio-common/Makefile (tests): Add scanf[1-9].
2318 * stdio-common/scanf[1-9].c: New files. Bug tests from hjl.
2320 Wed Jan 24 04:18:36 1996 Paul Eggert <eggert@twinsun.com>
2322 * strftime.c (strftime):
2323 When invoking self, check whether the subsidiary invocation failed.
2324 Use "???" (not "") to denote unknown time zone information.
2326 Make this source file portable to standalone contexts (e.g. GNU Emacs).
2327 <config.h>: Include if HAVE_CONFIG_H is defined.
2328 (HAVE_LIMITS_H, HAVE_MBLEN, HAVE_TM_ZONE, STDC_HEADERS): New symbols,
2329 defined if _LIBC or if <config.h> defines them.
2330 <ansidecl.h>, "../locale/localeinfo.h": Include only if _LIBC.
2331 <sys/types.h>: New include; some hosts require it for `time_t'.
2332 <ctype.h>: Include only if HAVE_MBLEN (since it's only needed then).
2333 <limits.h>: Include only if HAVE_LIMITS_H.
2334 <stddef.h, stdlib.h, string.h>: Include only if STDC_HEADERS.
2335 (memcpy): Define in terms of bcopy if !STDC_HEADERS.
2336 (__P, PTR): Define if not already defined.
2337 (__tzname, __daylight, __timezone): Remove macros; no longer needed.
2338 (add, strftime): Don't use NULL, for portability to some weird hosts.
2339 (fmt): If !_LIBC, don't assume sprintf returns a count.
2340 (week, strftime): Use old-style function declarations.
2341 (weekday_name, month_name): New constants.
2342 (strftime): Use traditional C values if locale support isn't available.
2343 Use `const' instead of CONST. For time zones, use tm_zone if
2344 possible, then fall back on tzname. Don't check for multibyte
2345 characters unless mblen is supported. Use formats like %02d instead
2346 of %.2d, for portability to older hosts.
2348 Wed Jan 24 00:07:52 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2350 * stdio-common/vfscanf.c (GROUP, MALLOC): New flag macros.
2351 (__vfscanf): Eliminate flag vars that were redundant with FLAGS bits.
2352 Fix bug in recognition of %ll flag for long long.
2353 Fix overeager checks for conflicting type modifiers.
2354 With ' flag, match thousands separators for decimal numbers.
2356 Tue Jan 23 22:02:40 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2358 * locale/Makefile (CFLAGS-locfile-lex.c): New variable.
2360 * resolv/Makefile (CFLAGS): Disable some warnings.
2362 * sysdeps/generic/Makefile (elided-routines): Removed hypot.
2363 (+gccwarn): Set with override.
2365 * stdio-common/Makefile (CFLAGS-tst-printf.c): New variable.
2367 * posix/Makefile (CFLAGS-regex.c): New variable.
2369 * malloc/Makefile (CFLAGS-obstack.c): New variable.
2371 * io/Makefile (CFLAGS-fts.c): New variable.
2372 * io/fts.c (fts_open): Use prototypes for COMPAR decl.
2374 Tue Jan 23 21:35:32 1996 Miles Bader <miles@gnu.ai.mit.edu>
2376 * sysdeps/mach/hurd/bind.c (bind): Ensure NAME for the AF_LOCAL
2377 case is '\0'-terminated.
2379 Tue Jan 23 19:49:54 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2381 * elf/rtld.c (dl_main): Support additional args in --list mode for
2382 debugging: look them up as symbol names and print values.
2384 * misc/getttyent.c (skip, value): Declare with prototypes in file
2387 * csu/initfini.c (_init): Explicitly set a variable that is
2388 pointer to volatile with the address of __gmon_start__, to avoid
2389 the test being optimized out.
2391 Mon Jan 22 10:40:40 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2393 * sysdeps/posix/getcwd.c [__GNU_LIBRARY__]: Include unistd.h.
2395 * io/fts.h (FTSENT): Define fts_compar member with prototype.
2397 * hurd/hurd.h: Use prototype in getcttyid decl.
2399 * stdlib/l64a.c: Fix typo in last change.
2401 * stdlib/drand48-iter.c: Test limits.h macros instead of sizeof
2402 for determining size of types.
2403 * stdlib/srand48_r.c: Likewise.
2405 * misc/utmp.h: Declare login, logout, logwtmp.
2406 * misc/logout.c: Declare argument as pointer to const.
2407 * misc/login.c: Likewise.
2408 * misc/logwtmp.c: Likewise.
2409 Include time.h, string.h.
2411 * misc/efgcvt_r.c: Include stdlib.h.
2413 * io/mknod.c: Include sys/types.h.
2415 * gmon/sys/gmon.h: Declare monstartup, _mcleanup.
2417 * csu/gmon-start.c (_start, etext): Declare with prototypes.
2419 * stdio-common/vfscanf.c (%[): Fix range handling.
2421 Sun Jan 21 00:55:25 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2423 * misc/Makefile (headers): Rename queue.h to sys/queue.h.
2424 * misc/queue.h: Moved to misc/sys/queue.h.
2426 * sysdeps/unix/sysv/linux/shmat.c: Include sys/shm.h instead of
2429 * stdlib/stdlib.h [__USE_SVID]: Declare a64l, l64a.
2431 * stdlib/l64a.c: Use 6-bit numbers as indices in CONV_TABLE, not
2432 literal byte values.
2434 * misc/bsd-compat.c (getpgrp): Define with prototype.
2436 * misc/init-misc.c (__progname_full): New variable.
2437 (program_invocation_name, program_invocation_short_name): New aliases.
2438 (__init_misc): Define with prototype. Set __progname_full.
2439 * misc/progname.c: File removed.
2440 * misc/Makefile (aux): Remove progname.
2442 * misc/hsearch_r.c (isprime): Define with prototype.
2444 * sysdeps/unix/sysv/linux/seteuid.c: Just include unix/bsd version.
2445 * sysdeps/unix/bsd/seteuid.c: Disallow arg of -1.
2446 * sysdeps/unix/bsd/setegid.c: Likewise.
2448 Fri Jan 19 13:28:59 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2450 * sysdeps/unix/sysv/linux/tcdrain.c: Define tcdrain, not
2453 * posix/glob.c (glob): Use prototype in getlogin decl.
2455 * db/ndbm.h: Declare dbm_error, dbm_clearerr.
2456 * db/db/db.c (__dberr): Define with prototype.
2457 (__dbpanic): Use prototypes in casts.
2458 * db/hash/hash_log2.c: Add prototype decl.
2460 * sysdeps/generic/_strerror.c (_strerror_internal): Define with
2463 * sysdeps/unix/mkdir.c, syspdep/unix/rmdir.c: Moved from unix/sysv.
2464 They will be overridden with syscalls if extant by unix/syscalls.list.
2466 * Makeconfig (+gccwarn): Add -Wstrict-prototypes.
2468 * stdio-common/printf_fp.c (__printf_fp): Define with prototype.
2469 * stdio-common/vfprintf.c (_IO_helper_overflow): Likewise.
2471 Thu Jan 18 00:32:43 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2473 * io/Makefile (routines): Add mknod, xstat fxstat lxstat xmknod.
2475 * sysdeps/unix/sysv/linux/ptrace.c: Use ... decl, and stdarg.h to
2478 * posix/glob.c (_GNU_SOURCE): Define if undefined, so glob.h
2479 defines GNU extensions.
2480 * posix/fnmatch.c: Likewise.
2482 Replaced all simple system call files *.S throughout sysdeps/unix
2483 with syscalls.list files to be processed by make-syscalls.sh.
2484 * sysdeps/unix/s-proto.S: New file.
2485 * sysdeps/unix/syscalls.list: New file.
2486 * sysdeps/unix/bsd/syscalls.list: New file.
2487 * sysdeps/unix/bsd/bsd4.4/syscalls.list: New file.
2488 * sysdeps/unix/bsd/hp/m68k/syscalls.list: New file.
2489 * sysdeps/unix/bsd/osf/syscalls.list: New file.
2490 * sysdeps/unix/bsd/osf/alpha/syscalls.list: New file.
2491 * sysdeps/unix/bsd/sony/newsos4/syscalls.list: New file.
2492 * sysdeps/unix/bsd/sun/syscalls.list: New file.
2493 * sysdeps/unix/bsd/sun/sunos4/syscalls.list: New file.
2494 * sysdeps/unix/bsd/ultrix4/syscalls.list: New file.
2495 * sysdeps/unix/common/syscalls.list: New file.
2496 * sysdeps/unix/inet/syscalls.list: New file.
2497 * sysdeps/unix/mman/syscalls.list: New file.
2498 * sysdeps/unix/sysv/syscalls.list: New file.
2499 * sysdeps/unix/sysv/irix4/syscalls.list: New file.
2500 * sysdeps/unix/sysv/isc2.2/syscalls.list: New file.
2501 * sysdeps/unix/sysv/linux/syscalls.list: New file.
2502 * sysdeps/unix/sysv/linux/i386/syscalls.list: New file.
2503 * sysdeps/unix/sysv/sco3.2.4/syscalls.list: New file.
2504 * sysdeps/unix/sysv/sysv4/syscalls.list: New file.
2505 * sysdeps/unix/sysv/sysv4/i386/syscalls.list: New file.
2506 * sysdeps/unix/sysv/sysv4/solaris2/sparc/syscalls.list: New file.
2507 * sysdeps/unix/acct.S: File removed.
2508 * sysdeps/unix/chdir.S: File removed.
2509 * sysdeps/unix/chmod.S: File removed.
2510 * sysdeps/unix/chown.S: File removed.
2511 * sysdeps/unix/chroot.S: File removed.
2512 * sysdeps/unix/close.S: File removed.
2513 * sysdeps/unix/configure: File removed.
2514 * sysdeps/unix/configure.in: File removed.
2515 * sysdeps/unix/dup.S: File removed.
2516 * sysdeps/unix/fcntl.S: File removed.
2517 * sysdeps/unix/fsync.S: File removed.
2518 * sysdeps/unix/getgid.S: File removed.
2519 * sysdeps/unix/getpid.S: File removed.
2520 * sysdeps/unix/getuid.S: File removed.
2521 * sysdeps/unix/ioctl.S: File removed.
2522 * sysdeps/unix/kill.S: File removed.
2523 * sysdeps/unix/link.S: File removed.
2524 * sysdeps/unix/lseek.S: File removed.
2525 * sysdeps/unix/open.S: File removed.
2526 * sysdeps/unix/ptrace.S: File removed.
2527 * sysdeps/unix/read.S: File removed.
2528 * sysdeps/unix/reboot.S: File removed.
2529 * sysdeps/unix/setgid.S: File removed.
2530 * sysdeps/unix/setuid.S: File removed.
2531 * sysdeps/unix/sync.S: File removed.
2532 * sysdeps/unix/umask.S: File removed.
2533 * sysdeps/unix/unlink.S: File removed.
2534 * sysdeps/unix/write.S: File removed.
2535 * sysdeps/unix/bsd/flock.S: File removed.
2536 * sysdeps/unix/bsd/getdtsz.S: File removed.
2537 * sysdeps/unix/bsd/getpagesize.S: File removed.
2538 * sysdeps/unix/bsd/killpg.S: File removed.
2539 * sysdeps/unix/bsd/profil.S: File removed.
2540 * sysdeps/unix/bsd/readv.S: File removed.
2541 * sysdeps/unix/bsd/settimeofday.S: File removed.
2542 * sysdeps/unix/bsd/sigblock.S: File removed.
2543 * sysdeps/unix/bsd/sigpause.S: File removed.
2544 * sysdeps/unix/bsd/sigsetmask.S: File removed.
2545 * sysdeps/unix/bsd/sigstack.S: File removed.
2546 * sysdeps/unix/bsd/sigvec.S: File removed.
2547 * sysdeps/unix/bsd/utimes.S: File removed.
2548 * sysdeps/unix/bsd/writev.S: File removed.
2549 * sysdeps/unix/bsd/bsd4.4/chflags.S: File removed.
2550 * sysdeps/unix/bsd/bsd4.4/fchdir.S: File removed.
2551 * sysdeps/unix/bsd/bsd4.4/fchflags.S: File removed.
2552 * sysdeps/unix/bsd/bsd4.4/getdents.S: File removed.
2553 * sysdeps/unix/bsd/bsd4.4/getdomain.S: File removed.
2554 * sysdeps/unix/bsd/bsd4.4/revoke.S: File removed.
2555 * sysdeps/unix/bsd/bsd4.4/setdomain.S: File removed.
2556 * sysdeps/unix/bsd/bsd4.4/setegid.S: File removed.
2557 * sysdeps/unix/bsd/bsd4.4/seteuid.S: File removed.
2558 * sysdeps/unix/bsd/bsd4.4/setlogin.S: File removed.
2559 * sysdeps/unix/bsd/bsd4.4/setsid.S: File removed.
2560 * sysdeps/unix/bsd/bsd4.4/sigaltstack.S: File removed.
2561 * sysdeps/unix/bsd/bsd4.4/wait4.S: File removed.
2562 * sysdeps/unix/bsd/hp/m68k/getdents.S: File removed.
2563 * sysdeps/unix/bsd/osf/msync.S: File removed.
2564 * sysdeps/unix/bsd/osf/alpha/wait4.S: File removed.
2565 * sysdeps/unix/bsd/sony/newsos4/fchdir.S: File removed.
2566 * sysdeps/unix/bsd/sony/newsos4/sys_wait4.S: File removed.
2567 * sysdeps/unix/bsd/sun/getdents.S: File removed.
2568 * sysdeps/unix/bsd/sun/sunos3/m68k/wait.S: File removed.
2569 * sysdeps/unix/bsd/sun/sunos4/msync.S: File removed.
2570 * sysdeps/unix/bsd/sun/sunos4/poll.S: File removed.
2571 * sysdeps/unix/bsd/sun/sunos4/setsid.S: File removed.
2572 * sysdeps/unix/bsd/sun/sunos4/sys_mmap.S: File removed.
2573 * sysdeps/unix/bsd/sun/sunos4/sys_wait4.S: File removed.
2574 * sysdeps/unix/bsd/sun/sunos4/uname.S: File removed.
2575 * sysdeps/unix/bsd/ultrix4/getdents.S: File removed.
2576 * sysdeps/unix/bsd/ultrix4/setsid.S: File removed.
2577 * sysdeps/unix/bsd/ultrix4/uname.S: File removed.
2578 * sysdeps/unix/common/access.S: File removed.
2579 * sysdeps/unix/common/adjtime.S: File removed.
2580 * sysdeps/unix/common/dup2.S: File removed.
2581 * sysdeps/unix/common/fchmod.S: File removed.
2582 * sysdeps/unix/common/fchown.S: File removed.
2583 * sysdeps/unix/common/ftruncate.S: File removed.
2584 * sysdeps/unix/common/getgroups.S: File removed.
2585 * sysdeps/unix/common/getitimer.S: File removed.
2586 * sysdeps/unix/common/getpgid.S: File removed.
2587 * sysdeps/unix/common/getpriority.S: File removed.
2588 * sysdeps/unix/common/getrlimit.S: File removed.
2589 * sysdeps/unix/common/getrusage.S: File removed.
2590 * sysdeps/unix/common/gettimeofday.S: File removed.
2591 * sysdeps/unix/common/mkdir.S: File removed.
2592 * sysdeps/unix/common/readlink.S: File removed.
2593 * sysdeps/unix/common/rename.S: File removed.
2594 * sysdeps/unix/common/rmdir.S: File removed.
2595 * sysdeps/unix/common/select.S: File removed.
2596 * sysdeps/unix/common/setgroups.S: File removed.
2597 * sysdeps/unix/common/setitimer.S: File removed.
2598 * sysdeps/unix/common/setpgid.S: File removed.
2599 * sysdeps/unix/common/setpriority.S: File removed.
2600 * sysdeps/unix/common/setregid.S: File removed.
2601 * sysdeps/unix/common/setreuid.S: File removed.
2602 * sysdeps/unix/common/setrlimit.S: File removed.
2603 * sysdeps/unix/common/swapon.S: File removed.
2604 * sysdeps/unix/common/symlink.S: File removed.
2605 * sysdeps/unix/common/truncate.S: File removed.
2606 * sysdeps/unix/common/vhangup.S: File removed.
2607 * sysdeps/unix/inet/accept.S: File removed.
2608 * sysdeps/unix/inet/bind.S: File removed.
2609 * sysdeps/unix/inet/connect.S: File removed.
2610 * sysdeps/unix/inet/gethostid.S: File removed.
2611 * sysdeps/unix/inet/gethostname.S: File removed.
2612 * sysdeps/unix/inet/getpeername.S: File removed.
2613 * sysdeps/unix/inet/getsockname.S: File removed.
2614 * sysdeps/unix/inet/getsockopt.S: File removed.
2615 * sysdeps/unix/inet/listen.S: File removed.
2616 * sysdeps/unix/inet/recv.S: File removed.
2617 * sysdeps/unix/inet/recvfrom.S: File removed.
2618 * sysdeps/unix/inet/recvmsg.S: File removed.
2619 * sysdeps/unix/inet/send.S: File removed.
2620 * sysdeps/unix/inet/sendmsg.S: File removed.
2621 * sysdeps/unix/inet/sendto.S: File removed.
2622 * sysdeps/unix/inet/sethostid.S: File removed.
2623 * sysdeps/unix/inet/sethostname.S: File removed.
2624 * sysdeps/unix/inet/setsockopt.S: File removed.
2625 * sysdeps/unix/inet/shutdown.S: File removed.
2626 * sysdeps/unix/inet/socket.S: File removed.
2627 * sysdeps/unix/inet/socketpair.S: File removed.
2628 * sysdeps/unix/mman/madvise.S: File removed.
2629 * sysdeps/unix/mman/mmap.S: File removed.
2630 * sysdeps/unix/mman/mprotect.S: File removed.
2631 * sysdeps/unix/mman/msync.S: File removed.
2632 * sysdeps/unix/mman/munmap.S: File removed.
2633 * sysdeps/unix/sysv/alarm.S: File removed.
2634 * sysdeps/unix/sysv/ftime.S: File removed.
2635 * sysdeps/unix/sysv/nice.S: File removed.
2636 * sysdeps/unix/sysv/pause.S: File removed.
2637 * sysdeps/unix/sysv/poll.S: File removed.
2638 * sysdeps/unix/sysv/s_getdents.S: File removed.
2639 * sysdeps/unix/sysv/signal.S: File removed.
2640 * sysdeps/unix/sysv/stime.S: File removed.
2641 * sysdeps/unix/sysv/time.S: File removed.
2642 * sysdeps/unix/sysv/times.S: File removed.
2643 * sysdeps/unix/sysv/ulimit.S: File removed.
2644 * sysdeps/unix/sysv/uname.S: File removed.
2645 * sysdeps/unix/sysv/utime.S: File removed.
2646 * sysdeps/unix/sysv/irix4/getpgid.S: File removed.
2647 * sysdeps/unix/sysv/irix4/msync.S: File removed.
2648 * sysdeps/unix/sysv/irix4/setpgid.S: File removed.
2649 * sysdeps/unix/sysv/irix4/signal.S: File removed.
2650 * sysdeps/unix/sysv/irix4/sysmp.S: File removed.
2651 * sysdeps/unix/sysv/irix4/syssgi.S: File removed.
2652 * sysdeps/unix/sysv/isc2.2/rename.S: File removed.
2653 * sysdeps/unix/sysv/linux/adjtimex.S: File removed.
2654 * sysdeps/unix/sysv/linux/fork.S: File removed.
2655 * sysdeps/unix/sysv/linux/getpgid.S: File removed.
2656 * sysdeps/unix/sysv/linux/getpgrp.S: File removed.
2657 * sysdeps/unix/sysv/linux/getsid.S: File removed.
2658 * sysdeps/unix/sysv/linux/gtty.S: File removed.
2659 * sysdeps/unix/sysv/linux/mlock.S: File removed.
2660 * sysdeps/unix/sysv/linux/mlockall.S: File removed.
2661 * sysdeps/unix/sysv/linux/mount.S: File removed.
2662 * sysdeps/unix/sysv/linux/munlock.S: File removed.
2663 * sysdeps/unix/sysv/linux/munlockall.S: File removed.
2664 * sysdeps/unix/sysv/linux/pipe.S: File removed.
2665 * sysdeps/unix/sysv/linux/s_ptrace.S: File removed.
2666 * sysdeps/unix/sysv/linux/setpgid.S: File removed.
2667 * sysdeps/unix/sysv/linux/setsid.S: File removed.
2668 * sysdeps/unix/sysv/linux/settimeofday.S: File removed.
2669 * sysdeps/unix/sysv/linux/sigpending.S: File removed.
2670 * sysdeps/unix/sysv/linux/stty.S: File removed.
2671 * sysdeps/unix/sysv/linux/umount.S: File removed.
2672 * sysdeps/unix/sysv/linux/wait4.S: File removed.
2673 * sysdeps/unix/sysv/linux/i386/ipc.S: File removed.
2674 * sysdeps/unix/sysv/sco3.2.4/pathconf.S: File removed.
2675 * sysdeps/unix/sysv/sco3.2.4/pgrpsys.S: File removed.
2676 * sysdeps/unix/sysv/sco3.2.4/sco_getgrp.S: File removed.
2677 * sysdeps/unix/sysv/sco3.2.4/sigpending.S: File removed.
2678 * sysdeps/unix/sysv/sco3.2.4/sigprocmask.S: File removed.
2679 * sysdeps/unix/sysv/sco3.2.4/sigsuspend.S: File removed.
2680 * sysdeps/unix/sysv/sysv4/pgrpsys.S: File removed.
2681 * sysdeps/unix/sysv/sysv4/sigprocmask.S: File removed.
2682 * sysdeps/unix/sysv/sysv4/sigsuspend.S: File removed.
2683 * sysdeps/unix/sysv/sysv4/sysconfig.S: File removed.
2684 * sysdeps/unix/sysv/sysv4/sysinfo.S: File removed.
2685 * sysdeps/unix/sysv/sysv4/solaris2/sparc/sys-sig.S: File removed.
2687 * io/mknod.c: New file.
2689 * Makerules (COMPILE.s): New variable.
2691 * sysdeps/unix/Makefile (sysd-syscalls): New target; generate with
2692 make-syscalls.sh and include it.
2693 [$(subdir)=misc] (sysdep_routines): Append extra syscalls from
2695 * sysdeps/unix/make-syscalls.sh: New file.
2697 * Makerules (COMPILE.S): New variable.
2699 Wed Jan 17 11:04:58 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2701 * sysdeps/unix/sysv/linux/statbuf.h (_STAT_VER_LINUX,
2702 _STAT_VER_SVR4, _STAT_VER): New macros.
2703 (_MKNOD_VER_LINUX, _MKNOD_VER_SVR4, _MKNOD_VER): New macros.
2705 * sysdeps/unix/sysv/sysv4/i386/statbuf.h (_STAT_VER, _MKNOD_VER):
2708 * io/sys/stat.h (_STAT_VER, _MKNOD_VER): New macros.
2709 (__xstat, __fxstat, __lxstat, __xmknod): Declare new functions.
2710 [__GNUC__] (stat, fstat, lstat, mknod): Define these (and __ names)
2711 as `extern inline's calling the `x' functions.
2712 * io/fstat.c: New file.
2713 * io/lstat.c: New file.
2714 * io/stat.c: New file.
2715 * sysdeps/generic/lstat.c: File removed.
2716 * sysdeps/generic/lxstat.c: New file.
2717 * sysdeps/mach/hurd/fstat.c: File removed.
2718 * sysdeps/mach/hurd/fxstat.c: New file.
2719 * sysdeps/mach/hurd/lstat.c: File removed.
2720 * sysdeps/mach/hurd/lxstat.c: New file.
2721 * sysdeps/mach/hurd/mknod.c: File removed.
2722 * sysdeps/mach/hurd/stat.c: File removed.
2723 * sysdeps/mach/hurd/xmknod.c: New file.
2724 * sysdeps/mach/hurd/xstat.c: New file.
2725 * sysdeps/stub/fstat.c: File removed.
2726 * sysdeps/stub/fxstat.c: New file.
2727 * sysdeps/stub/lstat.c: File removed.
2728 * sysdeps/stub/lxstat.c: New file.
2729 * sysdeps/stub/mknod.c: File removed.
2730 * sysdeps/stub/stat.c: File removed.
2731 * sysdeps/stub/xmknod.c: New file.
2732 * sysdeps/stub/xstat.c: New file.
2733 * sysdeps/unix/common/lstat.S: File removed.
2734 * sysdeps/unix/common/lxstat.c: New file.
2735 * sysdeps/unix/fstat.S: File removed.
2736 * sysdeps/unix/fxstat.c: New file.
2737 * sysdeps/unix/mknod.S: File removed.
2738 * sysdeps/unix/stat.S: File removed.
2739 * sysdeps/unix/sysv/linux/fstat.c: File removed.
2740 * sysdeps/unix/sysv/linux/i386/fxstat.S: File removed.
2741 * sysdeps/unix/sysv/linux/i386/lxstat.S: File removed.
2742 * sysdeps/unix/sysv/linux/i386/xmknod.S: File removed.
2743 * sysdeps/unix/sysv/linux/i386/xstat.S: File removed.
2744 * sysdeps/unix/sysv/linux/lstat.c: File removed.
2745 * sysdeps/unix/sysv/linux/mknod.c: File removed.
2746 * sysdeps/unix/sysv/linux/stat.c: File removed.
2747 * sysdeps/unix/sysv/sysv4/i386/fstat.S: File removed.
2748 * sysdeps/unix/sysv/sysv4/i386/lstat.S: File removed.
2749 * sysdeps/unix/sysv/sysv4/i386/mknod.S: File removed.
2750 * sysdeps/unix/sysv/sysv4/i386/stat.S: File removed.
2751 * sysdeps/unix/xmknod.c: New file.
2752 * sysdeps/unix/xstat.c: New file.
2753 * sysdeps/unix/mkfifo.c: Use __xmknod instead of __mknod.
2754 * misc/Makefile (routines): Remove mknod.
2756 * sysdeps/ieee754/ieee754.h (union ieee854_long_double.ieee_nan):
2757 Add missing ; in little-endian case.
2759 * elf/dynamic-link.h [ELF_MACHINE_NO_REL] (ELF_DYNAMIC_DO_REL):
2760 Define this instead of ELF_DYNAMIC_DO_RELA.
2762 * sysdeps/unix/sysv/time.S: Moved from sysv4.
2763 * sysdeps/unix/sysv/irix4/time.S: File removed.
2765 * sysdeps/unix/sysv/linux/signum.h: Moved from
2766 sysdeps/unix/sysv/linux/i386.
2767 (_NSIG): Move inside #ifdef _SIGNAL_H.
2769 Tue Jan 16 17:37:39 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2771 * sysdeps/unix/seekdir.c: Don't modify POS before seeking.
2772 * sysdeps/unix/telldir.c: Fix position calculation to account for
2773 buffered data properly.
2775 * sysdeps/m68k/Makefile (crypt): Don't define if building a shared
2778 * csu/initfini.c (_init): Call __gmon_start__ if defined (weak ref).
2779 * csu/gmon-start.c (__gmon_start__): Renamed from gmon_start, made
2781 [! HAVE_INITFINI]: Only make it a constructor in this case.
2783 * gmon/Makefile (CFLAGS-mcount.c): New variable.
2784 (mcount.po): New target.
2786 * Makeconfig (CFLAGS): Append $(CFLAGS-$(<F)).
2788 * csu/Makefile [have-initfini=yes] (CPPFLAGS): Append -DHAVE_INITFINI.
2789 (initfini): Compile initfini.c with -fPIC.
2791 Sun Jan 14 01:01:10 1996 Ulrich Drepper <drepper@ipd.info.uni-karlsruhe.de>
2793 * sysdeps/mips/bytesex.h: Add default byte sex. By Ralf Baechle.
2795 * sysdeps/unix/sysv/linux/adjtime.c [! MOD_OFFSET]: Use `mode'
2796 member of `struct timex' instead of `modes'. From Andreas Schwab.
2798 * sysdeps/unix/sysv/linux/mknod.c: New file. Generic C version.
2799 * sysdeps/unix/sysv/linux/i386/mknod.S: Remove assembler version.
2801 * sysdeps/unix/sysv/linux/Makefile (inhibit-glue): New variable.
2802 [$(subdir) = misc] (sysdep_routines): Add mount, umount, and s_ptrace.
2803 [$(subdir) = misc] (headers): Append sys/mount.h.
2805 * sysdeps/unix/sysv/linux/mount.S, sysdeps/unix/sysv/linux/umount.S:
2806 New files. Implement system calls.
2807 * sysdeps/unix/sysv/linux/sys/mount.h: New header file.
2809 * sysdeps/unix/sysv/linux/ptrace.c: New file. Wrapper around
2811 * sysdeps/unix/sysv/linux/s_ptrace.S: New file: ptrace system call.
2813 * sysdeps/unix/sysv/linux/i386/gnu/types.h: New file with correct
2814 types for i386/Linux.
2816 Sun Jan 14 17:51:09 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2818 * MakeTAGS (all-sources, all-headers): Always search the
2819 current directory first.
2821 * db/btree/bt_seq.c (__bt_first): Return RET_SPECIAL when key not
2824 * stdio-common/vfscanf.c (inchar, conv_error, input_error,
2825 memory_error): Add cast to void to avoid gcc warning.
2826 (vfscanf): Rewrite character class parsing to make it more efficient.
2828 * misc/efgcvt_r.c (ecvt_r): Handle negative values.
2830 * stdlib/stdlib.h: Replace __CONSTVALUE by attribute.
2831 * stdlib/abs.c, stdlib/div.c, stdlib/labs.c, stdlib/ldiv.c,
2832 sysdeps/generic/hypot.c: Remove obsolete __CONSTVALUE.
2834 * stdio-common/printf_fp.c (__printf_fp): Fix parameter
2837 * sysdeps/generic/putenv.c (putenv): Fix second argument of
2840 * sysdeps/ieee754/hypot.c: New file, extracted out of cabs.c.
2841 * sysdeps/ieee754/cabs.c: Don't define hypot here.
2843 * sysdeps/ieee754/ieee754.h (union ieee854_long_double): Fix
2844 definition of ieee_nan alternative.
2846 * sysdeps/m68k/__longjmp.c, sysdeps/m68k/setjmp.c: Add register
2849 * sysdeps/m68k/ffs.c (ffs): Fix register constraint.
2851 * sysdeps/m68k/fpu/__math.h: Include <errno.h>. Replace obsolete
2852 __CONSTVALUE by attribute.
2853 (floor): Round to negative infinity.
2854 (rint, expm1) [__NO_MATH_INLINES]: Don't define, to avoid type
2855 clash when compiling source.
2856 (pow): Handle x == 0 and x < 0.
2857 (ceil, __isinf, __isnan): Fix register constraints.
2858 (__isinfl, __isnanl): Added.
2859 * sysdeps/m68k/fpu/acos.c, sysdeps/m68k/fpu/atan2.c,
2860 sysdeps/m68k/fpu/fmod.c, sysdeps/m68k/fpu/ldexp.c,
2861 sysdeps/m68k/fpu/pow.c: Remove obsolete __CONSTVALUE.
2863 * sysdeps/m68k/bsd-_setjmp.S, sysdeps/m68k/bsd-setjmp.S: Fix
2866 * sysdeps/unix/bsd/bsd4.4/fchdir.S (fchdir): Take only one
2869 * sysdeps/unix/bsd/clock.c (timeval_to_clock_t): Fix timeval to
2871 (clock): Don't multiply by CLOCKS_PER_SEC.
2873 * sysdeps/unix/bsd/poll.c (poll): Fix msec to timeval conversion.
2875 * sysdeps/unix/bsd/sun/m68k/brk.S (brk): Compare with address of
2878 * sysdeps/unix/bsd/sun/m68k/vfork.S: Fix assembler syntax.
2880 * sysdeps/unix/bsd/ualarm.c (ualarm): Fix timeval calculation.
2882 * sysdeps/unix/bsd/vax/vfork.S: Remove duplicate label.
2884 Sun Jan 14 01:01:10 1996 Ulrich Drepper <drepper@ipd.info.uni-karlsruhe.de>
2886 * stdlib/strtol.c: Return correct pointer for strings
2887 like "0xyz" and base 0 or 16.
2889 * string/strxfrm.c: Handle case for LENGTH == 0 correct.
2891 * sunrpc/etc.rpc: Add some more known protocols.
2893 Fri Jan 12 13:40:01 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2895 * posix/gnu/types.h: Moved to sysdeps/generic/gnu/types.h.
2897 * posix/glob.c (glob): Add parens in glob call flags arg for
2900 * string/string.h (strdupa): New macro.
2902 * stdio-common/vfscanf.c (%[): Grok ] as first char in set, not
2903 terminator on empty set. From drepper.
2905 Thu Jan 11 13:09:20 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2907 * elf/do-rel.h (elf_dynamic_do_rel): Use referring symbol as
2908 referent for STB_LOCAL.
2910 Wed Jan 10 10:11:39 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2912 * time/africa, time/antarctica, time/asia, time/australasia,
2913 time/europe, time/northamerica, time/pacificnew, time/solar87,
2914 time/solar88, time/solar89, time/southamerica: Updated from ADO 96a.
2916 Tue Jan 9 16:10:26 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2918 * elf/dl-load.c (_dl_map_object_from_fd): After mapping first
2919 segment to find location, mprotect excess region to no access,
2922 * sysdeps/mach/hurd/dl-sysdep.c (mmap): If vm_map returns
2923 KERN_NO_SPACE for fixed location, deallocate it and try again.
2925 Mon Jan 8 17:43:23 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2927 * locale/Makefile (lib-modules): Renamed hash to locfile-hash.
2928 * locale/hash.c: Renamed to locale/locfile-hash.c.
2930 Sat Jan 6 16:39:14 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2932 * Makefile (subdirs): Added db.
2934 * resolv/Makefile (routines): Add res_data.
2935 * resolv/res_data.c, resolv/res_debug.c, resolv/resolv.h:
2936 Updated from BIND 4.9.3 final release.
2938 * elf/dynamic-link.h (elf_get_dynamic_info): Handle
2939 processor-specific tags.
2940 (ELF_DYNAMIC_DO_REL, ELF_DYNAMIC_DO_RELA): Handle absent DT_PLTREL tag.
2942 * elf/elf.h (DT_MIPS_NUM, DT_PROCNUM): New macros.
2943 * elf/link.h (struct link_map): Extend `l_info' by DT_PROCNUM.
2945 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): Take new
2946 arg LAZY. Only do our work if LAZY and there is a DT_JMPREL record.
2947 * elf/dl-reloc.c (_dl_relocate_object): Call
2948 elf_machine_runtime_setup unconditionally, and pass it LAZY flag.
2950 * elf/dl-load.c: Fixed ELFMAG check to work for either byte order.
2951 Align end of load segment only to page size, not to segment alignment.
2953 Thu Jan 4 11:35:18 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2955 * sysdeps/mach/hurd/setitimer.c: Code rearranged a bit to use new
2956 preemption interface.
2958 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
2959 Use _hurdsig_catch_memory_fault.
2961 * hurd/Makefile (headers): Add hurd/sigpreempt.h.
2962 (sig): Add catch-signal.
2964 * hurd/hurdfault.c (_hurdsig_fault_catch_exception_raise):
2965 Rewritten using a preempter in new interface.
2966 * hurd/hurdfault.h (_hurdsig_catch_fault): Likewise.
2967 (_hurdsig_catch_memory_fault): New macro.
2969 Wed Jan 3 20:23:42 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2971 * hurd/catch-signal.c: New file.
2973 * hurd/intr-msg.c: When restarting RPC, fetch a new reply port.
2975 * hurd/hurdsig.c: Use new hurdfault.h interface.
2976 (abort_all_rpcs): Mutate return value to EINTR in threads whose
2977 replies we will wait for.
2979 * hurd/hurdkill.c (_hurd_sig_post): When doing pgrp, make sure we
2982 Wed Jan 3 19:17:10 1996 Miles Bader <miles@gnu.ai.mit.edu>
2984 * sysdeps/mach/hurd/access.c (__access): Put the uid/gid arguments
2985 to auth_makeauth() in the right order.
2987 Wed Jan 3 17:19:04 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2989 * sysdeps/generic/strsep.c: Rewritten.
2991 * sysdeps/mach/hurd/fork.c: Use a different workaround for the
2992 suspended page fault deadlock kernel bug: thread_abort our signal
2993 thread first thing after proc_dostop.
2995 * sysdeps/mach/hurd/setgid.c: Rewrote gid frobnication to
2996 recognize rootness properly.
2998 Tue Jan 2 00:50:10 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
3000 * hurd/hurd/signal.h (struct hurd_sigstate): New member `preempters'.
3001 (hurd_preempt_signals, hurd_unpreempt_signals): Decls removed.
3002 * hurd/hurd/sigpreempt.h: New file.
3003 * hurd/preempt-sig.c: Rewritten with new interface.
3004 * sysdeps/mach/hurd/jmp-unwind.c (_longjmp_unwind): Remove local signal
3005 preempters being unwound past.
3006 * hurd/hurdsig.c: Use new signal preemption interface.
3008 * db: New directory, 4.4 BSD db package incorporated from BSD db-1.85
3011 * sysdeps/unix/sysv/linux/sys/param.h: Several new macros for BSD
3014 * misc/queue.h: New file, incorporated from 4.4BSD.
3015 * misc/Makefile (headers): Add queue.h.
3017 * posix/sys/types.h [__USE_BSD]: Include endian.h.
3019 * io/sys/stat.h (DEFFILEMODE, ALLPERMS, ACCESSPERMS, S_BLKSIZE):
3022 Thu Dec 28 10:21:35 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
3024 * sysdeps/generic/confname.h: Define all names as self-referential
3025 macros so #ifdef works.
3027 * hurd/preempt-sig.c (hurd_unpreempt_signals): Remove bogus asgnmt
3028 of _hurd_signal_preempters[SIGNO].
3030 Mon Dec 25 20:56:39 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
3032 * sysdeps/mach/hurd/bind.c: Translate EEXIST from dir_link into
3033 EADDRINUSE. If translated node doesn't grok ifsock protocol,
3036 * sysdeps/mach/hurd/connect.c: Make address arg
3037 `const struct sockaddr_un *'.
3038 The redecl is kosher and avoids another variable for AF_LOCAL case.
3039 * sysdeps/mach/hurd/sendto.c: Likewise.
3040 * sysdeps/mach/hurd/bind.c: Likewise.
3042 * socket/sys/socket.h (__SOCKADDR_ARG): Enable transparent_union
3043 code for GCC >= 2.7; use __transparent_union__ for name safety;
3044 add several sockaddr flavors.
3045 (__SOCKADDR_ALLTYPES, __SOCKADDR_ONETYPE): New macros used in
3046 constructing the transparent union declarations.
3047 (__CONST_SOCKADDR_ARG): New type (or macro if not GCC 2.7).
3048 (bind, connect, sendto): Make the sockaddr argument use that.
3050 Fri Dec 22 00:57:38 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
3052 * sysdeps/mach/hurd/setgid.c: In root case, store into NEWAUX, not
3054 * sysdeps/mach/hurd/setuid.c: Likewise.
3056 * sysdeps/mach/hurd/setuid.c: Rewrote ID frobnication to do the
3058 * sysdeps/mach/hurd/setgid.c: Likewise.
3059 * sysdeps/mach/hurd/setreuid.c: Likewise.
3060 * sysdeps/mach/hurd/setregid.c: Likewise.
3061 * sysdeps/mach/hurd/setegid.c: Likewise.
3062 * sysdeps/mach/hurd/seteuid.c: Likewise.
3064 * sysdeps/mach/hurd/fork.c: Peek __mach_task_self_ value before
3065 proc_dostop call to work around kernel paging bug.
3067 Fri Dec 22 00:38:00 1995 H.J. Lu <hjl@nynexst.com>
3069 * stdio-common/vfscanf.c: Correctly handle white space skipping.
3070 * stdio-common/Makefile (tests): Add bug11.
3071 * stdio-common/bug11.c: New file.
3073 Thu Dec 21 12:19:32 1995 Miles Bader <miles@gnu.ai.mit.edu>
3075 * sysdeps/mach/hurd/setuid.c (__setuid): Actually add the new uid
3076 instead of putting it (and other uids) in the gids and leaving the
3079 Wed Dec 20 18:23:10 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
3081 * stdio/internals.c (flushbuf): If the target is -1, always
3082 discard the buffer of read data.
3083 Only set TWIDDLED flag in !ALIGNED case.
3084 Never increment target or offset when old value is -1.
3086 Tue Dec 19 17:00:42 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
3088 * hurd/hurdpid.c (_S_msg_proc_newids): Only run the hook when the
3091 Mon Dec 18 13:40:37 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
3093 * stdio/fread.c: Don't increment __offset when it's -1.
3095 * elf/rtld.c (dl_main): Prepend tab to "statically linked". Exit
3098 * misc/err.c (vwarnx, vwarn): Fix major brainos.
3100 * sysdeps/mach/hurd/dl-sysdep.c (mmap): Fix setting of
3103 Sun Dec 17 15:56:35 1995 Miles Bader <miles@gnu.ai.mit.edu>
3105 * misc/getpass.c (getpass): Don't barf if getline returns a null BUF.
3107 Sat Dec 16 10:33:11 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
3109 * Makerules: Use $(do-install-so) for installing shared objects.
3110 (do-install-so): New canned sequence. Make a symlink LIB.so after
3111 installing LIB.so.VERSION.
3113 * inet/netinet/in.h: Fixed typo in IPPORT_WHOIS.
3115 Fri Dec 15 04:41:22 1995 Ulrich Drepper <drepper@gnu.ai.mit.edu>
3117 * stdio-common/Makefile (tests): Add bug10.
3118 * stdio-common/bug10.c: New file. From HJ Lu.
3120 * stdio-common/tstdiomisc.c: Make more test-suite like: exit
3121 status tells about successful run.
3123 * stdio-common/vfscanf.c [!USE_IN_LIBIO]: Use `flags' to check
3125 Correct handling of trailing white spaces in format + EOF.
3127 Fri Dec 15 01:31:56 1995 Ulrich Drepper <drepper@gnu.ai.mit.edu>
3129 * stdio-common/Makefile (tests): Add bug8 and bug9.
3130 * stdio-common/bug8.c, stdio-common/bug9.c: New tests.
3132 * stdio-common/vfscanf.c: Fix bug in dynamic buffer handling.
3134 * stdlib/strtod.c: Correct spelling: nominator -> numerator.
3135 Thanks to Jim Meyering.
3137 Sat Nov 25 06:05:12 1995 H.J. Lu <hjl@nynexst.com>
3139 * stdio-common/vfscanf.c: Always check width !=0.
3140 Correctly handle %%.
3142 Thu Dec 14 02:28:22 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
3144 * posix/glob.c (glob_in_dir): Cast result of opendir to __ptr_t,
3145 and cast STREAM to DIR * before passing to readdir and closedir.
3147 Wed Dec 13 22:06:07 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
3149 * hurd/hurdsig.c (_hurd_internal_post_signal: suspend): Reply
3150 after aborting RPCs but before calling proc_mark_stop.
3152 Mon Dec 11 20:07:54 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
3154 * posix/glob.c [! STDC_HEADERS]: Declare getenv.
3155 (glob): Avoid using function as value.
3157 * elf/rtld.c (dl_main): When mapping argument executable, set
3158 l_name to "", not l_libname.
3159 After loading DT_NEEDED library, set its l_type to lt_library.
3161 * sysdeps/mach/hurd/mmap.c: Don't interpret MAP_INHERIT to mean
3162 VM_INHERIT. We can't handle MAP_INHERIT easily.
3163 Handle non-page-aligned addresses if congruent to offset.
3165 * elf/dl-init.c: Skip the initializer for l_type lt_executable
3166 with l_name "". Start at _dl_loaded; don't skip the first element.
3168 * elf/dl-load.c (MAP_FILE): Define to zero if undefined.
3169 (MAP_COPY): Define to MAP_PRIVATE if undefined.
3170 (_dl_map_object_from_fd): Don't use MAP_INHERIT in mmap calls.
3171 If file it ET_EXEC, set its l_type to lt_executable.
3173 Sun Dec 10 09:56:06 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
3175 * elf/dl-minimal.c (malloc): Use MAP_PRIVATE in mmap call.
3177 Fri Dec 8 13:04:51 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
3179 * locale/error.c, locale/error.h: Files removed.
3180 * locale/Makefile (distribute): Remove error.h.
3181 (lib-modules): Remove error.
3183 * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): For "tty"
3184 magic, return ENXIO if no ctty.
3186 * sysdeps/mach/hurd/mmap.c: For MAP_FIXED, deallocate a previous
3187 mapping if vm_map fails for that reason.
3189 * posix/glob.c: Implement new options GLOB_ALTDIRFUNC, GLOB_BRACE,
3190 GLOB_TILDE, GLOB_NOMAGIC.
3191 (glob): Use stat instead of lstat to determine directoriness.
3192 * posix/glob.h (GLOB_ALTDIRFUNC, GLOB_BRACE, GLOB_NOMAGIC, GLOB_TILDE):
3194 (__GLOB_FLAGS): Include them.
3195 (glob_t): New members gl_closedir, gl_readdir, gl_opendir, gl_lstat,
3198 * elf/elf.h (ET_NUM, SHT_NUM, STB_NUM, STT_NUM, PT_NUM): New macros.
3200 * sysdeps/unix/sysv/linux/sys/mman.h: Include <linux/mman.h> to
3201 define all the bit values.
3202 (MAP_*, MCL_*): Macros removed.
3204 Thu Dec 7 02:27:56 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
3206 * resolv/res_comp.c, resolv/res_debug.c, resolv/res_send.c:
3207 Updated from BIND 4.9.3-BETA27.
3209 Wed Dec 6 18:44:01 1995 Miles Bader <miles@gnu.ai.mit.edu>
3211 * sysdeps/mach/hurd/select.c (__select): Swap size args to mach_msg.
3213 * sysdeps/mach/hurd/select.c (__select): Frob TYPES correctly when
3214 we get a delayed reply.
3215 Only grab values out of entries in TYPES that have SELECT_RETURNED
3216 turned on, and turn it on whenever an rpc returns.
3217 Only clear bits in the user's fdsets -- those needing to be set
3219 Use SELECT_ALL in appropiate places.
3220 (SELECT_RETURNED, SELECT_ALL): New macros.
3222 Wed Dec 6 09:10:39 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
3224 * sysdeps/mach/hurd/sys/param.h (NBBY): New macro.
3226 * gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): New macro.
3228 Tue Dec 5 14:00:17 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
3230 * misc/Makefile (headers): Add error.h, err.h.
3231 (routines): Add error, err.
3232 (gpl2lgpl): New variable.
3233 * misc/err.c: New file.
3234 * misc/err.h: New file.
3235 * misc/error.c, misc/error.h: New files.
3237 * sysdeps/mach/hurd/ioctl.c: Fix typo in last change.
3239 * Makeconfig (+link): Translate libc% from $^, not just libc.a.
3240 (link-libc): Append $(libc.so-version) to libc.so.
3241 (built-program-cmd): Fix comma usage.
3242 * Makerules [libc.so-version] (libc.so$(libc.so-version)): Make a
3243 symlink to libc.so in the build directory.
3244 * Rules ($(others) $(tests)): Depend on the library that appears
3246 (%.out): Use $(built-program-cmd) in commands.
3248 * posix/unistd.h [__USE_MISC]: Declare brk, sbrk.
3250 * sysdeps/generic/setenv.c: Added canonical portability cruft.
3251 (setenv): Use realloc on LAST_ENVIRON instead of always copying.
3252 (unsetenv): New function.
3253 * stdlib/stdlib.h [__USE_BSD]: Declare unsetenv.
3254 * sysdeps/generic/putenv.c: Rewritten using setenv and unsetenv.
3256 Tue Dec 5 02:27:32 1995 Ulrich Drepper <drepper@gnu.ai.mit.edu>
3258 * libio/Makefile (routines): Remove iofscanf, add iopopen, pclose.
3260 * libio/iofscanf.c: Remove file.
3262 * libio/iogetdelim.c (_IO_getdelim): Correct stupid bug at string
3265 * libio/iopopen.c: New file from GNU libio.
3267 * libio/memstream.c: Fixed bug in fclose handling. Instead of
3268 providing a close callback we need a finish callback.
3270 * libio/pclose.c: New file. Derived from popen.c in GNU libio.
3272 * posix/gnu/types.h: Fixed typo.
3274 * stdio-common/errnobug.c: fputs returns EOF in error case. Do
3277 * stdio-common/printf-parse.h (parse_one_spec): Do not force
3278 padding with ' ' if precision is given. Fix by HJ Lu.
3280 * stdio-common/printf_fp.c: Fix comment.
3282 * stdio-common/tfformat.c, stdio-common/tiformat.c,
3283 stdio-common/tstdiomisc.c: New files from GNU libio test suite.
3285 * stdio-common/tstgetln.c: Provide ssize_t type when testing
3288 * stdio-common/vfprintf.c (outchar): Use PUTC instead of putc.
3289 (vfprintf): Cleasr args_type array before using it.
3290 When printing 0 as an integer with precision 0 nothing must be
3291 written for the number.
3292 Based on patch by HJ Lu.
3294 * stdio-common/vfscanf.c: Remove fixed input buffer. Now we
3295 have a dynamically extended buffer.
3297 * stdlib/strtod.c: Merge with version in Linux libc. This fixes
3298 some bugs with handling of very small numbers and has different
3299 solution for formaer patches.
3301 * sysdeps/i386/i586/add_n.S, sysdeps/i386/i586/sub_n.S: Rename
3302 macros r1 and r2 to t1, and t2 resp. This is necessary because
3303 glibc headers also define r1.
3305 Mon Dec 4 12:10:28 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
3307 * stdlib/gen-mpn-copy (translations): Updated for new layout in
3310 * malloc/malloc.c (__malloc_initialize): Renamed from initialize;
3312 (malloc): Caller changed.
3313 * malloc/realloc.c (realloc): Call __malloc_initialize if
3314 necessary, before checking hook.
3315 * malloc/malloc.h: Declare __malloc_initialize.
3317 * sysdeps/mach/hurd/ioctl.c: For IOC_VOID request, send ARG itself
3318 as integer_t arg in RPC.
3320 Sat Dec 2 03:47:27 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
3322 * sysdeps/mach/hurd/brk.c (DATA_SIZE): Bump to 128MB.
3323 (_hurd_set_brk): Try to allocate more space when we run out.
3325 * sysdeps/generic/sbrk.c: If __curbrk is zero, call __brk with
3326 zero and examine it again.
3327 * sysdeps/unix/sysv/linux/i386/brk.c: New file.
3328 * sysdeps/unix/sysv/linux/i386/brk.S: File removed.
3329 * sysdeps/unix/sysv/linux/i386/sbrk.S: File removed.
3330 * sysdeps/unix/sysv/linux/dl-sysdep.c: New file.
3331 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start) [DL_SYSDEP_INIT]:
3332 Invoke this macro before calling DL_MAIN.
3334 * malloc/malloc.c (malloc): Do initialization here, before
3336 (_malloc_internal): Don't do it here.
3338 Wed Nov 29 12:30:50 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
3340 * libio/vsnprintf.c (__vsnprintf): Define as alias.
3341 * libio/iovsscanf.c (__vsscanf): Define as alias.
3342 * asprintf.c: Remove libio adaptation code added by drepper.
3343 * dprintf.c: Likewise.
3344 * printf.c: Likewise.
3345 * scanf.c: Likewise.
3346 * snprintf.c: Likewise.
3347 * sprintf.c: Likewise.
3348 * sscanf.c: Likewise.
3349 * vprintf.c: Likewise.
3350 * stdio-common/vfscanf.c [USE_IN_LIBIO] (__vfscanf): New wrapper
3352 (vfscanf): Define unconditionally.
3354 * sysdeps/i386/dl-machine.h (elf_machine_rel): If SYM is null, use
3357 * misc/getpass.c: Write a newline after reading the unechoed
3360 Mon Nov 27 19:24:18 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
3362 * posix/Makefile (routines): Add getsid.
3363 * sysdeps/unix/sysv/linux/getsid.S: New file.
3364 * sysdeps/mach/hurd/getsid.c: New file.
3365 * sysdeps/stub/getsid.c: New file.
3366 * posix/unistd.h [__USE_GNU]: Declare getsid.
3368 Sun Nov 26 12:44:38 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
3370 * libc-symbols.h (N_): New macro.
3372 Sat Nov 25 02:48:47 1995 Ulrich Drepper <drepper@gnu.ai.mit.edu>
3374 * assert/assert-perr.c, assert/assert.c, inet/rcmd.c,
3375 malloc/mcheck.c, malloc/vm-limit.c, posix/getconf.c, posix/id.c,
3376 resolv/herror.c, sunrpc/auth_unix.c, sunrpc/clnt_perr.c,
3377 sunrpc/clnt_raw.c, sunrpc/get_myaddr.c, sunrpc/pmap_clnt.c,
3378 sunrpc/pmap_rmt.c, sunrpc/portmap.c, sunrpc/rpc_main.c,
3379 sunrpc/rpc_parse.c, sunrpc/rpc_scan.c, sunrpc/rpc_util.c,
3380 sunrpc/rpcinfo.c, sunrpc/svc_simple.c, sunrpc/svc_tcp.c,
3381 sunrpc/svc_udp.c, time/zdump.c, time/zic.c: Mark translatable
3384 Sun Nov 26 02:00:02 1995 Ulrich Drepper <drepper@gnu.ai.mit.edu>
3386 * misc/syslog.c (vsyslog) [USE_IN_LIBIO]: Adapted for libio.
3388 Thu Nov 23 02:21:55 1995 Ulrich Drepper <drepper@gnu.ai.mit.edu>
3390 * sysdeps/unix/sysv/linux/{mlock,munlock,mlockall,munlockall}.S:
3392 * sysdeps/unix/sysv/linux/sys/mman.h: Add prototypes for new functions
3393 mlock, munlock, mlockall, and munlockall.
3395 Thu Nov 23 18:26:52 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
3397 * configure.in (--enable-libio): Set $stdio based on $enableval,
3398 not always to libio.
3400 Thu Nov 23 18:06:48 1995 Richard Stallman <rms@gnu.ai.mit.edu>
3402 * malloc/malloc.c (_malloc_internal): Can't use
3403 get_contiguous_space when the heap info table
3404 will be growing. Account for new contiguous space in _heaplimit.
3406 Wed Nov 22 12:37:39 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
3408 * sysdeps/unix/sysv/linux/i386/sysdep.S (_errno): Define as alias
3411 * stdio-common/vfprintf.c [USE_IN_LIBIO] (vfprintf): Define as
3412 alias for _IO_vfprintf.
3414 * sysdeps/unix/sysv/linux/sockaddrcom.h: File removed.
3416 * sysdeps/unix/sysv/linux/i386/init-first.c (init): Use
3417 __fpu_control instead of ___fpu_control.
3418 * sysdeps/unix/sysv/linux/i386/ieee_fpu.c
3419 (___fpu_control): Renamed to __fpu_control.
3420 * sysdeps/unix/sysv/linux/i386/fpu_control.h: Likewise.
3421 * sysdeps/unix/sysv/linux/i386/fpu_control.c: Likewise.
3423 * elf/dl-minimal.c: New file.
3424 * elf/Makefile (rtld-routines): Add dl-minimal.
3425 * elf/rtld.c (__dgettext, __assert_fail, __assert_perror_fail):
3426 Functions moved to dl-minimal.c.
3427 * sysdeps/mach/hurd/dl-sysdep.c (malloc, free, realloc,
3428 sigjmp_save, longjmp): Likewise.
3430 * sysdeps/unix/sysv/linux/i386/brk.S (__curbrk): Always initialize
3431 to &_end, regardless of PIC.
3433 * stdio-common/vfscanf.c (__vfscanf): Fix arg name in defn.
3435 Tue Nov 21 14:12:13 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
3437 * malloc/malloc.c (align): Don't check contiguity and call abort.
3439 * hurd/hurdsig.c (post_reply): Function removed.
3440 (abort_thread, abort_all_rpcs, _hurdsig_abort_rpcs): Don't call it.
3441 Take single callback fn arg instead of reply port and type.
3442 (_hurd_internal_post_signal): Callers changed.
3443 Cache reply stub fn ptr in local var before UNTRACED might be changed.
3445 * sysdeps/mach/hurd/mmap.c: Cope with a null write memobj for
3446 PROT_READ|PROT_WRITE copy mapping. Pass a proper vm_inherit_t to
3449 * elf/rtld.c (_dl_start): For --list, do output and exit before
3452 Mon Nov 20 16:19:15 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
3454 * intl/Makefile [gettext-srcdir]: Rewrote copying rules to only
3455 get .c and .h files.
3457 * malloc/malloc.c (align): Use abort instead of assert.
3459 Sun Nov 19 18:23:07 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
3461 * Makeconfig (+includes): Add $($(stdio)-include).
3462 (libio-include): New variable.
3464 * stdlib/strtod.c: Put weak_symbol after function defn.
3465 * stdlib/strtol.c: Likewise.
3467 * configure.in (--enable-libio): If not present, set $stdio to
3468 "default". Move stdio/libio check to end, so sysdeps fragments
3469 can affect it. Reset $stdio to "stdio" if it's "default".
3470 * sysdeps/unix/sysv/linux/configure: New file.
3472 Sat Nov 18 16:46:01 1995 Ulrich Drepper <drepper@gnu.ai.mit.edu>
3474 * libio/Makefile, libio/cleanup.c, libio/clearerr.c, libio/feof.c,
3475 libio/ferror.c, libio/fgetc.c, libio/filedoalloc.c, libio/fileno.c,
3476 libio/fileops.c, libio/fputc.c, libio/freopen.c, libio/fseek.c,
3477 libio/genops.c, libio/getc.c, libio/getchar.c, libio/iofclose.c,
3478 libio/iofdopen.c, libio/iofflush.c, libio/iofgetpos.c, libio/iofgets.c,
3479 libio/iofopen.c, libio/iofprintf.c, libio/iofputs.c, libio/iofread.c,
3480 libio/iofscanf.c, libio/iofsetpos.c, libio/ioftell.c, libio/iofwrite.c,
3481 libio/iogetdelim.c, libio/iogetline.c, libio/iogets.c, libio/iolibio.h,
3482 libio/iopadn.c, libio/ioprims.c, libio/ioputs.c, libio/ioseekoff.c,
3483 libio/ioseekpos.c, libio/iosetbuffer.c, libio/iosetvbuf.c,
3484 libio/iosprintf.c, libio/ioungetc.c, libio/iovsprintf.c,
3485 libio/iovsscanf.c, libio/libio.h, libio/libioP.h, libio/putc.c,
3486 libio/putchar.c, libio/rewind.c, libio/setbuf.c, libio/setlinebuf.c,
3487 libio/stdfiles.c, libio/stdio.c, libio/stdio.h, libio/strfile.h,
3488 libio/strops.c, libio/vasprintf.c, libio/vscanf.c, libio/vsnprintf.c:
3489 New files. Slightly modified version from Linux libc.
3491 * libio/memstream.c, libio/vdprintf.c: New files for functions not
3492 (yet) part of GNU libio.
3494 * libio/iofopncook.c: Implementation of `fopencookie', mainly written
3497 * stdio-common/getline.c: Adapted to libio.
3498 * stdio-common/snprintf.c: Adapted to libio.
3499 * stdio-common/vfprintf.c: Adapted to libio.
3500 * stdio-common/vfscanf.c: Adapted to libio.
3501 * sysdeps/posix/tempname.c: Adapted to libio.
3503 Fri Nov 17 17:57:00 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
3505 * sysdeps/generic/Makefile (make_siglist): Add missing backslash.
3507 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start_cleanup): New
3510 * hurd/hurdfault.c: Replace __libc_fatal calls with assert_perror.
3511 (_hurdsig_fault_init): Remove #if 0 from setting exception port.
3512 Insert send right for SIGEXC before thread_set_special_port.
3513 * hurd/hurdsig.c: Replace __libc_fatal calls with assert_perror.
3514 (_hurdsig_init): Remove #if 0 from setting exception port.
3516 * sysdeps/mach/hurd/ptrace.c (ptrace: PTRACE_CONT): Use
3517 HURD_MSGPORT_RPC macro.
3519 Thu Nov 16 06:07:49 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>