Commit Graph

8165 Commits

Author SHA1 Message Date
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
bjh21
83939562ef Document signature changes to inet_addr() and friends. 2003-05-05 14:04:50 +00:00
bjh21
77de1304d5 Fix the signatures of inet_addr(), inet_lnaof(), inet_makeaddr(), inet_netof(),
and inet_network() to match XNS and (where applicable) POSIX.  This is largely
just the replacement of unsigned long with in_addr_t.

This constitutes a small ABI change on sh5, but scw (sh5 portmaster) thinks
that both the users of that port will be able to cope.  kleink claims the
change is ABI-neutral on other LP64 ports, and it's a no-op on ILP32 ports.
Hence, I'm doing it this way and avoiding the whole __RENAME dance.
2003-05-05 13:56:13 +00:00
wiz
737de9f803 Misc. fixes from jmc@openbsd. 2003-05-03 19:43:00 +00:00
wiz
3ca9503cd5 Misc. fixes from jmc@openbsd. 2003-05-03 19:11:31 +00:00
gmcgarry
13fbd917ba section 2, not 3. 2003-05-02 09:11:52 +00:00
gmcgarry
1f3b9df049 Clarify output. From PR#14290. 2003-05-02 08:26:46 +00:00
martin
cf437d291f Make _Qp_qtoui return the right value for inputs that do not fit into
an int value, but are valid unsigned ints. This should fix PR 21414.
The same problem exists for _Qp_qtoux, but there is no similar trivial
solution to that (I could think of).
Pointed out by David Laight.
2003-05-01 21:24:13 +00:00
wiz
b12c87185e a -> an from jmc@openbsd. Add a comma while here. 2003-05-01 14:03:39 +00:00
wiz
38107bb637 Grammar and mdoc fixes from jmc@openbsd. 2003-05-01 13:58:03 +00:00
wiz
f0679cbc4d Restore \fR that got lost in last. 2003-05-01 09:36:49 +00:00
gmcgarry
c46e7f6852 Mention EINVAL. From PR#17921. 2003-05-01 08:45:20 +00:00
gmcgarry
f72c56c419 Remove reference to non-existent infnan(3) function. 2003-05-01 08:01:52 +00:00
itojun
dc5aee069b english grammer. by Jason McIntyre via kame 2003-04-30 06:30:48 +00:00
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