Commit Graph

1054 Commits

Author SHA1 Message Date
cgd
99a919e044 fix typo(?): rpc__errlist usage shouldn't have had two underscores.
Also, cast return types to (char *) to quiet compiler's complaints about
loss of 'const'-ness.
1995-04-24 16:34:39 +00:00
pk
a3fa60161e Preserve the equality "x == y*(x/y)+(x%y)" for negative y; from Lon Willett. 1995-04-22 09:33:49 +00:00
jtc
61207f1472 Changed auth_errmsg() and clnt_sperrno() to access error messages
directly instead of by linear search.
1995-04-21 21:59:52 +00:00
jtc
9f3b5edc71 Don't pass a third argument (LASTUNSIGNED) to xdrproc_t functions ---
they only take two arguments.  Presumably this was done to prevent
problems when users passed xdr_string instead of xdr_wrapstring.
Function prototypes are a better way to fix this "problem".
1995-04-21 21:49:29 +00:00
jtc
5c433aa57e char * -> const char * 1995-04-19 23:31:15 +00:00
ragge
db0c9cd300 Removed VAX specific definitions. 1995-04-17 12:28:29 +00:00
ragge
ce0bb6e8d2 Added libc VAX specific files. 1995-04-17 12:23:33 +00:00
jtc
29f53fb76f Removed comment that explained that this code is not portable. A better
comment is already present near the top of the file.
1995-04-14 20:34:41 +00:00
jtc
adc4ab0186 Don't pass a third argument (LASTUNSIGNED) to xdrproc_t functions ---
they only take two arguments.  Presumably this was done to prevent
problems when users passed xdr_string instead of xdr_wrapstring.
Function prototypes are a better way to fix this "problem".
1995-04-14 20:30:16 +00:00
jtc
3c565bbea8 Changed bzero to memset.
Changed bcmp to memcmp.
Added #include <string.h> to bring prototypes into scope.
1995-04-14 19:48:20 +00:00
jtc
4af41fe4b3 bcopy -> memcpy 1995-04-14 19:25:13 +00:00
jtc
d4afa3b7f5 Use ${DESTDIR} when installing libc.tags 1995-04-12 00:56:12 +00:00
jtc
53bd3d0603 Added __flt_rounds, fp{get,set}{mask,round,sticky}. 1995-04-11 18:13:49 +00:00
jtc
01194e13e9 Bump minor version for __flt_rounds() and fp{get,set}{round,mask,sticky}.
These functions are only available for the i386, m68k, and the sparc but
we can't wait for the other architectures (because FLT_ROUNDS, which
expands to __flt_rounds(), is likely being used in someones code).
1995-04-11 14:28:16 +00:00
cgd
76a6b7c3b3 fix operator precedence error (pr 951 from Ted Lemon) 1995-04-11 02:57:52 +00:00
jtc
a0c1305064 Added __flt_rounds, fp{get,set}{mask,round,sticky}. 1995-04-10 21:09:06 +00:00
mycroft
ae34e2ea6e Put jtc's notice back, since these are now roughly identical. 1995-04-09 23:32:53 +00:00
mycroft
ac11de32c1 Actually, bitfields are faster on the '040; optimize for it, but adjust the
fields so that the mask and sticky bits are the same.
1995-04-09 23:28:38 +00:00
mycroft
99a6cfe734 Rewrite these to use the accrued exception byte for sticky flags, and to
avoid expensive bitfield instructions.
1995-04-09 22:49:26 +00:00
mycroft
10cfe03e6d Stylistic change to match fpsetsticky(). 1995-04-09 21:55:50 +00:00
mycroft
65a1322cd9 Reverse sense of exception bits. 1995-04-09 21:55:20 +00:00
mycroft
42d9c8af6c Oops; need to use fnstenv/fldenv for this. 1995-04-09 21:00:57 +00:00
mycroft
a94ab51d20 Fix typo. 1995-04-09 20:44:02 +00:00
mycroft
10b402aa60 Add fpset{mask,round,sticky}(). 1995-04-09 20:33:13 +00:00
mycroft
ddbc579aa7 Another optimization. 1995-04-09 19:31:33 +00:00
mycroft
14e246dc4a Optimize. 1995-04-09 19:18:49 +00:00
jtc
907e54c9e9 ENTRY(fpgetmask) -> ENTRY(fpgetsticky) 1995-04-09 19:14:28 +00:00
jtc
1b41528de0 removed commented-out #include <machine/asm.h> 1995-04-09 19:13:26 +00:00
jtc
80bba6a1e1 Added flt_rounds, fpget{round,mask,sticky}. 1995-04-07 14:57:16 +00:00
jtc
30c05ea2b8 Added __flt_rounds(), fp{get,set}{round,mask,sticky}(). 1995-04-07 00:41:43 +00:00
jtc
2ef4abe78f change second arg of fgets() from size_t to int 1995-03-25 02:50:04 +00:00
jtc
f86410093b Changed name of __weak_reference() to __indr_reference(). They really
are indirect references, and I want to add a real __weak_reference()
macro to <machine/cdefs.h> soon.
1995-03-23 19:58:48 +00:00
jtc
7870f9f542 removed unnecessary #include <stddef.h> 1995-03-23 19:51:13 +00:00
jtc
92702b3bed removed unnecessary #include <stddef.h> 1995-03-23 19:42:42 +00:00
jtc
4255068068 Removed const qualifier from ftell's FILE * argument. It's not ANSI,
and the recent change to flush output causes it to be changed.
1995-03-22 18:17:24 +00:00
jtc
39469721f8 update minor number for new quad_t versions of abs and div 1995-03-22 00:58:07 +00:00
jtc
3b29974599 Added "long long" support %ll{d,x,o,i}. 1995-03-22 00:56:55 +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
d1a49b5d27 #include <machine/endian.h>. 1995-03-21 20:54:05 +00:00
mycroft
62648a14f0 Clone from sleep(), with the logic for returning a value removed. 1995-03-21 13:50:32 +00:00
mycroft
d53dfd3d3c Minor changes. 1995-03-21 13:44:40 +00:00
mycroft
f75ba16b09 Update to use timer{add,sub}(). 1995-03-21 13:33:34 +00:00
mycroft
79b7b78087 Clarify a comment slightly. 1995-03-20 14:47:39 +00:00
mycroft
ce36f636ab Separate machine dependencies. 1995-03-20 14:45:27 +00:00
mycroft
3b5d18b58e SYS_brk -> SYS_break, and other (minor) changes. 1995-03-20 14:02:03 +00:00
jtc
3924aee202 Added comment explaining why we are using a different algorithm than
what was adopted in tzcode95c to solve the problem of the first char
detzcode() extracts requiring sign extention (this is needed for
machines with 64 bit longs).

Our implementation is a bit more efficent, but requires a new macro,
SIGN_EXTEND_CHAR(), and a conditional to set it appropriately).

One minor enhancement for machines without ANSI compilers that have 32
bit longs would be to define SIGN_EXTEND_CHAR() to be the identity
macro.
1995-03-16 19:14:16 +00:00