thorpej
d83d59241e
PowerPC is an IEEE floating point system.
1997-03-29 21:04:08 +00:00
mrg
9cd5492c02
- convert unsafe strcpy(), strcat() and sprintf() to the `n' versions.
...
- some KNF.
1997-01-23 14:01:45 +00:00
cgd
4bf7fe6145
const poisoning: __findenv()'s first arg should be const char * (lint)
1996-12-20 20:32:54 +00:00
cgd
54c7614104
don't confuse long and int; pointed out by lint
1996-12-20 20:32:02 +00:00
cgd
a13d8bf828
use __inline and __asm, rather than inline and asm. By default (without -g)
...
lint won't accept the latter two, but will accept the former two as valid.
As far as gcc's concerned, they're the same.
1996-12-19 07:56:32 +00:00
jtc
0fbafa5982
Added rand_r()
1996-11-19 02:56:35 +00:00
lukem
43d6d7cf35
fix the the typos
1996-11-12 01:04:24 +00:00
jtc
ab90fa0e5c
POSIX.1 requires that stdio buffers be flushed on abort.
1996-10-24 20:45:55 +00:00
perry
78954ddcf6
Nuked machine specific conditionals for tahoe.
1996-10-16 17:56:37 +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
jtc
2d903c854c
Changing type of "c" to unsigned did not fix the problem --- a signed
...
char is sign extended before it is assigned to an unsigned int. This
fix, which has been tested with a different testcase, adds casts to
signed chars which results in proper behavior.
1996-07-20 01:03:54 +00:00
jtc
83481cc8e8
Changing type of "c" to unsigned did not fix the problem --- a signed
...
char is sign extended before it is assigned to an unsigned int. This
fix, which has been tested with a different testcase, adds explicit
casts to unsigned char before the value of a character is copied.
1996-07-20 01:00:55 +00:00
jtc
24de9e4a12
The argument to isfoo() must be representable as an unsigned char, so
...
type of "c" has been changed to unsigned. This change allows these
functions will work with strings with their 8th bit set.
1996-07-11 01:47:38 +00:00
jtc
c34d1a35dd
Fixed bad cross reference: waitpid(3) -> waitpid(2).
1996-02-16 22:30:46 +00:00
mark
1d95fe29ce
Get the floating point byte and word orders correct for the arm32.
1996-02-16 21:19:29 +00:00
jtc
03edaa24b7
The C standard says (about realloc) that "If size is zero and ptr is
...
not a null pointer, the object it points to is freed." Reported by
Peter Seebach in PR #1806 .
1996-01-17 02:45:25 +00:00
thorpej
6dda330ef6
New-style RCS ids.
1995-12-28 08:51:55 +00:00
mycroft
9b62656910
Rearrange to avoid sign problems with GCC.
1995-12-21 03:56:06 +00:00
mycroft
e0c0c4749d
Minor cleanup.
1995-12-20 23:14:48 +00:00
pk
768025b976
waitpid is in section 2 (from John Kohl; PR#1710).
1995-11-01 10:02:29 +00:00
jtc
b5d1933995
Manpage fixes from Jochen Pohl. Aligns the prototypes in the SYNOPSIS
...
section with the actual function declarations. See PR #1589 for details.
1995-10-12 15:40:27 +00:00
jtc
1840cfa21f
pagesize(2) -> getpagesize(2)
1995-08-17 23:30:42 +00:00
jtc
0b2dbb02ca
add explicit return type
1995-06-14 05:19:52 +00:00
jtc
6eaa1d60d8
define __atexit pointer
1995-06-14 05:17:53 +00:00
jtc
bebf039306
add extern qualifier to __atexit pointer declaration
1995-06-14 05:16:04 +00:00
jtc
9ae90685f2
Winning Strategies has placed this code in the public domain.
1995-05-11 23:03:44 +00:00
ragge
ae8e3c9f1a
Changed abs.S to abs.c for vax.
1995-04-25 15:36:39 +00:00
jtc
92702b3bed
removed unnecessary #include <stddef.h>
1995-03-23 19:42:42 +00:00
jtc
7681b92c66
Enable qabs(), a quad_t version of abs() and labs().
1995-03-22 00:36:52 +00:00
jtc
918d73c578
LDIV -> QDIV
1995-03-21 23:46:00 +00:00
jtc
bec46bcced
add cross references to qdiv(3)
1995-03-21 23:22:17 +00:00
jtc
bfd7fc20d9
New function qdiv. Like div and ldiv, but works with quad_t's.
1995-03-21 23:12:35 +00:00
jtc
5091f60d44
ldiv takes long arguments
1995-03-21 22:54:50 +00:00
jtc
3baa1f1967
Changed the multibyte character functions so they work with the native
...
single byte character set.
1995-03-05 07:41:15 +00:00
jtc
7cd5ae5858
remove unneeded "#include <stddef.h>"
1995-02-28 01:46:24 +00:00
jtc
88ba3f858c
Changed <sys/signal.h> to <signal.h>
1995-02-28 01:13:50 +00:00
cgd
b42e80ba75
list the files needed on the alpha.
1995-02-10 17:46:48 +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
cgd
ae9172d6cd
specify man pages the new way.
1994-12-22 09:57:51 +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
cgd
ce7850d53d
cast type
1994-10-19 03:06:51 +00:00
cgd
5eca8fd521
casting types.
1994-10-19 03:06:34 +00:00
mycroft
bccad89957
Swap the definition of {lrand,nrand} with {mrand,jrand} to reflect reality.
1994-09-17 01:01:53 +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
mycroft
3a7aa4b533
Add merge.c and mergesort.3.
1994-06-16 05:27:17 +00:00
mycroft
2f86deea8e
Add RCS ids.
1994-06-16 05:26:34 +00:00
mycroft
2c1d50080b
Import from 4.4-Lite.
1994-06-16 05:21:06 +00:00
mycroft
7006d9d304
Clean up deleted files.
1994-05-20 06:19:50 +00:00
jtc
70b7b8f795
44lite moved cfree() to libcompat
1994-05-20 06:19:47 +00:00
mycroft
f5392c8ae8
Add realpath(3).
1994-05-17 12:44:06 +00:00
mycroft
1c98b23af1
New from 4.4-Lite. Needed for some 4.4 FS utilities.
1994-05-17 12:42:30 +00:00
jtc
a5284b9db4
merge back in our changes (mostly POSIX.2 pedanticism)
1994-05-06 18:18:33 +00:00
jtc
34ae5e111c
sync with 44lite
1994-05-06 18:02:02 +00:00
cgd
4fffd61a7f
fix it to be the way i *meant* it to be...
1994-04-08 00:58:04 +00:00
mycroft
30a812575e
From Mark Weaver: Fix typo.
1994-04-07 16:28:05 +00:00
cgd
75e0f16f1b
specify what the args's contents must be
1994-04-01 08:33:59 +00:00
jtc
a148e5bcbe
Remove machine-dependent atof() implementations; use machine independant
...
version that wraps strtod() instead.
1994-03-17 01:58:55 +00:00
phil
0fc8133c23
Adding ns32k support.
1994-02-25 07:41:35 +00:00
jtc
e2c220f94b
Fix spelling error in Copyright notice
1994-01-28 20:34:33 +00:00
jtc
584ac8448e
Fix spelling errors.
1994-01-10 23:32:20 +00:00
mycroft
34dbfc64b6
Fix two compiler warnings.
1994-01-04 21:40:23 +00:00
jtc
bfc2593ae5
Integrate strtoq() and strtouq() from bsd-sources on uunet.
1994-01-03 22:58: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
448b825466
Remove unwanted comma from NAME section.
1993-12-15 18:09:42 +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
bdb4a3a91a
Changed occurance of MACHINE_ARCH == "hp300" to MACHINE_ARCH == "m68k"
1993-12-05 15:45:52 +00:00
cgd
f00e1cfe6a
get pc532 moved into ns32k; that's is MACHINE_ARCH
1993-12-05 02:20:58 +00:00
cgd
0ada107897
update for .S and MACHINE_ARCH
1993-12-04 02:33:35 +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
39d94328c9
Changed to use memset() instead of bzero().
1993-11-30 21:55:35 +00:00
jtc
a66bb8995a
Use "Er" for argument to -width in the lists in the ERROR sections so that
...
formatting is consistant.
1993-11-29 22:06:07 +00:00
jtc
71dad4e4a9
Strtoul returns a unsigned long.
1993-11-24 23:28:21 +00:00
jtc
685b5f8bc6
Remove BUGS section which stated that strtod was unimplemented.
1993-11-24 23:26:16 +00:00
jtc
9bd83209f0
Change C library functions to use strchr() and strrchr() instead of index()
...
and rindex(). This will allow (strict {ANSI, POSIX, XOPEN}) applications
to redefine index() and rindex() without effecting the library internals.
1993-11-24 19:43:49 +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
jtc
1f10b5021b
Added 1170's a64l() & l64a() functions.
1993-10-22 17:26:43 +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
cgd
b950dbff54
fixes from Thomas Eberhardt <thomas@mathematik.uni-Bremen.de> to:
...
(1) don't clobber the MLINKS variable in rpc
(2) install the rand48 man page in stdlib
1993-10-19 00:36:16 +00:00
jtc
722c46e238
Rename _findenv() to __findenv(), as _findenv is in the user's namespace.
1993-10-15 01:26:42 +00:00
jtc
721f0be3c4
Removed trailing comma from SEE ALSO section.
1993-10-14 23:30:41 +00:00
jtc
d2b1e8e4d3
Rename intenral _rand_foo variables to __rand_foo, as _rand_foo is in the
...
user's namespace.
1993-10-14 00:34:17 +00:00
jtc
aa13ae606a
Change _dorand48 to __dorand48, as _dorand48 is in the user's namespace.
1993-10-13 21:55:04 +00:00
jtc
98ada58186
Split cfree() out of calloc.c.
...
If a user compiling in a strict ANSI or strict POSIX environment uses his
own function named cfree (which is legal, since cfree is not in a restricted
namespace) and calloc, the link will fail due to the cfree in calloc.c.
1993-10-13 21:44:23 +00:00
jtc
716e19806c
Document (well, really just mention) external variable optopt.
...
Add trailing semicolons to the extern variables in the SYNOPSIS section
like all of the other manpages with extern variables.
1993-10-13 17:23:39 +00:00
jtc
c5ff256532
POSIX.2 requires special behavior if the first character of the optstring
...
argument is a colon.
Updated the manpage to reflect the above change, and expanded the example to
the one used by the POSIX.2 rationale, as it more clearly explains how
the new behavior is to be used.
The manpage should be rewritten --- it is much more confusing than it
should be.
1993-10-12 21:52:45 +00:00
jtc
f2c1ee25de
Added rand48 manual page.
1993-10-09 00:08:02 +00:00
jtc
aed559e85d
Make it possible to use machine dependant versions of div and ldiv functions.
...
Use the new i386 versions of div and ldiv.
1993-10-09 00:03:32 +00:00
jtc
42cce25b89
Use machine dependant version of labs.[cs] if one is present.
...
If not one of the enumerated list of machines, use the C language
versions of abs, labs, and atof.
1993-10-08 00:08:12 +00:00
brezak
933a7b3ad8
Rand48 routines from martin@ntkupc1.tuwien.ac.at (Martin Birgmeier)
1993-10-07 19:53:35 +00:00
cgd
0b9f50897e
make an arch directory in libc, and move all machine dirs into it
1993-10-07 00:17:24 +00:00
jtc
0108bea0bb
SEE ALSO items not comma separated.
1993-10-04 18:06:34 +00:00
jtc
21f074709e
Change <stdlib> to <stdlib.h> in SYNOPSIS.
1993-10-04 18:05:47 +00:00
jtc
ae00f50a7c
Remove BUGS section, as atof() is now implemented in terms of strtod().
1993-10-04 17:57:42 +00:00