Commit Graph

5031 Commits

Author SHA1 Message Date
christos
90135cf7e8 add support for p1003.1b semaphores. From FreeBSD 2003-01-20 20:10:19 +00:00
scw
11e9fa3a9b Initialise the FPSCR to a sane value. 2003-01-20 20:09:59 +00:00
christos
111839200d Add _ksem stubs. 2003-01-20 20:09:27 +00:00
dsl
c673281c37 Fix lib/17248 properly
'ls -l-' now reports unknown option -- -
'env -' and 'su -' both work ok
(change approved by christos)
2003-01-20 09:06:35 +00:00
simonb
d7b879c6ec Grrr. So much for my ability to use grep(1) effectively. Pointed out
by Stephen Degler in private mail.
2003-01-20 07:12:12 +00:00
simonb
276fd1665c The Double-Semi-Colon Police. 2003-01-20 05:29:53 +00:00
thorpej
d504e2bb9c Simple TSD implementation, since some thread-safe libraries want
to use it.
2003-01-20 01:58:54 +00:00
thorpej
71b91cf442 Make thr_self() not return NULL. 2003-01-20 01:30:15 +00:00
thorpej
c7e237f26a Merge the nathanw_sa branch. 2003-01-20 00:26:39 +00:00
matt
21375ddf92 Make sure r0 in the saved context is 0. 2003-01-20 00:24:07 +00:00
matt
94face2f9c Use _ALIGN_TEXT.
Make sure R0 is 0 in the saved context.
2003-01-20 00:18:06 +00:00
kleink
13a5336c66 Move getcontext.S from gen to sys, where it belongs. 2003-01-19 23:49:12 +00:00
scw
bcbbc4f87e SH5 libc ucontext/lwp support.
Untested for now, until I get the libpthread stuff done and
an SA userland built.
2003-01-19 23:05:01 +00:00
thorpej
7dc01dbfab Add some threadlib stubs that are used by X:
* thr_create() (stub in libc aborts)
* thr_exit() (stub in libc calls exit())
* thr_yield() (stub in libc does nothing)

Also make the libc thr_self() stub not abort.

XXX Should we add thrattr_*() stubs for setting the detach-state?
2003-01-19 21:58:21 +00:00
thorpej
592409d356 Add mutexattr_init(), mutexattr_destroy(), and mutexattr_settype() (recursive
mutexes are used by the X libraries).
2003-01-19 20:46:11 +00:00
jdolecek
3d8d8663b9 g/c the NEXTRELEASE comment tag now that the next version number is decided 2003-01-19 20:12:31 +00:00
thorpej
036383cc03 Make the libc thr_once() stub functional. 2003-01-19 19:48:45 +00:00
matt
95b5cce5c6 Add getcontext(2) stub. 2003-01-19 19:32:39 +00:00
wiz
29192bf866 Fix typo. 2003-01-19 19:31:10 +00:00
thorpej
96bb0ae126 Use <threadlib.h>. 2003-01-19 19:25:05 +00:00
wiz
65d34efcf9 Drop trailing comma in SEE ALSO. 2003-01-19 19:15:36 +00:00
wiz
0163abbccb Bx Open -> Ox. 2003-01-19 19:14:22 +00:00
matt
8c295614ea Add the VAX versions of these. 2003-01-19 19:07:30 +00:00
dsl
fa36c8783f Ignore groups beyond _SC_NGROUPS_MAX (as man page)
Ensure kernel doesn't pick up random numbers (would happen if _SC_NGROUPS_MAX
> NGROUPS)
(change agreed by christos)
2003-01-19 18:26:16 +00:00
matt
bdde89628b Cast with uintptr_t instead of u_long. 2003-01-19 08:53:36 +00:00
thorpej
c7cb871964 These files are obsolete; setlogin() is now implemented in C with a
small syscall stub.
2003-01-18 18:28:44 +00:00
christos
af26d1a576 s/_REENT/_REENTRANT/ 2003-01-18 17:20:04 +00:00
christos
7c8015e7ec s/_REENT/_REENTRANT/ 2003-01-18 17:10:56 +00:00
thorpej
3fdac2b8c5 Merge the nathanw_sa branch. 2003-01-18 10:52:16 +00:00
kleink
f18fe39c3f Pasto; from Thomas Klausner. 2003-01-16 00:46:58 +00:00
wiz
ec87827023 typo fixes. 2003-01-16 00:33:12 +00:00
kleink
140dae96a7 Rename auto variable shading global sigset(). 2003-01-15 23:58:03 +00:00
kleink
42b44c12f9 Bump to 12.92: sighold, sigignore, sigrelse, sigset. 2003-01-15 23:56:35 +00:00
kleink
30a90a73b4 Add sighold(3), sigignore(3), sigrelse(3) and sigset(3) to libc.
Fixes PR lib/19212, now redesignated standards/19212, from David Laight.
2003-01-15 23:55:41 +00:00
tsarna
350f955e57 There is no adjust(), so adjust adjtime(2) to adjust for adjust really
being adjtime.
2003-01-14 21:01:03 +00:00
wiz
078d3d03c9 Remove superfluous word. 2003-01-07 17:12:54 +00:00
wiz
1035faff1d writable, not writeable. 2003-01-06 20:30:28 +00:00
wiz
4824190751 transmission, not transmition. 2003-01-06 13:17:01 +00:00
wiz
6d8cbf7e43 descriptor with a c. 2003-01-06 12:14:26 +00:00
kristerw
a505fc7826 Fix two bugs:
1. snprintf(foo, 0. "XXX") is guaranteed not to write in foo by the
   standard (ISO/IEC 9899 7.19.6.5) but our implementation handles this
   as if the buffer has a size of (size_t)-1.

2. snprintf(NULL, 0, "XXX") leaks memory since cantwrite() allocates
   memory if _bf._base == NULL, and this buffer is never freed
   (PR 16483).
2003-01-05 11:05:47 +00:00
wiz
1388941754 free's -> frees, from PR 19652. 2003-01-04 00:40:20 +00:00
mjl
71b7c0b242 Fix typos (from PR 19650) 2003-01-03 21:41:28 +00:00
wiz
e3594b05a2 Drop trailing spaces; sort SEE ALSO. 2003-01-02 09:39:34 +00:00
wiz
e2c6da385c Drop trailing spaces. 2003-01-02 09:38:34 +00:00
jschauma
432d470724 Fix typos pointed out by Igor Sobrado in PR misc/19621. 2003-01-02 00:22:29 +00:00
jschauma
708eed1953 Fix typos pointed out by Igor Sobrado in PR misc/19632
rpc(3)             - addres (address)
rpc_reg(3)         - truct (struct, in struct rpc_msg)
rpcb_getaddr(3)    - Copyright: Sun Microsystems (not Microsystem's)
			All Rights Reserved (not Right's)
2003-01-01 22:24:29 +00:00
yamt
a7e4d902d4 - handle s==NULL case of wcrtomb.
- add a comment about it.

fix rest of PR 18269 by wurlitzer.
2003-01-01 15:57:12 +00:00
yamt
6a7521b053 - add missing _CEI_TO_EI/_TO_CEI.
- don't use 'cl' before assert it's non NULL.
2003-01-01 15:25:54 +00:00
yamt
13820b1f52 - add missing _CEI_TO_EI/_TO_CEI.
- add missing _STATE_NEEDS_EXPLICIT_INIT checks.
- more comment.
2003-01-01 15:04:01 +00:00
yamt
26baecb89a in _RESTART_BEGIN macro, don't use external variable directly. 2003-01-01 14:45:13 +00:00