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
jmmv
70eabe78c3
List sys/param.h as a prerequisite of sys/sysctl.h. Bump date.
2004-02-10 12:48:48 +00:00
lukem
6dbd72c053
MAKEVERBOSE messages
2004-02-08 22:52:41 +00:00
nathanw
193a376007
Test pt_blockgen against pt_unblockgen, not against itself, to check
...
for blocked-in-kernel situations.
2004-02-03 20:26:16 +00:00
nathanw
0a6afcc70d
Rename pt_stacksize, pt_stacksize_lg, and pt_stackmask to pthread_*. External
...
symbols can't start with pt_, as that is in the application namespace.
2004-02-02 20:36:18 +00:00
nathanw
b2f27acb27
Do all the symbol lookups at td_open() time and cache them in the td_proc_st.
...
Make the stacksize lookups and data part of td_proc_st rather than global state.
2004-02-02 20:08:27 +00:00
uebayasi
fa3c270527
Minor KNF.
2004-01-31 16:56:12 +00:00
wiz
9af86fc6f2
Fix two typos, and remove a superfluous comma.
2004-01-30 16:03:50 +00:00
wiz
7fcc4d6c6b
Sort SEE ALSO.
2004-01-30 15:38:47 +00:00
christos
fa6c746b59
cross reference sticky(7)
2004-01-30 15:31:27 +00:00
wiz
375b7a6d24
Use -literal instead of -unfilled Bds; replace OpenBSD with .Ox;
...
<> -> \*[Lt]\*[Gt].
2004-01-29 15:23:09 +00:00
mrg
42d0909cf9
add two functions to zlib: gzopenfull() and gzdopenfull() that both take
...
additional "const char *savename" and "u_int32_t mtime" parameters that
are written out into the gzip header in the mtime field and as the original
filename.
2004-01-29 13:08:19 +00:00
itojun
4348bc0770
whitespace KNF
2004-01-29 08:25:28 +00:00
tsarna
72489e1ea0
uuidgen(2) syscall. Originally from FreeBSD, ported by John Franklin in
...
PR#23470, with minor updates by me. This is only the syscall support
from that PR, for now.
Changes: port over fix from FreeBSD for multicast address generation.
Changed bcopy to memcpy. For now, #ifdef notyet the portions of
kern_uuid.c that are meant to be used by (currently nonexistent) other
things in the kernel. Added syscall to COMPAT_FREEBSD as well, though
that's currently not useful, as any program new enough to use this call
also uses other syscalls we don't (yet) emulate.
2004-01-29 02:00:02 +00:00
lukem
b763e0987d
Use the correct parameters when building the YP map name in _yp_getnetbyaddr().
...
Fixes getnetbyaddr() when reading from YP. From Brian Ginsbach in email.
2004-01-29 01:39:15 +00:00