das
370370ec79
Add C99's nearbyint{,f}() functions as wrappers around rint().
...
These trivial implementations are about 25 times slower than
rint{,f}() on x86 due to the FP environment save/restore.
They should eventually be redone in terms of fegetround() and
bit fiddling.
2004-07-06 04:46:08 +00:00
das
5f3462eb0c
Add implementations of ftw(3) and nftw(3) and the corresponding header
...
ftw.h. This is the implementation written by Joel Baker
<fenton@debian.org> for inclusion in NetBSD, but with several
bugfixes.
Obtained from: Debian
2004-07-05 23:13:16 +00:00
das
629365ba47
Documentation for ftw(3) and nftw(3).
...
Obtained from: OpenBSD
2004-07-05 23:12:11 +00:00
kientzle
3267d49aab
Minor wordsmithing; remove a controversial colon.
2004-07-05 19:44:35 +00:00
kientzle
7acdd18fdc
Add convenience functions to retrieve the atime fields directly,
...
without having to first pull the stat structure.
2004-07-05 18:11:44 +00:00
kientzle
1cf580eda7
ru@'s ambitious sweep through the manpages is mostly a good thing,
...
but some colons are supposed to be followed by uppercase letters.
2004-07-05 18:08:32 +00:00
ru
98c72372f1
Make whatis(1) happy about the NAME section.
...
Slightly fix markup and grammar.
2004-07-05 17:38:08 +00:00
ru
d384729d50
Fix the NAME section making whatis(1) happy in particular.
2004-07-05 17:12:53 +00:00
ru
f03dd6e62b
Unbreak a whatis(1) entry by fixing the NAME section.
...
Minor markup and grammar nits.
2004-07-05 16:32:30 +00:00
des
75b8ca2286
Make libalias WARNS?=6-clean. This mostly involves renaming variables
...
named link, foo_link or link_foo to lnk, foo_lnk or lnk_foo, fixing
signed / unsigned comparisons, and shoving unused function arguments
under the carpet.
I was hoping WARNS?=6 might reveal more serious problems, and perhaps
the source of the -O2 breakage, but found no smoking gun.
2004-07-05 11:10:57 +00:00
des
831b8f89db
Parenthesize return values.
2004-07-05 10:55:23 +00:00
des
0518dc3818
Mechanical whitespace cleanup.
2004-07-05 10:53:28 +00:00
ru
408d450c6b
Markup fixes.
2004-07-05 07:21:55 +00:00
ru
25cdbb430a
Markup fixes.
2004-07-05 06:59:17 +00:00
ru
fb1f106142
Markup fixes.
2004-07-05 06:53:34 +00:00
ru
b5e1c67f19
Markup nits.
2004-07-05 06:39:03 +00:00
ru
3832f1d915
Fixed cross-references in SEE ALSO.
...
Emininated double space and hard sentence breaks.
2004-07-04 21:15:37 +00:00
ru
6651f20e0d
Sort SEE ALSO references (in dictionary order, ignoring case).
2004-07-04 20:55:50 +00:00
cperciva
965edb055f
Add commentary explaining why we return EBADF upon attempts to fflush() a
...
read-only file.
Discussed on: -current
2004-07-04 20:17:00 +00:00
marcel
4def32ce29
Record the offset of thr_id in the thread structure. Required for
...
debugging.
2004-07-04 19:07:07 +00:00
kientzle
423979003a
Yet another pointy hat: When restoring file flags, it's okay to use the
...
shared stat buffer, but don't try to access it through an uninitialized
pointer.
2004-07-04 18:28:56 +00:00
stefanf
9dea8aeba1
Consistently use __inline instead of __inline__ as the former is an empty macro
...
in <sys/cdefs.h> for compilers without support for inline.
2004-07-04 16:11:03 +00:00
phk
112a83894d
Add LibAliasOutTry() which checks a packet for a hit in the tables, but
...
does not create a new entry if none is found.
2004-07-04 12:53:07 +00:00
jmallett
7c4554894b
Yes, NgRecvAsciiMsg has the same results as NgRecvAsciiMsg, but it's
...
much more apt to note that it has the same result as NgRecvMsg. Make
the manual page less circular in its reference to this fact.
2004-07-04 04:03:37 +00:00
ru
e9b8d742f7
Fixed markup.
2004-07-03 23:14:34 +00:00
ru
57ce50860e
Eliminate double whitespace.
2004-07-03 22:30:10 +00:00
ru
01548ace15
Mechanically kill hard sentence breaks.
2004-07-02 23:52:20 +00:00
davidxu
4208ebcb28
Follow previous change in makecontext. Use %esi to store next ucp
...
pointer, here we keep orignal %ebp, so we can see where signal handler
comes in and interrupt normal code.
2004-07-02 23:20:05 +00:00
ru
5d2b66a3c7
Deal with unsafe tab characters.
2004-07-02 19:55:26 +00:00
ru
4b39413aeb
Removed trailing whitespace.
2004-07-02 19:07:33 +00:00
ru
4498f82b4e
Fixed spelling of the document date.
2004-07-02 18:00:03 +00:00
ru
9d678b540a
Markup tidying.
2004-07-02 16:45:56 +00:00
davidxu
e4bfd01864
Use %esi to store next ucp pointer. Mark end of stack by
...
setting %ebp to zero, this avoids new gdb to dump a weird
backtrace.
2004-07-02 14:19:44 +00:00
marcel
622fe058c9
Change the thread ID (thr_id_t) used for 1:1 threading from being a
...
pointer to the corresponding struct thread to the thread ID (lwpid_t)
assigned to that thread. The primary reason for this change is that
libthr now internally uses the same ID as the debugger and the kernel
when referencing to a kernel thread. This allows us to implement the
support for debugging without additional translations and/or mappings.
To preserve the ABI, the 1:1 threading syscalls, including the umtx
locking API have not been changed to work on a lwpid_t. Instead the
1:1 threading syscalls operate on long and the umtx locking API has
not been changed except for the contested bit. Previously this was
the least significant bit. Now it's the most significant bit. Since
the contested bit should not be tested by userland, this change is
not expected to be visible. Just to be sure, UMTX_CONTESTED has been
removed from <sys/umtx.h>.
Reviewed by: mtm@
ABI preservation tested on: i386, ia64
2004-07-02 00:40:07 +00:00
ru
615a6a246a
Markup, grammar, punctuation.
2004-07-01 18:20:57 +00:00
ru
a0dce18ba8
Bumped document date.
...
Fixed markup.
Fixed examples to match the new API.
2004-07-01 17:51:48 +00:00
ru
50143bfdc4
Back out last delta, it just unpolitely reverted some local changes.
2004-07-01 17:13:15 +00:00
tjr
4a38f97b48
Update libstand makefile for zlib 1.2.1.
2004-07-01 00:01:26 +00:00
tjr
4e2786d7b0
Update makefile for zlib 1.2.1.
2004-06-30 23:58:22 +00:00
tjr
2368747166
Resolve conflicts.
2004-06-30 23:54:46 +00:00
tjr
6ea5314b57
This commit was generated by cvs2svn to compensate for changes in r131377,
...
which included commits to RCS files with non-trunk default branches.
2004-06-30 23:43:39 +00:00
tjr
439ed8d847
Import zlib 1.2.1 (trimmed)
2004-06-30 23:43:39 +00:00
ru
95168a499a
Markup, grammar, and spelling fixes.
2004-06-30 20:09:10 +00:00
ru
6ad65dd7e0
Fixed a typo.
2004-06-30 19:32:41 +00:00
mtm
5c40257f64
When a thread is created suspended have libthr suspend it explicitly
...
instead of asking the kernel to do it when we create the thread.
2004-06-30 15:57:36 +00:00
tjr
681eb06327
Fix typo: WRDE_DOOFS -> WRDE_DOOFFS.
...
Noticed by: Stoned Elipot
2004-06-30 13:55:08 +00:00
das
86ae148680
Implement and document fdim{,f,l}, fmax{,f,l}, and fmin{,f,l}.
2004-06-30 07:04:01 +00:00
kientzle
50e158218d
In case symlinks happen to already be sitting around, be sure to use
...
chmod() and not lchmod() whenever we know we didn't extract a symlink.
2004-06-30 04:54:07 +00:00
kientzle
6c019c0451
Some implicit dirs were not having the umask correctly
...
applied to their permissions. Just calculate the
default dir mode once and use it consistently, rather than
trying to remember to calculate it everywhere it's needed.
2004-06-28 14:12:09 +00:00
davidxu
dc5204048a
Remove libpthread_dbg, soon it will be replaced by libthread_db which
...
is a defacto standard on other UNIX systems.
2004-06-28 12:13:36 +00:00