external/glibc.git
28 years ago* features.h (__FAVOR_BSD): Define only if _BSD_SOURCE is defined
Roland McGrath [Tue, 19 Mar 1996 21:59:41 +0000 (21:59 +0000)]
* features.h (__FAVOR_BSD): Define only if _BSD_SOURCE is defined

and no other _*_SOURCE macro is.
(_GNU_SOURCE): Don't define by default.
* libc-symbols.h (_GNU_SOURCE): Define it.

28 years ago* configure.in (alpha*-*-linux*): Unset $gnu_ld and $elf.
Roland McGrath [Tue, 19 Mar 1996 21:23:40 +0000 (21:23 +0000)]
* configure.in (alpha*-*-linux*): Unset $gnu_ld and $elf.

28 years ago* config.make.in (weak-symbols): Variable removed.
Roland McGrath [Tue, 19 Mar 1996 21:10:11 +0000 (21:10 +0000)]
* config.make.in (weak-symbols): Variable removed.

* configure.in (--with-weak-symbols): Option removed.
(NO_UNDERSCORES, HAVE_ASM_WEAK_DIRECTIVE, HAVE_ASM_WEAKEXT_DIRECTIVE):
New tests.
* config.h.in (HAVE_WEAK_SYMBOLS): #undef removed.
(NO_UNDERSCORES, HAVE_ASM_WEAK_DIRECTIVE, HAVE_ASM_WEAKEXT_DIRECTIVE):
New #undefs.
* libc-symbols.h: Use them instead of HAVE_WEAK_SYMBOLS.

* inet/inet_lnaof.c: Use u_int32_t instead of u_long.
* inet/inet_mkadr.c: Likewise.
* inet/inet_net.c: Likewise.
* inet/inet_netof.c: Likewise.
* inet/rcmd.c: Likewise.
* inet/arpa/inet.h: Likewise.
* inet/netinet/in.h: Likewise.
* inet/netinet/tcp.h: Likewise.
* inet/protocols/rwhod.h: Likewise.
* inet/protocols/talkd.h: Likewise.
* resolv/inet_addr.c: Likewise.

* sunrpc/rpc/xdr.h (IXDR_GET_LONG, IXDR_PUT_LONG): change casts to
  u_int32_t (instead of u_long).

28 years agoTue Mar 19 14:18:42 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
Roland McGrath [Tue, 19 Mar 1996 20:21:54 +0000 (20:21 +0000)]
Tue Mar 19 14:18:42 1996  Roland McGrath  <roland@charlie-brown.gnu.ai.mit.edu>

* sysdeps/unix/bsd/pause.c: Moved to sysdeps/unix/common/pause.c.

Mon Mar  4 20:17:28 1996  David Mosberger-Tang  <davidm@azstarnet.com>

* sysdeps/unix/sysv/linux/adjtime.c: Use INT_MAX instead of LONG_MAX.

* sysdeps/unix/sysv/Makefile (sysdep_routines): Don't add s_getdents.

* sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Don't add mount,
umount.

* sysdeps/alpha/__math.h (atan, cabs): New functions.

* sysdeps/unix/sysv/linux/alpha/sigsuspend.S: new file (syscall
  expects set-value, not pointer to it).

Sun Feb 25 22:36:10 1996  David Mosberger-Tang  <davidm@azstarnet.com>

* sysdeps/unix/sysv/linux/alpha/profil-counter.h: New file.

* gmon/gmon.c (__bb_head): new variable.
(write_hist, write_call_graph, write_bb_counts): new functions.
(_mcleanup): modified to call above functions instead of directly
  writing out gmon.out.
* gmon/sys/gmon.h (struct __bb): New type.
(struct gmonhdr): Type removed.
(struct gmonparam): New member `log_hashfraction'.
(GMONVERSION): Macro removed.

* gmon/sys/gmon_out.h, gmon/bb_exit_func.c,
  sysdeps/generic/bb_init_func.c, sysdeps/alpha/bb_init_func.S: new
  files.
* gmon/Makefile (headers): Add sys/gmon_out.h.
(routines): Add bb_init_func, bb_exit_func.

* gmon/mcount.c: Avoid integer division.

Wed Feb 21 23:56:41 1996  David Mosberger-Tang  <davidm@azstarnet.com>

* sysdeps/alpha/setjmp.S: switched order in which sp and fp are
  passed to match what __sigsetjmp_aux() expects.

Tue Feb 20 11:33:46 1996  David Mosberger-Tang  <davidm@azstarnet.com>

* sysdeps/unix/sysv/linux/alpha/syscalls.list (select, bind,
  connect, getpeername, getsockname, listen, recv, recvfrom,
  recvmsg, send, sendmsg, sendto, setsockopt, shutdown, socketpair):
  added to override same-name assembly file in the parent directory.

* stdlib/stdlib.h: add include of sys/types.h in front of random
  etc declarations to ensure int32_t is declared.

* stdlib/random.c, stdlib/random_r.c: replaced "long int" by int32_t
where 32 bit integers are required.  Also change LONG_MAX into
0x7fffffff since the intent is to turn off the sign bit in a
32 bit integer.

* time/offtime.c (__offtime): Use Paul Eggert's code to deal
with very large values for "days" (e.g., 64 bit values).

Mon Feb 19 22:22:12 1996  David Mosberger-Tang  <davidm@azstarnet.com>

* stdlib/stdlib.h (__random, __random_r, random_r, struct
  random_data): use int32_t instead of `long int'.

Sat Feb 17 11:29:29 1996  David Mosberger-Tang  <davidm@azstarnet.com>

* sysdeps/unix/sysv/linux/alpha/ioperm.c: new file.

* sysdeps/alpha/ffs.S: new file.

* sysdeps/alpha/fabs.c: File removed.

* time/tzfile.c (__tzfile_read): counter variable is i, *not*
num_transitions!

* time/offtime.c: make capable of dealing with very large (64 bit)
  time_t values.  Use old algorithm until a year is reached that
is an integer multiple of 400, then use DAYS_PER_400_YEARS to
do the remainder in a single division.

* sysdeps/generic/ffs.c (ffs): fix variable declarations to
be unsigned int, not unsigned long.

* string/test-ffs.c (main): add test case with all upper bits
set.

* stdlib/tst-strtol.c: add tests cases for machines where
sizeof(long)==8.

* stdlib/testrand.c (main): disallow rand() to return negative
  integers.

* stdlib/testmb.c (main): fix format to use %lx instead of %x.

* stdlib/stdlib.h: on 64 bit machines, declare
struct random_data, __random(),  __random_r, and random_r to
return "int" instead of "long int".

* stdlib/random_r.c: 64 bit machines use "int" instead of "long
  int".  Similarly, use INT_MAX instead of LONG_MAX.

* stdlib/random.c: on 64 bit machines, randtbl[] and __random[]
  need to operate on "int" instead of "long int".

* locale/locfile-hash.c (compute_hashval): make shifted constant
a long to avoid loosing bits on 64 bit machines.

* dirent/tst-seekdir.c (main): fix confusing comment; print
a line to mark point where directory is rewound.

Fri Feb 16 15:01:49 1996  David Mosberger-Tang  <davidm@azstarnet.com>

* time/strftime.c (strftime): any hour > 11 is PM (not > 12!).

Wed Feb 14 00:21:17 1996  David Mosberger-Tang  <davidm@azstarnet.com>

* sysdeps/unix/sysv/linux/alpha/Makefile,
sysdeps/unix/sysv/linux/alpha/brk.S,
sysdeps/unix/sysv/linux/alpha/fpu_control.c,
sysdeps/unix/sysv/linux/alpha/fpu_control.h,
sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S,
sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S,
sysdeps/unix/sysv/linux/alpha/pipe.S,
sysdeps/unix/sysv/linux/alpha/setfpucw.c,
sysdeps/unix/sysv/linux/alpha/sigprocmask.c,
sysdeps/unix/sysv/linux/alpha/speed.c,
sysdeps/unix/sysv/linux/alpha/start.S,
sysdeps/unix/sysv/linux/alpha/syscall.S,
sysdeps/unix/sysv/linux/alpha/syscalls.list,
sysdeps/unix/sysv/linux/alpha/alpha/regdef.h,
sysdeps/unix/sysv/linux/alpha/sysdep.S,
sysdeps/unix/sysv/linux/alpha/sysdep.h: New files.

* sysdeps/alpha/setjmp_aux.c (__sigsetjmp_aux): restore return
  address register before returning (gcc 2.7.1 doesn't do it,
  presumably because $26 is declared as a global variable).

* sysdeps/unix/sysv/linux/sys/mman.h: msync was missing "flags"
argument.

* sysdeps/unix/alarm.c (alarm): do roundup using test & increment
instead of multiplication.

* sysdeps/posix/sleep.c (sleep): initialize sa_mask to mask of
currently blocked signals instead of the empty mask to ensure
that execution of alarm handler occurs with none of the currently
blocked signals enabled.

* sysdeps/unix/alpha/sysdep.h: new file (adapted from OSF/1 version).

* sysdeps/unix/bsd/osf/alpha/sysdep.h: include
  sysdeps/unix/alpha/sysdep.h and removed definitions now in that file.

* sysdeps/alpha/divrem.S, sysdeps/alpha/htonl.S,
sysdeps/alpha/htons.S, sysdeps/alpha/machine-gmon.h,
sysdeps/alpha/_mcount.S, sysdeps/alpha/ntohl.s, sysdeps/alpha/ntohs.s,
sysdeps/alpha/strlen.S: New files.

* sysdeps/alpha/divl.S, sysdeps/alpha/divlu.S, sysdeps/alpha/divq.S,
sysdeps/alpha/divqu.S, sysdeps/alpha/divrem.m4,
sysdeps/alpha/macros.m4, sysdeps/alpha/reml.S, sysdeps/alpha/remlu.S,
sysdeps/alpha/remq.S, sysdeps/alpha/remqu.S, sysdeps/alpha/strlen.c:
  Removed.

* sysdeps/generic/sbrk.c (__sbrk): argument is of type ptrdiff_t, not
int.

* sysdeps/alpha/__longjmp.c (__longjmp): moved dummy while loop
to end of function to avoid a jump across NOPs.

* sysdeps/alpha/Makefile (sysdep_routines): Removed all rules
  pertaining to integer division/remainder routines since new code
  doesn't require them.

* sunrpc/xdr_mem.c, sunrpc/xdr_stdio.c: Use 4 instead of sizeof(long)
where 32 bit quantities are consumed/stored.  Various other minor
64-bit cleanups (casting).

* sunrpc/xdr.c (xdr_int): test for sizeof(int)==4 to determine
  whether xdr_long or xdr_short should be used to encode an int.
   Notice that an xdr_long is 4 bytes independent of the architecture
(otherwise no Alpha could interoperate with existing NFS servers,
  for example).  Ditto for enums.

* sunrpc/svc_udp.c (svcudp_recv): changed test from 4*sizeof(u_long)
to 16 since it really wants 16 bytes.

* sunrpc/svc.c (maskp): changed from u_long* to u_int32*.

* sunrpc/rpc_cmsg.c (xdr_callmsg), sunrpc/svc_authux.c: increment
"buf" pointer by casting it to a char* first since a long* may be 8
  bytes or more and oa->oa_length may be any multiple of 4.

* sunrpc/rpc/xdr.h (IXDR_GET_LONG, IXDR_PUT_LONG): change casts to
  u_int32_t (instead of u_long).

* sunrpc/clnt_udp.c (clntudp_call): replaced sizeof(u_long) by 4
since it really is testing for 32 bits.  Fixed casts to use
u_int32 instead of u_long.
* sunrpc/xdr_rec.c: Likewise.

* sunrpc/clnt_tcp.c (clnttcp_call): replaced u_long by u_int32.
* sunrpc/rpc/auth.h: Likewise.

* limits.h (LONG_MAX, LONG_MIN, ULONG_MAX): use 64 bit values
for Alpha.

Tue Mar 19 13:27:49 1996  Roland McGrath  <roland@charlie-brown.gnu.ai.mit.edu>

* sysdeps/i386/fpu/__math.h: New file.
Contributed by John C. Bowman <bowman@hagar.ph.utexas.edu>.

Sun Mar 17 00:28:16 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* sysdeps/posix/clock.c: Don't multiply the return value by
CLOCKS_PER_SEC or CLK_TCK.

* sysdeps/mach/hurd/getcwd.c: Fail with ENOENT if a parent directory
scan finds no match.

* posix/unistd.h (setpgrp): Declare no-arg version unless __FAVOR_BSD.
* misc/bsd-compat.c (setpgrp): New function, two arg version.
* sysdeps/stub/setpgid.c: Remove setpgrp alias.
* sysdeps/mach/hurd/setpgid.c: Likewise.
* sysdeps/unix/sysv/sysv4/setpgid.c: Likewise.
* sysdeps/unix/common/syscalls.list (setpgid): Remove setpgrp alias.
* sysdeps/unix/sysv/irix4/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/setpgrp.c: Obsolete file removed.
* posix/setpgrp.c (setpgrp): New file.
* posix/Makefile (routines): Add setpgrp.

Tue Feb  6 12:46:29 1996  David Mosberger-Tang  <davidm@azstarnet.com>

* libc-symbols.h (weak_alias, weak_symbol): added definitions
for ECOFF (HAVE_ECOFF).

28 years agoMon Mar 18 13:20:46 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
Roland McGrath [Mon, 18 Mar 1996 18:32:47 +0000 (18:32 +0000)]
Mon Mar 18 13:20:46 1996  Roland McGrath  <roland@charlie-brown.gnu.ai.mit.edu>

* elf/Makefile (rtld-link): New canned sequence.
(ld.so, ld-linux.so.1): Use it.  Pass -soname option.

* sysdeps/i386/setjmp.S (__setjmp): Define compatibility entry point.

Sun Mar 17 23:15:32 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* sysdeps/unix/sysv/linux/tcgetpgrp.c,
sysdeps/unix/sysv/linux/tcsetpgrp.c: New files.

28 years agoSun Mar 17 07:19:33 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
Roland McGrath [Sun, 17 Mar 1996 12:36:52 +0000 (12:36 +0000)]
Sun Mar 17 07:19:33 1996  Roland McGrath  <roland@charlie-brown.gnu.ai.mit.edu>

* db/Makefile (CFLAGS-hash_func.c): New variable; pass -Wno-unused.
(CFLAGS): Append -Wno-unitialized.

* sysdeps/alpha/memchr.S: New file.
* sysdeps/alpha/memchr.c: Obsolete file removed.
* string/tester.c: Soup up memchr tests.

28 years agoSat Mar 16 20:58:43 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
Roland McGrath [Sun, 17 Mar 1996 02:00:05 +0000 (02:00 +0000)]
Sat Mar 16 20:58:43 1996  Roland McGrath  <roland@charlie-brown.gnu.ai.mit.edu>

* stdlib/erand48_r.c: Use FP division by powers of two to distribute
short bits into double.

28 years agoSat Mar 16 20:08:22 1996 David Mosberger-Tang <davidm@azstarnet.com>
Roland McGrath [Sun, 17 Mar 1996 01:58:17 +0000 (01:58 +0000)]
Sat Mar 16 20:08:22 1996  David Mosberger-Tang  <davidm@azstarnet.com>

* sysdeps/alpha/memchr.S: new file.
* sysdeps/alpha/memchr.c: obsolete file removed.

Sat Mar 16 16:26:09 1996  Roland McGrath  <roland@charlie-brown.gnu.ai.mit.edu>

* misc/Makefile (headers): Add sysexits.h.
* misc/sysexits.h: New file.

Thu Mar 14 15:20:45 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* sysdeps/libm-ieee754/e_atan2.c (__ieee754_atan2): Change atan
call to __atan.
* sysdeps/libm-ieee754/e_atan2f.c (__ieee754_atan2f): Change atanf
  call to __atanf.

* sysdeps/m68k/fpu/e_acos.c, sysdeps/m68k/fpu/e_acosf.c,
sysdeps/m68k/fpu/e_asin.c, sysdeps/m68k/fpu/e_asinf.c,
sysdeps/m68k/fpu/e_atanh.c, sysdeps/m68k/fpu/e_atanhf.c,
sysdeps/m68k/fpu/e_cosh.c, sysdeps/m68k/fpu/e_coshf.c,
sysdeps/m68k/fpu/e_exp.c, sysdeps/m68k/fpu/e_expf.c,
sysdeps/m68k/fpu/e_fmod.c, sysdeps/m68k/fpu/e_fmodf.c,
sysdeps/m68k/fpu/e_log.c, sysdeps/m68k/fpu/e_log10.c,
sysdeps/m68k/fpu/e_log10f.c, sysdeps/m68k/fpu/e_logf.c,
sysdeps/m68k/fpu/e_pow.c, sysdeps/m68k/fpu/e_powf.c,
sysdeps/m68k/fpu/e_remainder.c, sysdeps/m68k/fpu/e_remainderf.c,
sysdeps/m68k/fpu/e_scalb.c, sysdeps/m68k/fpu/e_scalbf.c,
sysdeps/m68k/fpu/e_sinh.c, sysdeps/m68k/fpu/e_sinhf.c,
sysdeps/m68k/fpu/e_sqrt.c, sysdeps/m68k/fpu/e_sqrtf.c,
sysdeps/m68k/fpu/k_cos.c, sysdeps/m68k/fpu/k_cosf.c,
sysdeps/m68k/fpu/k_sin.c, sysdeps/m68k/fpu/k_sinf.c,
sysdeps/m68k/fpu/k_tan.c, sysdeps/m68k/fpu/k_tanf.c,
sysdeps/m68k/fpu/s_atan.c, sysdeps/m68k/fpu/s_atanf.c,
sysdeps/m68k/fpu/s_ceil.c, sysdeps/m68k/fpu/s_ceilf.c,
sysdeps/m68k/fpu/s_cos.c, sysdeps/m68k/fpu/s_cosf.c,
sysdeps/m68k/fpu/s_expm1.c, sysdeps/m68k/fpu/s_expm1f.c,
sysdeps/m68k/fpu/s_fabs.c, sysdeps/m68k/fpu/s_fabsf.c,
sysdeps/m68k/fpu/s_finite.c, sysdeps/m68k/fpu/s_finitef.c,
sysdeps/m68k/fpu/s_floor.c, sysdeps/m68k/fpu/s_floorf.c,
sysdeps/m68k/fpu/s_frexp.c, sysdeps/m68k/fpu/s_frexpf.c,
sysdeps/m68k/fpu/s_ilogb.c, sysdeps/m68k/fpu/s_ilogbf.c,
sysdeps/m68k/fpu/s_isinf.c, sysdeps/m68k/fpu/s_isinff.c,
sysdeps/m68k/fpu/s_isnan.c, sysdeps/m68k/fpu/s_isnanf.c,
sysdeps/m68k/fpu/s_ldexp.c, sysdeps/m68k/fpu/s_ldexpf.c,
sysdeps/m68k/fpu/s_log1p.c, sysdeps/m68k/fpu/s_log1pf.c,
sysdeps/m68k/fpu/s_logb.c, sysdeps/m68k/fpu/s_logbf.c,
sysdeps/m68k/fpu/s_modf.c, sysdeps/m68k/fpu/s_modff.c,
sysdeps/m68k/fpu/s_rint.c, sysdeps/m68k/fpu/s_rintf.c,
sysdeps/m68k/fpu/s_scalbn.c, sysdeps/m68k/fpu/s_scalbnf.c,
sysdeps/m68k/fpu/s_significand.c,
sysdeps/m68k/fpu/s_significandf.c, sysdeps/m68k/fpu/s_sin.c,
sysdeps/m68k/fpu/s_sinf.c, sysdeps/m68k/fpu/s_tan.c,
sysdeps/m68k/fpu/s_tanf.c, sysdeps/m68k/fpu/s_tanh.c,
sysdeps/m68k/fpu/s_tanhf.c: New files, for m68881 port of fdlibm.

* sysdeps/m68k/fpu/__math.h: Rewritten for fdlibm.

* sysdeps/m68k/fpu/isinfl.c: Rewritten to get argument type right.
* sysdeps/m68k/fpu/isnanl.c: Likewise.

Thu Mar 14 06:01:07 1996  Roland McGrath  <roland@charlie-brown.gnu.ai.mit.edu>

* posix/glob.c (glob): In GLOB_BRACE brace expansion, fix buffer size
calculation to include trailing invariant portion.  Don't use alloca;
instead use a dynamic auto array for GCC, malloc for non-GCC.
Handle nested braces properly.

* elf/elf.h (Elf32_auxv_t): Specify prototype (void) for `a_un.a_fcn'.

* libc-symbols.h (lint): New macro.

Fri Mar 15 01:18:00 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* libio/iosetvbuf.c: Add weak alias setvbuf.

28 years agoFri Mar 15 01:18:00 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
Roland McGrath [Sat, 16 Mar 1996 21:08:20 +0000 (21:08 +0000)]
Fri Mar 15 01:18:00 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* libio/iosetvbuf.c: Add weak alias setvbuf.

28 years agoRecognize mips-*-sysv*
Ian [Fri, 15 Mar 1996 00:14:04 +0000 (00:14 +0000)]
Recognize mips-*-sysv*

28 years agoThu Mar 14 06:01:07 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
Roland McGrath [Thu, 14 Mar 1996 11:20:23 +0000 (11:20 +0000)]
Thu Mar 14 06:01:07 1996  Roland McGrath  <roland@charlie-brown.gnu.ai.mit.edu>

* string/strnlen.c: New file.
* string/Makefile (routines): Add strnlen.
* string/string.h [__USE_GNU] (strnlen): Declare new function.
[__OPTIMIZE__]: Define extern inline implementation of it.

28 years agoThu Mar 14 06:01:07 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
Roland McGrath [Thu, 14 Mar 1996 11:20:03 +0000 (11:20 +0000)]
Thu Mar 14 06:01:07 1996  Roland McGrath  <roland@charlie-brown.gnu.ai.mit.edu>

* string/strnlen.c: New file.
* string/Makefile (routines): Add strnlen.
* string/string.h [__USE_GNU] (strnlen): Declare new function.
[__OPTIMIZE__]: Define extern inline implementation of it.

* stdlib/erand48_r.c: Use __mpn_construct_double instead of ldexp and
addition, to avoid using anything from -lm.

Mon Mar  4 21:57:14 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* sysdeps/unix/sysv/linux/m68k/Makefile: New file.

* sysdeps/unix/sysv/linux/m68k/sysdep.h (SYS_ify): Redefine.
(CALL_MCOUNT): New macro, empty unless [PROF].
(ENTRY): Do CALL_MCOUNT just after the label.
(JUMPTARGET): New macro.
(SYSCALL_ERROR_HANDLER): Fix syntax.

Thu Mar 14 04:20:48 1996  Roland McGrath  <roland@charlie-brown.gnu.ai.mit.edu>

* sysdeps/unix/sysv/linux/init-first.c (init): Call `__personality'
function instead of using inline asm i386 syscall.
* sysdeps/unix/sysv/linux/syscalls.list: Add personality syscall.

* posix/unistd.h [__USE_BSD]: Declare usleep.

* misc/efgcvt.c (MAXDIG): New macro computed from <floats.h> constants.
(fcvt, ecvt): Use it for buffer size.

* stdlib/drand48-iter.c (__drand48_iterate): Use u_int64_t instead of
conditionalizing long vs long long.

* stdlib/drand48-iter.c (__drand48_iterate): Don't check for null
pointers; never return EFAULT.
* stdlib/drand48_r.c (drand48_r): Likewise.
* stdlib/erand48_r.c (erand48_r): Likewise.

28 years agoTue Mar 12 04:57:57 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
Roland McGrath [Tue, 12 Mar 1996 10:01:41 +0000 (10:01 +0000)]
Tue Mar 12 04:57:57 1996  Roland McGrath  <roland@charlie-brown.gnu.ai.mit.edu>

* setjmp/Makefile (tests): Add jmpbug.
* setjmp/jmpbug.c: New file.

28 years agoTue Mar 12 04:42:01 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
Roland McGrath [Tue, 12 Mar 1996 09:50:46 +0000 (09:50 +0000)]
Tue Mar 12 04:42:01 1996  Roland McGrath  <roland@charlie-brown.gnu.ai.mit.edu>

* sysdeps/sparc/jmp_buf.h: Rewritten; use array of ints, not struct.
* sysdeps/sparc/setjmp.S: Rewritten; store %fp value as well.
* sysdeps/sparc/__longjmp.S: Rewritten; unwind frames one by one with
`restore' until the target frame is hit.

Sun Mar 10 20:29:40 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* sysdeps/unix/sysv/linux/sigsuspend.c: New file.
* sysdeps/unix/sysv/linux/syscalls.list: Remove sigsuspend, add
s_sigsuspend.

Thu Mar  7 21:30:58 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* Makerules (+make-deps, sed-remove-objpfx): Quote periods on the
left side of sed substitutions.

Sun Mar 10 16:58:10 1996  Ulrich Drepper  <drepper@gnu.ai.mit.edu>

* stdio-common/printf_fp.c (hack_digit): __mpn_normal_size
is not available anymore.  Do it ourselves.

* sysdeps/unix/sysv/linux/i386/fpu_control.h (_FPU_SETCW):
Correct GCC `asm' syntax.

* stdio-common/Makefile (tests): Add tst-ungetc.
* stdio-common/tst-ungetc.c: New test from drepper.
* stdio-common/tstscanf.c (main): New %[ test case from drepper.

* sysdeps/libm-ieee754/s_scalbn.c (scalbn): Rename to __scalbn;
somehow this was missed, though the weak alias is already there.

28 years agoTue Mar 12 03:15:02 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
Roland McGrath [Tue, 12 Mar 1996 08:19:58 +0000 (08:19 +0000)]
Tue Mar 12 03:15:02 1996  Roland McGrath  <roland@charlie-brown.gnu.ai.mit.edu>

* sysdeps/unix/sysv/linux/i386/fpu_control.h (_FPU_DEFAULT): Change
default to double precision, all interrupts masked; fdlibm requires.

28 years agoSat Mar 9 18:44:27 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
Roland McGrath [Sat, 9 Mar 1996 23:50:19 +0000 (23:50 +0000)]
Sat Mar  9 18:44:27 1996  Roland McGrath  <roland@charlie-brown.gnu.ai.mit.edu>

* sysdeps/unix/sysv/linux/i386/setfpucw.c: Obsolete file removed.

Fri Mar  8 22:16:48 1996  Roland McGrath  <roland@charlie-brown.gnu.ai.mit.edu>

* stdio-common/printf_fp.c (HAVE_ALLOCA): New macro.

28 years agoFri Mar 8 22:16:48 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
Roland McGrath [Sat, 9 Mar 1996 03:16:59 +0000 (03:16 +0000)]
Fri Mar  8 22:16:48 1996  Roland McGrath  <roland@charlie-brown.gnu.ai.mit.edu>

* stdio-common/printf_fp.c (HAVE_ALLOCA): New macro.

28 years ago*** empty log message ***
Miles Bader [Tue, 5 Mar 1996 23:48:15 +0000 (23:48 +0000)]
*** empty log message ***

Tue Mar  5 18:45:14 1996  Miles Bader  <miles@gnu.ai.mit.edu>

* sysdeps/mach/hurd/select.c (__select): Include LASTFD in the
final loop.

28 years ago(__select): Include LASTFD in the final loop.
Miles Bader [Tue, 5 Mar 1996 23:46:23 +0000 (23:46 +0000)]
(__select): Include LASTFD in the final loop.

28 years agoAdd -apple and -aux.
Richard Kenner [Tue, 5 Mar 1996 23:34:58 +0000 (23:34 +0000)]
Add -apple and -aux.

28 years agoMon Mar 4 20:54:40 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
Roland McGrath [Tue, 5 Mar 1996 21:41:30 +0000 (21:41 +0000)]
Mon Mar  4 20:54:40 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* Makeconfig ($(common-objpfx)config.make): Depend on config.h.in.

Mon Mar  4 17:35:09 1996  Roland McGrath  <roland@charlie-brown.gnu.ai.mit.edu>

* hurd/catch-signal.c (hurd_safe_memmove): New function.
(hurd_safe_copyin, hurd_safe_copyout): New functions.
* hurd/hurd/sigpreempt.h: Declare them.

Sun Mar  3 08:43:44 1996  Roland McGrath  <roland@charlie-brown.gnu.ai.mit.edu>

Replace math code with fdlibm from Sun as modified for netbsd by
JT Conklin and Ian Taylor, including x86 FPU support.
* sysdeps/libm-ieee754, sysdeps/libm-i387: New directories.
* math/math_private.h: New file.
* sysdeps/i386/fpu/Implies: New file.
* sysdeps/ieee754/Implies: New file.
* math/machine/asm.h, math/machine/endian.h: New files.
* math/Makefile, math/math.h: Rewritten.
* mathcalls.h, math/mathcalls.h: New file, broken out of math.h.
* math/finite.c: File removed.
* sysdeps/generic/Makefile [$(subdir)=math]: Frobnication removed.

* math/test-math.c: Include errno.h and string.h.

* sysdeps/unix/bsd/dirstream.h: File removed.
* sysdeps/unix/bsd/readdir.c: File removed.

28 years agoSun Mar 3 08:43:44 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
Roland McGrath [Tue, 5 Mar 1996 19:06:19 +0000 (19:06 +0000)]
Sun Mar  3 08:43:44 1996  Roland McGrath  <roland@charlie-brown.gnu.ai.mit.edu>

* math/test-math.c: Include errno.h and string.h.

28 years agoA bug fix for the previous select bug fix.
Miles Bader [Tue, 5 Mar 1996 17:35:49 +0000 (17:35 +0000)]
A bug fix for the previous select bug fix.

Tue Mar  5 12:14:57 1996  Miles Bader  <miles@gnu.ai.mit.edu>

* sysdeps/mach/hurd/select.c (__select): Also don't fault just
because some fdmask is 0.

28 years ago(__select): Don't fault when some fdmask is 0.
Miles Bader [Tue, 5 Mar 1996 17:15:44 +0000 (17:15 +0000)]
(__select): Don't fault when some fdmask is 0.

28 years agoMon Mar 4 20:54:40 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
Roland McGrath [Tue, 5 Mar 1996 16:23:22 +0000 (16:23 +0000)]
Mon Mar  4 20:54:40 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* Makeconfig ($(common-objpfx)config.make): Depend on config.h.in.

28 years ago(moss): Fix previous change.
Erik Sandberg [Tue, 5 Mar 1996 03:02:45 +0000 (03:02 +0000)]
(moss): Fix previous change.

28 years ago(__select): Don't increment GOT only because READ/WRITE/EXCEPTFDS is 0! Don't...
Miles Bader [Tue, 5 Mar 1996 00:07:01 +0000 (00:07 +0000)]
(__select):   Don't increment GOT only because READ/WRITE/EXCEPTFDS is 0!   Don't return without frobbing the bitmasks after a timeout.   When clearing the bitmasks, only loop from FIRSTFD to LASTFD.

28 years agoAccept -moss* as op sys.
Richard Kenner [Mon, 4 Mar 1996 23:03:15 +0000 (23:03 +0000)]
Accept -moss* as op sys.

28 years agoHurd select fixes.
Miles Bader [Mon, 4 Mar 1996 22:56:09 +0000 (22:56 +0000)]
Hurd select fixes.

Mon Mar  4 17:35:35 1996  Miles Bader  <miles@gnu.ai.mit.edu>

* sysdeps/mach/hurd/select.c (__select):
Don't increment GOT only because READ/WRITE/EXCEPTFDS is 0!
Don't return without frobbing the bitmasks after a timeout.
When clearing the bitmasks, only loop from FIRSTFD to LASTFD.

28 years agoMon Mar 4 17:35:09 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
Roland McGrath [Mon, 4 Mar 1996 22:45:04 +0000 (22:45 +0000)]
Mon Mar  4 17:35:09 1996  Roland McGrath  <roland@charlie-brown.gnu.ai.mit.edu>

* hurd/catch-signal.c (hurd_safe_memmove): New function.
(hurd_safe_copyin, hurd_safe_copyout): New functions.
* hurd/hurd/sigpreempt.h: Declare them.

28 years agoSat Mar 2 16:35:40 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
Roland McGrath [Sat, 2 Mar 1996 21:38:05 +0000 (21:38 +0000)]
Sat Mar  2 16:35:40 1996  Roland McGrath  <roland@charlie-brown.gnu.ai.mit.edu>

* sysdeps/unix/sysv/linux/m68k/profil-counter.h: File removed.
* sysdeps/unix/sysv/sysv4/solaris2/sparc/profil-counter.h: File
removed.
* sysdeps/generic/profil-counter.h: New file.

28 years agoSat Mar 2 16:35:40 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
Roland McGrath [Sat, 2 Mar 1996 21:37:50 +0000 (21:37 +0000)]
Sat Mar  2 16:35:40 1996  Roland McGrath  <roland@charlie-brown.gnu.ai.mit.edu>

* sysdeps/unix/sysv/linux/m68k/profil-counter.h: File removed.
* sysdeps/unix/sysv/sysv4/solaris2/sparc/profil-counter.h: File
removed.
* sysdeps/generic/profil-counter.h: New file.

28 years ago* sysdeps/unix/sysv/sysv4/solaris2/sparc/sigcontext.h: New file,
Brendan Kehoe [Sat, 2 Mar 1996 01:34:50 +0000 (01:34 +0000)]
* sysdeps/unix/sysv/sysv4/solaris2/sparc/sigcontext.h: New file,

including <sysdeps/unix/bsd/sun/sparc/sigcontext.h>.
* sysdeps/unix/sysv/sysv4/solaris2/sparc/profil-counter.h: New file,
same as linux/m68k/profil-counter.h except the comment.
Fri Mar  1 17:11:59 1996  Brendan Kehoe  <brendan@zen.org>

* sysdeps/unix/sysv/sysv4/solaris2/sparc/sigcontext.h: New file,
including <sysdeps/unix/bsd/sun/sparc/sigcontext.h>.
* sysdeps/unix/sysv/sysv4/solaris2/sparc/profil-counter.h: New file,
same as linux/m68k/profil-counter.h except the comment.

28 years ago* stdlib/Makefile (mpn-stuff): New target.
Roland McGrath [Fri, 1 Mar 1996 18:45:35 +0000 (18:45 +0000)]
* stdlib/Makefile (mpn-stuff): New target.

(copy-mpn): Use it.

* Code copied from GMP updated to 1.937 version.
* stdlib/strtod.c (HAVE_ALLOCA): Define this for gmp headers.

28 years agoRegenerated
Roland McGrath [Fri, 1 Mar 1996 17:42:49 +0000 (17:42 +0000)]
Regenerated

Fri Mar  1 10:09:46 1996  Roland McGrath  <roland@charlie-brown.gnu.ai.mit.edu>

* posix/glob.c: Use canonical code from autoconf manual for dirent
  include.
[_D_NAMLEN]: Redefine NAMLEN using this.
(glob_in_dir): Use NAMLEN macro.

28 years agoFri Mar 1 10:09:46 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
Roland McGrath [Fri, 1 Mar 1996 17:40:28 +0000 (17:40 +0000)]
Fri Mar  1 10:09:46 1996  Roland McGrath  <roland@charlie-brown.gnu.ai.mit.edu>

* posix/glob.c: Use canonical code from autoconf manual for dirent
  include.
[_D_NAMLEN]: Redefine NAMLEN using this.
(glob_in_dir): Use NAMLEN macro.

* sysdeps/posix/profil.c: New file.

Thu Feb 29 20:55:57 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* sysdeps/unix/sysv/linux/m68k/profil-counter.h: New file.

* libc-symbols.h [GCC >= 2.8] (strong_alias, weak_alias): Remove
`extern' keyword.

* time/zic.c, time/zdump.c, time/private.h: Updated from ADO 96e.

28 years agoRegenerated
Roland McGrath [Fri, 1 Mar 1996 17:07:03 +0000 (17:07 +0000)]
Regenerated

Fri Jan 19 13:28:59 1996  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>

* posix/glob.c (glob): Use prototype in getlogin decl.

Thu Jan 18 00:32:43 1996  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>

* posix/glob.c (_GNU_SOURCE): Define if undefined, so glob.h
defines GNU extensions.
* posix/fnmatch.c: Likewise.

Fri Jan 12 13:40:01 1996  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>

* posix/glob.c (glob): Add parens in glob call flags arg for
GLOB_BRACE case.

28 years agoRecognize cpu-vendor [ctj]90-cray, default c90-cray-unicos. From tege.
Roland McGrath [Fri, 1 Mar 1996 14:57:49 +0000 (14:57 +0000)]
Recognize cpu-vendor [ctj]90-cray, default c90-cray-unicos.  From tege.

28 years agoUpdated from ../gpl2lgpl.sed /home/gd/gnu/lib/getopt.c
Miles Bader [Thu, 29 Feb 1996 01:05:13 +0000 (01:05 +0000)]
Updated from ../gpl2lgpl.sed /home/gd/gnu/lib/getopt.c

28 years agoTue Feb 27 12:14:59 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
Roland McGrath [Tue, 27 Feb 1996 19:19:12 +0000 (19:19 +0000)]
Tue Feb 27 12:14:59 1996  Roland McGrath  <roland@charlie-brown.gnu.ai.mit.edu>

* time/strftime.c: Support - and _ flags to affect number padding.

* sysdeps/unix/common/tcsendbrk.c: New file.

28 years agoMon Feb 26 10:22:30 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
Roland McGrath [Tue, 27 Feb 1996 00:55:03 +0000 (00:55 +0000)]
Mon Feb 26 10:22:30 1996  Roland McGrath  <roland@charlie-brown.gnu.ai.mit.edu>

* sysdeps/unix/dirstream.h: Rewritten.
* sysdeps/unix/readdir.c: Rewritten.
* sysdeps/unix/telldir.c: Rewritten.
* sysdeps/unix/closedir.c: Use <...> instead of "..." for dirstream.h.
Remove __ from DIR struct member names.
* sysdeps/unix/dirfd.c: Likewise.
* sysdeps/unix/seekdir.c: Likewise.
* sysdeps/unix/rewinddir.c: Likewise.
* sysdeps/unix/opendir.c: Likewise.  Don't allocate extra space after
DIR structure.
* sysdeps/stub/direct.h: File removed.
* sysdeps/unix/bsd/bsd4.4/direct.h: File removed.
* sysdeps/unix/bsd/direct.h: File removed.
* sysdeps/unix/common/direct.h: File removed.
* sysdeps/unix/sysv/irix4/direct.h: File removed.
* sysdeps/unix/sysv/isc3/direct.h: File removed.
* sysdeps/unix/sysv/sco3.2.4/direct.h: File removed.
* sysdeps/unix/sysv/sysv4/solaris2/direct.h: File removed.
* sysdeps/unix/common/direntry.h: New file.
* sysdeps/unix/bsd/direntry.h: New file.
* sysdeps/unix/bsd/bsd4.4/direntry.h: New file.
* sysdeps/unix/sysv/direntry.h: New file.
* sysdeps/stub/direntry.h: New file.
* dirent/dirent.h (struct dirent): Type removed.  Include <direntry.h>
to define it.
(_D_EXACT_NAMLEN, _D_ALLOC_NAMLEN): New macros.
* dirent/Makefile (headers): Add direntry.h.
(distribute): Remove direct.h.
* sysdeps/posix/getcwd.c: Use new macros instead of d_namlen.
* dirent/scandir.c: Likewise.
* io/fts.c (fts_build): Likewise.
* io/ftw.c (ftw_dir): Likewise.
* sysdeps/posix/ttyname.c: Likewise.

* sysdeps/unix/sysv/sysv4/solaris2/syscalls.list: New file.

* sysdeps/mach/hurd/profil.c (MAX_PC_SAMPLES): New macro.
(collector_timeout): New static variable.
(update_waiter): Actually call __task_enable_pc_sampling.
Set collector_timeout based on the `tick' count returned.
(profile_waiter): Use MAX_PC_SAMPLES.  Set nsamples before RPC.
Use collector_timeout in __mach_msg call.

* gmon/Makefile (noprof): New variable containing mcount.
Append profil unless it is in $(unix-syscalls).
(mcount.po): Use $(noprof) for list of targets in this rule.

* libc-symbols.h: Define _LIBC before #include <config.h>.

Sun Feb 25 12:29:23 1996  Roland McGrath  <roland@charlie-brown.gnu.ai.mit.edu>

* config.h.in [_LIBC] (HAVE_STRERROR): Define it.
Protect 2nd page of #undef's for generator programs with #ifndef _LIBC.

* time/zic.c, time/zdump.c, time/private.h: Updated from ADO's latest.

Fri Feb  9 12:40:19 1996  Brendan Kehoe  <brendan@lisa.cygnus.com>

  * libio/cleanup.c (_IO_cleanup_registration_needed)
[!_G_HAVE_ATEXIT]: Init to NULL.
* libio/filedoalloc.c (_IO_cleanup_registration_needed): Remove decl.

Thu Feb  8 08:12:50 1996  Brendan Kehoe  <brendan@cygnus.com>

* libio/filedoalloc.c (_IO_cleanup_registration_needed): Revert
previous change, since cleanup.c only defines it if _G_HAVE_ATEXIT.

Wed Feb  7 15:10:17 1996  Brendan Kehoe  <brendan@lisa.cygnus.com>

* libio/filedoalloc.c (_IO_cleanup_registration_needed): Declare as
extern.

Sat Feb 24 11:34:13 1996  Roland McGrath  <roland@charlie-brown.gnu.ai.mit.edu>

* sysdeps/i386/memcmp.S: Fix argument %esp offsets.

* time/sys/time.h (timeradd, timersub): New macros; BSD has these.

28 years agoWed Feb 21 02:25:07 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
Roland McGrath [Thu, 22 Feb 1996 15:52:20 +0000 (15:52 +0000)]
Wed Feb 21 02:25:07 1996  Roland McGrath  <roland@charlie-brown.gnu.ai.mit.edu>

* Rules (others): Depend on $(extra-objs), $(install-lib),
$(install-bin), $(install-sbin), in object directory.

* Makeconfig (link-libc): Don't pass -rpath option with default
path, since ld.so should use the same default.
* Makerules (build-shlib): Likewise.

* Makerules (make-target-directory): Use mkinstalldirs.

* sysdeps/mach/i386/sysdep.h: Include unix/i386/sysdep.h to
redefine ENTRY et al.

* sysdeps/unix/sysv/linux/i386/sysdep.h (NO_UNDERSCORES, ENTRY):
Macros removed.  The code in unix/i386/sysdep.h should now suffice.

* sysdeps/unix/i386/sysdep.h (ALIGNARG): New macro, defns for
[HAVE_ELF] and not.
(ENTRY): Use it in .align directive.
(CALL_MCOUNT): New macro, empty unless [PROF].
(ENTRY): Do CALL_MCOUNT just after the label.

* Makeconfig (CPPFLAGS-.po): New variable, use -DPROF so assembly
code can call mcount.

Tue Feb 20 23:05:16 1996  Roland McGrath  <roland@charlie-brown.gnu.ai.mit.edu>

* time/private.h, time/zdump.c, time/zic.c: Updated verbatim from ADO;
translation markings are now integrated in his distribution.

* stdlib/strtod.c (round_and_return): Add missing (mp_limb) 1 cast.

* po: New directory where `LANG.po' files for message translations
will reside.
* po/SYS_libc.pot: New file, template of message strings as in source.
* MakeTAGS: New rules to build po/SYS_libc.pot automatically from
the source using xgettext.
* Makerules ($(..)po/%.pot): New rule.
* manual/Makefile (../po/manual.pot): New target, make it empty.

* sysdeps/unix/bsd/alarm.c: Moved to sysdeps/unix/alarm.c.
* sysdeps/unix/bsd/nice.c: Moved to sysdeps/unix/nice.c.
* sysdeps/unix/bsd/stime.c: Moved to sysdeps/unix/stime.c.
* sysdeps/unix/bsd/time.c: Moved to sysdeps/unix/time.c.
* sysdeps/unix/bsd/utime.c: Moved to sysdeps/unix/utime.c.

28 years agoMon Feb 19 18:31:59 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
Roland McGrath [Mon, 19 Feb 1996 23:34:46 +0000 (23:34 +0000)]
Mon Feb 19 18:31:59 1996  Roland McGrath  <roland@charlie-brown.gnu.ai.mit.edu>

* time/zic.c, time/scheck.c, time/private.h, time/tzfile.h:
Updated from ADO 96d.

28 years agoSun Feb 18 14:08:04 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
Roland McGrath [Mon, 19 Feb 1996 23:25:15 +0000 (23:25 +0000)]
Sun Feb 18 14:08:04 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* csu/initfini.c (_init): Remove bogus volatile declarations and
extra variable, take the address of __gmon_start__ only implicitly
to avoid the test being optimized out.

28 years agoSun Feb 18 15:08:10 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
Roland McGrath [Mon, 19 Feb 1996 23:14:44 +0000 (23:14 +0000)]
Sun Feb 18 15:08:10 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* sysdeps/posix/utimes.c (__utimes): There are 1000000 usecs in a
sec.

Sun Feb 18 13:56:00 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* elf/Makefile, time/Makefile: Make `all' the default target.

Mon Feb 19 18:09:04 1996  Roland McGrath  <roland@charlie-brown.gnu.ai.mit.edu>

* misc/sys/ptrace.h: Moved to ...
* sysdeps/generic/sys/ptrace.h: ... here.
* sys/ptrace.h: File removed.

Sun Feb 18 12:13:07 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* sysdeps/unix/sysv/linux/Makefile (headers): Add fpu_control.h.

* sysdeps/unix/sysv/linux/i386/sysdep.S (errno): Put it into .bss
  so that the symbol alias works.

* sysdeps/unix/sysv/linux/m68k/fpu_control.h (_FPU_SETCW): Corrected.

* sysdeps/unix/sysv/linux/resourcebits.h: New file.

* sysdeps/unix/sysv/linux/sys/ptrace.h: New file.

* sysdeps/unix/sysv/linux/syscalls.list: Add getegid, geteuid,
getppid and reboot.

* sysdeps/unix/sysv/linux/sysconf.c: Special version that does not
use getdtablesize.

Sat Feb 17 10:30:21 1996  David Mosberger-Tang  <davidm@AZStarNet.com>

* stdio-common/printf_fp.c, stdlib/strtod.c, sysdeps/ieee754/dbl2mpn.c,
sysdeps/ieee754/ldbl2mpn.c, sysdeps/ieee754/mpn2dbl.c,
sysdeps/ieee754/mpn2ldbl.c: Cast left operands of shift instructions
to `long' where necessary.

Thu Feb 15 20:04:50 1996  Ulrich Drepper  <drepper@gnu.ai.mit.edu>

* stdlib/fpioconst.h: Introduce new constant _FPIO_CONST_OFFSET.
* stdio-common/printf_fp.c, stdlib/strtod.c: Use _FPIO_CONST_OFFSET
to correctly access MPN array depending on architecture.

28 years ago*** empty log message ***
Roland McGrath [Mon, 19 Feb 1996 20:54:38 +0000 (20:54 +0000)]
*** empty log message ***

Mon Feb 19 15:30:26 1996  Roland McGrath  <roland@charlie-brown.gnu.ai.mit.edu>

* stdio-common/tstscanf.c (main): Add check for "0" as %d.

* sysdeps/stub/msync.c: Undo change of Jan 29; just two args.
Only some systems have three args; let them define their own stub.

* sysdeps/generic/dl-sysdep.c: Declare _dl_secure.

* sysdeps/generic/machine-gmon.h: New file.
* gmon/Makefile (distribute): Add machine-gmon.h.
* gmon/mcount.c: Undo changes of Feb 13.
Include "machine-gmon.h".

Sun Feb 18 13:24:06 1996  Roland McGrath  <roland@charlie-brown.gnu.ai.mit.edu>

* sysdeps/unix/sysv/linux/direct.h: File removed, since it is
identical to unix/common/direct.h.

* sysdeps/unix/Makefile [no_deps]: Don't include s-proto.d.

* sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Don't add ipc.

* stdio-common/Makefile (tests): Remove scanf6.

* sysdeps/unix/sysv/linux/Makefile (non-lib.a): Append libieee.a.

* time/mktime.c (mktime): Move static variable localtime_offset to
file scope.

* stdio-common/vfscanf.c: Put '0' in buffer before scanning for %i
base indicator.

Thu Feb 15 16:56:17 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* sysdeps/m68k/dl-machine.h (elf_machine_load_address): Corrected.
(ELF_MACHINE_BEFORE_RTLD_RELOC): Define.
(_dl_runtime_resolve): Save %a1 as well.
(ELF_MACHINE_RUNTIME_FIXUP_ARGS): Add second dummy arg.
(elf_machine_relplt): Define.

* elf/dl-runtime.c: Include possible extra args in declaration of
  fixup.

28 years agoFri Feb 16 11:01:59 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
Roland McGrath [Fri, 16 Feb 1996 16:15:45 +0000 (16:15 +0000)]
Fri Feb 16 11:01:59 1996  Roland McGrath  <roland@charlie-brown.gnu.ai.mit.edu>

* time/tzset.c: Limit hours to 23, not 12.  From jaffer.

28 years agoFri Feb 16 10:14:05 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
Roland McGrath [Fri, 16 Feb 1996 15:14:24 +0000 (15:14 +0000)]
Fri Feb 16 10:14:05 1996  Roland McGrath  <roland@charlie-brown.gnu.ai.mit.edu>

* Makeconfig (CFLAGS-.po): Use -pg instead of -p.

28 years agoThu Feb 15 11:49:45 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
Roland McGrath [Fri, 16 Feb 1996 14:47:21 +0000 (14:47 +0000)]
Thu Feb 15 11:49:45 1996  Roland McGrath  <roland@charlie-brown.gnu.ai.mit.edu>

* sysdeps/unix/sysv/sysv4/Makefile [$(subdir)-signal]
(sysdep_routines): Don't add sys-sig.

* sysdeps/unix/sysv/sysv4/solaris2/syscalls.list: New file.

28 years agoThu Feb 15 13:57:08 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
Roland McGrath [Fri, 16 Feb 1996 02:19:52 +0000 (02:19 +0000)]
Thu Feb 15 13:57:08 1996  Roland McGrath  <roland@charlie-brown.gnu.ai.mit.edu>

* mach/Machrules: Use -include for $(*.ir).

* hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS): Mask off type bits in
request values.
* sysdeps/mach/hurd/ioctls.h (_IOC_NOTYPE): New macro.
(_IOT_COUNT2): Field is 3 bits, not 2.
* sysdeps/mach/hurd/ioctl.c: Ignore handler if it fails with ENOTTY.
* hurd/hurdioctl.c (_hurd_lookup_ioctl_handler): Mask off type
bits before looking up handler.
(fioctl): Use __hurd_dfail.
(fioctl, fioclex): Use ENOTTY for bogus request instead of EGRATUITOUS.

Wed Feb 14 00:21:17 1996 David Mosberger-Tang  <davidm@azstarnet.com>

* sysdeps/alpha/memchr.c (memchr): loop searching for matching
character bailed out one too early; changed constant 6 to
7 to fix this.

28 years ago* posix/execvp.c: When executing shell on script, first arg is
Roland McGrath [Wed, 14 Feb 1996 06:39:32 +0000 (06:39 +0000)]
* posix/execvp.c: When executing shell on script, first arg is

full file name, not argv[0].

* mach/Makefile [no_deps]: Inhibit inclusion of mach-syscalls.mk.
* mach/Machrules [no_deps]: Inhibit interface rules.

28 years agoWed Feb 14 01:08:58 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
Roland McGrath [Wed, 14 Feb 1996 06:09:19 +0000 (06:09 +0000)]
Wed Feb 14 01:08:58 1996  Roland McGrath  <roland@charlie-brown.gnu.ai.mit.edu>

* malloc/Makefile (distribute): Removed TODO.

* sysdeps/unix/sysv/linux/syscalls.list (ipc): Specify msgget in
caller column.

28 years agoUpdated from ../gpl2lgpl.sed /home/gd/gnu/lib/getopt.c
Miles Bader [Tue, 13 Feb 1996 18:28:59 +0000 (18:28 +0000)]
Updated from ../gpl2lgpl.sed /home/gd/gnu/lib/getopt.c

28 years ago(ipc): Specify msgget in caller column.
Roland McGrath [Tue, 13 Feb 1996 16:09:47 +0000 (16:09 +0000)]
(ipc): Specify msgget in caller column.

28 years ago* sysdeps/unix/common/syscalls.list: Add sigaction syscall.
Roland McGrath [Tue, 13 Feb 1996 11:53:03 +0000 (11:53 +0000)]
* sysdeps/unix/common/syscalls.list: Add sigaction syscall.

28 years ago* elf/dl-runtime.c (fixup) [ELF_MACHINE_RUNTIME_FIXUP_ARGS]: Let
Roland McGrath [Tue, 13 Feb 1996 11:49:42 +0000 (11:49 +0000)]
* elf/dl-runtime.c (fixup) [ELF_MACHINE_RUNTIME_FIXUP_ARGS]: Let

this macro declare extra leading args.

* Makerules [$(elf)=yes] (ar-symtab-name): Define to empty.

28 years agoNew file from Schwab
Roland McGrath [Tue, 13 Feb 1996 11:40:36 +0000 (11:40 +0000)]
New file from Schwab

* sysdeps/unix/sysv/linux/m68k/fpu_control.h: New file.

28 years agoSat Feb 10 13:09:03 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
Roland McGrath [Tue, 13 Feb 1996 11:38:58 +0000 (11:38 +0000)]
Sat Feb 10 13:09:03 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* sysdeps/unix/sysv/linux/m68k/brk.c,
sysdeps/unix/sysv/linux/m68k/mmap.S,
sysdeps/unix/sysv/linux/m68k/select.S,
sysdeps/unix/sysv/linux/m68k/sigcontext.h,
sysdeps/unix/sysv/linux/m68k/sigreturn.S,
sysdeps/unix/sysv/linux/m68k/socket.S,
sysdeps/unix/sysv/linux/m68k/syscall.S,
sysdeps/unix/sysv/linux/m68k/sysdep.S,
sysdeps/unix/sysv/linux/m68k/sysdep.h: New files.
* sysdeps/unix/sysv/linux/m68k/brk.c,
sysdeps/unix/sysv/linux/m68k/mmap.S,
sysdeps/unix/sysv/linux/m68k/select.S,
sysdeps/unix/sysv/linux/m68k/sigcontext.h,
sysdeps/unix/sysv/linux/m68k/sigreturn.S,
sysdeps/unix/sysv/linux/m68k/socket.S,
sysdeps/unix/sysv/linux/m68k/syscall.S,
sysdeps/unix/sysv/linux/m68k/sysdep.S,
sysdeps/unix/sysv/linux/m68k/sysdep.h: New files.

28 years agoi386/gnu/types.h moved to top-level linux dir.
Roland McGrath [Tue, 13 Feb 1996 11:35:47 +0000 (11:35 +0000)]
i386/gnu/types.h moved to top-level linux dir.

* sysdeps/unix/sysv/linux/gnu/types.h: Moved from linux/i386.

28 years agoTue Feb 13 05:12:02 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
Roland McGrath [Tue, 13 Feb 1996 11:07:05 +0000 (11:07 +0000)]
Tue Feb 13 05:12:02 1996  Roland McGrath  <roland@charlie-brown.gnu.ai.mit.edu>

* sysdeps/unix/sysv/linux/Makefile [$(subdir)=math]
(sysdep_routines): Append setfpucw.
(extra-objs): Append ieee-fpucw.o.
(install-lib): Append libieee.a.
(libieee.a): New target.
* sysdeps/unix/sysv/linux/ieee-fpucw.c: New file.
* sysdeps/unix/sysv/linux/i386/fpu_control.h
(_FPU_GETCW, _FPU_SETCW): New macros.
(fpu_control_t): New typedef.
(__setfpucw): Use fpu_control_t for argument type.
* sysdeps/unix/sysv/linux/fpu_control.c: Moved from linux/i386.

* sysdeps/unix/sysv/linux/init-first.c: Moved from linux/i386.
* sysdeps/unix/sysv/linux/Makefile [$(subdir)=math]
(sysdep_routines): Append setfpucw.
(extra-objs): Append ieee-fpucw.o.
(install-lib): Append libieee.a.
(libieee.a): New target.
* sysdeps/unix/sysv/linux/ieee-fpucw.c: New file.
* sysdeps/unix/sysv/linux/i386/fpu_control.h
(_FPU_GETCW, _FPU_SETCW): New macros.
(fpu_control_t): New typedef.
(__setfpucw): Use fpu_control_t for argument type.
* sysdeps/unix/sysv/linux/fpu_control.c: Moved from linux/i386.

* sysdeps/unix/sysv/linux/init-first.c: Moved from linux/i386.

28 years agoTue Feb 13 05:12:02 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
Roland McGrath [Tue, 13 Feb 1996 10:16:25 +0000 (10:16 +0000)]
Tue Feb 13 05:12:02 1996  Roland McGrath  <roland@charlie-brown.gnu.ai.mit.edu>

* sysdeps/unix/sysv/linux/syscalls.list: Add ipc syscall.
* sysdeps/unix/sysv/linux/i386/syscalls.list: File removed.
Tue Feb 13 05:12:02 1996  Roland McGrath  <roland@charlie-brown.gnu.ai.mit.edu>

* sysdeps/unix/sysv/linux/syscalls.list: Add ipc syscall.
* sysdeps/unix/sysv/linux/i386/syscalls.list: File removed.

28 years agoSat Feb 10 13:09:03 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
Roland McGrath [Tue, 13 Feb 1996 09:51:13 +0000 (09:51 +0000)]
Sat Feb 10 13:09:03 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* sysdeps/m68k/fpu/isinfl.c, sysdeps/m68k/fpu/isnanl.c,
sysdeps/m68k/isinfl.c, sysdeps/m68k/isnanl.c: New files.
* sysdeps/m68k/fpu/isinfl.c, sysdeps/m68k/fpu/isnanl.c,
sysdeps/m68k/isinfl.c, sysdeps/m68k/isnanl.c: New files.

28 years agoSat Feb 10 13:09:03 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
Roland McGrath [Tue, 13 Feb 1996 09:26:53 +0000 (09:26 +0000)]
Sat Feb 10 13:09:03 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* sysdeps/unix/sysv/linux/sys/mman.h: Define MAP_ANON and
MAP_FILE if not already defined.

* elf/elf.h: Add m68k reloc definitions.
* sysdeps/m68k/dl-machine.h, sysdeps/m68k/elf/start.S: New files.
Sat Feb 10 13:09:03 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* sysdeps/unix/sysv/linux/sys/mman.h: Define MAP_ANON and
MAP_FILE if not already defined.

* elf/elf.h: Add m68k reloc definitions.
* sysdeps/m68k/dl-machine.h, sysdeps/m68k/elf/start.S: New files.

28 years agoTue Feb 13 00:12:12 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
Roland McGrath [Tue, 13 Feb 1996 07:05:16 +0000 (07:05 +0000)]
Tue Feb 13 00:12:12 1996  Roland McGrath  <roland@charlie-brown.gnu.ai.mit.edu>

* sysdeps/i386/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE,
elf_machine_relplt): New macros.
* elf/dl-runtime.c: New file.
* sysdeps/i386/dl-runtime.c, sysdeps/stub/dl-runtime.c: Files removed.
* sysdeps/i386/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE,
elf_machine_relplt): New macros.
* elf/dl-runtime.c: New file.
* sysdeps/i386/dl-runtime.c, sysdeps/stub/dl-runtime.c: Files removed.

28 years agoTue Feb 13 00:12:12 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
Roland McGrath [Tue, 13 Feb 1996 05:46:59 +0000 (05:46 +0000)]
Tue Feb 13 00:12:12 1996  Roland McGrath  <roland@charlie-brown.gnu.ai.mit.edu>

* gmon/Makefile (headers): Remove machine-gmon.h.
* sysdeps/stub/machine-gmon.h, sysdeps/i386/machine-gmon.h: Removed.
* gmon/mcount.c [! NO_UNDERSCORES] (_mcount): Specify "mcount" as
the asm name.
(_mcount): Define normally, taking no args.
Use __builtin_return_address to fetch PC values of caller and caller's
caller.
Tue Feb 13 00:12:12 1996  Roland McGrath  <roland@charlie-brown.gnu.ai.mit.edu>

* gmon/Makefile (headers): Remove machine-gmon.h.
* sysdeps/stub/machine-gmon.h, sysdeps/i386/machine-gmon.h: Removed.
* gmon/mcount.c [! NO_UNDERSCORES] (_mcount): Specify "mcount" as
the asm name.
(_mcount): Define normally, taking no args.
Use __builtin_return_address to fetch PC values of caller and caller's
caller.

* Makerules: Rewrote rules to update libc archives of all flavors.
Define separate specific rules for each flavor using o-iterator.

* sysdeps/unix/Makefile: Include s-proto.d only ifdef subdir.

Sat Feb 10 11:35:16 1996 Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* Makerules (ar-symtab-name): New macro.  Replace all occurences
of __.SYMDEF by $(ar-symtab-name).
* sysdeps/unix/sysv/Makefile (ar-symtab-name): Define as empty.

* Makefile (configure, %/configure): Depend on aclocal.m4.
* Make-dist (configure, %/configure): Likewise.

* sysdeps/unix/Makefile: Include s-proto.d for its deps.

* gmon/sys/gmon.h: Don't include machine-gmon.h; those defns are
only needed in the implementation, not for any users.

* time/northamerica: Updated from ADO 96c, new rules for Mexico in
1996.

28 years agoUpdated from ADO 96c, new rules for Mexico in 1996.
Roland McGrath [Tue, 13 Feb 1996 03:56:17 +0000 (03:56 +0000)]
Updated from ADO 96c, new rules for Mexico in 1996.

28 years agoRecognize sparclet cpu.
Doug Evans [Mon, 12 Feb 1996 23:15:30 +0000 (23:15 +0000)]
Recognize sparclet cpu.

28 years ago* config.guess (UNAME_VERSION): Recognize X4.x as an OSF version. * config.guess...
Per Bothner [Mon, 12 Feb 1996 20:55:56 +0000 (20:55 +0000)]
* config.guess (UNAME_VERSION): Recognize X4.x as an OSF version. * config.guess (*:CYGWIN*): New

28 years ago* config.guess: Support m68k-cbm-sysv4. * config.guess (*:Linux:*:*): Guess m68k...
Per Bothner [Mon, 12 Feb 1996 20:44:56 +0000 (20:44 +0000)]
* config.guess:  Support m68k-cbm-sysv4. * config.guess (*:Linux:*:*): Guess m68k-unknown-linux

28 years ago* sunrpc/pm_getport.c: #if 0 out gratuitous inclusion of <net/if.h>.
Roland McGrath [Mon, 12 Feb 1996 10:36:01 +0000 (10:36 +0000)]
* sunrpc/pm_getport.c: #if 0 out gratuitous inclusion of <net/if.h>.

* sunrpc/pm_getmaps.c: Likewise.

28 years ago* sysdeps/unix/sysv/syscalls.list: Add setrlimit and settimeofday,
Roland McGrath [Mon, 12 Feb 1996 10:23:47 +0000 (10:23 +0000)]
* sysdeps/unix/sysv/syscalls.list: Add setrlimit and settimeofday,

  so real syscalls override unix/sysv/*.c on sysv-derived systems
  that have them.
* sysdeps/unix/common/syscalls.list: Add settimeofday here, to
override unix/sysv/settimeofday.c since that overrides
unix/syscalls.list.

* Makeconfig (+link): Put $(link-libc) after deps from $^,
regardless of where libc.a appears in the deps.

28 years ago* hurd/hurdfault.c (_hurdsig_fault_init): Set qlimit on
Roland McGrath [Mon, 12 Feb 1996 10:00:30 +0000 (10:00 +0000)]
* hurd/hurdfault.c (_hurdsig_fault_init): Set qlimit on

  FORWARD_SIGEXC to one.  Uncomment setting of thread exc port, and
  move it to last thing.

28 years agoMon Feb 12 03:10:41 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
Roland McGrath [Mon, 12 Feb 1996 08:37:31 +0000 (08:37 +0000)]
Mon Feb 12 03:10:41 1996  Roland McGrath  <roland@charlie-brown.gnu.ai.mit.edu>

* sysdeps/unix/sysv/sysv4/syscalls.list: Remove redundancies.
Add __waitid.
* sysdeps/unix/sysv/linux/syscalls.list: Remove redundancies.
Define __ name for sigprocmask.
* sysdeps/unix/bsd/ultrix4/syscalls.list: Remove redundancies.
Add getsysinfo.
* sysdeps/unix/bsd/sun/sunos4/syscalls.list: Remove redundancies.
* sysdeps/unix/bsd/sun/syscalls.list: Remove redundancies.
* sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove redundancies.
* sysdeps/unix/bsd/syscalls.list: Remove settimeofday, utimes.
Add getdents, wait3, waitpid.
* sysdeps/unix/syscalls.list: Add seteuid, setegid, setsid,
settimeofday, sigsuspend, sstk, utimes.
* sysdeps/unix/bsd/ultrix4/mips/sigvec.S: File removed.
* sysdeps/unix/bsd/ultrix4/mips/syscalls.list: New file.
* sysdeps/unix/bsd/ultrix4/mips/Makefile (sysdep_routines):
Removed sigtramp.
* sysdeps/unix/bsd/ultrix4/mips/sigvec.c: Renamed from sigtramp.c.
* sysdeps/unix/bsd/bsd4.4/sstk.S: File removed.
* sysdeps/unix/bsd/hp/m68k/syscalls.list: File removed.
* sysdeps/unix/bsd/osf/alpha/getdents.S: File removed.
* sysdeps/unix/bsd/ultrix4/getsysinfo.S: File removed.
* sysdeps/unix/bsd/ultrix4/waitpid.S: File removed.
* sysdeps/unix/bsd/ultrix4/mips/sigtramp.c: File removed.
* sysdeps/unix/bsd/ultrix4/mips/sigvec.S: File removed.
* sysdeps/unix/bsd/ultrix4/mips/sigvec.c: New file.
* sysdeps/unix/bsd/ultrix4/mips/syscalls.list: New file.
* sysdeps/unix/sysv/irix4/wait3.S: File removed.
* sysdeps/unix/sysv/sysv4/__waitid.S: File removed.
* sysdeps/unix/sysv/sysv4/fchdir.S: File removed.
* sysdeps/unix/sysv/sysv4/setegid.S: File removed.
* sysdeps/unix/sysv/sysv4/seteuid.S: File removed.
* sysdeps/unix/sysv/sysv4/sigaltstack.S: File removed.
* sysdeps/unix/sysv/sysv4/solaris2/utimes.S: File removed.

28 years ago(sysdep_routines): Removed sigtramp.
Roland McGrath [Mon, 12 Feb 1996 08:11:19 +0000 (08:11 +0000)]
(sysdep_routines): Removed sigtramp.

28 years agoFix typo in previous change.
Richard M. Stallman [Sun, 11 Feb 1996 23:40:37 +0000 (23:40 +0000)]
Fix typo in previous change.

28 years agoSat Feb 10 05:57:08 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
Roland McGrath [Sun, 11 Feb 1996 10:00:24 +0000 (10:00 +0000)]
Sat Feb 10 05:57:08 1996  Roland McGrath  <roland@charlie-brown.gnu.ai.mit.edu>

* sysdeps/generic/make_siglist.c: #undef _SIGNAL_H before defining it.

* sysdeps/unix/sysv/linux/syscalls.list: Add sigprocmask, sigsuspend.

28 years ago(-psos*): New case.
Richard Kenner [Sat, 10 Feb 1996 13:26:26 +0000 (13:26 +0000)]
(-psos*): New case.

28 years ago#undef _SIGNAL_H before defining it.
Roland McGrath [Sat, 10 Feb 1996 11:19:12 +0000 (11:19 +0000)]
#undef _SIGNAL_H before defining it.

28 years agoSat Feb 10 04:18:48 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
Roland McGrath [Sat, 10 Feb 1996 10:00:27 +0000 (10:00 +0000)]
Sat Feb 10 04:18:48 1996  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>

* posix/execvp.c: If execv fails with ENOEXEC, run the shell on
the file.

Fri Feb  9 11:46:45 1996  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>

* time/Makefile (CFLAGS-zdump.c, CFLAGS-zic.c, CFLAGS-ialloc.c,
CFLAGS-scheck.c): Use -DNOID instead of -Wno-unused.

* hurd/Makefile (user-interfaces): Added hurd/tioctl.

28 years agoThu Feb 8 18:55:27 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
Roland McGrath [Fri, 9 Feb 1996 10:00:23 +0000 (10:00 +0000)]
Thu Feb  8 18:55:27 1996  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>

* hurd/hurdioctl.c (tiocsctty): Set the terminal's pgrp to our own.

28 years ago* Makefile (subdirs): Added wcsmbs.
Roland McGrath [Thu, 8 Feb 1996 10:00:34 +0000 (10:00 +0000)]
* Makefile (subdirs): Added wcsmbs.

* wcsmbs: New directory of wide char/multibyte char functions from
drepper.

28 years agoWed Feb 7 18:48:30 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
Roland McGrath [Thu, 8 Feb 1996 02:10:15 +0000 (02:10 +0000)]
Wed Feb  7 18:48:30 1996  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>

* hurd/hurdmsg.c (_S_msg_report_wait): Function removed.
* hurd/report-wait.c: New file.
* hurd/Makefile (routines): Added report-wait.

* sysdeps/mach/hurd/Makefile (inhibit-unix-syscalls): New variable.

* sysdeps/mach/hurd/i386/intr-msg.h (struct mach_msg_trap_args):
New type.
(SYSCALL_EXAMINE, MSG_EXAMINE): New inline functions.
* sysdeps/mach/hurd/i386/trampoline.c (struct mach_msg_trap_args):
Structure moved to intr-msg.h; include that.

* time/Makefile (CFLAGS-ialloc.c): Add -Wno-unused.
(CFLAGS-scheck.c): New variable.

* sysdeps/mach/hurd/dl-sysdep.c (__hurd_sigthread_stack_base,
__hurd_sigthread_stack_end, __hurd_sigthread_variables,
__hurd_threadvar_stack_mask): New variables.

* sysdeps/mach/hurd/fork.c: Set the new task's exception port to
its new message port.

* misc/init-misc.c: Put __init_misc in the __libc_subinit set.

* configure.in (uname): Add quoting.

* sysdeps/mach/hurd/fchdir.c: Don't consult errno unless lookup fails.
* hurd/fchroot.c: Likewise.

* posix/sys/types.h [GCC >= 2.7]: Define intN_t/u_intN_t using
__attribute__ ((__mode__ (__XX__))).

Wed Feb 7 03:24:05 1996 Torbjorn Granlund  <tege@tmg.se>

* sysdeps/i386/i586/memcopy.h (WORD_COPY_FWD): Manually allocate
destination cache lines.
(WORD_COPY_BWD): Likewise.

Wed Feb  7 14:16:36 1996  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>

* sysdeps/generic/Makefile (make_siglist): Get signum.h absolute
file name first thing, before $(native-compile) changes directories.

From Gord Matzigkeit <gord@enci.ucalgary.ca>:
* sysdeps/unix/make_errlist.c: Use strerror if available.
* sysdeps/unix/configure.in: New file

* sysdeps/unix/bsd/sun/syscalls.list: Added sigvec.
* sysdeps/unix/bsd/sun/sigvec.S: File removed.

* sysdeps/stub/sendto.c: Make sockaddr arg pointer to const.
* sysdeps/stub/connect.c: Likewise.
* sysdeps/stub/bind.c: Likewise.

* hurd/hurdlookup.c (__hurd_file_name_lookup_retry): RETRYNAME of
"" is only special for FS_RETRY_NORMAL; for FS_RETRY_REAUTH, do
another dir_lookup of "".

28 years agoFri Feb 2 13:09:18 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
Roland McGrath [Sat, 3 Feb 1996 10:00:25 +0000 (10:00 +0000)]
Fri Feb  2 13:09:18 1996  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>

* sysdeps/mach/hurd/fork.c: Clear trace flag in child.

28 years agoAdd cygwin32; Put eabi .sdata2/.sbss2 into read-only memory
Michael Meissner [Sat, 3 Feb 1996 01:03:27 +0000 (01:03 +0000)]
Add cygwin32; Put eabi .sdata2/.sbss2 into read-only memory

28 years agoUpdated from ../gpl2lgpl.sed /home/gd/gnu/lib/getopt.c
Roland McGrath [Fri, 2 Feb 1996 18:41:42 +0000 (18:41 +0000)]
Updated from ../gpl2lgpl.sed /home/gd/gnu/lib/getopt.c

28 years agoWed Jan 31 20:08:26 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
Roland McGrath [Thu, 1 Feb 1996 10:00:23 +0000 (10:00 +0000)]
Wed Jan 31 20:08:26 1996  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>

* hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Clear SS->intr_port
when cancelled before RPC.

28 years ago(_hurd_intr_rpc_mach_msg): Clear SS->intr_port when cancelled before RPC.
Roland McGrath [Thu, 1 Feb 1996 01:08:12 +0000 (01:08 +0000)]
(_hurd_intr_rpc_mach_msg): Clear SS->intr_port when cancelled before RPC.

28 years agoAdd support for A/UX
Ian [Wed, 31 Jan 1996 19:14:05 +0000 (19:14 +0000)]
Add support for A/UX

28 years agoRecognize A/UX
Ian [Wed, 31 Jan 1996 19:10:52 +0000 (19:10 +0000)]
Recognize A/UX

28 years agoTue Jan 30 13:32:05 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
Roland McGrath [Wed, 31 Jan 1996 10:00:24 +0000 (10:00 +0000)]
Tue Jan 30 13:32:05 1996  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>

* dirent/scandir.c: Allocate dirents with correct size for name, and
copy with correct size.

* hurd/hurdinit.c [! PIC] (map0): New function, on _hurd_preinit_hook.

* stdio-common/vfscanf.c (TYPEMOD): New macro of all type modifier
flag bits.
(__vfscanf): Fix checking of extra type modifiers.

* time/asia, time/australasia, time/backward: Updated from ADO 96b.

Tue Jan 30 12:17:26 1996  Ulrich Drepper  <drepper@ipd.info.uni-karlsruhe.de>

* stdlib/strtod.c: Only negate exponent when there really is one.

* stdio-common/vfscanf.c: Accept type modifiers on %n.
Fix FP number parsing.

28 years agoMon Jan 29 21:53:40 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
Roland McGrath [Tue, 30 Jan 1996 10:00:24 +0000 (10:00 +0000)]
Mon Jan 29 21:53:40 1996  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>

* sysdeps/stub/msync.c (msync): Declare third arg FLAGS.

* resolv/Makefile (+cflags): Append to this instead of CFLAGS.

Mon Jan 29 16:29:16 1996  Miles Bader  <miles@gnu.ai.mit.edu>

* sysdeps/mach/hurd/select.c (__select): Recalculate GOT to
  include an increment for each operation allowed on each fd.

Mon Jan 29 11:44:38 1996  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>

* sysdeps/unix/sysv/linux/configure: Set $inhibit_glue.

* Makefile: Use -include for sysd-dirs.

* configure.in (uname): Check for uname in syscalls.list files.
* sysdeps/unix/sysv/syscalls.list: Remove uname.
* sysdeps/unix/syscalls.list: Add uname.

* stdlib/strtol.c (weak1): New macro, to get the right name declared
weak.

* sysdeps/posix/getcwd.c (size_t): Don't define #ifdef __GNU_LIBRARY__.

* db/hash/ndbm.c: Change all uses of `errno' struct member to `errnum'.
(dbm_open): Use dynamic allocation for file name buffer, instead of
limitting its size to MAXPATHLEN.

* db/btree/bt_open.c (tmp): Use dynamic allocation for file name
buffer, instead of limitting its size to MAXPATHLEN.

* db/hash/hash.h (HTAB): Rename member `errno' to `errnum'.
* db/hash/hash.c: Change all uses of `errno' struct member to `errnum'.

28 years ago(+cflags): Append to this instead of CFLAGS.
Roland McGrath [Tue, 30 Jan 1996 02:53:27 +0000 (02:53 +0000)]
(+cflags): Append to this instead of CFLAGS.

28 years ago(__select): Recalculate GOT to include an increment for each operation allowed on...
Miles Bader [Mon, 29 Jan 1996 21:45:43 +0000 (21:45 +0000)]
(__select):  Recalculate GOT to include an increment for each operation allowed on each fd.

28 years agoSet $inhibit_glue.
Roland McGrath [Mon, 29 Jan 1996 19:30:15 +0000 (19:30 +0000)]
Set $inhibit_glue.

28 years agoSun Jan 28 19:42:04 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
Roland McGrath [Mon, 29 Jan 1996 16:11:27 +0000 (16:11 +0000)]
Sun Jan 28 19:42:04 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* time/Makefile: Fix check for cross compiling.
Sun Jan 28 19:42:04 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* time/Makefile: Fix check for cross compiling.

28 years agoThu Jan 25 21:10:39 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
Roland McGrath [Mon, 29 Jan 1996 16:05:21 +0000 (16:05 +0000)]
Thu Jan 25 21:10:39 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* db/Makefile (subdir-dirs): Renamed from dbdirs.

* Makerules (distinfo-vars): Add subdir-dirs.

* MakeTAGS: Remove vpath directives.
(all-dirs): Prepend $(subdir-dirs).
(all-sources, all-headers): Use wildcard to find sources.
Thu Jan 25 21:10:39 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* db/Makefile (subdir-dirs): Renamed from dbdirs.

* Makerules (distinfo-vars): Add subdir-dirs.

* MakeTAGS: Remove vpath directives.
(all-dirs): Prepend $(subdir-dirs).
(all-sources, all-headers): Use wildcard to find sources.

Mon Jan 29 10:44:38 1996  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>

* malloc/Makefile (CFLAGS-vm-limit.c, CFLAGS-ralloc.c): New
variables.

* mach/msgserver.c: Declare DEMUX arg with prototype.

28 years agoSun Jan 28 17:25:38 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
Roland McGrath [Sun, 28 Jan 1996 22:47:31 +0000 (22:47 +0000)]
Sun Jan 28 17:25:38 1996  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>

* setjmp/setjmp.h (jmp_buf): Give a tag in the struct defn, to
make C++ happy.
* alpha/jmp_buf.h: Likewise.
* m68k/jmp_buf.h: Likewise.
* mips/jmp_buf.h: Likewise.
* sparc/jmp_buf.h: Likewise.
* vax/jmp_buf.h: Likewise.
Sun Jan 28 17:25:38 1996  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>

* setjmp/setjmp.h (jmp_buf): Give a tag in the struct defn, to
make C++ happy.
* alpha/jmp_buf.h: Likewise.
* m68k/jmp_buf.h: Likewise.
* mips/jmp_buf.h: Likewise.
* sparc/jmp_buf.h: Likewise.
* vax/jmp_buf.h: Likewise.

* sysdeps/generic/memmem.c: Fix return value in case where
NEEDLE_LEN==0.

* hurd/hurdlookup.c (__file_name_lookup_under,
__file_name_lookup): Restrict mode with umask.
* sysdeps/mach/hurd/xmknod.c: Restrict mode with umask.
* sysdeps/mach/hurd/mkdir.c: Restrict mode with umask.

28 years agoFri Jan 26 12:20:45 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
Roland McGrath [Sat, 27 Jan 1996 10:00:24 +0000 (10:00 +0000)]
Fri Jan 26 12:20:45 1996  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>

* stdlib/strtol.c: Undo last change.  ANSI C changed since the
draft I checked yesterday.  Sigh.

28 years agoThu Jan 25 18:58:25 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
Roland McGrath [Fri, 26 Jan 1996 10:00:23 +0000 (10:00 +0000)]
Thu Jan 25 18:58:25 1996  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>

* stdlib/strtol.c [UNSIGNED]: Don't recognize + or - as sign.

28 years ago* malloc/mcheck.c (mabort): Declare prototype.
Roland McGrath [Thu, 25 Jan 1996 10:00:24 +0000 (10:00 +0000)]
* malloc/mcheck.c (mabort): Declare prototype.