Commit Graph

32 Commits

Author SHA1 Message Date
kleink
4ba3ee1071 Serialize freelist access with a mutex. 1999-02-06 16:01:22 +00:00
simonb
bf0aa4630d Changes from Niklas Hallqvist from OpenBSD. Commit message there was:
Make code ANSI/ISO C conformant.  Formerly undefined constructs were used
  making load/store architectures (like mips&alpha) fail whn compiled with
  gcc -O2.

Tested on mips and i386 ok.  Can someone with an alpha test this please?
1999-02-06 02:05:01 +00:00
christos
eeb9152be3 Since we are forcing unsigned shifts for portability, define Unsigned_shifts 1998-11-16 17:43:32 +00:00
christos
33edc15a8c delint 1998-11-15 17:13:51 +00:00
matt
3a1b5096a9 More vax -> __vax__ cruft. 1998-10-19 03:32:27 +00:00
mycroft
982e920022 const poisoning. 1998-07-26 14:13:00 +00:00
perry
c8bafd6265 remove obsolete register declarations 1998-02-03 18:38:12 +00:00
christos
bd9067774f Add local.h for local prototypes.
Fix namespace issues for strtoq and strtouq
Fix gcc warnings.
Fix RCSID's
1997-07-13 20:16:31 +00:00
thorpej
d83d59241e PowerPC is an IEEE floating point system. 1997-03-29 21:04:08 +00:00
christos
b47990743d <machine/endian.h> -> <sys/types.h> 1996-10-13 00:05:33 +00:00
jtc
943f3d2f5c The argument to isspace() must be representable as an unsigned char.
This change casts the argument to an unsigned char so that this
function will work with strings with their 8th bit set.
1996-07-20 01:09:05 +00:00
mark
1d95fe29ce Get the floating point byte and word orders correct for the arm32. 1996-02-16 21:19:29 +00:00
thorpej
6dda330ef6 New-style RCS ids. 1995-12-28 08:51:55 +00:00
jtc
38163d03a8 #include <machine/endian.h>. 1994-12-23 22:50:19 +00:00
cgd
9903c64a33 (1) fix up for new compiler predefines
(2) clean up IEEE format defines, so that their names are accurate again.
1994-12-22 15:02:48 +00:00
jtc
6a9043df2e Use "const" qualifier so that tens, tinytens, and bigtens arrays are stored
in the text segment.
1994-12-20 00:43:48 +00:00
dean
6cd6f202d5 Include code for pmax 1994-11-14 23:48:02 +00:00
cgd
d2b0e8d86d be a bit more careful with types. 1994-10-19 03:07:18 +00:00
jtc
2bdfe1ce0c Updgraded to March 3, 1994 version of dtoa.c from netlib with our local
changes.
1994-07-22 05:08:04 +00:00
phil
0fc8133c23 Adding ns32k support. 1994-02-25 07:41:35 +00:00
jtc
991b130549 #include <ctype.h> to use the isspace() macro. 1993-12-28 19:42:49 +00:00
jtc
bd1ff5e87a Fix bug #12, strtod() now uses localeconv() to get locale specific
decimal point character.
1993-12-21 19:24:09 +00:00
jtc
31b9353995 Use isspace() instead of a switch statement with explicit values when
skipping leading spaces.  This is needed for compliant behavior once
localization support is integrated.
1993-12-21 18:59:11 +00:00
jtc
865516f9d5 Restore 4 lines of code that UCB added that got lost when I upgraded to
the latest version of this code.  This bug was responsible for printf
formatting errors when values were rounded to 0.
1993-12-07 18:54:32 +00:00
briggs
8d26954ec2 Add mc68000 to the list for IEEE_MC68k.
Checks for hp300 and amiga should prob. be removed at some point,
but they do no harm being there.
1993-12-03 03:30:16 +00:00
jtc
5e1b956859 Forgot to change dtoa() to __dtoa() when I updated the code from netlib. 1993-11-11 02:08:55 +00:00
jtc
7600aa4d0a Upgraded to Jun 21, 1993 version from research.att.com:
With 32-bit ints, the former could give too small a block for the return
  value when, e.g., mode = 2 or 4 and ndigits = 24 (16 for 16-bit ints).
  tweak to work with 32-bit ints and 64-bit long
1993-11-10 01:58:57 +00:00
deraadt
7be47c8451 #if defined(hp300) || defined(sparc) || defined(amiga)
The knowledge about floating point format should really be pulled in
from somewhere better.
1993-10-19 08:34:29 +00:00
jtc
9c20f740a3 Declare rcsid strings so they are stored in text segment. 1993-08-26 00:43:03 +00:00
mycroft
e9d867ef50 Add RCS identifiers. 1993-08-01 17:54:45 +00:00
mycroft
119df3af46 Make this work on more than just a 386. 1993-07-12 01:23:14 +00:00
cgd
49693da854 update for better FP routines, from AT&T & elsewhere 1993-07-09 09:40:07 +00:00