Commit Graph

8147 Commits

Author SHA1 Message Date
scw
c7dadf502a The second parameter of strchr() is an integer, not a pointer.
So use '\0' instead of NULL.
2003-04-29 14:56:05 +00:00
scw
1fe87ac688 The fourth parameter of _citrus_ctype_mbrtowc() is a size_t, not a
pointer type. So use 0 instead of NULL.
2003-04-29 14:53:12 +00:00
wiz
48ceee3140 Bump date for last. 2003-04-29 12:39:20 +00:00
bjh21
e94b259c46 <arpa/inet.h> no longer has any prerequisite headers, so don't pretend
it does.
2003-04-29 12:20:29 +00:00
nathanw
ff14fbf244 Move call to pthread__alarm_init() from pthread_init() (called at load
time) to pthread__start() (called on the first call of
pthread_create()), so that there's no opportunity for a fork() to
clear the per-process timer.

Problem pointed out by a test program from Mihai CHELARU on
current-users.
2003-04-28 17:46:30 +00:00
thorpej
69c5577b0b Make the des.h -> openssl/des.h symlink relative. 2003-04-26 00:53:17 +00:00
wiz
287057db85 Bump date for last. 2003-04-24 12:19:06 +00:00
wiz
aa1781ae4b Drop trailing space. 2003-04-24 12:17:49 +00:00
nathanw
3f6de8d84a Use pthread__error() instead of pthread__abort(). 2003-04-23 19:36:12 +00:00
nathanw
df2772713e Introduce a pthread__error() macro, for detected application errors as
opposed to internal errors. The setting of the PTHREAD_ERRORMODE
environment variable determines the runtime behavior. Valid settings
are "ignore", "abort", and "print". The default is currently "abort".
2003-04-23 19:35:47 +00:00
simonb
6312e6abc3 Add a missing full stop, join to short lines. 2003-04-23 07:33:36 +00:00
elric
a41d8cfaf3 Turn on the building and installing of libbsdmalloc. 2003-04-22 20:35:17 +00:00
junyoung
48e9f35fd3 Use unsigned char rather than u_char. 2003-04-22 16:12:18 +00:00
tron
82451d010e Revert last commit now that "bsd.lib.mk" is fixed. 2003-04-22 13:17:54 +00:00
tron
37ae1ea947 Define "LIB" to get "bsd.lib.mk" working again. 2003-04-22 12:07:02 +00:00
elric
645dee56e4 Adding libbsdmalloc which is Chris Kingsley's `power of two bucket' malloc.
Suggested by christos.
2003-04-21 22:21:06 +00:00
christos
63c4aa480d PR/7885: Kip Rugger: ttylock(3) ignores flags and locker parameters 2003-04-21 00:39:40 +00:00
christos
3630d7f233 PR/7572: John F. Woods: document EINVAL caused by bogus flags in struct
sigaction.
2003-04-20 23:20:52 +00:00
christos
f09dab76ee PR/7004: Jonathan Stone: Document that sendto(2) can fail with EISCONN 2003-04-20 22:53:01 +00:00
christos
e8c0c9df50 PR/6156: Stefan Grefen: nlist returns bogus value if symbol is multiply
defined in object
2003-04-20 21:08:11 +00:00
christos
5f8d1cd0cc PR/5996: ITOH Yasufumi: lib/libc/db/hash/* writes memory garbage to db file
Fixed by changing malloc's to calloc's where needed.
2003-04-20 20:41:14 +00:00
david
fbd076d8ce Grammar. 2003-04-20 17:40:45 +00:00
christos
622e897fdb PR/5265: John Buller: ttyflags does not report syntax errors or unknown
tty options in /etc/ttys
Make this use fparseln and use warn and warnx to report problems.
2003-04-20 03:03:18 +00:00
christos
a5b5f849f2 add ident. 2003-04-19 21:56:49 +00:00
blymn
a54cbbdb50 Remove the resetting of top_row, cur_item and the pattern buffer from
post_menu so menu state is kept across upost/post actions.  This addresses
PR #21218.
2003-04-19 12:52:39 +00:00
nathanw
b7ac97b866 More agressive assertions. Change a number of detected conditions, which
officially have undefined behavior, from returning an error code to raising
an assertion failure.
Also, don't bother to explicitly test for (illegal) null pointers and return
an error; they'll bomb out soon enough.
2003-04-18 21:36:38 +00:00
nathanw
66fc73c7eb Use a __predict_true() in the definition of pthread__assert(). 2003-04-18 21:32:32 +00:00
wiz
365962d31f Convert to mdoc. 2003-04-17 19:48:37 +00:00
wiz
335e44b3ef Convert to mdoc. 2003-04-17 19:35:03 +00:00
wiz
93ebe1c2f3 Punctuation nit. 2003-04-17 19:32:17 +00:00
wiz
7e06307f35 Convert to mdoc. 2003-04-17 19:18:01 +00:00
wiz
0a1b8c0e9c Increase width in a list. 2003-04-17 19:17:48 +00:00
wiz
6fa350b93d Convert to mdoc. 2003-04-17 18:48:28 +00:00
wiz
f77fff8c0b Convert to mdoc. 2003-04-17 18:14:21 +00:00
wiz
4472b40375 Convert to mdoc. Fix an error (two many arguments to a function). 2003-04-17 17:57:12 +00:00
wiz
df25ca4551 Convert to mdoc. Fix one or two bugs while here, hope I didn't introduce
more :)
2003-04-17 17:02:48 +00:00
fvdl
b32287cc19 Catch up with changed struct reg (same as gregs in mcontext now). 2003-04-17 10:13:51 +00:00
lukem
c6af0a620d clear errno before strtol() if we're going to test it for ERANGE afterwards 2003-04-17 03:25:56 +00:00
thorpej
aef8e968bf Don't link libcrypto against libcrypt; that doesn't work on systems
that don't support shared libraries.  Instead, build the NetBSD crypt(3)
library directly into libcrypto.
2003-04-17 00:32:22 +00:00
thorpej
90099f5fe1 hrink the Blowfish routines down to only what we need for __bcrypt(),
and don't export any of the Blowfish functionality outside bcrypt.c.
2003-04-17 00:31:04 +00:00
thorpej
d1bb0be3e8 If libcrypto is defined, use the MD5 routines from libcrypto, rather
than from libc.
2003-04-17 00:29:43 +00:00
nathanw
a74799949a pthread_mutex_trylock(): It's not an error to call trylock() on a
mutex already locked by the calling thread, even for non-recursive
mutexes.
2003-04-16 18:59:12 +00:00
nathanw
008033bb65 When a thread sleeps on a mutex or cv, have it put itself on the
front of the sleep queue rather than the back. This is more
cache-friendly behavior and within the (lack of) constraints on wakeup
ordering imposed on equal-priority threads.
2003-04-16 18:30:43 +00:00
nathanw
8114703654 Fix a fencepost error in writing to the debug buffer. 2003-04-16 17:37:47 +00:00
wiz
e2b9f7144c Use .In instead of .Fd. 2003-04-16 16:09:04 +00:00
wiz
472351e13d Use
.In header.h
instead of
.Fd #include \*[Lt]header.h\*[Gt]
Much easier to read and write, and supported by groff for ages.
Okayed by ross.
2003-04-16 13:34:34 +00:00
wiz
44b6aa4c8b Mostly mdoc improvements, some typos. 2003-04-16 12:53:37 +00:00
wiz
e0f416155a New sentence, new line. 2003-04-16 12:36:44 +00:00
wiz
848d4d3dde getch(3), not curses_getch(3). New sentence, new line. 2003-04-16 12:29:42 +00:00
wiz
b425910551 Typo and grammar fixes. Sort SEE ALSO. Use more mdoc. 2003-04-16 08:36:54 +00:00