jdc
11f267a000
Add noqiflush() and qiflush()
...
Fixes PR lib/20037.
2003-06-20 06:58:53 +00:00
jdc
c521d02fce
Add keyname().
...
Fixes PR lib/20033.
Allow SMALL to be defined, to reduce the size of the library.
2003-06-20 06:56:29 +00:00
christos
96759472a4
provide a definition for __attribute__
2003-06-19 16:19:42 +00:00
christos
9b8791db6c
From michael@moria.de:
...
Fix realloc case where we could be running out of space if too many matches.
2003-06-19 16:04:57 +00:00
christos
839ca00b3c
From michael@moria.de:
...
- use __attribute__((__unused__)) in arguments where appropriate.
- some int -> size_t and char * to const char * conversions.
2003-06-19 15:55:05 +00:00
martin
f546abe798
Catch up with Nathan's changes to other archs.
2003-06-17 23:18:48 +00:00
nathanw
876d7e7eec
Dodge a potential race condition in pthread__debuglog_printf(). It's
...
still possible for multiple threads to write into the same space, but
they shouldn't be able to corrupt the write pointer in the process.
Also, check for pointer-lapping a bit more carefully in the wrap
vs. non-wrap case.
2003-06-16 21:24:48 +00:00
martin
aba86b525b
Catch up with changes Nathan did to other archs.
2003-06-15 17:11:36 +00:00
scw
7d221cb560
Apply Nathan's switch-away fix and previous save-PT_UC from new stack fix.
2003-06-13 08:07:03 +00:00
scw
04f197eae9
Apply Nathan's switch-away fix and previous save-PT_UC from new stack fix.
...
Compile-tested only.
2003-06-13 07:45:17 +00:00
itojun
3abc10868f
add $NetBSD$
2003-06-13 04:09:18 +00:00
lukem
34795551b8
add const qualifiers to match md{2,4,5}.h
2003-06-13 01:28:41 +00:00
nathanw
4bd45b7b3b
Oops, that's switch_return_point, not locked_return_point. The perils
...
of cut-and-paste.
2003-06-12 23:19:27 +00:00
provos
0275e3fef4
enable building the library and the regression test
2003-06-12 23:18:07 +00:00
provos
f67349cc61
fix warnings
2003-06-12 23:07:58 +00:00
nathanw
aa6f5de228
STACKSPACE of 16 is too small, given the use of CALLFRAME_SIZ;
...
increase to match.
2003-06-12 23:01:17 +00:00
nathanw
eb6ba6fbef
Apply switch-away fix and previous save-PT_UC from new stack fix.
2003-06-12 23:00:28 +00:00
provos
13993283c2
import of libevent; an event abstraction library that supports kqueue and
...
poll on NetBSD.
2003-06-12 22:54:25 +00:00
fvdl
1a31b8db4d
Apply Nathan's switch-away fix.
2003-06-12 22:03:18 +00:00
nathanw
b43f1c7405
In pthread__resolve_locks(), change the conditions for removing a normal
...
thread from the continuation chain: Not only must it have released all
spinlocks, but it must have signaled completion by finishing pthread__switch
or by having stored into pt_switchto.
Together with the previous pthread_switch.S changes, this fixes a couple of
crasehes caused by race conditions in the examination and use of pt_next,
and by switching to empty pt_switchtouc's.
2003-06-12 21:49:42 +00:00
nathanw
f866ba061d
Two fixes:
...
* In switch-away cases, write PT_SWITCHTO last (after PT_SWITCHTOUC), so
that pthread__resolve_locks() doesn't see an empty SWITCHTOUC value. This
also permits pthread__resolve_locks() to use the presence of PT_SWITCHTO
as a sign that the thread has done all of its necessary chain work.
* Make the return-point of pthread__switch global and visible, so that its
address can be compared to the PC of a thread, again as a sign that its
chain-work is done.
(other architectures in progress, after they get the *previous* asm fix...)
2003-06-12 21:46:03 +00:00
nathanw
edc79413b1
Don't need to set the MSR field here; _INITCONTEXT_U_MD() takes care
...
of that where necessary.
2003-06-12 19:09:45 +00:00
wiz
a484727e05
Adapt to current sys/socket.h. Noted by MAEKAWA Masahide in PR 21849.
2003-06-11 07:11:09 +00:00
jdc
44d2f865a0
Mark all lines on new pads as dirty. This ensures that we draw blank
...
(untouched) lines when the pad is refreshed.
2003-06-09 06:58:11 +00:00
thorpej
e714d726a6
$NetBSD$, not $Header$.
2003-06-08 06:44:28 +00:00
yamt
795dfe8877
- change default message size for udp to UDPMSGSIZE(8800) from 8192.
...
(to be compatible with pre-TIRPC)
- bump message size limit to 256k.
from FreeBSD's rev.1.3.
2003-06-07 07:41:41 +00:00
nathanw
877f89857f
Tiny bit of infrastructure for ABI-supported thread-ID storage.
2003-06-06 21:06:07 +00:00
nathanw
1809ee5c2c
Fix typo in comment.
2003-06-06 19:35:03 +00:00
wiz
aeeb4fe3d0
Grammar, spelling, markup fixes from jmc@openbsd.
2003-06-06 13:42:49 +00:00
wiz
4ed8aa82ed
Use Aq Pa instead of Fd \*[Lt]...\*[Gt]. From jmc@openbsd.
2003-06-06 13:33:17 +00:00
itojun
7a5741651c
- sync up MLD declaration with RFC3542 (s/MLD6/MLD/)
...
- routing header declaration with RFC3542
(note: sizeof(ip6_rthdr0) has changed!)
also, sync up with RFC2460 routing header definition (no "strict" source
routing mode any more)
part of advanced API update (RFC2292 -> 3542).
2003-06-06 08:13:43 +00:00
itojun
e72a5afeb3
KNF.
2003-06-06 06:43:18 +00:00
yamt
675f9cd51a
add a missing release_fd_lock.
2003-06-06 00:48:45 +00:00
matt
362ac6119e
Only return CC_EOF if ^D (VEOF) was the only thing on the line. Otherwise
...
beep and don't do anything else. This mimics the behavor of ^D outside in
normal terminal mode. (^D in vi scrolls forwards and as such isn't
appropriate to emulation)
2003-06-04 20:14:05 +00:00
nathanw
33314cffa1
Make infrastructure for man pages.
2003-06-03 21:34:00 +00:00
nathanw
5581819638
Man pages for libpthread, adapted from FreeBSD by Stephen Degler.
2003-06-03 21:33:06 +00:00
nathanw
380bb3a8b0
Man pages for libpthread, written by Stephen Degler.
2003-06-03 21:31:36 +00:00
uwe
0bbb587407
Add atoll(3) to libnbcompat. We need it when building target's gcc
...
for a 64-bit target on a 32-bit host.
NB: There seems to be a bug in either gcc itself or the way we import
it, b/c the incorrect #define HAVE_ATOLL is picked from (e.g. for
sparc64) gnu/usr.bin/gcc/arch/sparc64/auto-host.h - so when gen*
auxilary (host) programs are built in gnu/usr.bin/gcc/backend, they
incorrectly pick-up target's HAVE_ATOLL.
For now providing atoll(3) in libnbcompat is a simple and sufficient
workaround.
2003-06-03 03:16:48 +00:00
christos
dc1665b80b
Add pthread_attr_getstack{,size,addr} needed by jdk
2003-06-02 16:59:26 +00:00
thorpej
c2048dc2a3
Don't need sysident.h here anymore; crti provides it.
2003-05-31 19:41:24 +00:00
salo
9a8fb24f43
Add ETIME translation.
2003-05-30 23:24:23 +00:00
wiz
26c0f55f7f
Add translation for 92 (ETIME).
2003-05-30 23:10:42 +00:00
jdolecek
0208373f7d
add ETIME translation
2003-05-30 19:35:34 +00:00
jdolecek
c01f677379
ETIME is #92 , not #91
2003-05-30 19:33:58 +00:00
kleink
0c9499738e
Add LC_MESSAGES to the listing of categories; fixes PR misc/19829 from
...
FUKAUMI Naoki.
2003-05-30 12:11:48 +00:00
kleink
8929f86e50
Delint a use of uintptr_t; not strictly necessary with -current lint(1),
...
but consistent with makecontext.c.
2003-05-30 07:23:25 +00:00
simonb
dbf00ebd13
Use the date I committed this, not the date I originally came up with
...
the changes.
2003-05-30 02:22:23 +00:00
simonb
20a5af5edd
Allow either parameter to the getbsize(3) function to be a NULL, in
...
which case it is ignored.
2003-05-30 00:12:09 +00:00
nathanw
4ee0df68f2
Allocate and initialize dirp->dd_lock before calling telldir(), which
...
will try to lock it.
Addresses PR lib/21712.
2003-05-29 18:29:59 +00:00
christos
25cb0b1e94
de-lint pointer casts.
2003-05-29 18:15:25 +00:00
kleink
4f95ecd71a
KNF example: NULL vs. 0, space after switch.
2003-05-29 17:48:49 +00:00
kleink
45586dc2f9
Need <string.h> for memcpy().
2003-05-28 21:08:23 +00:00
kleink
9a398ec067
Add restrict qualifiers to previous.
2003-05-28 20:28:37 +00:00
christos
fa46624bca
add readdir_r alias
2003-05-28 20:22:55 +00:00
dsl
386a8e5059
Don't restartwin() if it isn't stopped.
...
Ensures we don't save the modified tty flags (as well as doing all the
initialisation twice) if the application (eg systat) calls curses functions
in its own restart code.
2003-05-28 20:19:42 +00:00
christos
1e1359c7d6
agent 99
2003-05-28 20:06:22 +00:00
christos
9af7135771
add mutex locking for directories and readdir_r(3). Influenced by FreeBSD.
2003-05-28 20:03:37 +00:00
christos
c8042cb209
no need to declare __isthreaded.
2003-05-28 19:57:22 +00:00
kleink
9d85c4a5f8
Add ETIME, per POSIX-2001.
2003-05-27 22:37:33 +00:00
christos
143f5a277a
pass lint:
...
1. add new pthread__abort() and change pthread_assert(0) to it.
2. put constcond in the right place (in the macro).
3. no space after pthread__assert macro.
2003-05-27 15:24:24 +00:00
christos
4e29fa8276
add missing notreached lint comment.
2003-05-27 15:22:56 +00:00
thorpej
119837ff52
Fix handing of -ve hexadecimal numbers in the %i format. Fixes
...
PR lib/21691. Patch from Simon Burge.
2003-05-27 14:32:29 +00:00
nathanw
5faa7f5bef
* Recycle upcall stacks as soon as possible rather than waiting to
...
accumulate half of the total number. There are too many ways for
the SA subsystem to deadlock waiting for stacks that userland has no
reason to recycle.
* Consolidate switchto handling in pthread_resolve_locks().
* Add code to re-chain the preempting parents of switchtos.
* Tweak debuglog output in a couple of cases.
2003-05-26 19:41:03 +00:00
itojun
74a8711692
protect from nasty PTR records which could be abused to workaround access
...
control:
1.1.1.10.in-addr.arpa. IN PTR 2.3.4.5
2003-05-26 10:05:07 +00:00
lha
47cfb027a2
install more man pages
2003-05-26 09:22:29 +00:00
lha
4a1a2b48c6
install more man pages
2003-05-26 01:11:55 +00:00
pooka
13ae509ab9
lint should pass "empty translation unit" now
2003-05-25 21:51:14 +00:00
pooka
e26029d0eb
versions for file 4.03
2003-05-25 21:49:55 +00:00
wiz
a2c49e51e1
Fix typo reported by Douwe Kiela in PR 21677.
2003-05-25 17:19:42 +00:00
petrov
09ec250b4c
Declare global register.
2003-05-23 18:20:14 +00:00
simonb
5d5afc14d8
Match END label with LEAF label.
2003-05-23 06:36:10 +00:00
wiz
c66093c273
Make i an int to please lint and remove a cast.
2003-05-22 16:09:09 +00:00
wiz
e6e9b32c33
Grammar fix; no functions returnint pointers here, so remove section
...
about those functions from RETURN VALUES section.
2003-05-22 09:25:52 +00:00
jdc
8b94a64a5a
Remove erroneouly added file.
2003-05-21 21:24:36 +00:00
jdc
cbce99002b
Cross reference curses_addchstr.3.
2003-05-21 21:22:15 +00:00
jdc
8b782b08d1
Increment libcurses minor for addition of addchstr() functions.
2003-05-21 21:21:14 +00:00
jdc
57b809b169
Add addchstr() family of functions.
...
Based on mail from Douwe Kiela.
Fixes PR lib/21285 by Thomas Klausner.
2003-05-21 21:19:52 +00:00
jdc
416748f2db
Add mvw* functions.
2003-05-21 20:33:21 +00:00
kristerw
c87c28c18c
Include string.h for strcmp.
2003-05-21 20:29:51 +00:00
wiz
68221b9ec6
Bump date for last.
2003-05-21 06:57:08 +00:00
jdc
ad216762c8
Add missing *printw manual page links.
...
Patch provided in PR lib/21446 by Douwe Kiela.
2003-05-21 06:46:51 +00:00
jdc
8aec7a6456
Sort addbytes().
2003-05-21 06:16:16 +00:00
jdc
a365e46b92
Mention _CURSES_USE_MACROS.
2003-05-21 06:15:09 +00:00
wiz
fc7bf2b10c
Nit fixes from jmc@openbsd.
2003-05-20 10:15:16 +00:00
jdc
2e4b986118
Add missing manual page links.
2003-05-20 06:54:44 +00:00
fvdl
b2a54b691e
Back out previous for now. I already suspected part of it was wrong,
...
and there has been one report of problems in the mean time.
2003-05-19 09:26:15 +00:00
christos
56a0a03629
From Martin Blapp mb at imp dot ch, should fix PR/20768
...
Remove the special treatment off non-blocking mode in
xdrrec_eof(). This change broke seriously reading serialized
xdr-records. A end of a request could sometimes not
be recognized and the socket got closed too early.
Initialize in_reclen and in_received in a second case
if we get more outstanding records.
2003-05-18 23:59:28 +00:00
dsl
1473d232c3
Don't do __stopwin() if it is already stopped.
...
Allows error messages from programs like sysinst() to be seen.
(There is an explicit stopwin() before the error message is output,
and a second in the atexit() called cleanup() routine)
2003-05-18 10:02:07 +00:00
thorpej
5a467fa72d
Add isinfl() and isnanl().
2003-05-17 20:43:13 +00:00
thorpej
8969ba6ff5
Build _isinfl() and _isnanl().
2003-05-17 15:05:52 +00:00
thorpej
f9345ff71e
Add _isinfl() and _isnanl() routines, currently for internal use only.
2003-05-17 14:51:24 +00:00
itojun
6a95da7f05
bound copies
2003-05-17 01:36:03 +00:00
scw
5bd6b99940
Both pthread__lock_ras_start and pthread__lock_ras_end need to be
...
explicitly declared global in the asm() statements for the benefit of
SH5 binutils. Otherwise, the assembler/linker (I haven't figured out
which) botches the SHmedia bit when generating GOT references for
these symbols in the shared version of the library.
Ok'd by Nathan.
2003-05-16 23:37:47 +00:00
scw
644aebe258
Duh. s/PIC_PROLOGUE/PIC_EPILOGUE/
2003-05-16 22:40:56 +00:00
nathanw
baa073280b
Separately report unlocking an unlocked mutex and unlocking a mutex
...
owned by another thread.
2003-05-16 21:28:26 +00:00
wiz
b976c55907
Consistently spell "crash dump" as two separate words. From jmc@openbsd.
2003-05-16 10:24:55 +00:00
lha
f66ab28ab4
bump minors appropriately
2003-05-15 20:58:43 +00:00
lha
98326d86aa
add files for heimdal 0.6
2003-05-15 20:51:01 +00:00
wiz
76907a433e
Fix typo in comment.
2003-05-15 19:16:37 +00:00
nathanw
a06836c083
Remove an unnecessary test in pthread_getspecific().
2003-05-15 19:13:24 +00:00
jmc
84b2ae9f5b
Typo police
2003-05-15 16:46:55 +00:00
itojun
da3884cbf4
latest copyright notice (more loose). noted by wiz
2003-05-15 15:02:52 +00:00
kleink
affdf0b300
Change conformance reference to 1003.1-2001; the reference to 1003.1g is
...
retained in HISTORY. Spotted by Thomas Klausner.
2003-05-15 10:16:36 +00:00
wiz
ccc85581a5
Point to IPC tutorials in /usr/share/doc/psd, update names, and add authors.
...
Bump date.
Suggested by kleink.
2003-05-15 10:13:53 +00:00
wiz
14cddbf770
Point to IPC tutorials in /usr/share/doc/psd, update names, and add authors.
...
Bump date.
Suggested by kleink.
2003-05-15 09:52:08 +00:00
wiz
d43e332f1e
setup -> set up.
2003-05-14 12:11:03 +00:00
wiz
f30ce359ce
setup -> set up, from jmc@openbsd.
2003-05-14 07:24:21 +00:00
yamt
8f781c36ef
fix a simple bug that prevents svc_tli_create to bind to the address
...
specified by caller.
2003-05-13 11:57:21 +00:00
wiz
98a71c5969
Bump date for last; remove end-of-line spaces.
2003-05-13 10:03:43 +00:00
nathanw
59520b66cd
Fix a comment delimeter
2003-05-12 20:10:22 +00:00
kleink
db907cb577
Rename ieee754_function.c to function_ieee754.c, following the convention
...
used in exec_format.c, loadfile_format.c, subsys_machdep.c etc.
Per discussion with Christos.
2003-05-12 15:15:11 +00:00
kleink
36d937f5d8
Bump to libc.so.12.98, due to addition of {h,n}to{n,h}{l,s}() on PowerPC.
2003-05-12 12:38:31 +00:00
kleink
426643832d
Build {h,n}to{n,h}{l,s}() into object code; addresses PR port-macppc/21541
...
from Tsuyoshi MOMOSE.
2003-05-12 09:32:10 +00:00
christos
2f0d746849
make this compile again.
2003-05-11 20:56:51 +00:00
kleink
a6eebba1f8
Rather than printing the definition of struct sigaction literally,
...
change the description to name its members. This has the effect
of discouraging (non-portable) structure assignments of struct
sigaction, as well as making life easier when sa_sigaction is added.
2003-05-11 19:22:18 +00:00
kleink
88841ddec8
As prompted by Thomas Klausner, add a sentence on sigset_t and sigsetops()
...
to the introduction.
2003-05-11 18:04:42 +00:00
wiz
a363cdabc4
Drop trailing space.
2003-05-11 16:21:18 +00:00
kleink
861db62607
Oops, typo in previous.
2003-05-11 16:16:41 +00:00
kleink
8d06f60601
As prompted by Thomas Klausner, add a RETURN VALUES section.
2003-05-11 16:15:07 +00:00
ragge
2bb5ce73f8
Update after recent changes.
2003-05-11 15:40:03 +00:00
ragge
f08d6eb0c9
Make the kvm routines use /dev/ksyms to get the kernel namelist.
...
If it fails, use /netbsd instead.
2003-05-11 13:37:34 +00:00
ragge
f28d8c841a
Teach nlist to retrieve symbols from /dev/ksyms (using the quick-search
...
ioctl's).
2003-05-11 12:47:42 +00:00
wiz
59b599e287
Grammar improvement from jmc@openbsd.
2003-05-10 12:30:23 +00:00
wiz
7a7ee80bcc
Misc fixes from jmc@openbsd.
2003-05-10 12:24:54 +00:00
wiz
8e516dc8e7
Misc. fixes from jmc@openbsd.
2003-05-10 12:14:26 +00:00
uebayasi
385286938f
Typo; from Onno van der Linden <o dot vd dot linden at quicknet dot nl>.
2003-05-10 08:51:54 +00:00
lukem
4fc1a075d0
O_NOFOLLOW is another non-standard extension
2003-05-08 23:20:38 +00:00
petrov
cc36666171
No need in default label if default case is not processed.
2003-05-08 20:42:39 +00:00
yamt
c6f761afb7
NFSv3 definitions from FreeBSD.
2003-05-08 13:32:00 +00:00
christos
a99e10df08
Use ${HOST_SH}
2003-05-08 13:23:14 +00:00
christos
8ad6909bf9
Add a missing dependency (John Gordon)
2003-05-08 13:22:48 +00:00
christos
23e52df103
add a missing dependency (John Gordon)
2003-05-08 13:22:05 +00:00
christos
3a7857f16d
Use ${HOST_SH}
2003-05-08 13:20:44 +00:00
christos
9e0fed3d86
USE ${HOST_SH}
2003-05-08 13:19:44 +00:00
uebayasi
80e148b7e3
Make libmagic known as a system library, and install manual page links
...
of the libmagic functions.
Submitted by Hiroshi Ura <ura at hiru dot aoba dot yokohama dot jp> in
PR21496.
Reviewed By: wiz
2003-05-08 07:14:11 +00:00
itojun
ece2a37389
fill ai_canonname field for numeric hostname, by the given hostname.
...
folows new recommendation in RFC3493
2003-05-08 05:30:53 +00:00
yamt
4ae20ba3f3
mount v3 protocol definition. from FreeBSD.
2003-05-07 13:48:47 +00:00
wiz
62b56b79e3
s/busses/buses/
2003-05-07 07:14:15 +00:00
petrov
cf5b7785eb
Add missing include and copyright.
2003-05-07 01:21:13 +00:00
wiz
45ef2fb124
s/>/\*[Gt]/
2003-05-06 10:10:41 +00:00
lukem
6800f4a2c3
Clarify what strncpy() does when the length of `src' is `len'.
...
Noted by Christoph Kaegi on tech-userlevel@.
Add missing "function".
2003-05-06 09:58:25 +00:00
rearnsha
033db35cb2
GCC-3 requires a libcall to support testing for unordered.
2003-05-06 08:58:19 +00:00
wiz
fade7b55f5
New sentence, new line.
2003-05-06 08:28:38 +00:00
agc
4acc601512
Minor grammatical correction.
2003-05-06 07:38:19 +00:00
bjh21
e3f0868ef4
ANSIfy, since I'm in the area.
2003-05-05 21:35:40 +00:00
bjh21
306b20c934
Handle struct in_addr with proper respect, rather than assuming we can
...
make one by casting in in_addr_t *. This has the pleasant side-effect
of making the machine code shorter, at least on ARM.
2003-05-05 20:12:23 +00:00
bjh21
e6ad10a0b6
Remove some lint-pacification that's not necessary now that the signature of
...
inet_makeaddr() is correct.
2003-05-05 20:04:04 +00:00
bjh21
b8df43c967
Delint last change, reducing size of several variables.
2003-05-05 19:54:59 +00:00
bjh21
2c2e44766b
Delint last change (change a variable from unsigned long to in_addr_t).
...
Remove "register" at the same time.
2003-05-05 19:53:29 +00:00
wiz
fe160e31c2
No leading zero in Dd argument.
2003-05-05 17:16:20 +00:00