mrg
05cd119306
remove my copyright statement
2004-03-21 05:46:42 +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
itojun
ca0ee478c7
use "%s" for err(), do not pass pointer directly. Pedro Martelletto
2004-03-01 23:06:21 +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
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
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
8059eed1bc
Re-entrant versions of services and prorocols functions.
2004-02-19 19:21:44 +00:00
itojun
4348bc0770
whitespace KNF
2004-01-29 08:25:28 +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
lukem
b776c8e6bb
Retain the euid of the target user whilst reading the
...
.rhosts file. This allows it to have a mode of 600
and still function correctly even when used on an NFS
client with uid 0 mapped to another (anonymous) UID.
Patch from Brian Ginsbach <ginsbach@cray.com>,
and fixes [bin/14880] from Darren Reed <darrenr@>.
2004-01-27 11:46:34 +00:00
lukem
c5a53802fe
Use syslog(3) instead of err(3) to log errors.
...
Based on email conversation with Brian Ginsbach.
Add '%option never-interactive' to nslexer.l, to prevent isatty() from
being called unnecessarily.
Per discussion on current-users@ between Christian Biere and Greg Woods.
2004-01-25 16:38:15 +00:00
matt
3c12447a00
Make building IPv6 support controllable by MKINET6
2003-12-07 21:57:22 +00:00
lukem
97f5444c8a
MAKEVERBOSE tweaks
2003-12-04 01:02:44 +00:00
drochner
9122b04d59
the last argument to recvfrom() is a pointer, so use "NULL" for
...
consistency
2003-10-22 15:40:19 +00:00
agc
b2b49933f4
Move Matt Green's code from a 4-clause to a 3-clause licence by removing
...
the advertising clause. Diffs provided in PR 22396 by Joel Baker, the changes
were confirmed to the board by Matt Green.
2003-10-13 14:22:20 +00:00
enami
f431b58f2b
Back out rev. 1.56; `pointer points the byte just after the valid region'
...
is normal case. If the parser wants something more, there should be
another bounds check for it.
2003-10-11 03:35:42 +00:00
itojun
f462c5301e
paren around macro arg
2003-10-03 22:04:44 +00:00
itojun
d26799ebc9
off-by-one. from millert@openbsd
2003-10-03 22:04:03 +00:00
itojun
1db8823e19
out-of-bounds access. from openbsd
2003-09-23 03:19:28 +00:00
itojun
cfbab92fdb
use randomid(3). actually generate random ID for DNS queries (previous
...
fix was incomplete)
2003-09-09 22:16:58 +00:00
wiz
a2f146d519
Mention RFC 3493; inet_{ntop,pton} are in 1003.1-2001; move XNS5.2 to HISTORY.
...
Okayed by kleink.
2003-09-08 17:21:31 +00:00
wiz
47190e80b8
Consistently use 'RFC 1234' instead of 'RFC1234' or 'RFC-1234'.
...
From jmc@openbsd.
2003-09-07 16:22:20 +00:00
christos
cdf03491b8
rename exp to expo to avoid global shadowing warning.
2003-09-06 22:47:56 +00:00
itojun
08fc9c3284
move provos' copyright closer to res_randomid()
2003-09-06 11:46:32 +00:00
itojun
a970cdd909
bring in openbsd lib/libc/net/res_random.c for truely-random res_randomid().
2003-09-06 11:40:52 +00:00
wiz
a24c4806d6
Nm -> Fn getnameinfo; grammar improvements; markup improvement;
...
all from jmc@openbsd, thanks.
2003-08-28 12:03:08 +00:00
wiz
520d0eab98
Bump date for CAVEATS; fix punctuation usage in one place;
...
drop trailing space; use \*[Am] instead of & for HTML generation.
2003-08-28 09:39:11 +00:00
itojun
e3a97c1624
use NI_NUMERICHOST for 2nd invocation
2003-08-28 01:49:30 +00:00
itojun
9de573eee1
add int error in CAVEAT
2003-08-28 01:46:45 +00:00
itojun
91c72951cb
add CAVEATS section
2003-08-28 01:43:14 +00:00
agc
eb7c1594f1
Move UCB-licensed code from 4-clause to 3-clause licence.
...
Patches provided by Joel Baker in PR 22280, verified by myself.
2003-08-07 16:42:00 +00:00
salo
99410184e7
netbsd.org->NetBSD.org
2003-07-26 19:24:24 +00:00
tshiozak
8adfd9b778
make _DIAGNOSTIC happy.
2003-07-10 08:50:43 +00:00
wiz
9d37bb0f6b
Va Sq -> Sq Va so both work.
2003-07-01 10:17:36 +00:00
kleink
5a44432bf1
Sprinkle some restrict.
2003-06-30 15:14: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
itojun
6a95da7f05
bound copies
2003-05-17 01:36:03 +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
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
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
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