1 Wed May 22 01:48:54 1996 Ulrich Drepper <drepper@cygnus.com>
3 * stdlib/strtol.c [!QUAD] (ULONG_MAX, LONG_MAX): Define these
4 macros if they are not available.
5 (WEAKNAME): New macro to declare argument as weak.
6 Define function with __ prefix and add normal name as weak alias.
8 * sysdeps/posix/euidaccess.c (S_IROTH, S_IWOTH, S_IXOTH): Defines
9 these macros if not already available based on R_OK, W_OK, and
12 Tue May 21 18:48:46 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
14 * misc/sys/syslog.h (__need___va_list): Define this instead of
15 __need_va_list before including <stdarg.h>.
17 * Makerules (o-iterator): Use $(object-suffixes-left) instead
18 of $(object-suffixes) to produce repetitions; this is used for other
19 lists than just that one.
20 [versioned]: Use $(o-iterator) properly.
22 * sysdeps/unix/sysv/linux/Implies: Include `gnu'.
23 * sysdeps/mach/hurd/Implies: Likewise.
25 Sat May 18 02:57:46 1996 Ulrich Drepper <drepper@cygnus.com>
27 * login/Makefile: New file. This directory contains functions
28 for user administration.
29 * Makefile (subdirs): Add login.
31 * misc/Makefile (headers): Remove utmp.h. Now in login/utmp.h.
32 (extra-libs, libutil-routines): Ditto.
33 * misc/login.c, misc/login_tty.c, misc/logout.c, misc/logwtmp.c,
34 misc/utmp.h: Moved to misc/.
35 * login/login.c, login/login_tty.c, login/logout.c,
36 login/logwtmp.c, login/utmp.h: Moved to here from misc/.
38 * login/utmp.h: Split file. Definitions of data structures
39 and constants are now in the system dependent utmpbits.h file.
41 * login/setutent_r.c, login/setutent.c, login/endutent_r.c,
42 login/endutent.c, login/getutent_r.c, login/getutent.c,
43 login/getutid_r.c, login/getutid.c, login/getutline_r.c,
44 login/getutline.c, login/pututline_r.c, login/pututline.c:
45 New files. Routines to handle utmp-style files.
47 * sysdeps/gnu/utmpbits.h: New file. Contains GNU/Linux
48 specific definitions of utmp data structures and constants.
50 * sysdeps/unix/sysv/utmpbits.h: Renamed from sysdeps/unix/sysv/utmp.h.
52 * sysdeps/generic/utmpbits.h: New file. Generic (BSDish) version of
53 definitions of utmp data structures and constants.
55 Fri May 17 00:01:31 1996 Ulrich Drepper <drepper@cygnus.com>
57 * locale/C-monetary.c: Default value for mon_decimal_point should be
60 * stdio-common/printf.h: Remove Linux libc compatibility stuff.
61 Add `extra' flag. Currently used in __printf_fp.
63 * stdio-common/printf_fp.c (__guess_grouping): Renamed from
64 `guess_grouping' and extend visibility to extern. This function
65 is now used in `strfmon'.
66 (__printf_fp): Recognize new bit flag in info struct. This
67 triggers to use the grouping information and decimal point from
68 the LC_MONETARY category instead of the LC_NUMERIC category.
70 * stdio-common/vfprintf.c (process_arg): Correct major bug. In
71 `complicated' loop we must not use the varargs because the args
72 are already available in the ARGS_VALUE array.
74 * stdlib/Makefile (headers): Add monetary.h.
75 (routines): Add strfmon.
76 * stdlib/monetary.h: New file. Header for strfmon function.
77 * stdlib/strfmon.c: New file. Implement strfmon function to print
78 monetary amounts according to current locale's rules.
80 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: The kernel header is
81 now (>= Linux-1.3.100) called <asm/vm86.h>.
83 Thu May 16 00:31:44 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
85 * Makerules [versioned]: Make symlinks in the build directory, because
86 the versioned names might be referenced by a DT_NEEDED in another
89 Wed May 15 18:59:38 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
91 * manual/examples/longopt.c: Include stdlib.h and getopt.h.
93 Tue May 14 03:36:21 1996 Ulrich Drepper <drepper@cygnus.com>
95 * sysdeps/unix/sysv/linux/Makefile [$subdir == misc] (headers):
96 Add sys/acct.h and sys/sysctl.h.
98 Tue May 14 19:42:04 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
100 * sysdeps/generic/strrchr.c: Deansideclized.
102 * elf/Makefile (ldd): Depend on Makefile.
103 Find ld.so in $(slibdir) instead of $(libdir).
105 * sysdeps/i386/strrchr.S: Use `testl $3, %esi' instead of `testb $3,
106 %esi'; gas misassembles the latter into `testb $3, %dh'.
108 * mach/Machrules (%.udeps rule): Do $(make-target-directory) first.
110 Tue May 14 16:38:44 1996 David Mosberger-Tang <davidm@AZStarNet.com>
112 * sunrpc/getrpcent.c (interpret): Declare args. Rewrite parsing using
115 Tue May 14 20:18:38 1996 Ulrich Drepper <drepper@cygnus.com>
117 * time/Makefile (routines): Add strptime.
118 * time/time.h: Add prototype for strptime.
119 * time/strptime.c: New file. Implementation according to XPG4.
121 Tue May 14 14:07:10 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
123 * libc-symbols.h (lint): Macro removed. The sunrpc code does some
124 really stupid things #ifdef lint.
126 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter): Fix
127 struct member name: sc_eip -> eip.
129 Mon May 13 19:52:33 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
131 * Makerules (stub-$(subdir)): Put cmds including cd inside (...) with
132 output redirect outside it.
134 * elf/Makefile (subdir_lib): Depend on ld.so.
136 Sun May 12 22:52:22 1996 Bruce Elliott <belliott@accessone.com>
138 * stdio-common/vfprintf.c: Correct handling of unsigned short
141 Mon May 13 12:03:03 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
143 * extra-lib.mk (alltype-$(lib)): Put libs in $(objpfx) instead of
145 * Makerules [install-lib.a]: Find them there.
147 * sysdeps/unix/sysv/linux/i386/profil-counter.h: New file.
149 * extra-lib.mk: Skip the hair if $(object-suffixes-$(lib)) is empty.
151 * posix/glob.h [_AMIGA]: Remove `struct stat;' forward decl.
153 * configure.in (--with-fp): Note in help string that it's the default.
155 * locale/programs/ld-ctype.c (struct locale_ctype_t): Use u_int32_t
156 instead of unsigned int for map_collection_max and map_collection_act.
158 * stdio-common/vfprintf.c [USE_IN_LIBIO] (flockfile, funlockfile):
159 Macros removed; they are in <stdio.h>.
160 * stdio-common/vfscanf.c: Likewise.
162 * posix/glob.c [_AMIGA]: Don't include <pwd.h>.
163 (glob): Remove bogus & in call to globfree.
164 [_AMIGA]: Use AmigaDOS file name conventions.
166 * time/Makefile (zonenames): Target removed.
167 (extra-objs): Remove it from here.
168 Include the z.* files directly instead of including zonenames; use
169 `-include' to not complain before they exist.
171 * sysdeps/unix/Makefile: Find sysd-syscalls and s-proto.d with
172 $(common-objpfx) instead of $(objpfx).
174 * sysdeps/unix/bsd/telldir.c (seekdir, telldir): Use new struct member
177 * Makerules [install-lib-non.a]: Find these things with $(objpfx)
178 instead of $(common-objpfx).
180 * Makeconfig (sysdep-configures): New variable.
181 (config.status): Depend on $(sysdep-configures).
183 Fri May 10 20:07:52 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
185 * sysdeps/unix/sysv/linux/profil.c: New file.
187 Fri May 10 19:59:50 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
189 * sysdeps/m68k/Makefile (CFLAGS-setjmp.c): New variable.
191 Fri May 10 19:55:42 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
193 * shlib-versions: Use libm=6 and libc=6 for m68k-linux.
195 Sun May 12 11:16:58 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
197 * string/envz.c: Fix uses of unsigned to size_t.
199 * Makerules ($(libdir)/libc.so): Make the file an ld script.
201 * sysdeps/mach/hurd/configure.in: Don't grok --with-hurd option.
203 * sysdeps/mach/configure.in: File removed.
204 * sysdeps/mach/configure: File removed.
206 * mach/Machrules (%.udeps rule): Write deps for %_server.[ch] too.
207 (%_server.[ch] rule): Don't depend on %.defs; use #include to get
208 installed .defs file.
210 * stdio-common/vfprintf.c (flockfile, funlockfile): Define to
211 nothing for stdio. Fix fUNlockfile -> funlockfile for libio.
212 * stdio-common/vfscanf.c: Likewise.
214 Sat May 11 13:43:41 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
216 * hurd/hurdfault.c: Include faultexc_server.h instead of faultexc.h.
218 * mach/Machrules (%.ir rule): Don't produce deps for imports.
220 * elf/dl-fini.c (_dl_fini): Clear L->l_init_called after calling fn.
222 * Makerules (install): Depend on $(slibdir)/libc.so$(libc.so-version).
223 [!subdir] ($(libdir)/libc.so, $(common-objpfx)/libc-syms.so): Protect
224 these targets and install dep on $(libdir)/libc.so with this.
226 * hurd/Makefile: Removed all rules and defns for using code from Hurd
227 sources and installing headers from there.
229 * sysdeps/mach/hurd/errnos.awk: Set in_mach_errors to FILENAME when we
230 set it. In Mach error matching clause, only match if FILENAME is
231 still the same value.
233 * sysdeps/mach/hurd/Makefile: Don't include sysdeps/mach/Makefile;
234 $(mach-srcdir) no longer exists.
235 (hurd-srcdir): Variable removed.
236 (includes): Don't append -I$(hurd-srcdir).
237 (last-includes): Variable removed.
238 Remove vpath specs using $(hurd-srcdir).
239 (mach-errno-h): New canned sequence.
240 ($(common-objpfx)errnos.d): New target, generated included makefile
241 to determine absolute file names of Mach headers to search for error
242 codes and set variable mach-errnos-deps.
243 ($(common-objpfx)stamp-errnos): Depend on $(mach-errnos-deps) instead
244 of prior explicit list.
245 (generated): Add errnos.d, stamp-errnos.
247 * mach/Machrules (some-if-rtn): New variable and target; compute deps
248 of some if routine and make all if routines depend on that .d file
249 instead of static list of .h files.
251 * mach/Makefile (mach/mach_interface.defs,
252 mach/memory_object_user.defs): Targets removed.
253 ($(objpfx)mach-syscalls.mk): Tweak this kludge so it doesn't depend
254 directly on Mach sources.
256 * sysdeps/mach/Makefile (mach-srcdir): Variable removed.
257 (includes): Don't append -I$(mach-srcdir).
258 Remove vpath specs using $(mach-srcdir).
260 * hurd/Makefile (server-interfaces): Add faultexc.
261 (sig): Remove it from here.
262 (fault%.[ch]): Rule removed.
263 (MIGFLAGS-faultexc): New variable.
265 * hurd/faultexc.defs: New file.
267 * mach/Machrules (%.ustamp rule): Pass $(MIGFLAGS-$*) to mig.
268 (%_server.[ch] rule): Likewise.
270 * mach/Makefile: Removed all rules and defns for using code from Mach
271 sources and installing headers from there.
273 * Makeconfig [$(build-shared)=yes] (link-libc): Append
274 $(libc.so-version) to libc.so.
276 Fri May 10 18:36:14 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
278 * mach/Machrules (%.ustamp rule): Don't depend on %.defs.
279 (%.udeps): New rule parallel to that one, generating included
280 makefiles with -M output from `#include <%.defs>'.
282 * Makerules (sed-remove-objpfx): Remove space before \ at eol.
284 * Makefile (distribute): Add FAQ.
285 * FAQ: New file contributed by drepper.
287 * time/Makefile (headers): Add timebits.h.
288 * sysdeps/unix/sysv/linux/timebits.h: New file.
289 * sysdeps/stub/timebits.h: New file.
290 * time/time.h (CLK_TCK): Define to CLOCKS_PER_SEC.
291 (CLOCKS_PER_SEC): Remove this macro. Instead #include <timebits.h>.
293 Fri May 10 16:22:44 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu>
295 * string/argz-create.c (__argz_create): Restore const keyword to
297 * string/argz.h (__argz_create, argz_create): Restore const
299 * string/envz.c (envz_get): Don't declare ENTRY const.
301 Fri May 10 11:48:03 1996 Miles Bader <miles@gnu.ai.mit.edu>
303 * string/argz.h (argz_create): Fix param type.
304 * string/argz-create.c (__argz_create): Remove const from param type.
305 * string/envz.c (envz_get): Remove const from return type.
307 Fri May 10 09:41:54 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu>
309 * string/argz.h (__argz_create, argz_create): Omit const keyword
310 from declaration of ARGV.
311 * string/envz.h (envz_get): Omit const from declaration of return
314 Thu May 9 09:17:46 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
316 * aclocal.m4 (AC_FD_MSG, AC_FD_CC): Fix these for autoconf weirdness.
318 Cleanups in sunrpc code from NIIBE Yutaka <gniibe@mri.co.jp>.
319 * sunrpc/clnt_tcp.c (clnttcp_create): Don't close *SOCKP if it's -1.
320 * sunrpc/clnt_simp.c (callrpc): Don't close CRP->socket if it's
322 * sunrpc/pmap_clnt.c (pmap_set): Don't close SOCKET, since
323 CLNT_DESTROY already has.
324 (pmap_unset): Likewise.
325 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
326 * sunrpc/pm_getport.c (pmap_getport): Likewise.
327 * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
328 * sunrpc/portmap.c (callit): Likewise.
330 * Makerules (versioned): Strip whitespace.
332 * Rules (static-only-routines rule): Remove spurious space in dep.
334 * misc/getusershell.c: Undo changes of 7 May 96 (rev 1.6).
335 Cast string constants to char *.
337 * posix/glob/SMakefile, posix/glob/SCOPTIONS, posix/glob/Makefile.ami:
338 New files, AmigaDOS support from Aaron Digulla.
339 * posix/Makefile (glob.tar): Add AmigaDOS support files.
341 * sysdeps/unix/sysv/linux/net/if.h: New file.
342 * sysdeps/unix/sysv/linux/Dist: Add it.
343 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=socket] (headers): Add
346 * Makeconfig (link-libc): Add libc.a after libc.so in link.
348 * Rules (static-only-routines rule): Use empty.o instead of dummy.o.
349 (empty.o): New target.
350 (generated): Add empty.c, empty.o.
352 * resolv: Code updated from BIND-4.9.3P2C3.
354 * Rules (static-only-routines rule): Use dummy.o, not dummy.so.
356 Wed May 8 20:04:29 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
358 * extract-dynsym: New file.
359 * Makefile (distribute): Add it.
360 * Rules (subdir_install): Depend on $(common-objpfx)sor-$(subdir).
361 [! libc.so-version]: Clear static-only-routines.
362 ($(common-objpfx)sor-$(subdir)): New target.
363 [static-only-routines]: New static pattern rule for these .so's.
364 * Makerules [libc.so-version] ($(slibdir)/libc.so): Target removed.
365 [libc.so-version] ($(libdir)/libc.so, $(common-objpfx)libc-syms.so):
366 New targets replace it.
367 (install) [libc.so-version]: Depend on $(libdir)/libc.so instead of
369 * io/Makefile (static-only-routines): New variable.
370 * configure.in: Check for tools objdump and objcopy, and for awk.
371 * config.make.in (OBJDUMP, OBJCOPY, AWK): New variables.
373 Thu May 9 01:24:00 1996 Ulrich Drepper <drepper@cygnus.com>
375 * locale/programs/config.h: Remove definition of wint_t.
377 * locale/programs/ld-collate.c: Include <wchar.h> instead of
380 * manual/time.texi: Add some more description for %U and %W
381 format of strftime. Describe new format %V of strftime.
383 * resolv/gethnamaddr.c: Prevent warning by preventing variable
385 * stdio-common/_itoa.c: Ditto.
387 Tue May 7 23:43:07 1996 Ulrich Drepper <drepper@cygnus.com>
389 * libio/clearerr.c, libio/feof.c, libio/ferror.c, libio/fgetc.c,
390 libio/fileno.c, libio/fputc.c, libio/freopen.c, libio/fseek.c,
391 libio/genops.c, libio/getc.c, libio/getchar.c, libio/iofclose.c,
392 libio/iofflush.c, libio/iofgetpos.c, libio/iofgets.c,
393 libio/iofputs.c, libio/iofread.c, libio/iofsetpos.c,
394 libio/ioftell.c, libio/iofwrite.c, libio/iogetdelim.c,
395 libio/iogets.c, libio/ioputs.c, libio/iosetbuffer.c,
396 libio/iosetvbuf.c, libio/ioungetc.c, libio/iovsprintf.c,
397 libio/libio.h, libio/putc.c, libio/putchar.c, libio/rewind.c,
398 libio/stdio.h, stdio-common/printf_fp.c, stdio-common/vfprintf.c,
399 stdio-common/vfscanf.c: Prepare for reentrent libio.
401 * libio/clearerr_u.c, libio/feof_u.c, libio/ferror_u.c,
402 libio/fputc_u.c, libio/getc_u.c, libio/getchar_u.c,
403 libio/iofflush_u.c, libio/putc_u.c, libio/putchar_u.c: New files.
404 Used in reentrent libio.
406 * misc/getusershell.c: Prevent warnings.
408 Wed May 8 12:08:35 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
410 * Makerules (install-lib.so rules): Undouble $s in target and dep
411 parts of o-iterator-doit defns.
412 (unversioned libraries install rule): Fix pattern.
414 * mach/Makefile (mach-src-headers): Use $(base-machine) instead of
416 ($(includedir)/machine): Likewise.
418 * config.make.in (base-machine): New variable.
419 * configure.in (machine): Move case stmt to set $machine out of sysdep
421 (base_machine): New variable, set in that switch and AC_SUBST'd.
423 * Makerules (stub-$(subdir)): Use file name in directory as output,
426 * configure.in (MSGFMT): Use : if none found.
428 * po/Makefile: Include ../Rules instead of ../Makerules.
430 Tue May 7 23:18:44 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
432 * po/Makefile: New file.
433 * Makefile (subdirs): Add po.
435 * configure.in: Check for msgfmt.
436 * config.make.in (MSGFMT): New variable.
438 Sun May 5 23:49:10 1996 Ulrich Drepper <drepper@cygnus.com>
440 * misc/Makefile (routines): Add swapoff.
442 * sysdeps/unix/sysv/linux/Dist: Add sys/quota.h.
444 * sysdeps/unix/sysv/linux/sys/quota.h: New file. Wrapper around
447 Tue May 7 19:00:01 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
449 * string/argz-extract.c: Remove const from decl.
450 * string/argz.h: Here too.
452 * Makeconfig (version.mk): Fix regexp in sed cmd.
453 Depend on $(..)Makeconfig.
455 * GMP code updated from gmp-2.0 release.
456 * stdlib/Makefile (mpn-routines): Removed add_1, added inlines.
457 * sysdeps/generic/add_1.c: File removed.
458 * stdlib/strtod.c: mp_limb is now mp_limb_t.
459 * stdlib/fpioconst.c, stdlib/fpioconst.h: Likewise.
460 * stdio-common/_itoa.c: Likewise.
461 * stdio-common/printf_fp.c: Likewise.
462 Don't include ansidecl.h.
464 * sysdeps/mach/hurd/getcwd.c: Use io_identity instead of io_stat.
466 * shlib-versions: New file.
467 * Makerules (soversions.mk): New target, include file generated from
468 shlib-versions. Moved shared library rules before installation rules.
469 Rewrote shared library installation rules for versioned libraries.
470 * math/Makefile (libm.so-version): Variable removed.
472 * sysdeps/mach/hurd/i386/exc2signal.c: Use struct hurd_signal_detail.
474 * hurd/report-wait.c (_S_msg_describe_ports): New function.
476 * configure.in: Add AC_PROG_LN_S check.
477 * config.make.in (LN_S): New variable.
479 Sun May 5 03:10:44 1996 Ulrich Drepper <drepper@cygnus.com>
481 * misc/efgcvt_r.c (ecvt_r): Work aroung gcc bug. gcc does
482 not know about weak aliases now and optimizes necessary `if'
485 * posix/unistd.h: Add swapoff prototype.
487 * sysdeps/generic/confname.h: Add even more POSIX.4 symbols.
489 * sysdeps/posix/fpathconf.c (__fpathconf): Get information
490 for _PC_PATH_MAX from fstatfs function if available.
492 * sysdeps/posix/sysconf.c: Add code to handle _SC_AIO_LISTIO_MAX,
493 _SC_AIO_MAX, _SC_AIO_PRIO_DELTA_MAX, _SC_DELAYTIMER_MAX,
494 _SC_MQ_OPEN_MAX, _SC_MQ_PRIO_MAX, _SC_RTSIG_MAX,
495 _SC_SEM_NSEMS_MAX, _SC_SEM_VALUE_MAX, _SC_SIGQUEUE_MAX, and
497 * sysdeps/unix/sysv/sysv4/sysconf.c: Ditto.
499 * sysdeps/stub/swapoff.c: New file. Stub version for swapoff
502 * sysdeps/unix/syscalls.list: Add swapoff.
504 * sysdeps/unix/sysv/linux/Dist: Add sys/acct.h.
506 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
507 (sysdep_routines): Add mount, umount, llseek, setfsgid, setfsuid,
509 (headers): Add sys/sysinfo.h.
511 * sysdeps/unix/sysv/linux/gethostid.c: Prevent warning.
513 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == misc]
514 (sysdep_routines): Add ioperm, iopl, and vm86.
515 (headers): Add sys/perm.h and sys/vm86.h.
517 * sysdeps/unix/sysv/linux/i386/sys/perm.h: New file. Contains
518 prototypes for iopl and ioperm.
520 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: New file. Contains
523 * sysdeps/unix/sysv/linux/i386/syscalls.list: New file. Add
526 * sysdeps/unix/sysv/linux/sys/acct.h: New file. Contains
527 prototypes for acct function.
529 * sysdeps/unix/sysv/linux/sys/socket.h: Provide real header
530 file with prototypes.
532 * sysdeps/unix/sysv/linux/sys/sysinfo.h: New file. Contains
533 prototype for sysinfo function.
535 * sysdeps/unix/sysv/linux/syscalls.list: Add flock, ioperm, iopl,
536 llseek, setfsgid, setfsuid, sysinfo, and uselib.
538 * sysdeps/unix/sysv/linux/sysconf.c: Instead of duplicating
539 posix/sysconf.c now only handle cases different to that
542 Tue May 7 15:08:19 1996 Miles Bader <miles@gnu.ai.mit.edu>
544 * stdio/linewrap.c (__line_wrap_output): Renamed from lwoutput
545 (all references changed). Now exported.
547 * stdio/linewrap.c (struct data): Type deleted (moved to linewrap.h).
548 (wrap_stream, unwrap_stream, lwclose, lwfileno, lwoutput,
549 line_wrap_stream, line_unwrap_stream): Use struct line_wrap_data
550 instead of struct data.
551 (lwoutput, line_wrap_stream, line_unwrap_stream): Rename various
552 occurences of `wrap' and `wrapmargin' to `wmargin'.
553 (line_wrapped, line_wrap_lmargin, line_wrap_set_lmargin,
554 line_wrap_rmargin, line_wrap_set_rmargin, line_wrap_wmargin,
555 line_wrap_set_wmargin, line_wrap_point): New functions.
556 * stdio/linewrap.h: New file.
557 * stdio/Makefile (headers): Add linewrap.h.
559 Tue May 7 14:19:12 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
561 * sysdeps/unix/sysv/linux/i386/Makefile: File removed.
563 * stdio/stdio.h: Remove line_wrap_stream, line_unwap_stream decls.
565 * sysdeps/unix/sysv/linux/schedbits.h: New file.
567 Tue May 7 13:47:02 1996 Miles Bader <miles@gnu.ai.mit.edu>
569 * stdio/linewrap.c (struct data): Make margin fields not-pointers.
570 (lwoutput): Adjust uses acordingly.
572 Tue May 7 10:51:52 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
574 * sysdeps/mach/hurd/fdatasync.c: New file.
575 * sysdeps/mach/hurd/fsync.c: Pass new flag to file_sync.
577 * sysdeps/mach/hurd/xmknod.c: Pass new flag to dir_link.
578 * sysdeps/mach/hurd/symlink.c: Likewise.
579 * sysdeps/mach/hurd/link.c: Likewise.
580 * sysdeps/mach/hurd/bind.c: Likewise.
581 * hurd/hurdsig.c (write_corefile): Likewise.
583 * hurd/hurdsig.c (write_corefile): Pass cttyid port to crash server.
585 * sysdeps/mach/hurd/fpathconf.c: RPC takes int pointer, not long int.
587 * sysdeps/mach/hurd/_exit.c (_hurd_exit): Pass sigcode arg to
589 * sysdeps/mach/hurd/dl-sysdep.c (_exit): Likewise.
591 * sysdeps/mach/hurd/wait4.c: Pass sigcode arg to proc_wait.
593 * sysdeps/mach/hurd/rename.c: Pass new flag to dir_rename.
595 * hurd/hurdfault.c (_hurdsig_fault_catch_exception_raise): Use struct
597 * hurd/catch-exc.c (_S_catch_exception_raise): Likewise.
598 * hurd/hurd-raise.c (_hurd_raise_signal): Likewise.
599 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
601 * sysdeps/mach/hurd/setitimer.c (restart_itimer): Likewise.
603 * hurd/hurd/signal.h: Fix _hurd_exception2signal prototype.
605 * hurd/hurdsig.c (write_corefile): Take const struct
606 hurd_signal_detail * arg. Pass all details to crash_dump_task.
607 (_hurd_internal_post_signal): Pass DETAIL to write_corefile.
608 (_hurd_internal_post_signal: suspend): Pass code and error to
611 * hurd/hurdprio.c (_hurd_priority_which_map): Pass flags arg to
612 proc_getprocinfo by reference.
614 * wcsmbs/wcwidth.c, wcsmbs/wcswidth.c: Fixed typos.
616 * sysdeps/unix/sysv/linux/sys/mman.h: Fixed typo.
618 * sysdeps/stub/sched_getp.c: Add missing #include <sys/types.h>.
619 * sysdeps/stub/sched_sets.c: Likewise.
620 * sysdeps/stub/sched_setp.c: Likewise.
621 * sysdeps/stub/sched_rr_gi.c: Likewise.
622 * sysdeps/stub/sched_gets.c: Likewise.
624 * hurd/hurdsig.c: Use struct hurd_signal_detail.
625 * hurd/hurd/fd.h (_hurd_fd_error): Likewise.
626 * sysdeps/mach/hurd/sysd-stdio.c (fd_fail): Likewise.
628 Mon May 6 09:51:05 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
630 * stdio/linewrap.c: New file.
631 * stdio/Makefile (routines): Add linewrap.
632 * stdio/stdio.h [__USE_GNU]: Declare line_wrap_stream,
635 Mon May 6 14:53:26 1996 Ulrich Drepper <drepper@cygnus.com>
637 * time/strftime.c (week): Add third parameter telling how
638 many days must be in new year so that it is called week 1.
639 (Following ISO 8601).
640 Correct computation for %U and %V formats when day was first
642 (strftime): Implement %V format according to Spec1170.
644 Mon May 6 17:01:09 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu>
646 * hurd/hurd/signal.h (_hurd_intr_rpc_mach_msg): New declaration.
648 Sat May 4 05:44:25 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
650 * hurd/hurd/sigpreempt.h (struct hurd_signal_preempter): Change
651 prototype of `preempter' elt to use struct hurd_signal_detail.
653 * hurd/hurd/signal.h (struct hurd_signal_detail): New type.
654 (struct hurd_sigstate): Make `pending_data' member an array of that.
655 Use the new type in several decls.
657 * locale/setlocale.c (_nl_C_name): Variable removed.
658 * locale/C_name.c: New file.
659 (_nl_C_name): Put it here instead.
660 * locale/Makefile (aux): Add C_name.
662 * sysdeps/mach/hurd/dl-sysdep.c (open): Don't pass io port in
663 auth_user_authenticate rpc.
664 (open): Avoid using strtol in digit conversion for "fd/N" magic.
665 (_dl_sysdep_start): Likewise for memobj name in magic switches.
667 * elf/Makefile (reloc-link): New variable.
668 (dl-allobjs.so): New target, link together $(rtld-routines).
669 (librtld.so): Depend on that instead of the rtld components.
670 (generated): Add dl-allobjs.so.
672 * hurd/hurd-raise.c (_hurd_raise_signal): Pass sigcode in msg_sig_post
675 * hurd/hurdmsg.c (_S_msg_set_environment): Use argz.h functions
676 instead of _hurd_split_args.
677 (_S_msg_*_exec_flags): Functions removed.
678 (_S_msg_startup_dosync): Stub removed.
680 Sat May 4 02:11:55 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
682 * sysdeps/mach/hurd/ptrace.c: Set _hurdsig_traced instead of
683 EXEC_TRACED bit in _hurd_exec_flags.
684 Pass sigcode arg in msg_sig_post_untraced rpc.
686 * sysdeps/mach/hurd/access.c: Don't pass io port in
687 auth_user_authenticate rpc.
689 * posix/sched.h: Fix typos.
691 * sysdeps/mach/hurd/fork.c: Use new critical section lock.
692 Clear _hurdsig_traced instead of EXEC_TRACED.
694 * sysdeps/stub/nanosleep.c (nanosleep): Fix typo.
696 * wcsmbs/wcstol.c: Find strtol.c in ../stdlib.
697 * wcsmbs/wcstof.c: Find strtod.c in ../stdlib.
698 * wcsmbs/wcstod.c: Likewise.
699 * wcsmbs/wcstold.c: Likewise.
701 * wcsmbs/wcwidth.h: Find cname-lookup.h in ../wctype.
703 * string/envz.c (envz_entry): Use const.
704 (envz_get, envz_remove): Likewise.
705 (envz_entry): Return char *, not const char *.
707 * string/envz.h: Fix decl.
709 * string/argz-create.c: Use const in prototype.
710 * string/argz-next.c: Likewise.
712 Fri May 3 13:32:08 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
714 * sysdeps/mach/hurd/sigprocmask.c: Pass sigcode arg to msg_sig_post.
715 * sysdeps/mach/hurd/i386/sigreturn.c: Likewise.
716 * sysdeps/mach/hurd/sigsuspend.c: Likewise.
717 * sysdeps/mach/hurd/kill.c: Likewise.
719 * hurd/hurdexec.c (_hurd_exec): Use new critical section lock.
720 * hurd/catch-exc.c (_S_catch_exception_raise): Likewise.
721 * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Likewise.
722 * hurd/thread-cancel.c (hurd_thread_cancel, hurd_check_cancel):
724 * sysdeps/mach/hurd/jmp-unwind.c (_longjmp_unwind): Likewise.
725 * sysdeps/mach/hurd/sigaction.c: Likewise.
727 * sysdeps/mach/hurd/errnos.awk: Don't use ARGV in comment; it can
728 change meaninglessly.
730 * hurd/hurd/signal.h (struct hurd_sigstate): Replace critical section
731 flag with a spin lock.
732 (_hurd_critical_section_lock): Use spin_try_lock on that to see if we
733 get it. No need to take SS->lock at all.
734 (_hurd_critical_section_unlock): Unlock SS->critical_section_lock
735 instead of clearing the old flag member.
736 * hurd/hurdsig.c (_hurd_internal_post_signal): Use spin_lock_locked to
737 test the critical section state.
739 * hurd/hurdinit.c (_hurd_init): Set _hurdsig_traced from the intarray.
741 * hurd/hurdkill.c (_hurd_sig_post): Pass 0 sigcode in msg_sig_post.
743 * hurd/hurdsig.c (_hurd_internal_post_signal): Test _hurdsig_traced
744 instead of testing (_hurd_exec_flags & EXEC_TRACED).
745 (_S_msg_sig_post): Take sigcode arg and pass it through.
746 (_S_msg_sig_post_untraced): Likewise.
747 (reauth_proc): Don't pass proc port in auth_user_authenticate.
749 * hurd/setauth.c (_hurd_setauth): Don't pass object ports in
750 auth_user_authenticate RPCs, just the one-off rendezvous port.
751 * hurd/dtable.c (reauth_dtable): Likewise.
752 * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Likewise.
754 * hurd/hurdexec.c (_hurd_exec): Pass 0 flags to file_exec.
755 Pass sigcode arg to msg_sig_post.
757 * string/argz.h (argz_create): Use const in prototype.
759 * hurd/hurdinit.c (_hurd_proc_init): Test _hurdsig_traced instead of
760 testing (_hurd_exec_flags & EXEC_TRACED).
761 Pass sigcode arg to msg_sig_post.
763 * hurd/hurd.h: Declare _hurdsig_traced.
765 * string/argz.h (__argz_next): Cast ENTRY before returning it.
767 * hurd/hurd/signal.h (_hurd_critical_section_unlock): Pass sigcode arg
770 * hurd/path-lookup.c: New file.
771 * hurd/Makefile (routines): Add path-lookup.
772 * hurd/hurd/lookup.h: Declare file_name_path_scan,
773 hurd_file_name_path_lookup.
774 * hurd/hurd.h: Declare file_name_path_lookup.
776 * sysdeps/mach/hurd/select.c: The io_select rpc no longer has a TAG_ID
777 argument. Instead, use a separate reply port for each RPC and put them
778 all in a port set to wait for slow replies.
780 * intl/Makefile (CPPFLAGS): Change $(nlsdir) to $(i18ndir) in
783 Fri May 3 03:14:02 1996 Ulrich Drepper <drepper@cygnus.com>
785 * intl/Makefile (routines): Add l10nflist and explodename.
786 (distribute): Add loadinfo.h and locale.alias.
787 (install-others): New variable to install locale.alias.
789 * intl/dcgettext.c, intl/finddomain.c, intl/gettextP.h,
790 intl/loadmsgcat.c: Adapt for upcoming gettext-0.10.13. Some code
791 is now shared with the locale implementation.
793 * intl/explodename.c, intl/l10nflist.c, intl/loadinfo.h: New file.
794 Extracted from finddomain.c. This is also used in the locale
797 * intl/locale.alias: New file. Locale alias database compatible
798 with X Window System's locale alias file. Can now be used in
799 locale and gettext code.
801 * libio/stdio.h: Add prototypes for asprint and vasprintf.
803 * locale/C-collate.c, locale/C-ctype.c, locale/C-messages.c,
804 locale/C-monetary.c, locale/C-numeric.c, locale/C-time.c: Add new
805 field in structure with name of locale ("C" in this case).
807 * locale/Makefile (routines): Add findlocale.
809 * locale/findlocale.c: New file. Instead of trying to load the
810 directly described file we now try to be much smarter when this
811 fails. Use the same code as gettext does.
813 * locale/loadlocale.c, locale/setlocale.c: Rewrite to know about
816 * locale/localeinfo.h: Adapt prototypes and declarations for new
817 setlocale implementation. Remove definition of u32_t type. We
818 now use u_int32_t from <sys/types.h>.
820 * locale/programs/charset.h (ILLEGAL_CHAR_VALUE): Provide type
823 * locale/programs/config.h, locale/lc-collate.c,
824 locale/localeinfo.h, locale/programs/ld-collate.c,
825 locale/programs/ld-ctype.c, locale/programs/ld-messages.c,
826 locale/programs/ld-monetary.c, locale/programs/ld-numeric.c,
827 locale/programs/ld-time.c, locale/weight.h, string/strcoll.c:
828 Change to use u_int32_t and u_int16_t.
830 * locale/programs/localedef.c (construct_output_path): Change name
831 of output locale to contain normalized form of the character set
834 * string/Makefile (routines): Add agrz-ctsep and argz-next.
835 (tests): Add tst-strlen.
837 * string/argz-ctsep.c: New file. Implement reverse operation
840 * string/argz-next.c: Non-inline version of function from argz.h.
842 * string/argz.h, string/envz.h: Make usable as global header file.
844 * string/envz.c: Fix declarations to use size_t where prototypes
847 * string/tst-strlen.c: New file. Another test for critical
848 situation in strlen implementations.
850 * sysdeps/i386/i586/strlen.S: Fix bug with highest byte in word
853 * wctype/test_wctype.c: Fix controlling comparison after change to
854 32 bit character class array.
856 Fri May 3 12:53:12 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
858 * sysdeps/unix/sysv/linux/sys/socket.h: Remove spurious doubled line.
860 Thu May 2 22:50:52 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
862 * sysdeps/unix/sysv/linux/getpriority.c: New file.
863 * sysdeps/unix/sysv/linux/syscalls.list: Add s_getpriority.
865 Thu May 2 22:41:31 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
867 * sysdeps/unix/sysv/linux/m68k/fpu_control.h (_FPU_DEFAULT):
868 Disable all exceptions.
870 Thu May 2 22:33:14 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
872 * sysdeps/m68k/fpu/e_acos.c, sysdeps/m68k/fpu/e_acosf.c,
873 sysdeps/m68k/fpu/e_fmod.c, sysdeps/m68k/fpu/e_fmodf.c,
874 sysdeps/m68k/fpu/isinfl.c, sysdeps/m68k/fpu/isnanl.c,
875 sysdeps/m68k/fpu/s_atan.c, sysdeps/m68k/fpu/s_atanf.c,
876 sysdeps/m68k/fpu/s_frexp.c, sysdeps/m68k/fpu/s_frexpf.c,
877 sysdeps/m68k/fpu/s_ilogb.c, sysdeps/m68k/fpu/s_ilogbf.c,
878 sysdeps/m68k/fpu/s_isinf.c, sysdeps/m68k/fpu/s_isinff.c,
879 sysdeps/m68k/fpu/s_ldexp.c, sysdeps/m68k/fpu/s_ldexpf.c,
880 sysdeps/m68k/fpu/s_modf.c, sysdeps/m68k/fpu/s_modff.c: Don't
881 define __NO_MATH_INLINES, which is already defined on command
884 Thu May 2 22:18:28 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
886 * sysdeps/libm-ieee754/e_j0f.c (__ieee754_j0f, __ieee754_y0f):
887 Replace 0x80000000 by 0x48000000.
888 * sysdeps/libm-ieee754/e_j1f.c (__ieee754_j1f): Likewise.
890 Thu May 2 21:30:33 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
892 * sunrpc/svc_simple.c: Make global variable pl local to
895 Thu May 2 00:24:04 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
897 * time/Makefile (tz-cflags): New variable.
898 (CFLAGS-tzfile.c): New variable.
899 (CFLAGS-zic.c): Add $(tz-cflags).
900 (tz-cc): Remove variable.
901 ($(objpfx)tzfile.o, $(objpfx)zic.o): Remove targets.
903 Wed May 1 09:10:04 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
905 * sysdeps/mach/hurd/getcwd.c: Jump out of both loops when we find a
906 name, instead of checking for reaching end of buffer, which happens
907 when the match is the last entry in the buffer.
909 * time/strftime.c: Use canonical autoconf nugget for time.h+sys/time.h
912 Mon Apr 29 02:48:26 1996 Ulrich Drepper <drepper@cygnus.com>
914 * ctype/ctype-info.c: (__ctype_width): New variable.
915 (__ctype_names): Initialize correctly without offset.
917 * locale/C-collate.c, locale/C-ctype.c,
918 locale/C-messages.c, locale/C-monetary.c,
919 locale/C-numeric.c, locale/C-time.c: Change copyright.
921 * locale/C-ctype.c (_nl_C_LC_CTYPE_class32): Correct
922 endianess for initialization value.
924 * locale/lc-ctype.c (current): Add parameter for offset.
925 (__ctype32_b, __ctype_width): Add initialization for these
928 * locale/programs/charmap.c: Finish support for WIDTH information.
929 (new_width): New function.
931 * locale/programs/charset.h (width_rule): new data structure.
932 (charset_t): Add elements for width information.
934 * locale/programs/ld-ctype.c (locale_ctype_t): Add element
935 for width information.
936 (allocate_arrays): Add new argument for charset.
937 (ctype_finish): Make sure all characters named in charset
938 width table are known to name table.
939 (ctype_output): Correct handling of class and map name
940 information and write out width information.
941 (find_idx): Prepare for being called with NULL pointer as
942 TABLE argument. This means only allocate name entry.
943 (allocate_arrays): Correct handling of array element -1.
944 Because EOF == -1 the value of element 127 must *not* be
946 Fill width information from charset tables.
948 * locale/programs/localedef.c (main): Correct loop over all
949 categories after change of order from Thu Mar 28 14:22:51 1996.
950 Add new charset argument to call of `write_all_categories'.
952 * locale/programs/locales.h (ctype_finish, ctype_output): New
955 * locale/programs/locfile.c (write_all_categories): Call
956 `ctype_output' with additional argument charset.
958 * posix/getconf.c (vars): Add _POSIX_SYNC_IO, _POSIX_ASYNC_IO,
959 and _POSIX_PRIO_IO definitions.
961 * posix/posix2_lim.h: Add definition of _POSIX2_CHARCLASS_NAME_MAX
962 and CHARCLASS_NAME_MAX.
964 * posix/unistd.h: Document _POSIX_SYNC_IO, _POSIX_ASYNC_IO,
967 * stdlib/grouping.h: Prepare for use in wide string functions.
969 * stdlib/stdlib.h: Correct prototypes for __strto*_internal
972 * stdlib/strtod.c: Extend for use as `wcsto{f,d,ld}'.
974 * stdlib/strtol.c: Extend for use as `wcsto{l,ul,q,uq}'.
976 * string/strcoll.c: Extend for use as `wcscoll'.
978 * string/strxfrm.c: Extend for use as `wcsxfrm'.
980 * sysdeps/generic/confname.h: Add definition of _PC_SYNC_IO,
981 _PC_ASYNC_IO, _PC_PRIO_IO and _SC_CHARCLASS_NAME_MAX.
983 * sysdeps/generic/stpncpy.c: Correct return value.
985 * sysdeps/posix/fpathconf.c: Add handling of _PC_SYNC_IO,
986 _PC_ASYNC_IO, and _PC_PRIO_IO.
988 * sysdeps/posix/sysconf.c: Add handling of _SC_REALTIME_SIGNALS,
989 _SC_PRIORITY_SCHEDULING, _SC_TIMERS, _SC_ASYNCHRONOUS_IO,
990 _SC_PRIORITIZED_IO, _SC_SYNCHRONIZED_IO, _SC_FSYNC,
991 _SC_MAPPED_FILES, _SC_MEMLOCK, _SC_MEMLOCK_RANGE,
992 _SC_MEMORY_PROTECTION, _SC_MESSAGE_PASSING, _SC_SEMAPHORES,
993 _SC_SHARED_MEMORY_OBJECTS, and _SC_CHARCLASS_NAME_MAX.
994 * sysdeps/stub/sysconf.c: Ditto.
995 * sysdeps/unix/sysv/sysv4/sysconf.c: Ditto.
997 * sysdeps/unix/sysv/linux/Dist: Add sys/sysctl.h.
999 * sysdeps/unix/sysv/linux/Makefile [subdir == misc]
1000 (sysdep_routines): Add s_sysctl and sysctl.
1002 * sysdeps/unix/sysv/linux/sys/mman.h: Add declaration of mremap.
1004 * sysdeps/unix/sysv/linux/sys/socket.h: New file. Wrapper
1005 around kernel header.
1007 * sysdeps/unix/sysv/linux/sys/sysctl.h: New file. Define
1008 interface to `sysctl' function.
1010 * sysdeps/unix/sysv/linux/syscalls.list: Add mremap and _sysctl.
1012 * sysdeps/unix/sysv/linux/sysconf.c: Add handling of
1013 _SC_CHARCLASS_NAME_MAX.
1015 * sysdeps/unix/sysv/linux/sysctl.c: new file. Implement caller
1016 of _sysctl system call.
1018 * sysvipc/Makefile (routines): Add ftok.
1020 * sysvipc/ftok.c: use variable `proj_id' not `id'. Patch by
1021 David Mosberger-Tang.
1023 * wcsmbs/Makefile (routines): Add wcpcpy, wcpncpy, wcstol,
1024 wcstoul, wcstoq, wcstouq, wcstod, wcstold, wcstof, wcscoll,
1025 wcsxfrm, wcwidth, and wcswidth.
1027 * wcsmbs/wchar.h: Add declarations for wcpcpy, wcpncpy, wcstol,
1028 wcstoul, wcstoq, wcstouq, wcstod, wcstold, wcstof, wcscoll,
1029 wcsxfrm, wcwidth, and wcswidth.
1030 Declare internal interfaces for wcsto* functions.
1031 [OPTIMIZE]: Define inline functions for wcsto* functions to
1032 call internal interface functions.
1034 * wcsmbs/wcpcpy.c, wcsmbs/wcpncpy.c: New files. Implement non-
1035 standard function equivalent to stpcpy/stpncpy.
1037 * wcsmbs/wcscoll.c: Implement `wcscoll' function by using
1038 `strcoll' implementation.
1040 * wcsmbs/wcscpy.c, wcsmbs/wcsncpy.c: Use wint_t instead of
1043 * wcsmbs/wcstod.c: Implement `wcstod' function by using `strtod'
1045 * wcsmbs/wcstof.c: Same for `wcstof'.
1046 * wcsmbs/wcstold.c: Same for `strtold'.
1048 * wcsmbs/wcstol.c: Implement `wcstol' function by using `strtol'
1050 * wcsmbs/wcstoq.c: Same for `wcstoq'.
1051 * wcsmbs/wcstoul.c: Same for `wcstoul'.
1052 * wcsmbs/wcstouq.c: Same for `wcstouq'.
1054 * wcsmbs/wcswidth.c: Implement `wcswidth' function from X/Open
1056 * wcsmbs/wcwidth.c: Ditto for `wcwidth'.
1057 * wcsmbs/wcwidth.h: Common function for definitions of above two
1060 * wcsmbs/wcsxfrm.c: Implement `wcsxfrm function by using
1061 `strxfrm implementation.
1063 * wctype/wctype.c: Remove case for `wctype_t' being 16 bit type.
1065 * wctype/wctype.h (wint_t): Protect against multiple definition.
1066 (wctype_t): Always define as `unsigned long int'.
1068 * wctype.h: New file. Wrapper around wctype/wctype.h.
1070 Tue Apr 30 17:30:46 1996 Miles Bader <miles@gnu.ai.mit.edu>
1072 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Add timeout argument to
1073 interrupt_operation call.
1074 (_hurdsig_interrupt_timeout): New variable.
1076 * hurd/report-wait.c (describe_number): Correctly allocate space
1077 in DESCRIPTION for the digits in I.
1079 Mon Apr 29 00:11:59 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1081 * hurd/hurdstartup.c (_hurd_split_args): Function removed.
1082 (_hurd_startup): Use argz functions.
1084 * hurd/hurdexec.c: Use argz functions.
1086 * errno.h [!__error_t_defined] (error_t): New type.
1087 * sysdeps/mach/hurd/errnos.awk: #define __error_t_defined after the
1088 typedef in errnos.h.
1090 * string/envz.c, string/envz.h: New files.
1091 * string/argz.h, string/argz-append.c, string/argz-count.c,
1092 string/argz-create.c, string/argz-delete.c, string/argz-extract.c,
1093 string/argz-insert.c, string/argz-stringify.c: New files.
1094 * string/Makefile (routines): Add envz, argz-*.
1095 (headers): Add argz.h, envz.h.
1097 Sun Apr 28 14:14:35 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1099 * sysdeps/unix/sysv/linux/i386/Makefile: New file.
1101 Wed Apr 24 17:35:30 Ulrich Drepper <drepper@cygnus.com>
1103 * inet/netinet/in.h, socket/sys/socket.h: Move to
1104 sysdeps/generic/netinet/in.h, sysdeps/generic/sys/socket.h.
1105 * netinet/in.h, sys/socket.h: Remove file.
1107 * misc/Makefile (routines): Add fdatasync.
1109 * posix/Makefile (headers): Add sched.h.
1110 (routines): Add nanosleep, sched_setp, sched_getp, sched_sets,
1111 sched_gets, sched_yield, sched_primax, sched_primin, sched_rr_gi.
1113 * posix/getconf.c (vars): Add entries for _POSIX_REALTIME_SIGNALS,
1114 _POSIX_PRIORITY_SCHEDULING, _POSIX_TIMERS, _POSIX_ASYNCHRONOUS_IO,
1115 _POSIX_PRIORITIZED_IO, _POSIX_SYNCHRONIZED_IO, _POSIX_FSYNC,
1116 _POSIX_MAPPED_FILES, _POSIX_MEMLOCK, _POSIX_MEMLOCK_RANGE,
1117 _POSIX_MEMORY_PROTECTION, _POSIX_MESSAGE_PASSING,
1118 _POSIX_SEMAPHORES, _POSIX_SHARED_MEMORY_OBJECTS.
1120 * posix/sched.h: New file. Header for POSIX scheduling interface.
1122 * posix/unistd.h: Describe options from POSIX.4.
1123 Add declaration of fdatasync.
1125 * sysdeps/generic/confname.h: Add definition for
1126 _SC_REALTIME_SIGNALS, _SC_PRIORITY_SCHEDULING, _SC_TIMERS,
1127 _SC_ASYNCHRONOUS_IO, _SC_PRIORITIZED_IO, _SC_SYNCHRONIZED_IO,
1128 _SC_FSYNC, _SC_MAPPED_FILES, _SC_MEMLOCK, _SC_MEMLOCK_RANGE,
1129 _SC_MEMORY_PROTECTION, _SC_MESSAGE_PASSING,
1130 _SC_SEMAPHORES, _SC_SHARED_MEMORY_OBJECTS.
1132 * sysdeps/generic/fdatasync.c: New file. Default implementation
1135 * sysdeps/generic/netinit/in.h: Moved to here from inet/netinet/in.h.
1137 * sysdeps/generic/schedbits.h: New file. System dependent
1138 defintion for POSIX.4 scheduling interface.
1140 * sysdeps/generic/sys/socket.h: Moved to here from socket/sys/socket.h.
1142 * sysdeps/stub/nanosleep.c, sysdeps/stub/sched_getp.c,
1143 sysdeps/stub/sched_gets.c, sysdeps/stub/sched_primax.c,
1144 sysdeps/stub/sched_primin.c, sysdeps/stub/sched_rr_gi.c,
1145 sysdeps/stub/sched_setp.c, sysdeps/stub/sched_sets.c,
1146 sysdeps/stub/sched_yield.c: New file: Stub implementation
1147 for systems missing these POSIX.4 system calls.
1149 * sysdeps/unix/sysv/linux/gnu/types.h,
1150 sysdeps/unix/sysv/linux/ioctls.h: Use kernel header for
1151 data type definitions.
1153 * sysdeps/unix/sysv/linux/netinet/in.h: New file. Linux
1156 * sysdeps/unix/sysv/linux/posix_opt.h: New file. Define POSIX
1157 options applicable for Linux.
1159 * sysdeps/unix/sysv/linux/syscalls.list: Add definitions for
1160 fdatasync, nanosleep, sched_setparam, sched_getparam,
1161 sched_setscheduler, sched_getscheduler, sched_yield,
1162 sched_get_priority_max, sched_get_priority_min, and
1163 sched_rr_get_interval.
1165 * sysdeps/unix/sysv/linux/sysconf.c: Add handling of POSIX.4
1168 * sysdeps/unix/sysv/linux/termbits.h: Use kernel headers.
1170 * time/sys/time.h: Remove definition of `struct timespec'.
1172 * time/time.h (struct timespec): Move definition to here.
1174 Fri Apr 26 01:55:07 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1176 * malloc/mcheck.c (mabort): Use __libc_fatal only #ifdef _LIBC.
1178 Thu Apr 25 15:49:57 1996 Miles Bader <miles@gnu.ai.mit.edu>
1180 * sysdeps/mach/hurd/getcwd.c (__getcwd): When we find a match in
1181 the scan for a name, avoid doing another readdir (which overwrites
1182 NENTRIES, and was resulting in a bogus ENOENT).
1184 * sysdeps/mach/hurd/fcntl.c (__fcntl): Add missing break after F_SETFL.
1186 Wed Apr 24 00:22:42 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1188 * stdio/internals.c (seek_to_target): Set errno if seek function
1189 returns the wrong offset.
1191 * wcsmbs/wcsrtombs.c [! EILSEQ] (EILSEQ): Define to EINVAL.
1192 * wcsmbs/wcrtomb.c: Likewise.
1194 * stdio-common/vfprintf.c: Include errno.h.
1196 Tue Apr 23 21:09:14 1996 Miles Bader <miles@gnu.ai.mit.edu>
1198 * hurd/hurdsig.c (signal_allowed): For SIGIO/SIGURG, add a new
1199 variable, LUCKY, to use instead of setting D to -1 (which fouls
1202 Tue Apr 23 15:56:56 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1204 * config.h.in (HAVE_REGEX): New macro.
1206 * sysdeps/unix/syscalls.list: Add statfs, fstatfs.
1207 * io/Makefile (headers): Add sys/statfs.h, statfsbuf.h.
1208 (routines): Add statfs, fstatfs.
1209 * sysdeps/mach/hurd/statfs.c: New file.
1210 * sysdeps/mach/hurd/fstatfs.c: New file.
1211 * sysdeps/stub/fstatfs.c: New file.
1212 * sysdeps/stub/statfs.c: New file.
1213 * io/sys/statfs.h: New file.
1214 * sysdeps/generic/statfsbuf.h: New file.
1215 * sysdeps/unix/sysv/linux/statfsbuf.h: New file.
1217 Tue Apr 23 00:06:47 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1219 * malloc/Makefile (gmalloc-routines): Add valloc back here.
1220 (dist-routines): Remove it here.
1221 * malloc/valloc.c [_MALLOC_INTERNAL && GMALLOC_INHIBIT_VALLOC]
1222 (ELIDE_VALLOC): Define it.
1223 [! ELIDE_VALLOC]: Make whole file conditional on this.
1224 * malloc/malloc.h (valloc): Make decl conditional on
1225 [!GMALLOC_INHIBIT_VALLOC] instead of [!emacs].
1227 Mon Apr 22 00:02:19 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1229 * MakeTAGS: Include version.mk.
1230 (po/SYS_libc.pot): Add missing / in sed s cmd.
1232 Sat Apr 20 18:13:00 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1234 * Makerules (no-whole-archive): Test $(have-no-whole-archive), not
1235 $(libc_cv_ld_no_whole_archive).
1237 Sat Apr 20 17:07:17 1996 Ulrich Drepper <drepper@cygnus.com>
1239 * assert/assert.h, ctype/ctype.h, dirent/dirent.h, errno.h,
1240 grp/grp.h, io/fcntl.h, io/sys/stat.h, io/utime.h, locale/locale.h,
1241 math/math.h, misc/nlist.h, misc/sgtty.h, misc/sys/file.h,
1242 misc/sys/ioctl.h, misc/sys/uio.h, posix/sys/times.h,
1243 posix/sys/types.h, posix/sys/utsname.h, posix/sys/wait.h,
1244 posix/tar.h, posix/wordexp.h, pwd/pwd.h, resource/sys/vlimit.h,
1245 resource/sys/vtimes.h, setjmp/setjmp.h, signal/signal.h,
1246 stdio-common/printf.h, stdlib/alloca.h, stdlib/stdlib.h,
1247 string/string.h, sysdeps/generic/sigaction.h,
1248 sysdeps/generic/sigset.h, sysdeps/generic/sys/ptrace.h,
1249 sysdeps/generic/sys/ptrace.h, sysdeps/unix/bsd/osf/sigaction.h,
1250 sysdeps/unix/sysv/linux/sys/ptrace.h,
1251 sysdeps/unix/sysv/minix/sigaction.h,
1252 sysdeps/unix/sysv/sco3.2.4/sigaction.h,
1253 sysdeps/unix/sysv/sysv4/sigaction.h,
1254 sysdeps/unix/sysv/sysv4/sigset.h, termios/termios.h,
1255 time/sys/time.h, time/time.h: Fix copyright comment.
1257 Fri Apr 19 00:49:44 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1259 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): If uids and gids are
1260 not given in stack aux vector, fetch them with syscalls.
1262 * stdlib/rpmatch.c (rpmatch: try): Take new arg NOMATCH, return value
1263 for nonmatching nonerror (instead of !MATCH).
1264 (rpmatch): Use it, so we return -1 when NOEXPR doesn't match either.
1266 * resolv/getnetnamadr.c (getnetbyaddr): Use u_int32_t instead of
1267 unsigned long for variable NET2.
1269 * time/etcetera, time/europe, time/solar89: Updated from ADO's 96e.
1271 Tue Apr 9 14:37:31 1996 Ulrich Drepper <drepper@cygnus.com>
1273 * catgets/Makefile, catgets/catgets.c, catgets/catgetsinfo.h,
1274 catgets/config.h, catgets/gencat.c, catgets/nl_types.h,
1275 catgets/open_catalog.c: New files. Implementation of XPG4
1276 compliant catgets() function and needed tools.
1277 * Makefile (subdirs): Add catgets.
1279 Thu Apr 18 23:36:11 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1281 * math/Makefile (CPPFLAGS): Append -D__NO_MATH_INLINES.
1283 Wed Apr 10 20:48:43 1996 Ulrich Drepper <drepper@cygnus.com>
1285 * stdio-common/vfprintf.c: Correct some typos.
1287 * sysdeps/libm-ieee754/w_gammaf.c, sysdeps/libm-ieee754/w_lgamma.c,
1288 sysdeps/libm-ieee754/w_lgammaf.c: Reference signgam instead of
1291 Thu Apr 18 21:07:27 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1293 * Makerules (no-whole-archive): New variable.
1294 (build-shlib): Use it.
1295 * elf/Makefile (libdl.so): Use it.
1296 * configure.in (libc_cv_ld_no_whole_archive): New check for
1298 * config.make.in (have-no-whole-archive): New variable.
1300 * stdio-common/printf_fp.c: Increase fudge factor for BIGNUM_SIZE calc
1303 * Make-dist: Include version.mk.
1304 (version, release): Variables removed.
1305 * Makeconfig (version.mk): New target.
1307 Fri Apr 19 01:42:18 1996 Ulrich Drepper <drepper@cygnus.com>
1309 * locale/Makefile (headers): Add langinfo.h.
1310 (CPPFLAGS): Remove -Iliblib.
1312 Mon Apr 15 16:49:04 1996 Roland McGrath <roland@whiz-bang.gnu.ai.mit.edu>
1314 * malloc/memalign.c, malloc/malloc.h [__DJGPP__ == 1]: Elide memalign
1315 function and its declaration.
1317 Wed Apr 10 14:13:45 1996 Miles Bader <miles@gnu.ai.mit.edu>
1319 * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Store
1320 MACH_PORT_DEAD in the thread reply-port variable before destroying
1321 the signal handler's reply port, to avoid infinite recursion.
1323 Mon Apr 8 18:27:17 1996 Miles Bader <miles@gnu.ai.mit.edu>
1325 * sysdeps/mach/gettimeofday.c (__gettimeofday): Don't fail if the
1326 user passes in TZ, just zero it (emacs passes in a dummy variable,
1327 and rms says the hurd should be the one to change).
1329 Sun Apr 7 10:37:30 1996 Roland McGrath <roland@whiz-bang.gnu.ai.mit.edu>
1331 * sysdeps/mach/hurd/fork.c: Don't leak send rights to the child's proc
1334 Fri Apr 5 17:43:41 1996 Miles Bader <miles@gnu.ai.mit.edu>
1336 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn): Store
1337 MACH_PORT_DEAD in the thread reply-port variable before destroying
1338 the signal handler's reply port to avoid infinite recursion.
1339 * sysdeps/mach/hurd/mig-reply.c (__mig_dealloc_reply_port): Only
1340 attempt to destroy PORT if it's a valid port name.
1342 Wed Apr 3 17:10:44 1996 Roland McGrath <roland@whiz-bang.gnu.ai.mit.edu>
1344 * extra-lib.mk: Put libs in $(common-objpfx) instead of $(objpfx).
1345 * Makerules ($(install-lib) rules): Find libs with $(common-objpfx)
1346 instead of $(objpfx).
1348 Tue Apr 2 21:27:01 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1350 * posix/glob.c (glob_pattern_p): Avoid scanning past eos if
1351 the pattern ends with a backslash and quoting is enabled.
1352 * posix/fnmatch.c (fnmatch): Likewise; return FNM_NOMATCH for such
1355 Mon Apr 1 13:34:55 1996 Roland McGrath <roland@whiz-bang.gnu.ai.mit.edu>
1357 * stdio-common/tst-printf.c (main): Add new test case.
1359 * sysdeps/generic/setenv.c (unsetenv): Use old-style definition.
1361 Mon Apr 1 11:39:10 Ulrich Drepper <drepper@gnu.ai.mit.edu>
1363 * stdlib/strtod.c (STRTOD): Fix handling of American style FP
1366 * stdio-common/vfprintf.c (vfprintf): Don't increment format
1367 string pointer twice after seeing `*'.
1369 Sun Mar 31 17:31:54 1996 Roland McGrath <roland@whiz-bang.gnu.ai.mit.edu>
1371 * MakeTAGS (po/SYS_libc.pot): Prepend header processed from
1374 Sun Mar 31 18:07:32 1996 Ulrich Drepper <drepper@gnu.ai.mit.edu>
1376 * locale/Makefile (others, install-bin): Compiling locale works
1378 (locale-modules): locale has no --dump option anymore. Remove
1381 * locale/programs/config.h: Don't declare euidaccess.
1382 Use #include_next to get libc's config.h.
1384 * locale/programs/ctypedump.c: Not needed anymore. Dump option
1385 of locale is removed.
1387 * locale/programs/locale.c: Adapt for new locale implementation.
1389 * stdio-common/_itoa.h (_itoa_word): Define as inline function.
1390 * stdio-common/_itoa.c (_itoa_lower_digits, _itoa_upper_digits):
1391 Don't declare static because used in _itoa_word inline function.
1393 * stdio-common/printf-parse.h: Prepare for use in wide-char
1394 stdio implementation.
1395 (find_spec): Take additional argument to work with mbrlen instead
1397 (parse_one_spec): Ditto.
1399 * stdio-common/printf-prs.c: Prepare for use in wide-char
1400 stdio implementation.
1402 * stdio-common/printf.h: Mark change for wide-char handling.
1403 Changing it now would result in incompatibilities.
1405 * stdio-common/vfprintf.c: New and fast implementation.
1407 * wcsmbs/Makefile (routines): Remove pre-ISO C multibyte functions
1408 mbsadvance, mbscat, mbschr, mbscmp, mbscpy, mbsdup, mbslen,
1409 mbsncat, mbsncmp, mbsncpy, mbsrchr, mbstomb.
1410 Change wcswcs to wcsstr.
1411 Add wmemchr, wmemcmp, wmemcpy, wmemmove, wmemset, btowc, wctob,
1412 mbsinit, mbrlen, mbrtowc, wcrtomb, mbsrtowcs, wcsrtombs.
1414 * wcsmbs/btowc.c, wcsmbs/mbrlen.c, wcsmbs/mbrtowc.c,
1415 wcsmbs/mbsinit.c, wcsmbs/mbsrtowcs.c, wcsmbs/wchar.h,
1416 wcsmbs/wcrtomb.c, wcsmbs/wcsrtombs.c, wcsmbs/wcsstr.c,
1417 wcsmbs/wctob.c, wcsmbs/wmemchr.c, wcsmbs/wmemcmp.c,
1418 wcsmbs/wmemcpy.c, wcsmbs/wmemmove.c, wcsmbs/wmemset.c: New
1419 function according to ISO C amendment 1.
1420 * wchar.h: Wrapper around "wcsmbs/wchar.h".
1422 * wcsmbs/wcscat.c, wcsmbs/wcschr.c, wcsmbs/wcscmp.c,
1423 wcsmbs/wcscpy.c, wcsmbs/wcscspn.c, wcsmbs/wcsdup.c,
1424 wcsmbs/wcslen.c, wcsmbs/wcsncat.c, wcsmbs/wcsncmp.c,
1425 wcsmbs/wcsncpy.c, wcsmbs/wcspbrk.c, wcsmbs/wcsrchr.c,
1426 wcsmbs/wcsspn.c, wcsmbs/wcstok.c: Changed to conform with ISO C
1429 * wcsmbs/mbsadvance.c, wcsmbs/mbscat.c, wcsmbs/mbschr.c,
1430 wcsmbs/mbscmp.c, wcsmbs/mbscpy.c, wcsmbs/mbsdup.c,
1431 wcsmbs/mbslen.c, wcsmbs/mbsncat.c, wcsmbs/mbsncmp.c,
1432 wcsmbs/mbsncpy.c, wcsmbs/mbsrchr.c, wcsmbs/mbstomb.c,
1433 wcsmbs/mbstr.h, wcsmbs/wcstr.h, wcsmbs/wcswcs.c: Removed.
1434 Implement functions from early drafts, not part of final standard.
1436 Sun Mar 31 16:50:41 1996 Roland McGrath <roland@whiz-bang.gnu.ai.mit.edu>
1438 * setjmp/setjmp.h (jmp_buf): Change gratuitous struct tag name to
1439 __jmp_bug_tag so its C++ implicit typedef does not conflict with the
1442 * Makerules (BUILD_CFLAGS) [! objdir]: Use $(..)config.h when
1443 compiling in the source directories.
1445 Fri Mar 29 16:26:35 1996 Roland McGrath <roland@whiz-bang.gnu.ai.mit.edu>
1447 * sysdeps/libm-ieee754/w_gamma.c: Use signgam instead of __signgam.
1448 * sysdeps/libm-ieee754/s_signgam.c: Undo last change.
1450 Fri Mar 29 11:29:46 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
1452 * sysdeps/libm-ieee754/s_signgam.c (signgam): Renamed to __signgam,
1453 with weak alias signgam.
1455 Thu Mar 28 18:32:34 1996 Roland McGrath <roland@whiz-bang.gnu.ai.mit.edu>
1457 * Makeconfig (+cflags, +gcc-nowarn): Use gcc flags unconditionally.
1459 Thu Mar 28 14:22:51 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
1461 * sunrpc/rpc_main.c (main): Call textdomain.
1463 * MakeTAGS (XGETTEXTFLAGS-siglist.pot, XGETTEXTFLAGS-errlist.pot): Add
1465 (all-pot): Replace $(subdirs) files with $P/subdirs.pot.
1466 ($P/subdirs.pot): New target.
1467 ($P/SYS_libc.pot): Add -n switch.
1469 * locale/locale.h (LC_*): Values reordered to match Linux libc.
1471 * sysdeps/mach/hurd/kill.c: If proc_pid2task gives us MACH_PORT_NULL
1472 the process is a zombie; send no messages and return success.
1474 Thu Mar 28 11:53:26 1996 Roland McGrath <roland@whiz-bang.gnu.ai.mit.edu>
1476 * wctype/cname-lookup.h: Find localeinfo.h in ../locale.
1477 * wctype/wctype.c: Likewise.
1478 * wctype/wctrans.c: Likewise.
1480 Thu Mar 28 03:00:43 1996 Roland McGrath <roland@whiz-bang.gnu.ai.mit.edu>
1482 * locale/nl_langinfo.c (nl_langinfo): Use DATA->values instead of
1485 * Makerules (BUILD_CFLAGS): Remove $(common-objpfx) from config.h.
1487 * configure.in (.weakext check): Fix asm code to use .weakext instead
1488 of .weak! Fix bogus test calls.
1489 * configure: Regenerated.
1491 Thu Mar 28 03:25:10 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
1493 * locale/programs/xmalloc.c: Test _LIBC as well as STDC_HEADERS.
1495 * locale/programs/ld-collate.c (collate_finish): Use error_at_line
1496 instead of error_with_loc.
1498 * locale/weight.h: Use u_int32_t instead of u32_t.
1499 * string/strxfrm.c: Likewise.
1501 * string/strxfrm.c: Find weight.h in ../locale; don't #include
1503 * string/strcoll.c: Likewise.
1505 * intl/Makefile (copysrc): Add missing > in sed cmd.
1507 Sat Mar 23 17:52:49 1996 Ulrich Drepper <drepper@gnu.ai.mit.edu>
1509 * Makeconfig: Rename Makefile variable nlsdir to i18ndir and
1510 change value to $(datadir)/i18n. `nls' is not an appropriate
1513 * Makefile (subdirs): Add new subdir wctype.
1515 * ctype/ctype-info.c: Add new global variable __ctype_names
1516 and initialize from _nl_C_LC_CTYPE.
1518 * ctype/ctype.h: In P1003.3b/D11 `alnum' is a separate character
1520 [_ISbit]: Protect definition of bitmasks because they are also
1523 * libio/genops.c (_IO_sputbackc, _IO_sungetc): Clear EOF flag
1524 after successfully pushing back a character.
1526 Fundamental changes in locale implementation. Almost nothing
1527 from the old code is used anymore.
1528 * locale/charmap.c, locale/collate.c, locale/config.h,
1529 locale/ctypedump.c, locale/hash.h, locale/keyword.gperf,
1530 locale/keyword.h, locale/loadlocale.c, locale/locale-ctype.c,
1531 locale/locale.c locale/localeconv.c, locale/localedef.c,
1532 locale/localedef.h, locale/locfile-hash.c, locale/locfile-lex.c,
1533 locale/locfile-parse.c, locale/messages.c, locale/monetary.c,
1534 locale/numeric.c, locale/setlocale.c, locale/token.h,
1535 locale/xmalloc.c: Removed.
1537 * locale/Makefile: Update for new locale implementation with
1538 program source code distributed in subdir.
1540 * locale/categories.def, locale/iso-4217.def: Updated file
1541 for new locale implementation.
1543 * locale/langinfo.h: Updated for new locale implementation.
1544 (ERA_D_T_FMT, ERA_T_FMT): New official values according to
1546 (_NL_COLLATE_NRULES, _NL_COLLATE_RULES, _NL_COLLATE_HASH_SIZE,
1547 _NL_COLLATE_HASH_LAYERS, _NL_COLLATE_TABLE_EB,
1548 _NL_COLLATE_TABLE_EL, _NL_COLLATE_UNDEFINED, _NL_COLLATE_EXTRA_EB,
1549 _NL_COLLATE_EXTRA_EL, _NL_CTYPE_NAMES_EB, _NL_CTYPE_NAMES_EL,
1550 _NL_CTYPE_HASH_SIZE, _NL_CTYPE_HASH_LAYERS, _NL_CTYPE_CLASS_NAMES,
1551 _NL_CTYPE_MAP_NAMES, _NL_CTYPE_WIDTH): New internal values for
1552 extended LC_CTYPE and LC_COLLATE implementation.
1554 * locale/programs/simple-hash.c, locale/programs/simple-hash.h,
1555 locale/programs/xmalloc.c, locale/programs/xstrdup.c: Helper functions
1556 for locale related programs.
1558 * locale/C-collate.c, locale/C-ctype.c,
1559 locale/C-messages.c, locale/C-monetary.c,
1560 locale/C-numeric.c, locale/C-time.c,
1561 locale/lc-collate.c, locale/lc-ctype.c,
1562 locale/lc-messages.c, locale/lc-monetary.c,
1563 locale/lc-numeric.c, locale/lc-time.c: New implementation of locale
1564 functions, and new generated "C" locale data.
1566 * locale/loadlocale.c: Now handles word fields in locale binary
1567 automatically by changing the endianess if necessary.
1569 * locale/localeinfo.h (LIMAGIC): Changed magic number because
1570 of incompatible changes.
1571 (locale_data): Changed definition to allow word as a value type.
1572 (coll_sort_rule): Values for collation sorting mode.
1573 (_NL_CURRENT_WORD): New macro to access word value of locale entry.
1574 (__collate_table, __collate_extra): Declare new global variables
1575 for collation tables.
1577 * locale/programs/charmap-kw.gperf, locale/programs/charmap-kw.h,
1578 locale/programs/charmap.c, locale/programs/charset.c,
1579 locale/programs/charset.h, locale/programs/config.h,
1580 locale/programs/ctypedump.c, locale/programs/ld-collate.c,
1581 locale/programs/ld-ctype.c, locale/programs/ld-messages.c,
1582 locale/programs/ld-monetary.c, locale/programs/ld-numeric.c,
1583 locale/programs/ld-time.c, locale/programs/linereader.c,
1584 locale/programs/linereader.h, locale/programs/locale.c,
1585 locale/programs/localedef.c, locale/programs/locales.h,
1586 locale/programs/locfile-kw.gperf, locale/programs/locfile-kw.h,
1587 locale/programs/locfile-token.h, locale/programs/locfile.c,
1588 locale/programs/locfile.h, locale/programs/stringtrans.c,
1589 locale/programs/stringtrans.h: Implementation of locale related
1592 * locale/weight.h: Functions to access collation tables.
1594 * posix/unistd.h: Define _POSIX2_LOCALEDEF.
1596 * stdio-common/printf_fp.c: Fix bug with printing certain numbers
1597 < 10^-1. Reported by Bill Metzenthen.
1599 * stdio-common/tfformat.c: Add new test for above bug.
1601 * string/strcoll.c, string/strxfrm.c: Real implementation of
1602 string collation according to ISO C.
1604 * wctype/Makefile, wctype/cname-lookup.h, wctype/iswctype.c,
1605 wctype/test_wctype.c, wctype/towctrans.c, wctype/wcfuncs.c,
1606 wctype/wctrans.c, wctype/wctype.c, wctype/wctype.h: New files.
1607 Implementation of wide character classes and mapping.
1609 Wed Mar 27 14:52:11 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
1611 * elf/rtld.c (dl_main): Call _dl_sysdep_start_cleanup after
1612 _dl_relocate_object loop. Avoid relocating RTLD_MAP in that loop, and
1613 do it individually if necessary after _dl_sysdep_start_cleanup call.
1615 * stdlib/Makefile (mpn-routines): Add divrem.
1617 Tue Mar 26 22:54:14 Ulrich Drepper <drepper@gnu.ai.mit.edu>
1619 * stdio-common/printf_fp.c (__printf_fp): Use mpn_divmod
1620 instead of __mpn_divmod.
1622 Wed Mar 27 10:26:21 1996 David Mosberger-Tang <davidm@azstarnet.com>
1624 * sysdeps/alpha/setjmp.S: Must establish global pointer before
1625 address of __sigsetjmp_aux can be loaded.
1627 Wed Mar 27 02:23:19 1996 Ulrich Drepper <drepper@gnu.ai.mit.edu>
1629 * sysdeps/i386/i586/memset.S: New file. Highly optimized
1630 version for i586 contributed by Torbjorn Granlund.
1631 Adapted for use as bzero.
1632 * sysdeps/i386/i586/bzero.S: Use sysdeps/i386/i586/memset.S
1633 code to implement bzero().
1635 Tue Mar 26 20:01:17 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
1637 * stdlib/Makefile (mpn-routines): Remove divmod.
1639 Tue Mar 26 15:40:14 1996 Brendan Kehoe <brendan@zen.org>
1641 * sysdeps/unix/sysv/sysv4/solaris2/sparc/sysdep.h (NO_UNDERSCORES): Use
1642 wrapped with #ifndef, to avoid config.h defining it.
1644 Mon Mar 25 13:10:04 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
1646 * malloc/realloc.c (_realloc_internal): In case of growing large
1647 block, leave _heaplimit zero across _malloc_internal call.
1649 * intl/Makefile [gettext-srcdir]: Use gpl2lgpl.sed on copied sources.
1651 Mon Mar 25 03:35:16 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
1653 * malloc/malloc.c (morecore): Don't attempt recursive realloc of info
1654 table when _heaplimit==0 during realloc growing large block.
1656 * MakeTAGS (extract): Remove /dev/null from xgettext command line.
1657 (text-srcs): New variable: extract only C sources from $(tags_sources).
1658 (po/$(domain).pot): Depend on that.
1659 If it's empty, cp /dev/null $@ instead of $(extract).
1661 * misc/Makefile (headers): Add iovec.h.
1662 * sysdeps/unix/sysv/linux/iovec.h: New file.
1663 * sysdeps/generic/iovec.h: New file.
1664 * misc/sys/uio.h (struct iovec): Type replaced with #include <iovec.h>.
1666 * configure.in (NO_UNDERSCORES check): Use AC_TRY_LINK instead of
1669 * misc/sys/cdefs.h [__USE_BSD] (const, signed, volatile): Move these
1670 macros inside [! __STDC__].
1672 * stdlib/rpmatch.c: New file.
1673 * stdlib/Makefile (routines): Add rpmatch.
1674 * stdlib/stdlib.h [__USE_SVID]: Declare rpmatch.
1676 * MakeTAGS (MSGJOIN): Variable removed.
1677 (po/SYS_libc.pot): Use $(XGETTEXT) instead of $(MSGJOIN).
1679 Wed Mar 20 20:08:46 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1681 * sysdeps/unix/sysdep.h: Don't define C_SYMBOL_NAME.
1683 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Don't define
1686 Thu Mar 21 11:19:15 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
1688 * mach/devstream.c (input): Translate \r to \n on input.
1690 Wed Mar 20 11:28:49 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1692 * stdio-common/printf.h, stdio-common/printf_fp.c,
1693 stdio-common/vfprintf.c: Place const in parameter list at
1696 Wed Mar 20 23:58.12 1996 Ulrich Drepper <drepper@gnu.ai.mit.edu>
1698 * sysdeps/i386/ldbl2mpn.c: Copy of former version of
1699 sysdeps/ieee754/ldbl2mpn.c.
1700 * sysdeps/ieee754/ldbl2mpn.c: Remove i386 specific unification.
1701 Reported by Andreas Schwab.
1703 Wed Mar 20 19:58:43 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
1705 * version.c: Include version.h to define RELEASE and VERSION macros.
1706 (__libc_release, __libc_version): Use them.
1707 * locale/SYS_libc.c (_libc_intl_domainname): Include ../version.h and
1708 use VERSION to define domainname as `SYS_GNU_libc-VERSION'.
1709 * Make-dist (rel+vers): Snarf the macro values from version.h.
1711 * MakeTAGS (extract): Pass $(XGETTEXTFLAGS-$(@F)).
1712 (XGETTEXTFLAGS-siglist.pot, XGETTEXTFLAGS-errlist.pot): New variables;
1713 pass -a for these files.
1715 * Makerules (po/%.pot): Depend on FORCE target so recursive make is
1718 Mon Mar 18 22:54:32 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1720 * sysdeps/unix/sysv/linux/wait3.c: New file.
1721 * sysdeps/unix/sysv/linux/wait.c: Use the bsd4.4 wait, not the
1722 one from sysdeps/posix.
1724 Wed Mar 20 09:42:11 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
1726 * sysdeps/unix/bsd/waitflags.h (WNOREAP): New macro.
1728 * elf/dl-load.c (_dl_map_object_from_fd): Always set L->l_type; if not
1729 lt_executable, then lt_library.
1730 * elf/rtld.c (dl_main): Don't set NEW->l_type after _dl_map_object.
1732 Wed Mar 20 00:08:23 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1734 * sysdeps/unix/sysv/linux/syscalls.list: Remove gtty and stty.
1736 Tue Mar 19 16:31:06 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1738 * sysdeps/unix/sysv/linux/termbits.h (CRTSCTS, CBAUDEX, VEOL,
1739 VEOL2, VMIN, VTIME): Corrected.
1740 (PAGEOUT, WRAP, VDSUSP): Deleted.
1742 Tue Mar 19 14:18:42 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
1744 * sysdeps/unix/readdir.c: Test [! _DIRENT_HAVE_D_RECLEN] instead of
1745 (sizeof (DP->d_name) > 1) to detect fixed-size dir entries.
1747 * sysdeps/i386/fpu/__math.h (asinh): Call log1p instead of __log1p.
1749 * math/math.h: Move M_* constants before __math.h include.
1750 [__NO_MATH_INLINES || __OPTIMIZE__]: Include __math.h only #if this.
1752 * misc/efgcvt_r.c (ecvt_r): Declare floor, log10, fabs as weak extern.
1753 If log10 is not defined (i.e. no -lm), use stupid loop instead.
1755 * features.h (__FAVOR_BSD): Define only if _BSD_SOURCE is defined
1756 and no other _*_SOURCE macro is.
1757 (_GNU_SOURCE): Don't define by default.
1758 * libc-symbols.h (_GNU_SOURCE): Define it.
1760 * configure.in (alpha*-*-linux*): Unset $gnu_ld and $elf.
1762 * config.make.in (weak-symbols): Variable removed.
1763 * configure.in (--with-weak-symbols): Option removed.
1764 (NO_UNDERSCORES, HAVE_ASM_WEAK_DIRECTIVE, HAVE_ASM_WEAKEXT_DIRECTIVE):
1767 * config.h.in (HAVE_WEAK_SYMBOLS): #undef removed.
1768 (NO_UNDERSCORES, HAVE_ASM_WEAK_DIRECTIVE, HAVE_ASM_WEAKEXT_DIRECTIVE):
1770 * libc-symbols.h: Use them instead of HAVE_WEAK_SYMBOLS.
1772 * sysdeps/unix/bsd/pause.c: Moved to sysdeps/unix/common/pause.c.
1774 Mon Mar 4 20:17:28 1996 David Mosberger-Tang <davidm@azstarnet.com>
1776 * inet/inet_lnaof.c: Use u_int32_t instead of u_long.
1777 * inet/inet_mkadr.c: Likewise.
1778 * inet/inet_net.c: Likewise.
1779 * inet/inet_netof.c: Likewise.
1780 * inet/rcmd.c: Likewise.
1781 * inet/arpa/inet.h: Likewise.
1782 * inet/netinet/in.h: Likewise.
1783 * inet/netinet/tcp.h: Likewise.
1784 * inet/protocols/rwhod.h: Likewise.
1785 * inet/protocols/talkd.h: Likewise.
1786 * resolv/inet_addr.c: Likewise.
1788 * sysdeps/unix/sysv/linux/adjtime.c: Use INT_MAX instead of LONG_MAX.
1790 * sysdeps/unix/sysv/Makefile (sysdep_routines): Don't add s_getdents.
1792 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Don't add mount,
1795 * sysdeps/alpha/__math.h (atan, cabs): New functions.
1797 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S: new file (syscall
1798 expects set-value, not pointer to it).
1800 Sun Feb 25 22:36:10 1996 David Mosberger-Tang <davidm@azstarnet.com>
1802 * sysdeps/unix/sysv/linux/alpha/profil-counter.h: New file.
1804 * gmon/gmon.c (__bb_head): new variable.
1805 (write_hist, write_call_graph, write_bb_counts): new functions.
1806 (_mcleanup): modified to call above functions instead of directly
1807 writing out gmon.out.
1808 * gmon/sys/gmon.h (struct __bb): New type.
1809 (struct gmonhdr): Type removed.
1810 (struct gmonparam): New member `log_hashfraction'.
1811 (GMONVERSION): Macro removed.
1813 * gmon/sys/gmon_out.h, gmon/bb_exit_func.c,
1814 sysdeps/generic/bb_init_func.c, sysdeps/alpha/bb_init_func.S: new
1816 * gmon/Makefile (headers): Add sys/gmon_out.h.
1817 (routines): Add bb_init_func, bb_exit_func.
1819 * gmon/mcount.c: Avoid integer division.
1821 Wed Feb 21 23:56:41 1996 David Mosberger-Tang <davidm@azstarnet.com>
1823 * sysdeps/alpha/setjmp.S: switched order in which sp and fp are
1824 passed to match what __sigsetjmp_aux() expects.
1826 Tue Feb 20 11:33:46 1996 David Mosberger-Tang <davidm@azstarnet.com>
1828 * sysdeps/unix/sysv/linux/alpha/syscalls.list (select, bind,
1829 connect, getpeername, getsockname, listen, recv, recvfrom,
1830 recvmsg, send, sendmsg, sendto, setsockopt, shutdown, socketpair):
1831 added to override same-name assembly file in the parent directory.
1833 * stdlib/stdlib.h: add include of sys/types.h in front of random
1834 etc declarations to ensure int32_t is declared.
1836 * stdlib/random.c, stdlib/random_r.c: replaced "long int" by int32_t
1837 where 32 bit integers are required. Also change LONG_MAX into
1838 0x7fffffff since the intent is to turn off the sign bit in a
1841 * time/offtime.c (__offtime): Use Paul Eggert's code to deal
1842 with very large values for "days" (e.g., 64 bit values).
1844 Mon Feb 19 22:22:12 1996 David Mosberger-Tang <davidm@azstarnet.com>
1846 * stdlib/stdlib.h (__random, __random_r, random_r, struct
1847 random_data): use int32_t instead of `long int'.
1849 Sat Feb 17 11:29:29 1996 David Mosberger-Tang <davidm@azstarnet.com>
1851 * sysdeps/unix/sysv/linux/alpha/ioperm.c: new file.
1853 * sysdeps/alpha/ffs.S: new file.
1855 * sysdeps/alpha/fabs.c: File removed.
1857 * time/tzfile.c (__tzfile_read): counter variable is i, *not*
1860 * time/offtime.c: make capable of dealing with very large (64 bit)
1861 time_t values. Use old algorithm until a year is reached that
1862 is an integer multiple of 400, then use DAYS_PER_400_YEARS to
1863 do the remainder in a single division.
1865 * sysdeps/generic/ffs.c (ffs): fix variable declarations to
1866 be unsigned int, not unsigned long.
1868 * string/test-ffs.c (main): add test case with all upper bits
1871 * stdlib/tst-strtol.c: add tests cases for machines where
1874 * stdlib/testrand.c (main): disallow rand() to return negative
1877 * stdlib/testmb.c (main): fix format to use %lx instead of %x.
1879 * stdlib/stdlib.h: on 64 bit machines, declare
1880 struct random_data, __random(), __random_r, and random_r to
1881 return "int" instead of "long int".
1883 * stdlib/random_r.c: 64 bit machines use "int" instead of "long
1884 int". Similarly, use INT_MAX instead of LONG_MAX.
1886 * stdlib/random.c: on 64 bit machines, randtbl[] and __random[]
1887 need to operate on "int" instead of "long int".
1889 * locale/locfile-hash.c (compute_hashval): make shifted constant
1890 a long to avoid loosing bits on 64 bit machines.
1892 * dirent/tst-seekdir.c (main): fix confusing comment; print
1893 a line to mark point where directory is rewound.
1895 Fri Feb 16 15:01:49 1996 David Mosberger-Tang <davidm@azstarnet.com>
1897 * time/strftime.c (strftime): any hour > 11 is PM (not > 12!).
1899 Wed Feb 14 00:21:17 1996 David Mosberger-Tang <davidm@azstarnet.com>
1901 * sysdeps/unix/sysv/linux/alpha/Makefile,
1902 sysdeps/unix/sysv/linux/alpha/brk.S,
1903 sysdeps/unix/sysv/linux/alpha/fpu_control.c,
1904 sysdeps/unix/sysv/linux/alpha/fpu_control.h,
1905 sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S,
1906 sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S,
1907 sysdeps/unix/sysv/linux/alpha/pipe.S,
1908 sysdeps/unix/sysv/linux/alpha/setfpucw.c,
1909 sysdeps/unix/sysv/linux/alpha/sigprocmask.c,
1910 sysdeps/unix/sysv/linux/alpha/speed.c,
1911 sysdeps/unix/sysv/linux/alpha/start.S,
1912 sysdeps/unix/sysv/linux/alpha/syscall.S,
1913 sysdeps/unix/sysv/linux/alpha/syscalls.list,
1914 sysdeps/unix/sysv/linux/alpha/alpha/regdef.h,
1915 sysdeps/unix/sysv/linux/alpha/sysdep.S,
1916 sysdeps/unix/sysv/linux/alpha/sysdep.h: New files.
1918 * sysdeps/alpha/setjmp_aux.c (__sigsetjmp_aux): restore return
1919 address register before returning (gcc 2.7.1 doesn't do it,
1920 presumably because $26 is declared as a global variable).
1922 * sysdeps/unix/sysv/linux/sys/mman.h: msync was missing "flags"
1925 * sysdeps/unix/alarm.c (alarm): do roundup using test & increment
1926 instead of multiplication.
1928 * sysdeps/posix/sleep.c (sleep): initialize sa_mask to mask of
1929 currently blocked signals instead of the empty mask to ensure
1930 that execution of alarm handler occurs with none of the currently
1931 blocked signals enabled.
1933 * sysdeps/unix/alpha/sysdep.h: new file (adapted from OSF/1 version).
1935 * sysdeps/unix/bsd/osf/alpha/sysdep.h: include
1936 sysdeps/unix/alpha/sysdep.h and removed definitions now in that file.
1938 * sysdeps/alpha/divrem.S, sysdeps/alpha/htonl.S,
1939 sysdeps/alpha/htons.S, sysdeps/alpha/machine-gmon.h,
1940 sysdeps/alpha/_mcount.S, sysdeps/alpha/ntohl.s, sysdeps/alpha/ntohs.s,
1941 sysdeps/alpha/strlen.S: New files.
1943 * sysdeps/alpha/divl.S, sysdeps/alpha/divlu.S, sysdeps/alpha/divq.S,
1944 sysdeps/alpha/divqu.S, sysdeps/alpha/divrem.m4,
1945 sysdeps/alpha/macros.m4, sysdeps/alpha/reml.S, sysdeps/alpha/remlu.S,
1946 sysdeps/alpha/remq.S, sysdeps/alpha/remqu.S, sysdeps/alpha/strlen.c:
1949 * sysdeps/generic/sbrk.c (__sbrk): argument is of type ptrdiff_t, not
1952 * sysdeps/alpha/__longjmp.c (__longjmp): moved dummy while loop
1953 to end of function to avoid a jump across NOPs.
1955 * sysdeps/alpha/Makefile (sysdep_routines): Removed all rules
1956 pertaining to integer division/remainder routines since new code
1957 doesn't require them.
1959 * sunrpc/xdr_mem.c, sunrpc/xdr_stdio.c: Use 4 instead of sizeof(long)
1960 where 32 bit quantities are consumed/stored. Various other minor
1961 64-bit cleanups (casting).
1963 * sunrpc/xdr.c (xdr_int): test for sizeof(int)==4 to determine
1964 whether xdr_long or xdr_short should be used to encode an int.
1965 Notice that an xdr_long is 4 bytes independent of the architecture
1966 (otherwise no Alpha could interoperate with existing NFS servers,
1967 for example). Ditto for enums.
1969 * sunrpc/svc_udp.c (svcudp_recv): changed test from 4*sizeof(u_long)
1970 to 16 since it really wants 16 bytes.
1972 * sunrpc/svc.c (maskp): changed from u_long* to u_int32*.
1974 * sunrpc/rpc/xdr.h (IXDR_GET_LONG, IXDR_PUT_LONG): change casts to
1975 u_int32_t (instead of u_long).
1977 * sunrpc/rpc_cmsg.c (xdr_callmsg), sunrpc/svc_authux.c: increment
1978 "buf" pointer by casting it to a char* first since a long* may be 8
1979 bytes or more and oa->oa_length may be any multiple of 4.
1981 * sunrpc/clnt_udp.c (clntudp_call): replaced sizeof(u_long) by 4
1982 since it really is testing for 32 bits. Fixed casts to use
1983 u_int32 instead of u_long.
1984 * sunrpc/xdr_rec.c: Likewise.
1986 * sunrpc/clnt_tcp.c (clnttcp_call): replaced u_long by u_int32.
1987 * sunrpc/rpc/auth.h: Likewise.
1989 * limits.h (LONG_MAX, LONG_MIN, ULONG_MAX): use 64 bit values
1992 Tue Mar 19 13:27:49 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
1994 * sysdeps/i386/fpu/__math.h: New file.
1995 Contributed by John C. Bowman <bowman@hagar.ph.utexas.edu>.
1997 Sun Mar 17 00:28:16 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1999 * sysdeps/posix/clock.c: Don't multiply the return value by
2000 CLOCKS_PER_SEC or CLK_TCK.
2002 Mon Mar 18 13:20:46 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
2004 * sysdeps/mach/hurd/getcwd.c: Fail with ENOENT if a parent directory
2005 scan finds no match.
2007 * posix/unistd.h (setpgrp): Declare no-arg version unless __FAVOR_BSD.
2008 * misc/bsd-compat.c (setpgrp): New function, two arg version.
2009 * sysdeps/stub/setpgid.c: Remove setpgrp alias.
2010 * sysdeps/mach/hurd/setpgid.c: Likewise.
2011 * sysdeps/unix/sysv/sysv4/setpgid.c: Likewise.
2012 * sysdeps/unix/common/syscalls.list (setpgid): Remove setpgrp alias.
2013 * sysdeps/unix/sysv/irix4/syscalls.list: Likewise.
2014 * sysdeps/unix/sysv/linux/setpgrp.c: Obsolete file removed.
2015 * posix/setpgrp.c (setpgrp): New file.
2016 * posix/Makefile (routines): Add setpgrp.
2018 * elf/Makefile (rtld-link): New canned sequence.
2019 (ld.so, ld-linux.so.1): Use it. Pass -soname option.
2021 * sysdeps/i386/setjmp.S (__setjmp): Define compatibility entry point.
2023 Sun Mar 17 23:15:32 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2025 * sysdeps/unix/sysv/linux/tcgetpgrp.c,
2026 sysdeps/unix/sysv/linux/tcsetpgrp.c: New files.
2028 Sun Mar 17 07:19:33 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
2030 * db/Makefile (CFLAGS-hash_func.c): New variable; pass -Wno-unused.
2031 (CFLAGS): Append -Wno-unitialized.
2033 Sat Mar 16 20:58:43 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
2035 * stdlib/erand48_r.c: Use FP division by powers of two to distribute
2036 short bits into double.
2038 Sat Mar 16 20:08:22 1996 David Mosberger-Tang <davidm@azstarnet.com>
2040 * sysdeps/alpha/memchr.S: New file.
2041 * sysdeps/alpha/memchr.c: Obsolete file removed.
2042 * string/tester.c: Soup up memchr tests.
2044 Sat Mar 16 16:26:09 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
2046 * misc/Makefile (headers): Add sysexits.h.
2047 * misc/sysexits.h: New file.
2049 Thu Mar 14 15:20:45 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2051 * sysdeps/libm-ieee754/e_atan2.c (__ieee754_atan2): Change atan
2053 * sysdeps/libm-ieee754/e_atan2f.c (__ieee754_atan2f): Change atanf
2056 * sysdeps/m68k/fpu/e_acos.c, sysdeps/m68k/fpu/e_acosf.c,
2057 sysdeps/m68k/fpu/e_asin.c, sysdeps/m68k/fpu/e_asinf.c,
2058 sysdeps/m68k/fpu/e_atanh.c, sysdeps/m68k/fpu/e_atanhf.c,
2059 sysdeps/m68k/fpu/e_cosh.c, sysdeps/m68k/fpu/e_coshf.c,
2060 sysdeps/m68k/fpu/e_exp.c, sysdeps/m68k/fpu/e_expf.c,
2061 sysdeps/m68k/fpu/e_fmod.c, sysdeps/m68k/fpu/e_fmodf.c,
2062 sysdeps/m68k/fpu/e_log.c, sysdeps/m68k/fpu/e_log10.c,
2063 sysdeps/m68k/fpu/e_log10f.c, sysdeps/m68k/fpu/e_logf.c,
2064 sysdeps/m68k/fpu/e_pow.c, sysdeps/m68k/fpu/e_powf.c,
2065 sysdeps/m68k/fpu/e_remainder.c, sysdeps/m68k/fpu/e_remainderf.c,
2066 sysdeps/m68k/fpu/e_scalb.c, sysdeps/m68k/fpu/e_scalbf.c,
2067 sysdeps/m68k/fpu/e_sinh.c, sysdeps/m68k/fpu/e_sinhf.c,
2068 sysdeps/m68k/fpu/e_sqrt.c, sysdeps/m68k/fpu/e_sqrtf.c,
2069 sysdeps/m68k/fpu/k_cos.c, sysdeps/m68k/fpu/k_cosf.c,
2070 sysdeps/m68k/fpu/k_sin.c, sysdeps/m68k/fpu/k_sinf.c,
2071 sysdeps/m68k/fpu/k_tan.c, sysdeps/m68k/fpu/k_tanf.c,
2072 sysdeps/m68k/fpu/s_atan.c, sysdeps/m68k/fpu/s_atanf.c,
2073 sysdeps/m68k/fpu/s_ceil.c, sysdeps/m68k/fpu/s_ceilf.c,
2074 sysdeps/m68k/fpu/s_cos.c, sysdeps/m68k/fpu/s_cosf.c,
2075 sysdeps/m68k/fpu/s_expm1.c, sysdeps/m68k/fpu/s_expm1f.c,
2076 sysdeps/m68k/fpu/s_fabs.c, sysdeps/m68k/fpu/s_fabsf.c,
2077 sysdeps/m68k/fpu/s_finite.c, sysdeps/m68k/fpu/s_finitef.c,
2078 sysdeps/m68k/fpu/s_floor.c, sysdeps/m68k/fpu/s_floorf.c,
2079 sysdeps/m68k/fpu/s_frexp.c, sysdeps/m68k/fpu/s_frexpf.c,
2080 sysdeps/m68k/fpu/s_ilogb.c, sysdeps/m68k/fpu/s_ilogbf.c,
2081 sysdeps/m68k/fpu/s_isinf.c, sysdeps/m68k/fpu/s_isinff.c,
2082 sysdeps/m68k/fpu/s_isnan.c, sysdeps/m68k/fpu/s_isnanf.c,
2083 sysdeps/m68k/fpu/s_ldexp.c, sysdeps/m68k/fpu/s_ldexpf.c,
2084 sysdeps/m68k/fpu/s_log1p.c, sysdeps/m68k/fpu/s_log1pf.c,
2085 sysdeps/m68k/fpu/s_logb.c, sysdeps/m68k/fpu/s_logbf.c,
2086 sysdeps/m68k/fpu/s_modf.c, sysdeps/m68k/fpu/s_modff.c,
2087 sysdeps/m68k/fpu/s_rint.c, sysdeps/m68k/fpu/s_rintf.c,
2088 sysdeps/m68k/fpu/s_scalbn.c, sysdeps/m68k/fpu/s_scalbnf.c,
2089 sysdeps/m68k/fpu/s_significand.c,
2090 sysdeps/m68k/fpu/s_significandf.c, sysdeps/m68k/fpu/s_sin.c,
2091 sysdeps/m68k/fpu/s_sinf.c, sysdeps/m68k/fpu/s_tan.c,
2092 sysdeps/m68k/fpu/s_tanf.c, sysdeps/m68k/fpu/s_tanh.c,
2093 sysdeps/m68k/fpu/s_tanhf.c: New files, for m68881 port of fdlibm.
2095 * sysdeps/m68k/fpu/__math.h: Rewritten for fdlibm.
2097 * sysdeps/m68k/fpu/isinfl.c: Rewritten to get argument type right.
2098 * sysdeps/m68k/fpu/isnanl.c: Likewise.
2100 Thu Mar 14 06:01:07 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
2102 * posix/glob.c (glob): In GLOB_BRACE brace expansion, fix buffer size
2103 calculation to include trailing invariant portion. Don't use alloca;
2104 instead use a dynamic auto array for GCC, malloc for non-GCC.
2105 Handle nested braces properly.
2107 * elf/elf.h (Elf32_auxv_t): Specify prototype (void) for `a_un.a_fcn'.
2109 * libc-symbols.h (lint): New macro.
2111 Fri Mar 15 01:18:00 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2113 * libio/iosetvbuf.c: Add weak alias setvbuf.
2115 Thu Mar 14 06:01:07 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
2117 * string/strnlen.c: New file.
2118 * string/Makefile (routines): Add strnlen.
2119 * string/string.h [__USE_GNU] (strnlen): Declare new function.
2120 [__OPTIMIZE__]: Define extern inline implementation of it.
2122 * stdlib/erand48_r.c: Use __mpn_construct_double instead of ldexp and
2123 addition, to avoid using anything from -lm.
2125 Mon Mar 4 21:57:14 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2127 * sysdeps/unix/sysv/linux/m68k/Makefile: New file.
2129 * sysdeps/unix/sysv/linux/m68k/sysdep.h (SYS_ify): Redefine.
2130 (CALL_MCOUNT): New macro, empty unless [PROF].
2131 (ENTRY): Do CALL_MCOUNT just after the label.
2132 (JUMPTARGET): New macro.
2133 (SYSCALL_ERROR_HANDLER): Fix syntax.
2135 Thu Mar 14 04:20:48 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
2137 * sysdeps/unix/sysv/linux/init-first.c (init): Call `__personality'
2138 function instead of using inline asm i386 syscall.
2139 * sysdeps/unix/sysv/linux/syscalls.list: Add personality syscall.
2141 * posix/unistd.h [__USE_BSD]: Declare usleep.
2143 Tue Mar 12 04:57:57 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
2145 * misc/efgcvt.c (MAXDIG): New macro computed from <floats.h> constants.
2146 (fcvt, ecvt): Use it for buffer size.
2148 * stdlib/drand48-iter.c (__drand48_iterate): Use u_int64_t instead of
2149 conditionalizing long vs long long.
2151 * stdlib/drand48-iter.c (__drand48_iterate): Don't check for null
2152 pointers; never return EFAULT.
2153 * stdlib/drand48_r.c (drand48_r): Likewise.
2154 * stdlib/erand48_r.c (erand48_r): Likewise.
2156 * setjmp/Makefile (tests): Add jmpbug.
2157 * setjmp/jmpbug.c: New file.
2159 Tue Mar 12 04:42:01 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
2161 * sysdeps/sparc/jmp_buf.h: Rewritten; use array of ints, not struct.
2162 * sysdeps/sparc/setjmp.S: Rewritten; store %fp value as well.
2163 * sysdeps/sparc/__longjmp.S: Rewritten; unwind frames one by one with
2164 `restore' until the target frame is hit.
2166 Sun Mar 10 20:29:40 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2168 * sysdeps/unix/sysv/linux/sigsuspend.c: New file.
2169 * sysdeps/unix/sysv/linux/syscalls.list: Remove sigsuspend, add
2172 Thu Mar 7 21:30:58 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2174 * Makerules (+make-deps, sed-remove-objpfx): Quote periods on the
2175 left side of sed substitutions.
2177 Sun Mar 10 16:58:10 1996 Ulrich Drepper <drepper@gnu.ai.mit.edu>
2179 * stdio-common/printf_fp.c (hack_digit): __mpn_normal_size
2180 is not available anymore. Do it ourselves.
2182 * sysdeps/unix/sysv/linux/i386/fpu_control.h (_FPU_SETCW):
2183 Correct GCC `asm' syntax.
2185 Tue Mar 12 03:15:02 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
2187 * stdio-common/Makefile (tests): Add tst-ungetc.
2188 * stdio-common/tst-ungetc.c: New test from drepper.
2189 * stdio-common/tstscanf.c (main): New %[ test case from drepper.
2191 * sysdeps/libm-ieee754/s_scalbn.c (scalbn): Rename to __scalbn;
2192 somehow this was missed, though the weak alias is already there.
2194 * sysdeps/unix/sysv/linux/i386/fpu_control.h (_FPU_DEFAULT): Change
2195 default to double precision, all interrupts masked; fdlibm requires.
2197 Sat Mar 9 18:44:27 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
2199 * sysdeps/unix/sysv/linux/i386/setfpucw.c: Obsolete file removed.
2201 Fri Mar 8 22:16:48 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
2203 * stdio-common/printf_fp.c (HAVE_ALLOCA): New macro.
2205 Tue Mar 5 18:45:14 1996 Miles Bader <miles@gnu.ai.mit.edu>
2207 * sysdeps/mach/hurd/select.c (__select): Include LASTFD in the
2210 Mon Mar 4 20:54:40 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2212 * Makeconfig ($(common-objpfx)config.make): Depend on config.h.in.
2214 Tue Mar 5 12:14:57 1996 Miles Bader <miles@gnu.ai.mit.edu>
2216 * sysdeps/mach/hurd/select.c (__select): Also don't fault just
2217 because some fdmask is 0.
2219 Mon Mar 4 17:35:35 1996 Miles Bader <miles@gnu.ai.mit.edu>
2221 * sysdeps/mach/hurd/select.c (__select):
2222 Don't increment GOT only because READ/WRITE/EXCEPTFDS is 0!
2223 Don't return without frobbing the bitmasks after a timeout.
2224 When clearing the bitmasks, only loop from FIRSTFD to LASTFD.
2226 Mon Mar 4 17:35:09 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
2228 * hurd/catch-signal.c (hurd_safe_memmove): New function.
2229 (hurd_safe_copyin, hurd_safe_copyout): New functions.
2230 * hurd/hurd/sigpreempt.h: Declare them.
2232 Sun Mar 3 08:43:44 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
2234 Replace math code with fdlibm from Sun as modified for netbsd by
2235 JT Conklin and Ian Taylor, including x86 FPU support.
2236 * sysdeps/libm-ieee754, sysdeps/libm-i387: New directories.
2237 * math/math_private.h: New file.
2238 * sysdeps/i386/fpu/Implies: New file.
2239 * sysdeps/ieee754/Implies: New file.
2240 * math/machine/asm.h, math/machine/endian.h: New files.
2241 * math/Makefile, math/math.h: Rewritten.
2242 * mathcalls.h, math/mathcalls.h: New file, broken out of math.h.
2243 * math/finite.c: File removed.
2244 * sysdeps/generic/Makefile [$(subdir)=math]: Frobnication removed.
2246 * math/test-math.c: Include errno.h and string.h.
2248 * sysdeps/unix/bsd/dirstream.h: File removed.
2249 * sysdeps/unix/bsd/readdir.c: File removed.
2251 Sat Mar 2 16:35:40 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
2253 * sysdeps/unix/sysv/linux/m68k/profil-counter.h: File removed.
2254 * sysdeps/unix/sysv/sysv4/solaris2/sparc/profil-counter.h: File
2256 * sysdeps/generic/profil-counter.h: New file.
2258 Fri Mar 1 17:11:59 1996 Brendan Kehoe <brendan@zen.org>
2260 * sysdeps/unix/sysv/sysv4/solaris2/sparc/sigcontext.h: New file,
2261 including <sysdeps/unix/bsd/sun/sparc/sigcontext.h>.
2262 * sysdeps/unix/sysv/sysv4/solaris2/sparc/profil-counter.h: New file,
2263 same as linux/m68k/profil-counter.h except the comment.
2265 Fri Mar 1 10:09:46 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
2267 * stdlib/Makefile (mpn-stuff): New target.
2270 * Code copied from GMP updated to 1.937 version.
2271 * stdlib/strtod.c (HAVE_ALLOCA): Define this for gmp headers.
2273 * posix/glob.c: Use canonical code from autoconf manual for dirent
2275 [_D_NAMLEN]: Redefine NAMLEN using this.
2276 (glob_in_dir): Use NAMLEN macro.
2278 * sysdeps/posix/profil.c: New file.
2280 Thu Feb 29 20:55:57 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2282 * sysdeps/unix/sysv/linux/m68k/profil-counter.h: New file.
2284 Tue Feb 27 12:14:59 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
2286 * libc-symbols.h [GCC >= 2.8] (strong_alias, weak_alias): Remove
2289 * time/strftime.c: Support - and _ flags to affect number padding.
2291 * sysdeps/unix/common/tcsendbrk.c: New file.
2293 Mon Feb 26 10:22:30 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
2295 * sysdeps/unix/dirstream.h: Rewritten.
2296 * sysdeps/unix/readdir.c: Rewritten.
2297 * sysdeps/unix/telldir.c: Rewritten.
2298 * sysdeps/unix/closedir.c: Use <...> instead of "..." for dirstream.h.
2299 Remove __ from DIR struct member names.
2300 * sysdeps/unix/dirfd.c: Likewise.
2301 * sysdeps/unix/seekdir.c: Likewise.
2302 * sysdeps/unix/rewinddir.c: Likewise.
2303 * sysdeps/unix/opendir.c: Likewise. Don't allocate extra space after
2305 * sysdeps/stub/direct.h: File removed.
2306 * sysdeps/unix/bsd/bsd4.4/direct.h: File removed.
2307 * sysdeps/unix/bsd/direct.h: File removed.
2308 * sysdeps/unix/common/direct.h: File removed.
2309 * sysdeps/unix/sysv/irix4/direct.h: File removed.
2310 * sysdeps/unix/sysv/isc3/direct.h: File removed.
2311 * sysdeps/unix/sysv/sco3.2.4/direct.h: File removed.
2312 * sysdeps/unix/sysv/sysv4/solaris2/direct.h: File removed.
2313 * sysdeps/unix/common/direntry.h: New file.
2314 * sysdeps/unix/bsd/direntry.h: New file.
2315 * sysdeps/unix/bsd/bsd4.4/direntry.h: New file.
2316 * sysdeps/unix/sysv/direntry.h: New file.
2317 * sysdeps/stub/direntry.h: New file.
2318 * dirent/dirent.h (struct dirent): Type removed. Include <direntry.h>
2320 (_D_EXACT_NAMLEN, _D_ALLOC_NAMLEN): New macros.
2321 * dirent/Makefile (headers): Add direntry.h.
2322 (distribute): Remove direct.h.
2323 * sysdeps/posix/getcwd.c: Use new macros instead of d_namlen.
2324 * dirent/scandir.c: Likewise.
2325 * io/fts.c (fts_build): Likewise.
2326 * io/ftw.c (ftw_dir): Likewise.
2327 * sysdeps/posix/ttyname.c: Likewise.
2329 * sysdeps/unix/sysv/sysv4/solaris2/syscalls.list: New file.
2331 * sysdeps/mach/hurd/profil.c (MAX_PC_SAMPLES): New macro.
2332 (collector_timeout): New static variable.
2333 (update_waiter): Actually call __task_enable_pc_sampling.
2334 Set collector_timeout based on the `tick' count returned.
2335 (profile_waiter): Use MAX_PC_SAMPLES. Set nsamples before RPC.
2336 Use collector_timeout in __mach_msg call.
2338 * gmon/Makefile (noprof): New variable containing mcount.
2339 Append profil unless it is in $(unix-syscalls).
2340 (mcount.po): Use $(noprof) for list of targets in this rule.
2342 * libc-symbols.h: Define _LIBC before #include <config.h>.
2344 Sun Feb 25 12:29:23 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
2346 * config.h.in [_LIBC] (HAVE_STRERROR): Define it.
2347 Protect 2nd page of #undef's for generator programs with #ifndef _LIBC.
2349 * time/zic.c, time/zdump.c, time/private.h: Updated from ADO 96e.
2351 Fri Feb 9 12:40:19 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
2353 * libio/cleanup.c (_IO_cleanup_registration_needed)
2354 [!_G_HAVE_ATEXIT]: Init to NULL.
2355 * libio/filedoalloc.c (_IO_cleanup_registration_needed): Remove decl.
2357 Thu Feb 8 08:12:50 1996 Brendan Kehoe <brendan@cygnus.com>
2359 * libio/filedoalloc.c (_IO_cleanup_registration_needed): Revert
2360 previous change, since cleanup.c only defines it if _G_HAVE_ATEXIT.
2362 Wed Feb 7 15:10:17 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
2364 * libio/filedoalloc.c (_IO_cleanup_registration_needed): Declare as
2367 Sat Feb 24 11:34:13 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
2369 * sysdeps/i386/memcmp.S: Fix argument %esp offsets.
2371 * time/sys/time.h (timeradd, timersub): New macros; BSD has these.
2373 Wed Feb 21 02:25:07 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
2375 * Rules (others): Depend on $(extra-objs), $(install-lib),
2376 $(install-bin), $(install-sbin), in object directory.
2378 * Makeconfig (link-libc): Don't pass -rpath option with default
2379 path, since ld.so should use the same default.
2380 * Makerules (build-shlib): Likewise.
2382 * Makerules (make-target-directory): Use mkinstalldirs.
2384 * sysdeps/mach/i386/sysdep.h: Include unix/i386/sysdep.h to
2385 redefine ENTRY et al.
2387 * sysdeps/unix/sysv/linux/i386/sysdep.h (NO_UNDERSCORES, ENTRY):
2388 Macros removed. The code in unix/i386/sysdep.h should now suffice.
2390 * sysdeps/unix/i386/sysdep.h (ALIGNARG): New macro, defns for
2392 (ENTRY): Use it in .align directive.
2393 (CALL_MCOUNT): New macro, empty unless [PROF].
2394 (ENTRY): Do CALL_MCOUNT just after the label.
2396 * Makeconfig (CPPFLAGS-.po): New variable, use -DPROF so assembly
2397 code can call mcount.
2399 Tue Feb 20 23:05:16 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
2401 * time/private.h, time/zdump.c, time/zic.c: Updated verbatim from ADO;
2402 translation markings are now integrated in his distribution.
2404 * stdlib/strtod.c (round_and_return): Add missing (mp_limb) 1 cast.
2406 Mon Feb 19 18:31:59 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
2408 * po: New directory where `LANG.po' files for message translations
2410 * po/SYS_libc.pot: New file, template of message strings as in source.
2411 * MakeTAGS: New rules to build po/SYS_libc.pot automatically from
2412 the source using xgettext.
2413 * Makerules ($(..)po/%.pot): New rule.
2414 * manual/Makefile (../po/manual.pot): New target, make it empty.
2416 * sysdeps/unix/bsd/alarm.c: Moved to sysdeps/unix/alarm.c.
2417 * sysdeps/unix/bsd/nice.c: Moved to sysdeps/unix/nice.c.
2418 * sysdeps/unix/bsd/stime.c: Moved to sysdeps/unix/stime.c.
2419 * sysdeps/unix/bsd/time.c: Moved to sysdeps/unix/time.c.
2420 * sysdeps/unix/bsd/utime.c: Moved to sysdeps/unix/utime.c.
2422 * time/zic.c, time/scheck.c, time/private.h, time/tzfile.h:
2423 Updated from ADO 96d.
2425 Sun Feb 18 14:08:04 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2427 * csu/initfini.c (_init): Remove bogus volatile declarations and
2428 extra variable, take the address of __gmon_start__ only implicitly
2429 to avoid the test being optimized out.
2431 Sun Feb 18 15:08:10 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2433 * sysdeps/posix/utimes.c (__utimes): There are 1000000 usecs in a
2436 Sun Feb 18 13:56:00 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2438 * elf/Makefile, time/Makefile: Make `all' the default target.
2440 Mon Feb 19 18:09:04 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
2442 * misc/sys/ptrace.h: Moved to ...
2443 * sysdeps/generic/sys/ptrace.h: ... here.
2444 * sys/ptrace.h: File removed.
2446 Sun Feb 18 12:13:07 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2448 * sysdeps/unix/sysv/linux/Makefile (headers): Add fpu_control.h.
2450 * sysdeps/unix/sysv/linux/i386/sysdep.S (errno): Put it into .bss
2451 so that the symbol alias works.
2453 * sysdeps/unix/sysv/linux/m68k/fpu_control.h (_FPU_SETCW): Corrected.
2455 * sysdeps/unix/sysv/linux/resourcebits.h: New file.
2457 * sysdeps/unix/sysv/linux/sys/ptrace.h: New file.
2459 * sysdeps/unix/sysv/linux/syscalls.list: Add getegid, geteuid,
2462 * sysdeps/unix/sysv/linux/sysconf.c: Special version that does not
2465 Sat Feb 17 10:30:21 1996 David Mosberger-Tang <davidm@AZStarNet.com>
2467 * stdio-common/printf_fp.c, stdlib/strtod.c, sysdeps/ieee754/dbl2mpn.c,
2468 sysdeps/ieee754/ldbl2mpn.c, sysdeps/ieee754/mpn2dbl.c,
2469 sysdeps/ieee754/mpn2ldbl.c: Cast left operands of shift instructions
2470 to `long' where necessary.
2472 Thu Feb 15 20:04:50 1996 Ulrich Drepper <drepper@gnu.ai.mit.edu>
2474 * stdlib/fpioconst.h: Introduce new constant _FPIO_CONST_OFFSET.
2475 * stdio-common/printf_fp.c, stdlib/strtod.c: Use _FPIO_CONST_OFFSET
2476 to correctly access MPN array depending on architecture.
2478 Mon Feb 19 15:30:26 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
2480 * stdio-common/tstscanf.c (main): Add check for "0" as %d.
2482 * sysdeps/stub/msync.c: Undo change of Jan 29; just two args.
2483 Only some systems have three args; let them define their own stub.
2485 * sysdeps/generic/dl-sysdep.c: Declare _dl_secure.
2487 * sysdeps/generic/machine-gmon.h: New file.
2488 * gmon/Makefile (distribute): Add machine-gmon.h.
2489 * gmon/mcount.c: Undo changes of Feb 13.
2490 Include "machine-gmon.h".
2492 Sun Feb 18 13:24:06 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
2494 * sysdeps/unix/sysv/linux/direct.h: File removed, since it is
2495 identical to unix/common/direct.h.
2497 * sysdeps/unix/Makefile [no_deps]: Don't include s-proto.d.
2499 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Don't add ipc.
2501 * stdio-common/Makefile (tests): Remove scanf6.
2503 * sysdeps/unix/sysv/linux/Makefile (non-lib.a): Append libieee.a.
2505 * time/mktime.c (mktime): Move static variable localtime_offset to
2508 * stdio-common/vfscanf.c: Put '0' in buffer before scanning for %i
2511 Thu Feb 15 16:56:17 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2513 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Corrected.
2514 (ELF_MACHINE_BEFORE_RTLD_RELOC): Define.
2515 (_dl_runtime_resolve): Save %a1 as well.
2516 (ELF_MACHINE_RUNTIME_FIXUP_ARGS): Add second dummy arg.
2517 (elf_machine_relplt): Define.
2519 * elf/dl-runtime.c: Include possible extra args in declaration of
2522 Fri Feb 16 11:01:59 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
2524 * time/tzset.c: Limit hours to 23, not 12. From jaffer.
2526 Fri Feb 16 10:14:05 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
2528 * Makeconfig (CFLAGS-.po): Use -pg instead of -p.
2530 Thu Feb 15 13:57:08 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
2532 * mach/Machrules: Use -include for $(*.ir).
2534 * hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS): Mask off type bits in
2536 * sysdeps/mach/hurd/ioctls.h (_IOC_NOTYPE): New macro.
2537 (_IOT_COUNT2): Field is 3 bits, not 2.
2538 * sysdeps/mach/hurd/ioctl.c: Ignore handler if it fails with ENOTTY.
2539 * hurd/hurdioctl.c (_hurd_lookup_ioctl_handler): Mask off type
2540 bits before looking up handler.
2541 (fioctl): Use __hurd_dfail.
2542 (fioctl, fioclex): Use ENOTTY for bogus request instead of EGRATUITOUS.
2544 Thu Feb 15 11:49:45 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
2546 * sysdeps/unix/sysv/sysv4/Makefile [$(subdir)-signal]
2547 (sysdep_routines): Don't add sys-sig.
2549 * sysdeps/unix/sysv/sysv4/solaris2/syscalls.list: New file.
2551 Wed Feb 14 00:21:17 1996 David Mosberger-Tang <davidm@azstarnet.com>
2553 * sysdeps/alpha/memchr.c (memchr): loop searching for matching
2554 character bailed out one too early; changed constant 6 to
2557 Wed Feb 14 01:08:58 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
2559 * posix/execvp.c: When executing shell on script, first arg is
2560 full file name, not argv[0].
2562 * mach/Makefile [no_deps]: Inhibit inclusion of mach-syscalls.mk.
2563 * mach/Machrules [no_deps]: Inhibit interface rules.
2565 * malloc/Makefile (distribute): Removed TODO.
2567 Tue Feb 13 05:12:02 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
2569 * sysdeps/unix/sysv/linux/syscalls.list (ipc): Specify msgget in
2572 * sysdeps/unix/common/syscalls.list: Add sigaction syscall.
2574 * sysdeps/unix/sysv/linux/gnu/types.h: Moved from linux/i386.
2576 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=math]
2577 (sysdep_routines): Append setfpucw.
2578 (extra-objs): Append ieee-fpucw.o.
2579 (install-lib): Append libieee.a.
2580 (libieee.a): New target.
2581 * sysdeps/unix/sysv/linux/ieee-fpucw.c: New file.
2582 * sysdeps/unix/sysv/linux/i386/fpu_control.h
2583 (_FPU_GETCW, _FPU_SETCW): New macros.
2584 (fpu_control_t): New typedef.
2585 (__setfpucw): Use fpu_control_t for argument type.
2586 * sysdeps/unix/sysv/linux/fpu_control.c: Moved from linux/i386.
2588 * sysdeps/unix/sysv/linux/init-first.c: Moved from linux/i386.
2590 * sysdeps/unix/sysv/linux/syscalls.list: Add ipc syscall.
2591 * sysdeps/unix/sysv/linux/i386/syscalls.list: File removed.
2593 Sat Feb 10 13:09:03 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2595 * sysdeps/unix/sysv/linux/m68k/brk.c,
2596 sysdeps/unix/sysv/linux/m68k/mmap.S,
2597 sysdeps/unix/sysv/linux/m68k/select.S,
2598 sysdeps/unix/sysv/linux/m68k/sigcontext.h,
2599 sysdeps/unix/sysv/linux/m68k/sigreturn.S,
2600 sysdeps/unix/sysv/linux/m68k/socket.S,
2601 sysdeps/unix/sysv/linux/m68k/syscall.S,
2602 sysdeps/unix/sysv/linux/m68k/sysdep.S,
2603 sysdeps/unix/sysv/linux/m68k/sysdep.h: New files.
2605 * sysdeps/unix/sysv/linux/m68k/fpu_control.h: New file.
2607 * sysdeps/m68k/fpu/isinfl.c, sysdeps/m68k/fpu/isnanl.c,
2608 sysdeps/m68k/isinfl.c, sysdeps/m68k/isnanl.c: New files.
2610 * sysdeps/unix/sysv/linux/sys/mman.h: Define MAP_ANON and
2611 MAP_FILE if not already defined.
2613 * elf/elf.h: Add m68k reloc definitions.
2614 * sysdeps/m68k/dl-machine.h, sysdeps/m68k/elf/start.S: New files.
2616 Tue Feb 13 00:12:12 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
2618 * elf/dl-runtime.c (fixup) [ELF_MACHINE_RUNTIME_FIXUP_ARGS]: Let
2619 this macro declare extra leading args.
2621 * Makerules [$(elf)=yes] (ar-symtab-name): Define to empty.
2623 * sysdeps/i386/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE,
2624 elf_machine_relplt): New macros.
2625 * elf/dl-runtime.c: New file.
2626 * sysdeps/i386/dl-runtime.c, sysdeps/stub/dl-runtime.c: Files removed.
2628 * gmon/Makefile (headers): Remove machine-gmon.h.
2629 * sysdeps/stub/machine-gmon.h, sysdeps/i386/machine-gmon.h: Removed.
2630 * gmon/mcount.c [! NO_UNDERSCORES] (_mcount): Specify "mcount" as
2632 (_mcount): Define normally, taking no args.
2633 Use __builtin_return_address to fetch PC values of caller and caller's
2636 * Makerules: Rewrote rules to update libc archives of all flavors.
2637 Define separate specific rules for each flavor using o-iterator.
2639 * sysdeps/unix/Makefile: Include s-proto.d only ifdef subdir.
2641 Sat Feb 10 11:35:16 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2643 * Makerules (ar-symtab-name): New macro. Replace all occurences
2644 of __.SYMDEF by $(ar-symtab-name).
2645 * sysdeps/unix/sysv/Makefile (ar-symtab-name): Define as empty.
2647 Mon Feb 12 03:10:41 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
2649 * Makefile (configure, %/configure): Depend on aclocal.m4.
2650 * Make-dist (configure, %/configure): Likewise.
2652 * sysdeps/unix/Makefile: Include s-proto.d for its deps.
2654 * gmon/sys/gmon.h: Don't include machine-gmon.h; those defns are
2655 only needed in the implementation, not for any users.
2657 * time/northamerica: Updated from ADO 96c, new rules for Mexico in
2660 * sunrpc/pm_getport.c: #if 0 out gratuitous inclusion of <net/if.h>.
2661 * sunrpc/pm_getmaps.c: Likewise.
2663 * sysdeps/unix/sysv/syscalls.list: Add setrlimit and settimeofday,
2664 so real syscalls override unix/sysv/*.c on sysv-derived systems
2666 * sysdeps/unix/common/syscalls.list: Add settimeofday here, to
2667 override unix/sysv/settimeofday.c since that overrides
2670 * Makeconfig (+link): Put $(link-libc) after deps from $^,
2671 regardless of where libc.a appears in the deps.
2673 * sysdeps/unix/sysv/sysv4/syscalls.list: Remove redundancies.
2675 * sysdeps/unix/sysv/linux/syscalls.list: Remove redundancies.
2676 Define __ name for sigprocmask.
2677 * sysdeps/unix/bsd/ultrix4/syscalls.list: Remove redundancies.
2679 * sysdeps/unix/bsd/sun/sunos4/syscalls.list: Remove redundancies.
2680 * sysdeps/unix/bsd/sun/syscalls.list: Remove redundancies.
2681 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove redundancies.
2682 * sysdeps/unix/bsd/syscalls.list: Remove settimeofday, utimes.
2683 Add getdents, wait3, waitpid.
2684 * sysdeps/unix/syscalls.list: Add seteuid, setegid, setsid,
2685 settimeofday, sigsuspend, sstk, utimes.
2686 * sysdeps/unix/bsd/ultrix4/mips/sigvec.S: File removed.
2687 * sysdeps/unix/bsd/ultrix4/mips/syscalls.list: New file.
2688 * sysdeps/unix/bsd/ultrix4/mips/Makefile (sysdep_routines):
2690 * sysdeps/unix/bsd/ultrix4/mips/sigvec.c: Renamed from sigtramp.c.
2691 * sysdeps/unix/bsd/bsd4.4/sstk.S: File removed.
2692 * sysdeps/unix/bsd/hp/m68k/syscalls.list: File removed.
2693 * sysdeps/unix/bsd/osf/alpha/getdents.S: File removed.
2694 * sysdeps/unix/bsd/ultrix4/getsysinfo.S: File removed.
2695 * sysdeps/unix/bsd/ultrix4/waitpid.S: File removed.
2696 * sysdeps/unix/bsd/ultrix4/mips/sigtramp.c: File removed.
2697 * sysdeps/unix/bsd/ultrix4/mips/sigvec.S: File removed.
2698 * sysdeps/unix/bsd/ultrix4/mips/sigvec.c: New file.
2699 * sysdeps/unix/bsd/ultrix4/mips/syscalls.list: New file.
2700 * sysdeps/unix/sysv/irix4/wait3.S: File removed.
2701 * sysdeps/unix/sysv/sysv4/__waitid.S: File removed.
2702 * sysdeps/unix/sysv/sysv4/fchdir.S: File removed.
2703 * sysdeps/unix/sysv/sysv4/setegid.S: File removed.
2704 * sysdeps/unix/sysv/sysv4/seteuid.S: File removed.
2705 * sysdeps/unix/sysv/sysv4/sigaltstack.S: File removed.
2706 * sysdeps/unix/sysv/sysv4/solaris2/utimes.S: File removed.
2708 * hurd/hurdfault.c (_hurdsig_fault_init): Set qlimit on
2709 FORWARD_SIGEXC to one. Uncomment setting of thread exc port, and
2710 move it to last thing.
2712 Sat Feb 10 05:57:08 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
2714 * sysdeps/generic/make_siglist.c: #undef _SIGNAL_H before defining it.
2716 * sysdeps/unix/sysv/linux/syscalls.list: Add sigprocmask, sigsuspend.
2718 Sat Feb 10 04:18:48 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2720 * posix/execvp.c: If execv fails with ENOEXEC, run the shell on
2723 Fri Feb 9 11:46:45 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2725 * time/Makefile (CFLAGS-zdump.c, CFLAGS-zic.c, CFLAGS-ialloc.c,
2726 CFLAGS-scheck.c): Use -DNOID instead of -Wno-unused.
2728 * hurd/Makefile (user-interfaces): Added hurd/tioctl.
2730 Thu Feb 8 18:55:27 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2732 * hurd/hurdioctl.c (tiocsctty): Set the terminal's pgrp to our own.
2734 Wed Feb 7 18:48:30 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2736 * Makefile (subdirs): Added wcsmbs.
2737 * wcsmbs: New directory of wide char/multibyte char functions from
2740 * hurd/hurdmsg.c (_S_msg_report_wait): Function removed.
2741 * hurd/report-wait.c: New file.
2742 * hurd/Makefile (routines): Added report-wait.
2744 * sysdeps/mach/hurd/Makefile (inhibit-unix-syscalls): New variable.
2746 * sysdeps/mach/hurd/i386/intr-msg.h (struct mach_msg_trap_args):
2748 (SYSCALL_EXAMINE, MSG_EXAMINE): New inline functions.
2749 * sysdeps/mach/hurd/i386/trampoline.c (struct mach_msg_trap_args):
2750 Structure moved to intr-msg.h; include that.
2752 * time/Makefile (CFLAGS-ialloc.c): Add -Wno-unused.
2753 (CFLAGS-scheck.c): New variable.
2755 * sysdeps/mach/hurd/dl-sysdep.c (__hurd_sigthread_stack_base,
2756 __hurd_sigthread_stack_end, __hurd_sigthread_variables,
2757 __hurd_threadvar_stack_mask): New variables.
2759 * sysdeps/mach/hurd/fork.c: Set the new task's exception port to
2760 its new message port.
2762 * misc/init-misc.c: Put __init_misc in the __libc_subinit set.
2764 * configure.in (uname): Add quoting.
2766 * sysdeps/mach/hurd/fchdir.c: Don't consult errno unless lookup fails.
2767 * hurd/fchroot.c: Likewise.
2769 * posix/sys/types.h [GCC >= 2.7]: Define intN_t/u_intN_t using
2770 __attribute__ ((__mode__ (__XX__))).
2772 Wed Feb 7 03:24:05 1996 Torbjorn Granlund <tege@tmg.se>
2774 * sysdeps/i386/i586/memcopy.h (WORD_COPY_FWD): Manually allocate
2775 destination cache lines.
2776 (WORD_COPY_BWD): Likewise.
2778 Wed Feb 7 14:16:36 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2780 * sysdeps/generic/Makefile (make_siglist): Get signum.h absolute
2781 file name first thing, before $(native-compile) changes directories.
2783 From Gord Matzigkeit <gord@enci.ucalgary.ca>:
2784 * sysdeps/unix/make_errlist.c: Use strerror if available.
2785 * sysdeps/unix/configure.in: New file
2787 * sysdeps/unix/bsd/sun/syscalls.list: Added sigvec.
2788 * sysdeps/unix/bsd/sun/sigvec.S: File removed.
2790 * sysdeps/stub/sendto.c: Make sockaddr arg pointer to const.
2791 * sysdeps/stub/connect.c: Likewise.
2792 * sysdeps/stub/bind.c: Likewise.
2794 * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): RETRYNAME of
2795 "" is only special for FS_RETRY_NORMAL; for FS_RETRY_REAUTH, do
2796 another dir_lookup of "".
2798 Tue Feb 6 12:46:29 1996 David Mosberger-Tang <davidm@azstarnet.com>
2800 * libc-symbols.h (weak_alias, weak_symbol): added definitions
2801 for ECOFF (HAVE_ECOFF).
2803 Fri Feb 2 13:09:18 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2805 * sysdeps/mach/hurd/fork.c: Clear trace flag in child.
2807 Wed Jan 31 20:08:26 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2809 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Clear SS->intr_port
2810 when cancelled before RPC.
2812 Tue Jan 30 13:32:05 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2814 * dirent/scandir.c: Allocate dirents with correct size for name, and
2815 copy with correct size.
2817 * hurd/hurdinit.c [! PIC] (map0): New function, on _hurd_preinit_hook.
2819 * stdio-common/vfscanf.c (TYPEMOD): New macro of all type modifier
2821 (__vfscanf): Fix checking of extra type modifiers.
2823 * time/asia, time/australasia, time/backward: Updated from ADO 96b.
2825 Tue Jan 30 12:17:26 1996 Ulrich Drepper <drepper@ipd.info.uni-karlsruhe.de>
2827 * stdlib/strtod.c: Only negate exponent when there really is one.
2829 * stdio-common/vfscanf.c: Accept type modifiers on %n.
2830 Fix FP number parsing.
2832 Mon Jan 29 21:53:40 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2834 * sysdeps/stub/msync.c (msync): Declare third arg FLAGS.
2836 * resolv/Makefile (+cflags): Append to this instead of CFLAGS.
2838 Mon Jan 29 16:29:16 1996 Miles Bader <miles@gnu.ai.mit.edu>
2840 * sysdeps/mach/hurd/select.c (__select): Recalculate GOT to
2841 include an increment for each operation allowed on each fd.
2843 Mon Jan 29 11:44:38 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2845 * sysdeps/unix/sysv/linux/configure: Set $inhibit_glue.
2847 * Makefile: Use -include for sysd-dirs.
2849 * configure.in (uname): Check for uname in syscalls.list files.
2850 * sysdeps/unix/sysv/syscalls.list: Remove uname.
2851 * sysdeps/unix/syscalls.list: Add uname.
2853 * stdlib/strtol.c (weak1): New macro, to get the right name declared
2856 * sysdeps/posix/getcwd.c (size_t): Don't define #ifdef __GNU_LIBRARY__.
2858 * db/hash/ndbm.c: Change all uses of `errno' struct member to `errnum'.
2859 (dbm_open): Use dynamic allocation for file name buffer, instead of
2860 limitting its size to MAXPATHLEN.
2862 * db/btree/bt_open.c (tmp): Use dynamic allocation for file name
2863 buffer, instead of limitting its size to MAXPATHLEN.
2865 * db/hash/hash.h (HTAB): Rename member `errno' to `errnum'.
2866 * db/hash/hash.c: Change all uses of `errno' struct member to `errnum'.
2868 Sun Jan 28 19:42:04 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2870 * time/Makefile: Fix check for cross compiling.
2872 Thu Jan 25 21:10:39 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2874 * db/Makefile (subdir-dirs): Renamed from dbdirs.
2876 * Makerules (distinfo-vars): Add subdir-dirs.
2878 * MakeTAGS: Remove vpath directives.
2879 (all-dirs): Prepend $(subdir-dirs).
2880 (all-sources, all-headers): Use wildcard to find sources.
2882 Mon Jan 29 10:44:38 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2884 * malloc/Makefile (CFLAGS-vm-limit.c, CFLAGS-ralloc.c): New
2887 * mach/msgserver.c: Declare DEMUX arg with prototype.
2889 Sun Jan 28 17:25:38 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2891 * setjmp/setjmp.h (jmp_buf): Give a tag in the struct defn, to
2893 * alpha/jmp_buf.h: Likewise.
2894 * m68k/jmp_buf.h: Likewise.
2895 * mips/jmp_buf.h: Likewise.
2896 * sparc/jmp_buf.h: Likewise.
2897 * vax/jmp_buf.h: Likewise.
2899 * sysdeps/generic/memmem.c: Fix return value in case where
2902 * hurd/hurdlookup.c (__file_name_lookup_under,
2903 __file_name_lookup): Restrict mode with umask.
2904 * sysdeps/mach/hurd/xmknod.c: Restrict mode with umask.
2905 * sysdeps/mach/hurd/mkdir.c: Restrict mode with umask.
2907 Fri Jan 26 12:20:45 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2909 * stdlib/strtol.c: Undo last change. ANSI C changed since the
2910 draft I checked yesterday. Sigh.
2912 Thu Jan 25 18:58:25 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2914 * stdlib/strtol.c [UNSIGNED]: Don't recognize + or - as sign.
2916 Wed Jan 24 03:22:07 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2918 * malloc/mcheck.c (mabort): Declare prototype.
2920 * sysdeps/unix/sysv/linux/fcntlbits.h: Moved from linux/i386.
2922 * Makerules: Use -include for generated makefiles.
2924 * errno.h: Don't declare errno if it's defined as a macro.
2926 * stdio-common/vfscanf.c: Disallow l flag after ll or L.
2928 * stdio-common/Makefile (tests): Add scanf[1-9].
2929 * stdio-common/scanf[1-9].c: New files. Bug tests from hjl.
2931 Wed Jan 24 04:18:36 1996 Paul Eggert <eggert@twinsun.com>
2933 * strftime.c (strftime):
2934 When invoking self, check whether the subsidiary invocation failed.
2935 Use "???" (not "") to denote unknown time zone information.
2937 Make this source file portable to standalone contexts (e.g. GNU Emacs).
2938 <config.h>: Include if HAVE_CONFIG_H is defined.
2939 (HAVE_LIMITS_H, HAVE_MBLEN, HAVE_TM_ZONE, STDC_HEADERS): New symbols,
2940 defined if _LIBC or if <config.h> defines them.
2941 <ansidecl.h>, "../locale/localeinfo.h": Include only if _LIBC.
2942 <sys/types.h>: New include; some hosts require it for `time_t'.
2943 <ctype.h>: Include only if HAVE_MBLEN (since it's only needed then).
2944 <limits.h>: Include only if HAVE_LIMITS_H.
2945 <stddef.h, stdlib.h, string.h>: Include only if STDC_HEADERS.
2946 (memcpy): Define in terms of bcopy if !STDC_HEADERS.
2947 (__P, PTR): Define if not already defined.
2948 (__tzname, __daylight, __timezone): Remove macros; no longer needed.
2949 (add, strftime): Don't use NULL, for portability to some weird hosts.
2950 (fmt): If !_LIBC, don't assume sprintf returns a count.
2951 (week, strftime): Use old-style function declarations.
2952 (weekday_name, month_name): New constants.
2953 (strftime): Use traditional C values if locale support isn't available.
2954 Use `const' instead of CONST. For time zones, use tm_zone if
2955 possible, then fall back on tzname. Don't check for multibyte
2956 characters unless mblen is supported. Use formats like %02d instead
2957 of %.2d, for portability to older hosts.
2959 Wed Jan 24 00:07:52 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2961 * stdio-common/vfscanf.c (GROUP, MALLOC): New flag macros.
2962 (__vfscanf): Eliminate flag vars that were redundant with FLAGS bits.
2963 Fix bug in recognition of %ll flag for long long.
2964 Fix overeager checks for conflicting type modifiers.
2965 With ' flag, match thousands separators for decimal numbers.
2967 Tue Jan 23 22:02:40 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2969 * locale/Makefile (CFLAGS-locfile-lex.c): New variable.
2971 * resolv/Makefile (CFLAGS): Disable some warnings.
2973 * sysdeps/generic/Makefile (elided-routines): Removed hypot.
2974 (+gccwarn): Set with override.
2976 * stdio-common/Makefile (CFLAGS-tst-printf.c): New variable.
2978 * posix/Makefile (CFLAGS-regex.c): New variable.
2980 * malloc/Makefile (CFLAGS-obstack.c): New variable.
2982 * io/Makefile (CFLAGS-fts.c): New variable.
2983 * io/fts.c (fts_open): Use prototypes for COMPAR decl.
2985 Tue Jan 23 21:35:32 1996 Miles Bader <miles@gnu.ai.mit.edu>
2987 * sysdeps/mach/hurd/bind.c (bind): Ensure NAME for the AF_LOCAL
2988 case is '\0'-terminated.
2990 Tue Jan 23 19:49:54 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2992 * elf/rtld.c (dl_main): Support additional args in --list mode for
2993 debugging: look them up as symbol names and print values.
2995 * misc/getttyent.c (skip, value): Declare with prototypes in file
2998 * csu/initfini.c (_init): Explicitly set a variable that is
2999 pointer to volatile with the address of __gmon_start__, to avoid
3000 the test being optimized out.
3002 Mon Jan 22 10:40:40 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
3004 * sysdeps/posix/getcwd.c [__GNU_LIBRARY__]: Include unistd.h.
3006 * io/fts.h (FTSENT): Define fts_compar member with prototype.
3008 * hurd/hurd.h: Use prototype in getcttyid decl.
3010 * stdlib/l64a.c: Fix typo in last change.
3012 * stdlib/drand48-iter.c: Test limits.h macros instead of sizeof
3013 for determining size of types.
3014 * stdlib/srand48_r.c: Likewise.
3016 * misc/utmp.h: Declare login, logout, logwtmp.
3017 * misc/logout.c: Declare argument as pointer to const.
3018 * misc/login.c: Likewise.
3019 * misc/logwtmp.c: Likewise.
3020 Include time.h, string.h.
3022 * misc/efgcvt_r.c: Include stdlib.h.
3024 * io/mknod.c: Include sys/types.h.
3026 * gmon/sys/gmon.h: Declare monstartup, _mcleanup.
3028 * csu/gmon-start.c (_start, etext): Declare with prototypes.
3030 * stdio-common/vfscanf.c (%[): Fix range handling.
3032 Sun Jan 21 00:55:25 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
3034 * misc/Makefile (headers): Rename queue.h to sys/queue.h.
3035 * misc/queue.h: Moved to misc/sys/queue.h.
3037 * sysdeps/unix/sysv/linux/shmat.c: Include sys/shm.h instead of
3040 * stdlib/stdlib.h [__USE_SVID]: Declare a64l, l64a.
3042 * stdlib/l64a.c: Use 6-bit numbers as indices in CONV_TABLE, not
3043 literal byte values.
3045 * misc/bsd-compat.c (getpgrp): Define with prototype.
3047 * misc/init-misc.c (__progname_full): New variable.
3048 (program_invocation_name, program_invocation_short_name): New aliases.
3049 (__init_misc): Define with prototype. Set __progname_full.
3050 * misc/progname.c: File removed.
3051 * misc/Makefile (aux): Remove progname.
3053 * misc/hsearch_r.c (isprime): Define with prototype.
3055 * sysdeps/unix/sysv/linux/seteuid.c: Just include unix/bsd version.
3056 * sysdeps/unix/bsd/seteuid.c: Disallow arg of -1.
3057 * sysdeps/unix/bsd/setegid.c: Likewise.
3059 Fri Jan 19 13:28:59 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
3061 * sysdeps/unix/sysv/linux/tcdrain.c: Define tcdrain, not
3064 * posix/glob.c (glob): Use prototype in getlogin decl.
3066 * db/ndbm.h: Declare dbm_error, dbm_clearerr.
3067 * db/db/db.c (__dberr): Define with prototype.
3068 (__dbpanic): Use prototypes in casts.
3069 * db/hash/hash_log2.c: Add prototype decl.
3071 * sysdeps/generic/_strerror.c (_strerror_internal): Define with
3074 * sysdeps/unix/mkdir.c, syspdep/unix/rmdir.c: Moved from unix/sysv.
3075 They will be overridden with syscalls if extant by unix/syscalls.list.
3077 * Makeconfig (+gccwarn): Add -Wstrict-prototypes.
3079 * stdio-common/printf_fp.c (__printf_fp): Define with prototype.
3080 * stdio-common/vfprintf.c (_IO_helper_overflow): Likewise.
3082 Thu Jan 18 00:32:43 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
3084 * io/Makefile (routines): Add mknod, xstat fxstat lxstat xmknod.
3086 * sysdeps/unix/sysv/linux/ptrace.c: Use ... decl, and stdarg.h to
3089 * posix/glob.c (_GNU_SOURCE): Define if undefined, so glob.h
3090 defines GNU extensions.
3091 * posix/fnmatch.c: Likewise.
3093 Replaced all simple system call files *.S throughout sysdeps/unix
3094 with syscalls.list files to be processed by make-syscalls.sh.
3095 * sysdeps/unix/s-proto.S: New file.
3096 * sysdeps/unix/syscalls.list: New file.
3097 * sysdeps/unix/bsd/syscalls.list: New file.
3098 * sysdeps/unix/bsd/bsd4.4/syscalls.list: New file.
3099 * sysdeps/unix/bsd/hp/m68k/syscalls.list: New file.
3100 * sysdeps/unix/bsd/osf/syscalls.list: New file.
3101 * sysdeps/unix/bsd/osf/alpha/syscalls.list: New file.
3102 * sysdeps/unix/bsd/sony/newsos4/syscalls.list: New file.
3103 * sysdeps/unix/bsd/sun/syscalls.list: New file.
3104 * sysdeps/unix/bsd/sun/sunos4/syscalls.list: New file.
3105 * sysdeps/unix/bsd/ultrix4/syscalls.list: New file.
3106 * sysdeps/unix/common/syscalls.list: New file.
3107 * sysdeps/unix/inet/syscalls.list: New file.
3108 * sysdeps/unix/mman/syscalls.list: New file.
3109 * sysdeps/unix/sysv/syscalls.list: New file.
3110 * sysdeps/unix/sysv/irix4/syscalls.list: New file.
3111 * sysdeps/unix/sysv/isc2.2/syscalls.list: New file.
3112 * sysdeps/unix/sysv/linux/syscalls.list: New file.
3113 * sysdeps/unix/sysv/linux/i386/syscalls.list: New file.
3114 * sysdeps/unix/sysv/sco3.2.4/syscalls.list: New file.
3115 * sysdeps/unix/sysv/sysv4/syscalls.list: New file.
3116 * sysdeps/unix/sysv/sysv4/i386/syscalls.list: New file.
3117 * sysdeps/unix/sysv/sysv4/solaris2/sparc/syscalls.list: New file.
3118 * sysdeps/unix/acct.S: File removed.
3119 * sysdeps/unix/chdir.S: File removed.
3120 * sysdeps/unix/chmod.S: File removed.
3121 * sysdeps/unix/chown.S: File removed.
3122 * sysdeps/unix/chroot.S: File removed.
3123 * sysdeps/unix/close.S: File removed.
3124 * sysdeps/unix/configure: File removed.
3125 * sysdeps/unix/configure.in: File removed.
3126 * sysdeps/unix/dup.S: File removed.
3127 * sysdeps/unix/fcntl.S: File removed.
3128 * sysdeps/unix/fsync.S: File removed.
3129 * sysdeps/unix/getgid.S: File removed.
3130 * sysdeps/unix/getpid.S: File removed.
3131 * sysdeps/unix/getuid.S: File removed.
3132 * sysdeps/unix/ioctl.S: File removed.
3133 * sysdeps/unix/kill.S: File removed.
3134 * sysdeps/unix/link.S: File removed.
3135 * sysdeps/unix/lseek.S: File removed.
3136 * sysdeps/unix/open.S: File removed.
3137 * sysdeps/unix/ptrace.S: File removed.
3138 * sysdeps/unix/read.S: File removed.
3139 * sysdeps/unix/reboot.S: File removed.
3140 * sysdeps/unix/setgid.S: File removed.
3141 * sysdeps/unix/setuid.S: File removed.
3142 * sysdeps/unix/sync.S: File removed.
3143 * sysdeps/unix/umask.S: File removed.
3144 * sysdeps/unix/unlink.S: File removed.
3145 * sysdeps/unix/write.S: File removed.
3146 * sysdeps/unix/bsd/flock.S: File removed.
3147 * sysdeps/unix/bsd/getdtsz.S: File removed.
3148 * sysdeps/unix/bsd/getpagesize.S: File removed.
3149 * sysdeps/unix/bsd/killpg.S: File removed.
3150 * sysdeps/unix/bsd/profil.S: File removed.
3151 * sysdeps/unix/bsd/readv.S: File removed.
3152 * sysdeps/unix/bsd/settimeofday.S: File removed.
3153 * sysdeps/unix/bsd/sigblock.S: File removed.
3154 * sysdeps/unix/bsd/sigpause.S: File removed.
3155 * sysdeps/unix/bsd/sigsetmask.S: File removed.
3156 * sysdeps/unix/bsd/sigstack.S: File removed.
3157 * sysdeps/unix/bsd/sigvec.S: File removed.
3158 * sysdeps/unix/bsd/utimes.S: File removed.
3159 * sysdeps/unix/bsd/writev.S: File removed.
3160 * sysdeps/unix/bsd/bsd4.4/chflags.S: File removed.
3161 * sysdeps/unix/bsd/bsd4.4/fchdir.S: File removed.
3162 * sysdeps/unix/bsd/bsd4.4/fchflags.S: File removed.
3163 * sysdeps/unix/bsd/bsd4.4/getdents.S: File removed.
3164 * sysdeps/unix/bsd/bsd4.4/getdomain.S: File removed.
3165 * sysdeps/unix/bsd/bsd4.4/revoke.S: File removed.
3166 * sysdeps/unix/bsd/bsd4.4/setdomain.S: File removed.
3167 * sysdeps/unix/bsd/bsd4.4/setegid.S: File removed.
3168 * sysdeps/unix/bsd/bsd4.4/seteuid.S: File removed.
3169 * sysdeps/unix/bsd/bsd4.4/setlogin.S: File removed.
3170 * sysdeps/unix/bsd/bsd4.4/setsid.S: File removed.
3171 * sysdeps/unix/bsd/bsd4.4/sigaltstack.S: File removed.
3172 * sysdeps/unix/bsd/bsd4.4/wait4.S: File removed.
3173 * sysdeps/unix/bsd/hp/m68k/getdents.S: File removed.
3174 * sysdeps/unix/bsd/osf/msync.S: File removed.
3175 * sysdeps/unix/bsd/osf/alpha/wait4.S: File removed.
3176 * sysdeps/unix/bsd/sony/newsos4/fchdir.S: File removed.
3177 * sysdeps/unix/bsd/sony/newsos4/sys_wait4.S: File removed.
3178 * sysdeps/unix/bsd/sun/getdents.S: File removed.
3179 * sysdeps/unix/bsd/sun/sunos3/m68k/wait.S: File removed.
3180 * sysdeps/unix/bsd/sun/sunos4/msync.S: File removed.
3181 * sysdeps/unix/bsd/sun/sunos4/poll.S: File removed.
3182 * sysdeps/unix/bsd/sun/sunos4/setsid.S: File removed.
3183 * sysdeps/unix/bsd/sun/sunos4/sys_mmap.S: File removed.
3184 * sysdeps/unix/bsd/sun/sunos4/sys_wait4.S: File removed.
3185 * sysdeps/unix/bsd/sun/sunos4/uname.S: File removed.
3186 * sysdeps/unix/bsd/ultrix4/getdents.S: File removed.
3187 * sysdeps/unix/bsd/ultrix4/setsid.S: File removed.
3188 * sysdeps/unix/bsd/ultrix4/uname.S: File removed.
3189 * sysdeps/unix/common/access.S: File removed.
3190 * sysdeps/unix/common/adjtime.S: File removed.
3191 * sysdeps/unix/common/dup2.S: File removed.
3192 * sysdeps/unix/common/fchmod.S: File removed.
3193 * sysdeps/unix/common/fchown.S: File removed.
3194 * sysdeps/unix/common/ftruncate.S: File removed.
3195 * sysdeps/unix/common/getgroups.S: File removed.
3196 * sysdeps/unix/common/getitimer.S: File removed.
3197 * sysdeps/unix/common/getpgid.S: File removed.
3198 * sysdeps/unix/common/getpriority.S: File removed.
3199 * sysdeps/unix/common/getrlimit.S: File removed.
3200 * sysdeps/unix/common/getrusage.S: File removed.
3201 * sysdeps/unix/common/gettimeofday.S: File removed.
3202 * sysdeps/unix/common/mkdir.S: File removed.
3203 * sysdeps/unix/common/readlink.S: File removed.
3204 * sysdeps/unix/common/rename.S: File removed.
3205 * sysdeps/unix/common/rmdir.S: File removed.
3206 * sysdeps/unix/common/select.S: File removed.
3207 * sysdeps/unix/common/setgroups.S: File removed.
3208 * sysdeps/unix/common/setitimer.S: File removed.
3209 * sysdeps/unix/common/setpgid.S: File removed.
3210 * sysdeps/unix/common/setpriority.S: File removed.
3211 * sysdeps/unix/common/setregid.S: File removed.
3212 * sysdeps/unix/common/setreuid.S: File removed.
3213 * sysdeps/unix/common/setrlimit.S: File removed.
3214 * sysdeps/unix/common/swapon.S: File removed.
3215 * sysdeps/unix/common/symlink.S: File removed.
3216 * sysdeps/unix/common/truncate.S: File removed.
3217 * sysdeps/unix/common/vhangup.S: File removed.
3218 * sysdeps/unix/inet/accept.S: File removed.
3219 * sysdeps/unix/inet/bind.S: File removed.
3220 * sysdeps/unix/inet/connect.S: File removed.
3221 * sysdeps/unix/inet/gethostid.S: File removed.
3222 * sysdeps/unix/inet/gethostname.S: File removed.
3223 * sysdeps/unix/inet/getpeername.S: File removed.
3224 * sysdeps/unix/inet/getsockname.S: File removed.
3225 * sysdeps/unix/inet/getsockopt.S: File removed.
3226 * sysdeps/unix/inet/listen.S: File removed.
3227 * sysdeps/unix/inet/recv.S: File removed.
3228 * sysdeps/unix/inet/recvfrom.S: File removed.
3229 * sysdeps/unix/inet/recvmsg.S: File removed.
3230 * sysdeps/unix/inet/send.S: File removed.
3231 * sysdeps/unix/inet/sendmsg.S: File removed.
3232 * sysdeps/unix/inet/sendto.S: File removed.
3233 * sysdeps/unix/inet/sethostid.S: File removed.
3234 * sysdeps/unix/inet/sethostname.S: File removed.
3235 * sysdeps/unix/inet/setsockopt.S: File removed.
3236 * sysdeps/unix/inet/shutdown.S: File removed.
3237 * sysdeps/unix/inet/socket.S: File removed.
3238 * sysdeps/unix/inet/socketpair.S: File removed.
3239 * sysdeps/unix/mman/madvise.S: File removed.
3240 * sysdeps/unix/mman/mmap.S: File removed.
3241 * sysdeps/unix/mman/mprotect.S: File removed.
3242 * sysdeps/unix/mman/msync.S: File removed.
3243 * sysdeps/unix/mman/munmap.S: File removed.
3244 * sysdeps/unix/sysv/alarm.S: File removed.
3245 * sysdeps/unix/sysv/ftime.S: File removed.
3246 * sysdeps/unix/sysv/nice.S: File removed.
3247 * sysdeps/unix/sysv/pause.S: File removed.
3248 * sysdeps/unix/sysv/poll.S: File removed.
3249 * sysdeps/unix/sysv/s_getdents.S: File removed.
3250 * sysdeps/unix/sysv/signal.S: File removed.
3251 * sysdeps/unix/sysv/stime.S: File removed.
3252 * sysdeps/unix/sysv/time.S: File removed.
3253 * sysdeps/unix/sysv/times.S: File removed.
3254 * sysdeps/unix/sysv/ulimit.S: File removed.
3255 * sysdeps/unix/sysv/uname.S: File removed.
3256 * sysdeps/unix/sysv/utime.S: File removed.
3257 * sysdeps/unix/sysv/irix4/getpgid.S: File removed.
3258 * sysdeps/unix/sysv/irix4/msync.S: File removed.
3259 * sysdeps/unix/sysv/irix4/setpgid.S: File removed.
3260 * sysdeps/unix/sysv/irix4/signal.S: File removed.
3261 * sysdeps/unix/sysv/irix4/sysmp.S: File removed.
3262 * sysdeps/unix/sysv/irix4/syssgi.S: File removed.
3263 * sysdeps/unix/sysv/isc2.2/rename.S: File removed.
3264 * sysdeps/unix/sysv/linux/adjtimex.S: File removed.
3265 * sysdeps/unix/sysv/linux/fork.S: File removed.
3266 * sysdeps/unix/sysv/linux/getpgid.S: File removed.
3267 * sysdeps/unix/sysv/linux/getpgrp.S: File removed.
3268 * sysdeps/unix/sysv/linux/getsid.S: File removed.
3269 * sysdeps/unix/sysv/linux/gtty.S: File removed.
3270 * sysdeps/unix/sysv/linux/mlock.S: File removed.
3271 * sysdeps/unix/sysv/linux/mlockall.S: File removed.
3272 * sysdeps/unix/sysv/linux/mount.S: File removed.
3273 * sysdeps/unix/sysv/linux/munlock.S: File removed.
3274 * sysdeps/unix/sysv/linux/munlockall.S: File removed.
3275 * sysdeps/unix/sysv/linux/pipe.S: File removed.
3276 * sysdeps/unix/sysv/linux/s_ptrace.S: File removed.
3277 * sysdeps/unix/sysv/linux/setpgid.S: File removed.
3278 * sysdeps/unix/sysv/linux/setsid.S: File removed.
3279 * sysdeps/unix/sysv/linux/settimeofday.S: File removed.
3280 * sysdeps/unix/sysv/linux/sigpending.S: File removed.
3281 * sysdeps/unix/sysv/linux/stty.S: File removed.
3282 * sysdeps/unix/sysv/linux/umount.S: File removed.
3283 * sysdeps/unix/sysv/linux/wait4.S: File removed.
3284 * sysdeps/unix/sysv/linux/i386/ipc.S: File removed.
3285 * sysdeps/unix/sysv/sco3.2.4/pathconf.S: File removed.
3286 * sysdeps/unix/sysv/sco3.2.4/pgrpsys.S: File removed.
3287 * sysdeps/unix/sysv/sco3.2.4/sco_getgrp.S: File removed.
3288 * sysdeps/unix/sysv/sco3.2.4/sigpending.S: File removed.
3289 * sysdeps/unix/sysv/sco3.2.4/sigprocmask.S: File removed.
3290 * sysdeps/unix/sysv/sco3.2.4/sigsuspend.S: File removed.
3291 * sysdeps/unix/sysv/sysv4/pgrpsys.S: File removed.
3292 * sysdeps/unix/sysv/sysv4/sigprocmask.S: File removed.
3293 * sysdeps/unix/sysv/sysv4/sigsuspend.S: File removed.
3294 * sysdeps/unix/sysv/sysv4/sysconfig.S: File removed.
3295 * sysdeps/unix/sysv/sysv4/sysinfo.S: File removed.
3296 * sysdeps/unix/sysv/sysv4/solaris2/sparc/sys-sig.S: File removed.
3298 * io/mknod.c: New file.
3300 * Makerules (COMPILE.s): New variable.
3302 * sysdeps/unix/Makefile (sysd-syscalls): New target; generate with
3303 make-syscalls.sh and include it.
3304 [$(subdir)=misc] (sysdep_routines): Append extra syscalls from
3306 * sysdeps/unix/make-syscalls.sh: New file.
3308 * Makerules (COMPILE.S): New variable.
3310 Wed Jan 17 11:04:58 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
3312 * sysdeps/unix/sysv/linux/statbuf.h (_STAT_VER_LINUX,
3313 _STAT_VER_SVR4, _STAT_VER): New macros.
3314 (_MKNOD_VER_LINUX, _MKNOD_VER_SVR4, _MKNOD_VER): New macros.
3316 * sysdeps/unix/sysv/sysv4/i386/statbuf.h (_STAT_VER, _MKNOD_VER):
3319 * io/sys/stat.h (_STAT_VER, _MKNOD_VER): New macros.
3320 (__xstat, __fxstat, __lxstat, __xmknod): Declare new functions.
3321 [__GNUC__] (stat, fstat, lstat, mknod): Define these (and __ names)
3322 as `extern inline's calling the `x' functions.
3323 * io/fstat.c: New file.
3324 * io/lstat.c: New file.
3325 * io/stat.c: New file.
3326 * sysdeps/generic/lstat.c: File removed.
3327 * sysdeps/generic/lxstat.c: New file.
3328 * sysdeps/mach/hurd/fstat.c: File removed.
3329 * sysdeps/mach/hurd/fxstat.c: New file.
3330 * sysdeps/mach/hurd/lstat.c: File removed.
3331 * sysdeps/mach/hurd/lxstat.c: New file.
3332 * sysdeps/mach/hurd/mknod.c: File removed.
3333 * sysdeps/mach/hurd/stat.c: File removed.
3334 * sysdeps/mach/hurd/xmknod.c: New file.
3335 * sysdeps/mach/hurd/xstat.c: New file.
3336 * sysdeps/stub/fstat.c: File removed.
3337 * sysdeps/stub/fxstat.c: New file.
3338 * sysdeps/stub/lstat.c: File removed.
3339 * sysdeps/stub/lxstat.c: New file.
3340 * sysdeps/stub/mknod.c: File removed.
3341 * sysdeps/stub/stat.c: File removed.
3342 * sysdeps/stub/xmknod.c: New file.
3343 * sysdeps/stub/xstat.c: New file.
3344 * sysdeps/unix/common/lstat.S: File removed.
3345 * sysdeps/unix/common/lxstat.c: New file.
3346 * sysdeps/unix/fstat.S: File removed.
3347 * sysdeps/unix/fxstat.c: New file.
3348 * sysdeps/unix/mknod.S: File removed.
3349 * sysdeps/unix/stat.S: File removed.
3350 * sysdeps/unix/sysv/linux/fstat.c: File removed.
3351 * sysdeps/unix/sysv/linux/i386/fxstat.S: File removed.
3352 * sysdeps/unix/sysv/linux/i386/lxstat.S: File removed.
3353 * sysdeps/unix/sysv/linux/i386/xmknod.S: File removed.
3354 * sysdeps/unix/sysv/linux/i386/xstat.S: File removed.
3355 * sysdeps/unix/sysv/linux/lstat.c: File removed.
3356 * sysdeps/unix/sysv/linux/mknod.c: File removed.
3357 * sysdeps/unix/sysv/linux/stat.c: File removed.
3358 * sysdeps/unix/sysv/sysv4/i386/fstat.S: File removed.
3359 * sysdeps/unix/sysv/sysv4/i386/lstat.S: File removed.
3360 * sysdeps/unix/sysv/sysv4/i386/mknod.S: File removed.
3361 * sysdeps/unix/sysv/sysv4/i386/stat.S: File removed.
3362 * sysdeps/unix/xmknod.c: New file.
3363 * sysdeps/unix/xstat.c: New file.
3364 * sysdeps/unix/mkfifo.c: Use __xmknod instead of __mknod.
3365 * misc/Makefile (routines): Remove mknod.
3367 * sysdeps/ieee754/ieee754.h (union ieee854_long_double.ieee_nan):
3368 Add missing ; in little-endian case.
3370 * elf/dynamic-link.h [ELF_MACHINE_NO_REL] (ELF_DYNAMIC_DO_REL):
3371 Define this instead of ELF_DYNAMIC_DO_RELA.
3373 * sysdeps/unix/sysv/time.S: Moved from sysv4.
3374 * sysdeps/unix/sysv/irix4/time.S: File removed.
3376 * sysdeps/unix/sysv/linux/signum.h: Moved from
3377 sysdeps/unix/sysv/linux/i386.
3378 (_NSIG): Move inside #ifdef _SIGNAL_H.
3380 Tue Jan 16 17:37:39 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
3382 * sysdeps/unix/seekdir.c: Don't modify POS before seeking.
3383 * sysdeps/unix/telldir.c: Fix position calculation to account for
3384 buffered data properly.
3386 * sysdeps/m68k/Makefile (crypt): Don't define if building a shared
3389 * csu/initfini.c (_init): Call __gmon_start__ if defined (weak ref).
3390 * csu/gmon-start.c (__gmon_start__): Renamed from gmon_start, made
3392 [! HAVE_INITFINI]: Only make it a constructor in this case.
3394 * gmon/Makefile (CFLAGS-mcount.c): New variable.
3395 (mcount.po): New target.
3397 * Makeconfig (CFLAGS): Append $(CFLAGS-$(<F)).
3399 * csu/Makefile [have-initfini=yes] (CPPFLAGS): Append -DHAVE_INITFINI.
3400 (initfini): Compile initfini.c with -fPIC.
3402 Sun Jan 14 01:01:10 1996 Ulrich Drepper <drepper@ipd.info.uni-karlsruhe.de>
3404 * sysdeps/mips/bytesex.h: Add default byte sex. By Ralf Baechle.
3406 * sysdeps/unix/sysv/linux/adjtime.c [! MOD_OFFSET]: Use `mode'
3407 member of `struct timex' instead of `modes'. From Andreas Schwab.
3409 * sysdeps/unix/sysv/linux/mknod.c: New file. Generic C version.
3410 * sysdeps/unix/sysv/linux/i386/mknod.S: Remove assembler version.
3412 * sysdeps/unix/sysv/linux/Makefile (inhibit-glue): New variable.
3413 [$(subdir) = misc] (sysdep_routines): Add mount, umount, and s_ptrace.
3414 [$(subdir) = misc] (headers): Append sys/mount.h.
3416 * sysdeps/unix/sysv/linux/mount.S, sysdeps/unix/sysv/linux/umount.S:
3417 New files. Implement system calls.
3418 * sysdeps/unix/sysv/linux/sys/mount.h: New header file.
3420 * sysdeps/unix/sysv/linux/ptrace.c: New file. Wrapper around
3422 * sysdeps/unix/sysv/linux/s_ptrace.S: New file: ptrace system call.
3424 * sysdeps/unix/sysv/linux/i386/gnu/types.h: New file with correct
3425 types for i386/Linux.
3427 Sun Jan 14 17:51:09 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3429 * MakeTAGS (all-sources, all-headers): Always search the
3430 current directory first.
3432 * db/btree/bt_seq.c (__bt_first): Return RET_SPECIAL when key not
3435 * stdio-common/vfscanf.c (inchar, conv_error, input_error,
3436 memory_error): Add cast to void to avoid gcc warning.
3437 (vfscanf): Rewrite character class parsing to make it more efficient.
3439 * misc/efgcvt_r.c (ecvt_r): Handle negative values.
3441 * stdlib/stdlib.h: Replace __CONSTVALUE by attribute.
3442 * stdlib/abs.c, stdlib/div.c, stdlib/labs.c, stdlib/ldiv.c,
3443 sysdeps/generic/hypot.c: Remove obsolete __CONSTVALUE.
3445 * stdio-common/printf_fp.c (__printf_fp): Fix parameter
3448 * sysdeps/generic/putenv.c (putenv): Fix second argument of
3451 * sysdeps/ieee754/hypot.c: New file, extracted out of cabs.c.
3452 * sysdeps/ieee754/cabs.c: Don't define hypot here.
3454 * sysdeps/ieee754/ieee754.h (union ieee854_long_double): Fix
3455 definition of ieee_nan alternative.
3457 * sysdeps/m68k/__longjmp.c, sysdeps/m68k/setjmp.c: Add register
3460 * sysdeps/m68k/ffs.c (ffs): Fix register constraint.
3462 * sysdeps/m68k/fpu/__math.h: Include <errno.h>. Replace obsolete
3463 __CONSTVALUE by attribute.
3464 (floor): Round to negative infinity.
3465 (rint, expm1) [__NO_MATH_INLINES]: Don't define, to avoid type
3466 clash when compiling source.
3467 (pow): Handle x == 0 and x < 0.
3468 (ceil, __isinf, __isnan): Fix register constraints.
3469 (__isinfl, __isnanl): Added.
3470 * sysdeps/m68k/fpu/acos.c, sysdeps/m68k/fpu/atan2.c,
3471 sysdeps/m68k/fpu/fmod.c, sysdeps/m68k/fpu/ldexp.c,
3472 sysdeps/m68k/fpu/pow.c: Remove obsolete __CONSTVALUE.
3474 * sysdeps/m68k/bsd-_setjmp.S, sysdeps/m68k/bsd-setjmp.S: Fix
3477 * sysdeps/unix/bsd/bsd4.4/fchdir.S (fchdir): Take only one
3480 * sysdeps/unix/bsd/clock.c (timeval_to_clock_t): Fix timeval to
3482 (clock): Don't multiply by CLOCKS_PER_SEC.
3484 * sysdeps/unix/bsd/poll.c (poll): Fix msec to timeval conversion.
3486 * sysdeps/unix/bsd/sun/m68k/brk.S (brk): Compare with address of
3489 * sysdeps/unix/bsd/sun/m68k/vfork.S: Fix assembler syntax.
3491 * sysdeps/unix/bsd/ualarm.c (ualarm): Fix timeval calculation.
3493 * sysdeps/unix/bsd/vax/vfork.S: Remove duplicate label.
3495 Sun Jan 14 01:01:10 1996 Ulrich Drepper <drepper@ipd.info.uni-karlsruhe.de>
3497 * stdlib/strtol.c: Return correct pointer for strings
3498 like "0xyz" and base 0 or 16.
3500 * string/strxfrm.c: Handle case for LENGTH == 0 correct.
3502 * sunrpc/etc.rpc: Add some more known protocols.
3504 Fri Jan 12 13:40:01 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
3506 * posix/gnu/types.h: Moved to sysdeps/generic/gnu/types.h.
3508 * posix/glob.c (glob): Add parens in glob call flags arg for
3511 * string/string.h (strdupa): New macro.
3513 * stdio-common/vfscanf.c (%[): Grok ] as first char in set, not
3514 terminator on empty set. From drepper.
3516 Thu Jan 11 13:09:20 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
3518 * elf/do-rel.h (elf_dynamic_do_rel): Use referring symbol as
3519 referent for STB_LOCAL.