Commit Graph

9189 Commits

Author SHA1 Message Date
jdc
ad95b1541c Increment major number (to 4) because of the libcurses major number change
and because of the change to match_enum().
2004-03-22 19:00:09 +00:00
jdc
582694413f Correct the fourth parameter to match_enum() to "exact" instead of "no blanks".
From Brett Lymn.
Part of the fix for PR bin/24604.
2004-03-22 18:59:48 +00:00
jdc
abf59ded7e Increment major number (to 6) because of the change to KEY_MAX, 2004-03-22 18:57:58 +00:00
jdc
140349e83f Because we are changing the libcurses major number, remove can_change_colors()
and change the attribute definitions so that we can support more colour pairs.
2004-03-22 18:57:38 +00:00
jdc
efc30049d8 Add KEY_RESIZE support and a SIGWINCH handler.
Fixes PR bin/20032.
This requires a change to KEY_MAX, which affects libform and libmenu, so we
need to change libcurses major number.
2004-03-22 18:57:10 +00:00
martin
f85414fd31 Simplify slightly and fix a comment. 2004-03-22 18:35:51 +00:00
wiz
848e689872 Typo fix, from skrueger at europe com. 2004-03-22 13:41:09 +00:00
pk
3aa621c910 Use setcontext() instead of sigreturn() to implement longjmp(). 2004-03-22 12:35:04 +00:00
groo
19aa054c0d Actually install the new man pages. 2004-03-22 00:48:04 +00:00
matt
4b376ded6a Change longjmp on VAX (ELF) to use setcontext instead of sigreturn14. 2004-03-21 18:19:52 +00:00
matt
ca145383c7 Change longjmp to use setcontext instead of sigreturn14. Change setjmp
to use symbolic offsets via assym.h
2004-03-21 18:04:27 +00:00
mrg
3b66f6e642 clean up my copyright 2004-03-21 05:47:44 +00:00
mrg
05cd119306 remove my copyright statement 2004-03-21 05:46:42 +00:00
groo
80ddfc8cb9 update documentation from 0.9.7b to 0.9.7d 2004-03-20 21:48:44 +00:00
kleink
78a2369a15 Make casing in previous consistent. 2004-03-19 19:30:23 +00:00
kleink
ddfc3e5143 %% doesn't write anything; a literal % is matched. Noted by Hubert Feyrer. 2004-03-19 19:28:08 +00:00
scw
d25d657094 sigreturn14 is deprecated, so don't use it in longjmp. 2004-03-17 00:35:08 +00:00
wiz
789ce34c16 Remove duplicate article. 2004-03-16 19:51:08 +00:00
snj
9bfae9c898 Spelling fixes. 2004-03-16 19:27:35 +00:00
snj
dcf4b5a2bf Spelling fix. 2004-03-16 19:26:56 +00:00
snj
668bade8ea Spelling fixes. 2004-03-16 19:25:39 +00:00
snj
83b07697ca Spelling fix. 2004-03-16 19:20:20 +00:00
snj
066778123d Drop trailing whitespace. 2004-03-16 19:08:15 +00:00
wiz
f812f7e9a5 Fix off-by-one, okayed by jdc. 2004-03-16 10:58:25 +00:00
wiz
0cc0ff5935 Drop trailing space. 2004-03-16 09:46:36 +00:00
jdc
a02733d775 s/can_change_colors/can_change_color/ 2004-03-16 07:55:05 +00:00
jdc
424b4f06a5 Clarify colour values that can be passed to init_pair(). 2004-03-16 07:54:32 +00:00
jdc
ed325dfb85 Accept any negative number of init_pair(). Noticed by Peter Bex.
Swap red/blue and yellow/cyan if necessary in assume_default_colors().
2004-03-16 07:52:43 +00:00
jdc
a61e837cb5 gcc -Wuninitialized 2004-03-16 07:49:01 +00:00
jdc
404624e2be We no longer need <signal.h>. 2004-03-16 07:48:18 +00:00
jdc
72d6b43902 s/colour/color/. From Douwe Keila. 2004-03-16 07:46:24 +00:00
jdc
6db03ed922 Minor style change. 2004-03-16 07:44:31 +00:00
yamt
936455ecbc "Upcall handlers should be registered" -> "An upcall handler ..."
as only one handler can be registered.
2004-03-14 23:05:09 +00:00
wiz
60f9cb09db Begin sentences with uppercase letters. 2004-03-14 20:57:49 +00:00
he
99f69b6c5f It appears that <sys/lock.h> requires <sys/types.h>, so include that as well. 2004-03-14 12:49:31 +00:00
snj
ae6d7048fe Spelling fix. 2004-03-14 10:36:09 +00:00
snj
63b1d00163 Fix macro usage and a slight English problem. 2004-03-14 10:22:06 +00:00
snj
cd1f209f54 English fix. 2004-03-14 10:21:22 +00:00
snj
2fdc7bef13 English improvements. 2004-03-14 10:20:43 +00:00
snj
4e8e4580a2 Fix macro usage, use Dv for SA_FLAG_STACKINFO, and English nits. 2004-03-14 10:19:59 +00:00
snj
bcba66f310 Minor English nits. 2004-03-14 10:18:33 +00:00
yamt
e71ca4ef99 some manpages of scheduler activation syscalls. 2004-03-14 09:18:45 +00:00
cl
f3f745b9af fix comment for recent pthread_stack* var rename 2004-03-14 01:20:01 +00:00
cl
f2f106648c add libpthread part of concurrency support for SA on MP systems
- enable concurrency according to environment variable PTHREAD_CONCURRENCY
- add idle VP wakeup if there are additional jobs and idle VPs
- make reidlequeue per VP
- enable spinning for locks
- fix race condition in alarm processing
- fix race condition in mutex locking
- make debugging output line buffered and add VP prefix to debug lines
2004-03-14 01:19:41 +00:00
wiz
15d1617c9e Two grammar fixes from jmc@openbsd. 2004-03-13 23:46:37 +00:00
uebayasi
456930e651 Don't convert text if *.mo doesn't specify codeset.
Analyzed by Takehiko Nozaki, tested by Sean Davis, OK'ed by yamt.
2004-03-13 04:58:04 +00:00
enami
4604becb77 Sprinkle cast to prevent unwanted sign extension. Some of those actually
makes sed invoked during build process an out of bound array access.
2004-03-12 22:34:09 +00:00
drochner
ca430e5111 Really, there is no need to use the old int0x80 syscall entry just for
getcontext(). There are some registers not properly saved with the
new syscall entry, but these are calee-saved, scratch or meaningless.
It's the setcontext() return path what matters.
2004-03-09 20:21:22 +00:00
skrll
337520b409 Include bsd.own.mk before testing MKPIC 2004-03-09 20:04:00 +00:00
drochner
294b4fa9f2 we also have to reset bits in the i387 status
as required
2004-03-09 17:16:13 +00:00
drochner
b79602af35 -clear status bits in mxcsr as required
-return the old accumulated status bits
2004-03-05 16:27:56 +00:00
lukem
a19008b17f Explicitly use base 10 when parsing numbers, to enforce the "decimal number"
semantics that the comments referred to and as per dd(1) (which was the
origin of this functionality).
2004-03-05 05:58:29 +00:00
wiz
49bcfb35d8 Call it Adler-32 consistently. From jmc@openbsd. 2004-03-05 01:30:52 +00:00
wiz
06588a00dd Sort SEE ALSO, drop trailing space. 2004-03-04 23:49:31 +00:00
wiz
61e64d47d4 Sort SEE ALSO. 2004-03-04 23:47:56 +00:00
kleink
a19b383778 libc.so.12.113: isinf(), isnan(). 2004-03-04 23:43:56 +00:00
kleink
8e54f10bf7 * Turn isinf(3) and isnan(3) into C99-style macros.
* Make it possible for ports to override these (i.e., VAX).
* Remove isnanl(), which was internal to libc only.
2004-03-04 23:42:38 +00:00
enami
119b5f631a Don't call end{serv,proto}ent_r() on return. It results dangling pointer. 2004-03-04 02:30:41 +00:00
matt
eeabd92cc2 Add UC_STACK and stack_t related definitions. 2004-03-04 00:16:47 +00:00
matt
71f2db14c8 Use this to symbolically get into ucontext_t and struct sigcontext. 2004-03-03 22:58:34 +00:00
matt
3bd8b208cf Add support to generate an assym.h if corresponding ARCHDIR contains a
genassym.cf.
2004-03-03 22:57:26 +00:00
matt
afc5614967 Copy this from libpthread so arch-specific .S files can use assym.h 2004-03-03 22:56:04 +00:00
thorpej
1cda93b426 Use the new RAS_*() macros. 2004-03-03 21:06:07 +00:00
drochner
4634f0716d Don't zero a floating point variable on entry -- this causes the FPU to
be allocated needlessly by almost every program (at least on i386/amd64).
2004-03-03 11:19:05 +00:00
itojun
ca0ee478c7 use "%s" for err(), do not pass pointer directly. Pedro Martelletto 2004-03-01 23:06:21 +00:00
drochner
1dd7501db3 blow this up by sticking a copyright notice to it 2004-03-01 20:56:05 +00:00
drochner
c5bc0dada8 optimize this: we can use %ra for relocation directly
(saves 1 insn)
2004-03-01 20:43:19 +00:00
drochner
9560ce9b0f we need a silly trampoline to make _resumecontext work 2004-03-01 19:26:29 +00:00
drochner
293e83e97e get the offset to gp right 2004-03-01 18:32:51 +00:00
drochner
e9ee155221 Get the stack alignment right: the stack arguments must start
at a 16-byte aligned address, the return address is at an
"odd" address.
approved by fvdl
2004-02-28 15:57:21 +00:00
drochner
a839ccc650 alignment trouble: uc_link is at offset 8 2004-02-27 21:23:05 +00:00
christos
ac4e17d0c7 Better fix for rl_prep_terminal() from Gerry Swislow. 2004-02-27 14:52:18 +00:00
enami
5a257984e5 Fix indent and other whitespace usage. 2004-02-26 23:01:15 +00:00
drochner
37d3fd292f the char we fill with shouldn't be sign-extended
(the way the length argument is dealt with looks suspicious
too, but this would only have an effect for >=2G fields)
this can probably be optimized...
2004-02-26 20:50:06 +00:00
drochner
3cac582c48 fix copyback from fp stack - we need 64 bits 2004-02-26 19:19:06 +00:00
taca
5509874609 Semantic fix for allocation size for malloc() and realloc() previously
modified.  Allocation unit isn't sizeof(char **) but sizeof(char *).

Noted by Geoff Wing.
2004-02-25 06:28:10 +00:00
christos
e79fe4ef48 Fix allocation size bug from Takahiro Kambe. 2004-02-24 15:28:07 +00:00
wiz
73e1501b98 parameter with two es. From Peter Postma. 2004-02-24 15:22:01 +00:00
wiz
85746c6759 Spell interrupt with two rs. From Peter Postma. 2004-02-24 15:16:04 +00:00
wiz
f05e6f1a3a occured -> occurred. From Peter Postma. 2004-02-24 15:12:51 +00:00
christos
d3516aeed5 - fix a memory leak on the current line buffer.
- fix a memory leak on realloc failure.
2004-02-23 16:06:52 +00:00
uwe
ad788cab09 In gcc3 world the "millicode" must be provided by libgcc*.a, so don't
include it in libc.
2004-02-22 01:05:49 +00:00
cl
e9598cefd0 Actually test pthread__dbg to check if another gdb is attached (and not
pthread__tsd_destructors whose address happens to be in addr).
2004-02-21 20:48:11 +00:00
christos
9f2ccd7938 Separate tty separation from the prompt printing function. From Gerry Swislow. 2004-02-21 16:42:30 +00:00
christos
2b03200f1f servent_r/protoent_r additions 2004-02-19 19:31:06 +00:00
christos
d68ecdf1c9 getservent_r/getprotoent_r 2004-02-19 19:27:53 +00:00
christos
ec210d4a19 Implement the non-reentrant ones using the reentrant ones.
Name files by function name.
2004-02-19 19:27:26 +00:00
christos
7782337bb7 _r functions for services and protocols; also add the inet_cidr_* function
which will come next.
2004-02-19 19:22:51 +00:00
christos
8059eed1bc Re-entrant versions of services and prorocols functions. 2004-02-19 19:21:44 +00:00
atatat
42d379d041 Use new PTRTOUINT64() macro instead of local PTRTOINT64() macro. 2004-02-19 03:57:56 +00:00
lukem
aff9207208 document svcudp_create 2004-02-16 02:39:36 +00:00
christos
146f07a922 Fix the non working unctrl mess:
1. delete the incorrect duplicate macro from unctrl.h
2. move unctrl macros from curses.h to unctrl.h and make curses.h include
   unctrl.h in curses.h instead of duplicating their definition.
3. constify unctrl arrays; make length unsigned.
2004-02-14 18:23:45 +00:00
simonb
216a472c99 Use -fPIC only if MKPIC isn't "no". 2004-02-14 08:41:58 +00:00
simonb
fb8a44d89d Don't build lcrt.o (version of crt0.o that looks in /libexec/ for the
shared linker) if we have MKPIC=no.
2004-02-14 07:48:37 +00:00
wiz
e3fc4b66c3 Spell the plural of suffix "suffixes", not "suffices".
Inspired by PR 24400 by Todd Vierling.
2004-02-13 17:56:17 +00:00
wiz
d20841bb64 Uppercase CPU, plural is CPUs. 2004-02-13 11:36:08 +00:00
wiz
0568bf7421 Uppercase CPU. 2004-02-13 09:55:51 +00:00
kleink
d141a7411d Forgot to build signbit() library parts in previous; noticed by mrg. 2004-02-12 10:28:28 +00:00
nathanw
26ed28badd td_thr_getregs(): Return errors when the requested bit of register state
isn't in the ucontext.
td_thr_getregs(), td_thr_setregs(): Use "xreg" macros when defined.
2004-02-11 21:07:18 +00:00
nathanw
94fc83a6be Add ucontext conversion macros for an "extra" register set. 2004-02-11 21:04:10 +00:00