Commit Graph

9194 Commits

Author SHA1 Message Date
wiz
f343a3e8ab Use pid_t for pids. From Jeff Ito in PR 24854. 2004-03-29 11:52:39 +00:00
wiz
c74c0a1a12 Add a newline, remove a comma, and reword STANDARDS section
slightly.
2004-03-28 12:23:21 +00:00
jdc
3a817d94fd Increment libcurses minor to 1 (addition of *echochar()). 2004-03-28 08:59:15 +00:00
jdc
a6a9a97d12 Changes to support *echochar().
Should fix PR lib/24927.
2004-03-28 08:58:37 +00:00
jdc
5eb61d5ca7 Implement *echochar().
Should fix PR lib/24927.
2004-03-28 08:58:13 +00:00
uwe
e8f97ddda1 Mark gcc "millicode" functions .hidden if compiled for PIC. NB: these
files are *NOT* used, as we now provide gcc's version of millicode in
libgcc_pic.
2004-03-27 03:48:23 +00:00
he
9e1e88e1c4 Introduce sysc_init_field() and use it to make the code a little less ugly.
Also, fix another gcc2-unfriendly initialization.
2004-03-26 22:54:42 +00:00
enami
d43ce6c183 Redo previous in a different way; cast the character held in int variable
as unsigned char just before passing isalnum() in ISWORD() rather than
fetching it as unsigned char.  It is ok since EOF is never passed to ISWORD()
(though it will be a bit inefficient.)

Addresses PR#24929.
2004-03-26 22:42:17 +00:00
wiz
359ed99579 Add comma in enumerations, grammar fix, and replace &
with \*[Am] for html output.
2004-03-26 22:18:15 +00:00
drochner
0341f6a45e the WARN_REFERENCES text "include <signal.h> for correct reference" is pointless
as <signal.h> won't help you, so remove it
2004-03-26 22:15:03 +00:00
drochner
66a132ee6f sigreturn() isn't officially supported anymore; remove its manpage
(which was outdated anyway)
2004-03-26 21:49:35 +00:00
drochner
87d87e87fe no need to define __HAVE_SIGINFO anymore 2004-03-26 21:29:07 +00:00
drochner
598cd4e454 fix siginfo adaption -- the "compat_16" prefix
shouldn't be exposed as a symbol
2004-03-26 21:24:14 +00:00
drochner
85fa9b7250 fix references to the syscall formerly known as SYS___sigreturn14 2004-03-26 20:35:37 +00:00
drochner
67f778a2c4 fix references to the syscall formerly known as SYS___sigreturn14 2004-03-26 19:36:40 +00:00
drochner
954d4024f6 sigreturn14 is just for compatibility, not referenced by any new code 2004-03-26 19:31:05 +00:00
drochner
606b8ac15b disembowel -- there is no kernel support anyway 2004-03-26 19:26:23 +00:00
he
2f47eb75f7 Modify this so that it actually compiles with gcc2. 2004-03-26 12:53:58 +00:00
wiz
073b7ea121 Bump date for previous; new sentence, new line;
remove duplicate word and fix a punctuation typo.
2004-03-25 20:02:04 +00:00
atatat
29e15c7932 Move sysctlbyname(), sysctlnametomib(), and sysctlgetmibinfo() from
sysctl(8) into libc, making the minor number jump.  Add prototypes to
sys/sysctl.h, fix sets, modify man pages, etc.  That oughta cover it.
2004-03-25 19:36:26 +00:00
atatat
44afe14cb6 Unwind the nested designators for fields within structs within structs
(or unions).  This should really be put back once we're all using gcc3
for everything, since that makes it look a *lot* cleaner.
2004-03-25 18:36:49 +00:00
drochner
65626c5d91 kill sigcontext passing to signal handlers, we don't have to worry
about compatibility
2004-03-25 14:21:29 +00:00
jdc
8dded85639 Change TSTP handler back to using signal().
This fixes a problem where vi would not suspend.
Also, make sure that the signal handlers aren't set or removed multiple times.
Finally, add debug output when the signal handlers are set and removed.
2004-03-25 07:35:40 +00:00
wiz
5f31e2f50a Use Aq instead of \*[Lt]\*[Gt]; \- for a minus; remove
superfluous comma.
2004-03-25 01:13:32 +00:00
lha
8b387b156a Fix a problem where pthread_kill can set a signal while the process
have the signal blocked, this ends up making target thread getting
later stuck in a loop if it uses pthread_sigmask.

ok, cl and christos
2004-03-24 20:01:37 +00:00
atatat
ce0d7254d4 Description framework for user-level sysctl nodes. Still haven't
written the descriptions.
2004-03-24 19:31:46 +00:00
snj
27d4257287 Bump date for last; avoid direct use of &, < and >; drop trailing space. 2004-03-24 19:10:46 +00:00
atatat
4723bb21ba Bring sysctl man pages up to date (wrt new query interface, the
versioning, and descriptions).
2004-03-24 18:22:30 +00:00
atatat
c6abd47f96 New node version and layout. This should take care of the netbsd32
emulation problem, formalizes the versioning (should it ever be needed
again), and provides a slot for descriptions.
2004-03-24 17:21:02 +00:00
atatat
d42aae36c0 The new sysctl query interface returns the same information as the old
one, but you must pass in an empty node that indicates the version
you're using.
2004-03-24 16:34:34 +00:00
atatat
9b4aa5d493 Remove my private hack for watching how sysctl works. That's not
supposed to be there.
2004-03-24 16:29:10 +00:00
wiz
f3fef0b660 Increase width in tables so this displays more nicely. 2004-03-24 16:14:36 +00:00
atatat
19af35fd0d Tango on sysctl_createv() and flags. The flags have all been renamed,
and sysctl_createv() now uses more arguments.
2004-03-24 15:34:46 +00:00
jdc
dd5d3aabfc Add (missing) mvgetch() and mvwgetch() manual pages. 2004-03-23 21:56:53 +00:00
jdc
34e5b04618 Clarify the getch() family return values.
Add (missing) mvgetch() and mvwgetch().
2004-03-23 21:53:34 +00:00
jdc
3d248dff59 Change the values of ERR and OK.
This makes our getch() and related functions conform to SUSv2.
Also fixes PR lib/15920.

XXX: This causes an API incompatability, but comes less than 27 hours after
     the libcurses major number was incremented, so should have minimal impact.
2004-03-23 21:35:29 +00:00
jdc
92cd5d7a66 We should check against NULL here.
From Brett Lymn.
2004-03-23 21:17:20 +00:00
pk
8a0244288a Call PIC_PROLOGUE only once. 2004-03-23 19:07:40 +00:00
pk
dc7908cc61 Store the correct boolean value in sc_onstack. 2004-03-23 18:54:03 +00:00
pk
5e5e68672c The sc_g1, sc_o0 members in the jmp_buf aren't used. 2004-03-23 18:47:55 +00:00
pk
de8223fe4d Since libpthread may want to interpose signal handling, we can't directly
invoke the sigprocmask syscall trap. So build a stack frame and call
the signal handling functions by name.
2004-03-23 18:46:47 +00:00
drochner
a8c94ef1d3 simplify: it doesn't need an i387 to kill a sign bit 2004-03-23 17:11:35 +00:00
drochner
3219cdc550 replace the last occurence of an "int 0x80" syscall 2004-03-23 16:33:47 +00:00
drochner
cd85223ee2 save errno while trying to install a !SA_SIGINFO trampoline -- this
is expected to fail with !COMPAT_16 kernels, and we shouldn't
overwrite errno in this case
2004-03-23 16:19:40 +00:00
pk
d82ce85d20 Fix comment: g6 => o1 2004-03-23 16:13:27 +00:00
simonb
2b5fd0669b Actually compile __longjmp14.c. 2004-03-23 12:31:52 +00:00
simonb
02082ea642 Restore the PC as well; also use mcontext register defines for accessing
the mcontext.
2004-03-23 12:31:17 +00:00
pooka
ae16b8b42b update for 4.08 2004-03-23 08:40:36 +00:00
simonb
769814bf89 Use setcontext() instead of sigreturn() to implement longjmp(). 2004-03-23 02:21:49 +00:00
simonb
339695cff5 Put the jmpbuf's FPCR in the ucontext, not the other way around. 2004-03-23 01:42:53 +00:00