kopensolaris-gnu/glibc.git
24 years agoRegenerated: autoconf configure.in
roland [Mon, 25 Mar 1996 16:41:26 +0000 (16:41 +0000)]
Regenerated: autoconf  configure.in

24 years agoUpdated from /src/gettext-0.10.8/intl/finddomain.c
roland [Mon, 25 Mar 1996 16:28:21 +0000 (16:28 +0000)]
Updated from /src/gettext-0.10.8/intl/finddomain.c

24 years agoWed Mar 20 20:08:46 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> libc-960325
roland [Mon, 25 Mar 1996 09:56:43 +0000 (09:56 +0000)]
Wed Mar 20 20:08:46 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* sysdeps/unix/sysdep.h: Don't define C_SYMBOL_NAME.

24 years agoWed Mar 20 20:08:46 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
roland [Mon, 25 Mar 1996 09:56:36 +0000 (09:56 +0000)]
Wed Mar 20 20:08:46 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* sysdeps/unix/sysv/linux/m68k/sysdep.h: Don't define
NO_UNDERSCORES.

24 years agoUndo last change
roland [Mon, 25 Mar 1996 07:21:12 +0000 (07:21 +0000)]
Undo last change

24 years agoTest "$pathcomp/." so a symlink to a directory counts as an existing
roland [Mon, 25 Mar 1996 07:18:41 +0000 (07:18 +0000)]
Test "$pathcomp/." so a symlink to a directory counts as an existing
directory.

24 years agoContents were duplicated by botched patching.
roland [Mon, 25 Mar 1996 06:26:06 +0000 (06:26 +0000)]
Contents were duplicated by botched patching.

24 years ago(os): sunos[3456] -> sunos[34], sunos[56] have their own entries libc-960324
dje [Thu, 21 Mar 1996 23:26:26 +0000 (23:26 +0000)]
(os): sunos[3456] -> sunos[34], sunos[56] have their own entries

24 years ago.
roland [Thu, 21 Mar 1996 16:23:21 +0000 (16:23 +0000)]
.

24 years agoThu Mar 21 11:19:15 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
roland [Thu, 21 Mar 1996 16:19:59 +0000 (16:19 +0000)]
Thu Mar 21 11:19:15 1996  Roland McGrath  <roland@charlie-brown.gnu.ai.mit.edu>

* mach/devstream.c (input): Translate \r to \n on input.

24 years ago.
roland [Thu, 21 Mar 1996 15:20:37 +0000 (15:20 +0000)]
.

24 years agoWed Mar 20 11:28:49 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
roland [Thu, 21 Mar 1996 15:19:51 +0000 (15:19 +0000)]
Wed Mar 20 11:28:49 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* stdio-common/printf.h, stdio-common/printf_fp.c,
stdio-common/vfprintf.c: Place const in parameter list at
correct place.

24 years agoWed Mar 20 23:58.12 1996 Ulrich Drepper <drepper@gnu.ai.mit.edu>
roland [Thu, 21 Mar 1996 15:19:36 +0000 (15:19 +0000)]
Wed Mar 20 23:58.12 1996  Ulrich Drepper <drepper@gnu.ai.mit.edu>

* sysdeps/i386/ldbl2mpn.c: Copy of former version of
sysdeps/ieee754/ldbl2mpn.c.
* sysdeps/ieee754/ldbl2mpn.c: Remove i386 specific unification.
Reported by Andreas Schwab.

24 years agoWed Mar 20 19:58:43 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
roland [Thu, 21 Mar 1996 15:19:31 +0000 (15:19 +0000)]
Wed Mar 20 19:58:43 1996  Roland McGrath  <roland@charlie-brown.gnu.ai.mit.edu>

* MakeTAGS (extract): Pass $(XGETTEXTFLAGS-$(@F)).
(XGETTEXTFLAGS-siglist.pot, XGETTEXTFLAGS-errlist.pot): New variables;
pass -a for these files.

24 years agoWed Mar 20 19:58:43 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
roland [Thu, 21 Mar 1996 15:19:22 +0000 (15:19 +0000)]
Wed Mar 20 19:58:43 1996  Roland McGrath  <roland@charlie-brown.gnu.ai.mit.edu>

* version.c: Include version.h to define RELEASE and VERSION macros.
(__libc_release, __libc_version): Use them.
* locale/SYS_libc.c (_libc_intl_domainname): Include ../version.h and
use VERSION to define domainname as `SYS_GNU_libc-VERSION'.
* Make-dist (rel+vers): Snarf the macro values from version.h.

24 years agoWed Mar 20 19:58:43 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
roland [Thu, 21 Mar 1996 15:19:16 +0000 (15:19 +0000)]
Wed Mar 20 19:58:43 1996  Roland McGrath  <roland@charlie-brown.gnu.ai.mit.edu>

* Makerules (po/%.pot): Depend on FORCE target so recursive make is
always run.

24 years agoRegenerated from source files libc-960321
roland [Thu, 21 Mar 1996 00:54:43 +0000 (00:54 +0000)]
Regenerated from source files

24 years ago.
roland [Thu, 21 Mar 1996 00:37:31 +0000 (00:37 +0000)]
.

24 years agoMon Mar 18 22:54:32 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
roland [Thu, 21 Mar 1996 00:37:12 +0000 (00:37 +0000)]
Mon Mar 18 22:54:32 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* sysdeps/unix/sysv/linux/wait3.c: New file.
* sysdeps/unix/sysv/linux/wait.c: Use the bsd4.4 wait, not the
one from sysdeps/posix.

24 years ago.
roland [Wed, 20 Mar 1996 17:01:27 +0000 (17:01 +0000)]
.

24 years agoWed Mar 20 09:42:11 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
roland [Wed, 20 Mar 1996 17:01:11 +0000 (17:01 +0000)]
Wed Mar 20 09:42:11 1996  Roland McGrath  <roland@charlie-brown.gnu.ai.mit.edu>

* sysdeps/unix/bsd/waitflags.h (WNOREAP): New macro.

24 years ago[HAVE_STRING_H]: Include string.h.
roland [Wed, 20 Mar 1996 14:59:27 +0000 (14:59 +0000)]
[HAVE_STRING_H]: Include string.h.

24 years ago.
roland [Wed, 20 Mar 1996 14:50:57 +0000 (14:50 +0000)]
.

24 years agoWed Mar 20 09:42:11 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
roland [Wed, 20 Mar 1996 14:50:40 +0000 (14:50 +0000)]
Wed Mar 20 09:42:11 1996  Roland McGrath  <roland@charlie-brown.gnu.ai.mit.edu>

* elf/dl-load.c (_dl_map_object_from_fd): Always set L->l_type; if not
lt_executable, then lt_library.
* elf/rtld.c (dl_main): Don't set NEW->l_type after _dl_map_object.

24 years agoWed Mar 20 00:08:23 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
roland [Wed, 20 Mar 1996 14:45:11 +0000 (14:45 +0000)]
Wed Mar 20 00:08:23 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* sysdeps/unix/sysv/linux/syscalls.list: Remove gtty and stty.

24 years agoTue Mar 19 16:31:06 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
roland [Wed, 20 Mar 1996 14:44:32 +0000 (14:44 +0000)]
Tue Mar 19 16:31:06 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* sysdeps/unix/sysv/linux/termbits.h (CRTSCTS, CBAUDEX, VEOL,
VEOL2, VMIN, VTIME): Corrected.
(PAGEOUT, WRAP, VDSUSP): Deleted.

24 years agoRegenerated libc-960320
roland [Wed, 20 Mar 1996 03:12:40 +0000 (03:12 +0000)]
Regenerated

24 years ago.
roland [Wed, 20 Mar 1996 00:18:44 +0000 (00:18 +0000)]
.

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

* math/math.h: Move M_* constants before __math.h include.
[__NO_MATH_INLINES || __OPTIMIZE__]: Include __math.h only #if this.

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

* misc/efgcvt_r.c (ecvt_r): Declare floor, log10, fabs as weak extern.
If log10 is not defined (i.e. no -lm), use stupid loop instead.

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

* sysdeps/i386/fpu/__math.h (asinh): Call log1p instead of __log1p.

24 years agoFix typos.
roland [Wed, 20 Mar 1996 00:14:48 +0000 (00:14 +0000)]
Fix typos.

24 years agoFix typos in last change.
roland [Wed, 20 Mar 1996 00:13:45 +0000 (00:13 +0000)]
Fix typos in last change.

24 years ago.
roland [Tue, 19 Mar 1996 21:59:41 +0000 (21:59 +0000)]
.

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

* 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.

24 years agoMention _GNU_SOURCE no longer default,
roland [Tue, 19 Mar 1996 21:58:59 +0000 (21:58 +0000)]
Mention _GNU_SOURCE no longer default,
linux/m68k and linux/alpha ports.

24 years ago.
roland [Tue, 19 Mar 1996 21:23:40 +0000 (21:23 +0000)]
.

24 years agoRegenerated: autoconf configure.in
roland [Tue, 19 Mar 1996 21:22:36 +0000 (21:22 +0000)]
Regenerated: autoconf  configure.in

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

* configure.in (alpha*-*-linux*): Unset $gnu_ld and $elf.

24 years ago.
roland [Tue, 19 Mar 1996 21:10:11 +0000 (21:10 +0000)]
.

24 years agoRegenerated: autoconf configure.in
roland [Tue, 19 Mar 1996 21:09:23 +0000 (21:09 +0000)]
Regenerated: autoconf  configure.in

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

* 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.

24 years agoMon Mar 4 20:17:28 1996 David Mosberger-Tang <davidm@azstarnet.com>
roland [Tue, 19 Mar 1996 20:30:03 +0000 (20:30 +0000)]
Mon Mar  4 20:17:28 1996  David Mosberger-Tang  <davidm@azstarnet.com>

* 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.

24 years agoWed Feb 14 00:21:17 1996 David Mosberger-Tang <davidm@azstarnet.com>
roland [Tue, 19 Mar 1996 20:28:16 +0000 (20:28 +0000)]
Wed Feb 14 00:21:17 1996  David Mosberger-Tang  <davidm@azstarnet.com>

* 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.

24 years agoWed Feb 14 00:21:17 1996 David Mosberger-Tang <davidm@azstarnet.com>
roland [Tue, 19 Mar 1996 20:28:12 +0000 (20:28 +0000)]
Wed Feb 14 00:21:17 1996  David Mosberger-Tang  <davidm@azstarnet.com>

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

24 years agoWed Feb 14 00:21:17 1996 David Mosberger-Tang <davidm@azstarnet.com>
roland [Tue, 19 Mar 1996 20:28:09 +0000 (20:28 +0000)]
Wed Feb 14 00:21:17 1996  David Mosberger-Tang  <davidm@azstarnet.com>

* 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.

24 years agoMon Mar 4 20:17:28 1996 David Mosberger-Tang <davidm@azstarnet.com>
roland [Tue, 19 Mar 1996 20:27:07 +0000 (20:27 +0000)]
Mon Mar  4 20:17:28 1996  David Mosberger-Tang  <davidm@azstarnet.com>

* 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.

24 years ago.
roland [Tue, 19 Mar 1996 20:21:54 +0000 (20:21 +0000)]
.

24 years agoMon Mar 4 20:17:28 1996 David Mosberger-Tang <davidm@azstarnet.com>
roland [Tue, 19 Mar 1996 20:20:47 +0000 (20:20 +0000)]
Mon Mar  4 20:17:28 1996  David Mosberger-Tang  <davidm@azstarnet.com>

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

24 years agoMon Mar 4 20:17:28 1996 David Mosberger-Tang <davidm@azstarnet.com>
roland [Tue, 19 Mar 1996 20:20:43 +0000 (20:20 +0000)]
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.

24 years agoMon Mar 4 20:17:28 1996 David Mosberger-Tang <davidm@azstarnet.com>
roland [Tue, 19 Mar 1996 20:20:39 +0000 (20:20 +0000)]
Mon Mar  4 20:17:28 1996  David Mosberger-Tang  <davidm@azstarnet.com>

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

24 years agoWed Feb 14 00:21:17 1996 David Mosberger-Tang <davidm@azstarnet.com>
roland [Tue, 19 Mar 1996 20:18:59 +0000 (20:18 +0000)]
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.

24 years agoSun Feb 25 22:36:10 1996 David Mosberger-Tang <davidm@azstarnet.com>
roland [Tue, 19 Mar 1996 20:18:07 +0000 (20:18 +0000)]
Sun Feb 25 22:36:10 1996  David Mosberger-Tang  <davidm@azstarnet.com>

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

24 years agoWed Feb 14 00:21:17 1996 David Mosberger-Tang <davidm@azstarnet.com>
roland [Tue, 19 Mar 1996 20:14:38 +0000 (20:14 +0000)]
Wed Feb 14 00:21:17 1996  David Mosberger-Tang  <davidm@azstarnet.com>

* 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.

24 years agoMon Mar 4 20:17:28 1996 David Mosberger-Tang <davidm@azstarnet.com>
roland [Tue, 19 Mar 1996 20:13:37 +0000 (20:13 +0000)]
Mon Mar  4 20:17:28 1996  David Mosberger-Tang  <davidm@azstarnet.com>

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

24 years agoSun Feb 25 22:36:10 1996 David Mosberger-Tang <davidm@azstarnet.com>
roland [Tue, 19 Mar 1996 20:08:52 +0000 (20:08 +0000)]
Sun Feb 25 22:36:10 1996  David Mosberger-Tang  <davidm@azstarnet.com>

* 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.

24 years agoSun Feb 25 22:36:10 1996 David Mosberger-Tang <davidm@azstarnet.com>
roland [Tue, 19 Mar 1996 20:08:48 +0000 (20:08 +0000)]
Sun Feb 25 22:36:10 1996  David Mosberger-Tang  <davidm@azstarnet.com>

* 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.

24 years agoSun Feb 25 22:36:10 1996 David Mosberger-Tang <davidm@azstarnet.com>
roland [Tue, 19 Mar 1996 20:08:45 +0000 (20:08 +0000)]
Sun Feb 25 22:36:10 1996  David Mosberger-Tang  <davidm@azstarnet.com>

* gmon/mcount.c: Avoid integer division.

24 years agoWed Feb 14 00:21:17 1996 David Mosberger-Tang <davidm@azstarnet.com>
roland [Tue, 19 Mar 1996 19:54:30 +0000 (19:54 +0000)]
Wed Feb 14 00:21:17 1996  David Mosberger-Tang  <davidm@azstarnet.com>

* 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.

24 years agoTue Feb 20 11:33:46 1996 David Mosberger-Tang <davidm@azstarnet.com>
roland [Tue, 19 Mar 1996 19:54:24 +0000 (19:54 +0000)]
Tue Feb 20 11:33:46 1996  David Mosberger-Tang  <davidm@azstarnet.com>

* 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.
Sat Feb 17 11:29:29 1996  David Mosberger-Tang  <davidm@azstarnet.com>

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

24 years agoWed Feb 14 00:21:17 1996 David Mosberger-Tang <davidm@azstarnet.com>
roland [Tue, 19 Mar 1996 19:54:21 +0000 (19:54 +0000)]
Wed Feb 14 00:21:17 1996  David Mosberger-Tang  <davidm@azstarnet.com>

* 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.

24 years agoTue Feb 20 11:33:46 1996 David Mosberger-Tang <davidm@azstarnet.com>
roland [Tue, 19 Mar 1996 19:54:17 +0000 (19:54 +0000)]
Tue Feb 20 11:33:46 1996  David Mosberger-Tang  <davidm@azstarnet.com>

* time/offtime.c (__offtime): Use Paul Eggert's code to deal
with very large values for "days" (e.g., 64 bit values).
Sat Feb 17 11:29:29 1996  David Mosberger-Tang  <davidm@azstarnet.com>

* 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.

24 years agoSat Feb 17 11:29:29 1996 David Mosberger-Tang <davidm@azstarnet.com>
roland [Tue, 19 Mar 1996 19:54:14 +0000 (19:54 +0000)]
Sat Feb 17 11:29:29 1996  David Mosberger-Tang  <davidm@azstarnet.com>

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

24 years agoWed Feb 14 00:21:17 1996 David Mosberger-Tang <davidm@azstarnet.com>
roland [Tue, 19 Mar 1996 19:54:10 +0000 (19:54 +0000)]
Wed Feb 14 00:21:17 1996  David Mosberger-Tang  <davidm@azstarnet.com>

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

24 years agoWed Feb 14 00:21:17 1996 David Mosberger-Tang <davidm@azstarnet.com>
roland [Tue, 19 Mar 1996 19:54:04 +0000 (19:54 +0000)]
Wed Feb 14 00:21:17 1996  David Mosberger-Tang  <davidm@azstarnet.com>

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

24 years agoWed Feb 14 00:21:17 1996 David Mosberger-Tang <davidm@azstarnet.com>
roland [Tue, 19 Mar 1996 19:54:00 +0000 (19:54 +0000)]
Wed Feb 14 00:21:17 1996  David Mosberger-Tang  <davidm@azstarnet.com>

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

24 years agoSat Feb 17 11:29:29 1996 David Mosberger-Tang <davidm@azstarnet.com>
roland [Tue, 19 Mar 1996 19:53:56 +0000 (19:53 +0000)]
Sat Feb 17 11:29:29 1996  David Mosberger-Tang  <davidm@azstarnet.com>

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

24 years agoSat Feb 17 11:29:29 1996 David Mosberger-Tang <davidm@azstarnet.com>
roland [Tue, 19 Mar 1996 19:53:53 +0000 (19:53 +0000)]
Sat Feb 17 11:29:29 1996  David Mosberger-Tang  <davidm@azstarnet.com>

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

24 years agoSat Feb 17 11:29:29 1996 David Mosberger-Tang <davidm@azstarnet.com>
roland [Tue, 19 Mar 1996 19:53:48 +0000 (19:53 +0000)]
Sat Feb 17 11:29:29 1996  David Mosberger-Tang  <davidm@azstarnet.com>

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

24 years agoTue Feb 20 11:33:46 1996 David Mosberger-Tang <davidm@azstarnet.com>
roland [Tue, 19 Mar 1996 19:53:43 +0000 (19:53 +0000)]
Tue Feb 20 11:33:46 1996  David Mosberger-Tang  <davidm@azstarnet.com>

* 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.
Sat Feb 17 11:29:29 1996  David Mosberger-Tang  <davidm@azstarnet.com>

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

24 years agoTue Mar 19 13:27:49 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
roland [Tue, 19 Mar 1996 19:53:38 +0000 (19:53 +0000)]
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>.

24 years agoSat Feb 17 11:29:29 1996 David Mosberger-Tang <davidm@azstarnet.com>
roland [Tue, 19 Mar 1996 19:53:35 +0000 (19:53 +0000)]
Sat Feb 17 11:29:29 1996  David Mosberger-Tang  <davidm@azstarnet.com>

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

24 years agoWed Feb 14 00:21:17 1996 David Mosberger-Tang <davidm@azstarnet.com>
roland [Tue, 19 Mar 1996 19:53:31 +0000 (19:53 +0000)]
Wed Feb 14 00:21:17 1996  David Mosberger-Tang  <davidm@azstarnet.com>

* sunrpc/rpc_cmsg.c (xdr_callmsg, 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.

24 years agoSun Feb 25 22:36:10 1996 David Mosberger-Tang <davidm@azstarnet.com>
roland [Tue, 19 Mar 1996 19:53:26 +0000 (19:53 +0000)]
Sun Feb 25 22:36:10 1996  David Mosberger-Tang  <davidm@azstarnet.com>

* 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.

24 years agoTue Feb 20 11:33:46 1996 David Mosberger-Tang <davidm@azstarnet.com>
roland [Tue, 19 Mar 1996 19:53:22 +0000 (19:53 +0000)]
Tue Feb 20 11:33:46 1996  David Mosberger-Tang  <davidm@azstarnet.com>

* stdlib/stdlib.h: add include of sys/types.h in front of random
  etc declarations to ensure int32_t is declared.
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>

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

24 years agoSun Feb 25 22:36:10 1996 David Mosberger-Tang <davidm@azstarnet.com>
roland [Tue, 19 Mar 1996 19:53:09 +0000 (19:53 +0000)]
Sun Feb 25 22:36:10 1996  David Mosberger-Tang  <davidm@azstarnet.com>

* gmon/sys/gmon_out.h, gmon/bb_exit_func.c,
  sysdeps/generic/bb_init_func.c, sysdeps/alpha/bb_init_func.S: new
  files.

24 years agoTue Mar 19 14:18:42 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
roland [Tue, 19 Mar 1996 19:53:02 +0000 (19:53 +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.

24 years agoWed Feb 14 00:21:17 1996 David Mosberger-Tang <davidm@azstarnet.com>
roland [Tue, 19 Mar 1996 19:52:52 +0000 (19:52 +0000)]
Wed Feb 14 00:21:17 1996  David Mosberger-Tang  <davidm@azstarnet.com>

* 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.

24 years agoWed Feb 14 00:21:17 1996 David Mosberger-Tang <davidm@azstarnet.com>
roland [Tue, 19 Mar 1996 19:52:43 +0000 (19:52 +0000)]
Wed Feb 14 00:21:17 1996  David Mosberger-Tang  <davidm@azstarnet.com>

* 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.

24 years agoWed Feb 14 00:21:17 1996 David Mosberger-Tang <davidm@azstarnet.com>
roland [Tue, 19 Mar 1996 19:52:39 +0000 (19:52 +0000)]
Wed Feb 14 00:21:17 1996  David Mosberger-Tang  <davidm@azstarnet.com>

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

24 years agoSat Feb 17 11:29:29 1996 David Mosberger-Tang <davidm@azstarnet.com>
roland [Tue, 19 Mar 1996 19:52:36 +0000 (19:52 +0000)]
Sat Feb 17 11:29:29 1996  David Mosberger-Tang  <davidm@azstarnet.com>

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

24 years agoWed Feb 14 00:21:17 1996 David Mosberger-Tang <davidm@azstarnet.com>
roland [Tue, 19 Mar 1996 19:52:32 +0000 (19:52 +0000)]
Wed Feb 14 00:21:17 1996  David Mosberger-Tang  <davidm@azstarnet.com>

* 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).

24 years agoMon Mar 4 20:17:28 1996 David Mosberger-Tang <davidm@azstarnet.com>
roland [Tue, 19 Mar 1996 19:52:29 +0000 (19:52 +0000)]
Mon Mar  4 20:17:28 1996  David Mosberger-Tang  <davidm@azstarnet.com>

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

24 years agoTue Feb 20 11:33:46 1996 David Mosberger-Tang <davidm@azstarnet.com>
roland [Tue, 19 Mar 1996 19:52:25 +0000 (19:52 +0000)]
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.
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/sysdep.S,
sysdeps/unix/sysv/linux/alpha/sysdep.h: New files.

24 years agoWed Feb 14 00:21:17 1996 David Mosberger-Tang <davidm@azstarnet.com>
roland [Tue, 19 Mar 1996 19:52:22 +0000 (19:52 +0000)]
Wed Feb 14 00:21:17 1996  David Mosberger-Tang  <davidm@azstarnet.com>

* sunrpc/clnt_tcp.c (clnttcp_call): replaced u_long by u_int32.

24 years agoWed Feb 14 00:21:17 1996 David Mosberger-Tang <davidm@azstarnet.com>
roland [Tue, 19 Mar 1996 19:52:17 +0000 (19:52 +0000)]
Wed Feb 14 00:21:17 1996  David Mosberger-Tang  <davidm@azstarnet.com>

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

24 years agoSat Feb 17 11:29:29 1996 David Mosberger-Tang <davidm@azstarnet.com>
roland [Tue, 19 Mar 1996 19:52:14 +0000 (19:52 +0000)]
Sat Feb 17 11:29:29 1996  David Mosberger-Tang  <davidm@azstarnet.com>

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

24 years agoWed Feb 21 23:56:41 1996 David Mosberger-Tang <davidm@azstarnet.com>
roland [Tue, 19 Mar 1996 19:52:11 +0000 (19:52 +0000)]
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.

24 years agoWed Feb 14 00:21:17 1996 David Mosberger-Tang <davidm@azstarnet.com>
roland [Tue, 19 Mar 1996 19:52:07 +0000 (19:52 +0000)]
Wed Feb 14 00:21:17 1996  David Mosberger-Tang  <davidm@azstarnet.com>

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

24 years agoWed Feb 14 00:21:17 1996 David Mosberger-Tang <davidm@azstarnet.com>
roland [Tue, 19 Mar 1996 19:52:03 +0000 (19:52 +0000)]
Wed Feb 14 00:21:17 1996  David Mosberger-Tang  <davidm@azstarnet.com>

* 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.

24 years agoWed Feb 14 00:21:17 1996 David Mosberger-Tang <davidm@azstarnet.com>
roland [Tue, 19 Mar 1996 19:51:58 +0000 (19:51 +0000)]
Wed Feb 14 00:21:17 1996  David Mosberger-Tang  <davidm@azstarnet.com>

* 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).

24 years agoWed Feb 14 00:21:17 1996 David Mosberger-Tang <davidm@azstarnet.com>
roland [Tue, 19 Mar 1996 19:51:54 +0000 (19:51 +0000)]
Wed Feb 14 00:21:17 1996  David Mosberger-Tang  <davidm@azstarnet.com>

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

24 years agoSat Feb 17 11:29:29 1996 David Mosberger-Tang <davidm@azstarnet.com>
roland [Tue, 19 Mar 1996 19:51:50 +0000 (19:51 +0000)]
Sat Feb 17 11:29:29 1996  David Mosberger-Tang  <davidm@azstarnet.com>

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

24 years agoWed Feb 14 00:21:17 1996 David Mosberger-Tang <davidm@azstarnet.com>
roland [Tue, 19 Mar 1996 19:51:46 +0000 (19:51 +0000)]
Wed Feb 14 00:21:17 1996  David Mosberger-Tang  <davidm@azstarnet.com>

* 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.

24 years agoWed Feb 14 00:21:17 1996 David Mosberger-Tang <davidm@azstarnet.com>
roland [Tue, 19 Mar 1996 19:51:41 +0000 (19:51 +0000)]
Wed Feb 14 00:21:17 1996  David Mosberger-Tang  <davidm@azstarnet.com>

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

24 years agoSat Feb 17 11:29:29 1996 David Mosberger-Tang <davidm@azstarnet.com>
roland [Tue, 19 Mar 1996 19:51:38 +0000 (19:51 +0000)]
Sat Feb 17 11:29:29 1996  David Mosberger-Tang  <davidm@azstarnet.com>

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

24 years agoSat Feb 17 11:29:29 1996 David Mosberger-Tang <davidm@azstarnet.com>
roland [Tue, 19 Mar 1996 19:51:34 +0000 (19:51 +0000)]
Sat Feb 17 11:29:29 1996  David Mosberger-Tang  <davidm@azstarnet.com>

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

24 years agoWed Feb 14 00:21:17 1996 David Mosberger-Tang <davidm@azstarnet.com>
roland [Tue, 19 Mar 1996 19:51:30 +0000 (19:51 +0000)]
Wed Feb 14 00:21:17 1996  David Mosberger-Tang  <davidm@azstarnet.com>

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

24 years agoWed Feb 14 00:21:17 1996 David Mosberger-Tang <davidm@azstarnet.com>
roland [Tue, 19 Mar 1996 19:51:26 +0000 (19:51 +0000)]
Wed Feb 14 00:21:17 1996  David Mosberger-Tang  <davidm@azstarnet.com>

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

24 years agoWed Feb 14 00:21:17 1996 David Mosberger-Tang <davidm@azstarnet.com>
roland [Tue, 19 Mar 1996 19:51:13 +0000 (19:51 +0000)]
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/sysdep.S,
sysdeps/unix/sysv/linux/alpha/sysdep.h: New files.