proff
fb95c8ad2b
Document return values and bugs
1999-09-03 13:12:44 +00:00
mycroft
b3b07a4c6e
Another microoptimization. Take advantage of the addition already having set
...
the flags for the <=0 comparison.
1999-08-30 18:28:24 +00:00
mycroft
0560606383
Reuse the trick of loading 0.0 (rather than 1.0) and then modifying the
...
exponent. It's a bit faster on some machines.
1999-08-30 18:01:40 +00:00
mycroft
5579a03f91
Nuke unused variable.
1999-08-30 16:48:07 +00:00
augustss
75d2dfe657
Remove more unused mulexp variables.
1999-08-30 15:11:32 +00:00
augustss
6a4d7f0bc4
Make it compile again by removing an unused variable.
1999-08-30 12:14:09 +00:00
mycroft
9cba4741ee
Use C versions of isinf() and isnan(). The assembler code is basically
...
identical, but was endian-dependent.
1999-08-29 23:01:40 +00:00
mycroft
6b221be206
ldexp(denormal, exp>1023) would generate the wrong result in all non-overflow
...
cases. Totally rework this code to fix this bug *and* make it faster.
1999-08-29 22:50:25 +00:00
mycroft
5f34ffabca
ldexp(denormal, exp>1023) would generate the wrong result in all non-overflow
...
cases. Totally rework this code to fix this bug *and* make it faster.
1999-08-29 22:45:32 +00:00
mycroft
c3140da584
Oops; committed wrong version here.
1999-08-29 19:42:54 +00:00
mycroft
f784c98496
Reimplement the FSCALE version as C-with-assembler. (Make the compiler deal
...
with ABI crap.)
1999-08-29 19:41:53 +00:00
mycroft
0ae41d0984
Use the C version of ldexp(). The assembler version was broken in several
...
ways (ldexp(0.0, 5000) returned +Inf, didn't do normalization/denormalization,
etc.).
1999-08-29 19:08:44 +00:00
mycroft
02a48bde49
Don't ever return -0.0.
1999-08-29 19:04:02 +00:00
mycroft
07ccaa3409
HUGE_VAL -> infinity
1999-08-29 18:55:29 +00:00
mycroft
3b800f4a61
Mention more of the special cases.
1999-08-29 18:52:18 +00:00
mycroft
0d708431b7
Minor style change.
1999-08-29 18:40:50 +00:00
mycroft
ea4b733810
Trivial KNF.
1999-08-29 18:39:35 +00:00
mycroft
6850b97bb3
Sync with SPARC version.
1999-08-29 18:35:51 +00:00
mycroft
ed01c49a3f
Use the C version. The assembler version was just transliterated (and buggy)
...
anyway.
1999-08-29 18:32:36 +00:00
mycroft
099dd01a1d
Make the C version of frexp() consitent across platforms, and handle the
...
Inf/NaN case.
1999-08-29 18:30:14 +00:00
mycroft
291053e1e2
Use ieee.h.
1999-08-29 18:23:26 +00:00
mycroft
c8190acc41
Separate isnan() into a separate module, and make isinf()/isnan() use ieee.h.
1999-08-29 18:11:28 +00:00
mycroft
17030e8106
Separate isnan() into a separate module, and make isinf()/isnan() use ieee.h.
1999-08-29 18:08:27 +00:00
mycroft
9a255f2ff2
Readd my change from fts.c rev 1.10, which was incorrectly removed in rev 1.19
...
(HI CHRISTOS!):
Avoid extra stat()s if a link count of 1 is returned for directories but the
d_type field is filled in.
1999-08-27 21:10:46 +00:00
mycroft
4c9100d48f
Adjust fts_pow2() for LP64 before Ross bricks me.
1999-08-27 20:02:14 +00:00
mycroft
ea03e67f3c
GC one line of unneeded code.
1999-08-27 18:33:29 +00:00
mycroft
6b91e1fa70
Fix the comment above fts_palloc().
...
Also, fail with ENOMEM if fts_pathlen would overflow, rather than silently truncating the
path.
1999-08-27 18:29:08 +00:00
mycroft
8db2a166f9
Avoid memory leaks when realloc() fails (by storing the return value in a temporary, and
...
testing it before assigning it; fts_close(3) will deallocate the old memory).
1999-08-27 18:26:34 +00:00
mycroft
b09ec9deb8
Fix multiple problems in the FTS_NOCHDIR case:
...
* There was an off-by-one error that caused the addition of a NUL or slash in fts_build() to
overwrite other memory.
* After fts_palloc(), we need to reset `cp' so that it points to the new path name buffer;
otherwise the addition of the file name before calling fts_stat() could lose.
Also, fix stupidity in the fts_palloc() interface. We don't want N bytes more than the
current buffer size; we want N bytes more than the current length. Just pass in the new
size, since we can't figure it out easily here.
1999-08-27 18:01:35 +00:00
mycroft
ba3f600103
Allocate the path name buffer by powers of 2.
1999-08-27 06:17:33 +00:00
mycroft
8f599f97a7
Minor change to previous.
1999-08-26 20:28:53 +00:00
mycroft
8873459bcb
Fix 3 bugs:
...
* When not using FTS_NOCHDIR, fts_accpath == fts_name. fts_padjust should not
try to move fts_accpath in this case.
* Previous entries at the same level also need to be adjusted.
* A bug was introduced in rev 1.8 (HI CHRISTOS!!) that caused the maxlen
comparison to always fail (due to type promotions) when sp->fts_pathlen ==
cur->fts_pathlen -- thus causing memory stompage.
1999-08-26 20:24:59 +00:00
thorpej
df6731425c
Update for XSH5.
1999-08-25 21:12:54 +00:00
thorpej
72b1756c5a
Update for XSH5.
1999-08-25 20:55:35 +00:00
thorpej
e9fc9322cc
Update for XSH5.
1999-08-25 20:30:05 +00:00
thorpej
30dca7f7db
Add __msgctl13(), __semctl13(), and __shmctl13() (symbols are __RENAME()'d
...
in their respective header files). Add PSEUDO stubs for the old versions
of these system calls.
Note that __semctl13() doesn't require the extra stub that the old
semctl()/__semctl() did, as the SUSv2 version takes variable arguments,
and thus does not require the extra indirection.
1999-08-25 05:09:27 +00:00
mrg
62db67a0e1
add a note that these requests were ignored in pre-1.5
1999-08-24 08:58:54 +00:00
tron
04cfded216
Revert last change after Ross Harvey fixed "mandoc".
1999-08-23 21:22:27 +00:00
tron
d483ef81c6
Use correct "mandoc" macro for concatenating "or" and "ing".
...
Fixes PR misc/8236 by "Wiz".
1999-08-23 21:12:55 +00:00
kleink
74511f97b1
Use _ALIGN_TEXT from <machine/asm.h>.
1999-08-23 08:45:09 +00:00
kleink
5f3726439e
Need "namespace.h".
1999-08-22 12:54:02 +00:00
kleink
ddb97cdc5a
No need for "namespace.h".
1999-08-22 12:52:28 +00:00
ross
2dfc8c4533
Note that nice +19 and nice +20 guarantee exclusion w.r.t. priority <= 0.
1999-08-20 19:58:20 +00:00
sommerfeld
a1caf9578c
Fix PR8208, this time to the correct location..
1999-08-18 19:46:00 +00:00
itojun
46c3891136
bring in IPv6 numeric address parsing fix from bind821.
...
XXX bind821 should be imported here
1999-08-17 17:50:27 +00:00
mycroft
ceae8b05d6
getsubopt(3) has a weak alias.
1999-08-17 05:20:23 +00:00
mycroft
9f5f4ac699
Make some needed weak aliases.
1999-08-17 03:58:39 +00:00
mycroft
6ea04fe2cd
This file was incorrect. The indirect name is res_close(),
...
not _res_close()!
1999-08-17 03:57:15 +00:00
mycroft
af3e075076
Make some needed weak aliases.
1999-08-17 03:43:59 +00:00
enami
d8ad2663a8
In name section, use .Dq macro rather than writing double quote directly.
1999-08-17 03:36:35 +00:00