Mike Barcroft
7ec7a350c5
Document the fact that the strnstr(3) function is not portable.
...
Requested by: brian, gad
2001-10-09 17:22:02 +00:00
Mike Barcroft
2815c1fd80
Don't mangle vendor ids to put them in __RCSID. Just ifdef all vendor
...
id cruft.
Submitted by: bde
2001-10-09 16:40:04 +00:00
Mike Barcroft
41036d782d
Add a new libc function, strnstr(3), which allows one to limit the
...
number of characters that are searched. This is especially useful
with file operations and non-NUL terminated strings.
Silence from: -audit, -hackers
MFC after: 5 days
2001-10-09 01:29:56 +00:00
Doug Rabson
01dbab1991
Port to ia64. Actually, just do like the alpha.
2001-10-08 08:29:52 +00:00
Daniel Eischen
7ae9a22df2
Limit maximum poll interval to 60 seconds. This prevents an overflow
...
from occurring when converting from a timeval/timespec to a timeout in
milliseconds.
Submitted by: dwmalone
2001-10-07 02:34:43 +00:00
Doug Rabson
a4ddd40c34
Make this work on ia64. I have no idea why it works on alpha - it
...
shouldn't.
2001-10-06 15:58:54 +00:00
Doug Rabson
3e2c3ee97c
Fix a load of dependancy violations.
2001-10-05 18:52:42 +00:00
Bill Paul
e6f9ad0779
Add compatibility functions for the AF_LOCAL RPC transport stuff
...
that used to live in RPC 4.0. This is needed for yppasswd and
rpc.yppasswdd to work correctly. Patch supplied by Martin Blapp.
2001-10-04 21:03:17 +00:00
David Malone
2bc21ed985
Hopefully improve control message passing over Unix domain sockets.
...
1) Allow the sending of more than one control message at a time
over a unix domain socket. This should cover the PR 29499.
2) This requires that unp_{ex,in}ternalize and unp_scan understand
mbufs with more than one control message at a time.
3) Internalize and externalize used to work on the mbuf in-place.
This made life quite complicated and the code for sizeof(int) <
sizeof(file *) could end up doing the wrong thing. The patch always
create a new mbuf/cluster now. This resulted in the change of the
prototype for the domain externalise function.
4) You can now send SCM_TIMESTAMP messages.
5) Always use CMSG_DATA(cm) to determine the start where the data
in unp_{ex,in}ternalize. It was using ((struct cmsghdr *)cm + 1)
in some places, which gives the wrong alignment on the alpha.
(NetBSD made this fix some time ago).
This results in an ABI change for discriptor passing and creds
passing on the alpha. (Probably on the IA64 and Spare ports too).
6) Fix userland programs to use CMSG_* macros too.
7) Be more careful about freeing mbufs containing (file *)s.
This is made possible by the prototype change of externalise.
PR: 29499
MFC after: 6 weeks
2001-10-04 13:11:48 +00:00
Mike Barcroft
b5c9f90bf5
Include <string.h> to prototype strcpy(3). While I'm here, make use
...
of the new RCSID macros.
MFC after: 3 days
2001-10-04 04:42:03 +00:00
Bruce Evans
5843ec1d4c
Fixed various type errors in synopsis.
2001-10-03 16:53:59 +00:00
Bruce Evans
db7534cfa2
Fixed bitrot in synopsis. The TI-RPC changes gave mounds of it, mainly
...
inconsistently weird const poisoning in the man pages relative to the
headers.
2001-10-03 16:47:56 +00:00
Bruce Evans
9e68201aa6
Fixed spelling of rpow in rpow's prototype.
2001-10-03 16:33:00 +00:00
Bruce Evans
da838a6546
Fixed missing `const' in synopsis.
2001-10-03 16:29:21 +00:00
Bruce Evans
d2dcbe6238
Fixed return type in synopsis.
2001-10-03 16:25:08 +00:00
Bruce Evans
d3958121e6
Fixed bitrot in synopsis. The change of the color type from byte to u_long
...
had not reached here.
2001-10-03 15:20:03 +00:00
Alfred Perlstein
9c2ccf2741
Avoid getting stuck in system(3) when the internal call to wait4()
...
is interrupted by saving the pid.
The old code would assign the return value to pid which would trash
it, to fix the problem save a copy of the pid to be used as the
paramter to wait4().
Submitted by: Toshihiko ARAI <toshi@jp.FreeBSD.org>
2001-10-03 11:01:39 +00:00
Bruce Evans
6a8ba2f960
Don't install manpage links for the nonexistent functions exp2(),
...
exp2f(), log2() and log2f().
2001-10-03 06:30:11 +00:00
Bruce Evans
12c3d47f0a
Removed .Nm's for the nonexistent functions exp2() and exp2f().
2001-10-03 06:25:55 +00:00
Bruce Evans
e3be9e1004
Made this header self-sufficient.
...
Fully parenthesized a macro definition.
2001-10-03 05:25:07 +00:00
Bruce Evans
0c9467724c
Fixed syntax errors in synopsis. The restrict keyword doesn't exist yet.
...
The corresponding bugs in <wchar.h> have no effect because the function
prototypes there don't have args so the __restrict "keyword" is
misinterpreted as an arg.
2001-10-03 05:19:47 +00:00
Bruce Evans
0f393d5ccb
Fixed wrong arg type in synopsis.
2001-10-03 03:57:42 +00:00
Bruce Evans
1457ddda12
Fixed bitrot in synopsis. The change of the return type of
...
Set_Boot_Blocks() from void to int had not reached here. Callers
still don't check the new return value.
2001-10-03 03:49:48 +00:00
Bruce Evans
593126b9d6
Fixed misspelled arg type in synopsis.
2001-10-03 01:45:37 +00:00
Bruce Evans
8bb4f93fa7
Fixed missing include in synopsis.
2001-10-03 00:51:30 +00:00
Hajimu UMEMOTO
1e09a8ab6c
- cope with sa_len < sizeof(struct sockaddr).
...
From: Patrik Lindergren <patrik@datacom.nu>
- delint (pointer cast issue). from netbsd-current
Obtained from: KAME
MFC after: 1 week
2001-10-02 13:51:29 +00:00
David E. O'Brien
4f375b90fc
Clean this up after the NetBSD syncing.
2001-10-01 23:10:48 +00:00
David E. O'Brien
0878b3a9b1
Fix ID's after a total boch CVS merge due to multiple people making
...
commits to these files.
As I sing to CVS:
Have I told you lately that I hate your guts? Have I told you
all SCM's are above you? You fill my heart with pain, take away
all my merging joy, grow my troubles that's what you do."
2001-10-01 23:00:29 +00:00
David E. O'Brien
be4f05c4f6
Our histedit.h lives in src/include.
2001-10-01 21:08:03 +00:00
Ruslan Ermilov
32eef9aeb1
mdoc(7) police: Use the new .In macro for #include statements.
2001-10-01 16:09:29 +00:00
Ruslan Ermilov
fef722a4a0
Re-applied some of rev. 1.11 and 1.13 fixes that were lost in the last commit.
...
Fixed some more.
2001-10-01 15:53:07 +00:00
Ruslan Ermilov
2677aa4b68
mdoc(7) police: don't split author names in the AUTHORS section.
2001-10-01 13:50:03 +00:00
Ruslan Ermilov
00ba66fcf2
mdoc(7) police: markup nits.
2001-10-01 12:52:24 +00:00
Ruslan Ermilov
ae0d2bed3e
mdoc(7) police: s/atof/atoi/
2001-10-01 12:44:24 +00:00
David E. O'Brien
6b0d93bcea
Add the 4.4-FreeBSD libperl.so.3 as the version in -CURRENT is .so.4.
2001-10-01 11:25:34 +00:00
David E. O'Brien
57afe3e028
Add the 4.4-FreeBSD libedit.so after the sh version bump in -CURRENT due
...
to the API changes from merging with the NetBSD libedit.
2001-10-01 09:26:23 +00:00
David E. O'Brien
f9ff4724ec
What was I thinking???
...
<JEDI MIND TRICK>
That was not the commit you wanted to get.
</JEDI MIND TRICK>
2001-10-01 09:25:49 +00:00
David E. O'Brien
f5d9cb6410
What was I thinking....
...
<JEDI MIND TRICK>
This is not the commit you wanted to get.
</JEDI MIND TRICK>
2001-10-01 09:22:04 +00:00
David E. O'Brien
89fd352c12
Add the 4.4-FreeBSD libwrap after the sh version bump in -CURRENT due to
...
the API changes from merging with the NetBSD libwrap.
2001-10-01 09:17:23 +00:00
David E. O'Brien
3c19577344
+ Sync with NetBSD, bringing in feature enhancements.
...
+ Convert to ANSI-C function definitions
+ style(9)
Submitted by: kris
2001-10-01 08:41:27 +00:00
Matthew Dillon
fa81a9761d
Add huff __FBSDID()s puff to whew! libz
2001-09-30 22:39:00 +00:00
Matthew Dillon
22a7e5990a
Add __FBSDID()s to liby
2001-09-30 22:36:18 +00:00
Matthew Dillon
8719c58fef
Add __FBSDID()s to libutil
2001-09-30 22:35:07 +00:00
Matthew Dillon
209040d8b0
Add __FBSDID()s to libusb
2001-09-30 22:30:55 +00:00
Matthew Dillon
73653312e3
Add __FBSDID()s to libtelnet
2001-09-30 22:30:15 +00:00
Matthew Dillon
a71f4c3a15
Add __FBSDID()s to libtacplus
2001-09-30 22:29:19 +00:00
Matthew Dillon
e74b6a84ce
Add __FBSDID()s to libstand
2001-09-30 22:28:01 +00:00
Matthew Dillon
542d87feca
Add __FBSDID()s to librpcsvc
2001-09-30 22:15:15 +00:00
Matthew Dillon
f8014c0927
Add __FBSDID()s to libradius
2001-09-30 22:12:36 +00:00
Matthew Dillon
ceaf33f537
Add __FBSDID()s to libpam
2001-09-30 22:11:06 +00:00