bde
fe07b8dac8
Fixed synopsis. Some float functions claimed to have the same name as
...
the double version.
1997-03-19 01:28:44 +00:00
bde
847387de22
Fixed quoting in .Fn macro invocations in synopsis. The args must be
...
quoted individually. Quoting them all together sort of worked, except
for scsreq_build(), the long arg list was chopped near column 80, to
no avail since the closing parentheses was put on new line by itself.
1997-03-19 01:15:44 +00:00
bde
e32c9b1cfa
FIxed arg types (mostly missing consts) in synopsis.
1997-03-19 00:58:07 +00:00
bde
4cc11f6a3d
FIxed arg types (mostly missing consts) in synopsis.
1997-03-19 00:52:58 +00:00
bde
3f60b44c4e
Added missing #include of <stdarg.h> to synopsis. Moved prototypes for
...
`v' functions after this #include (same organisation as in printf.3 for
printf/vprintf).
1997-03-19 00:43:13 +00:00
bde
3d67153315
Fixed missing function types in synopsis.
1997-03-19 00:32:42 +00:00
bde
7e02e1861d
Fixed synopsis (put all of the function (return) type info in .Ft and
...
none in .Fn).
1997-03-19 00:06:09 +00:00
bde
af16e6a322
Removed unnecessary quoting of function names in synopsis to simplify
...
automated checking of synopses.
1997-03-18 23:57:33 +00:00
eivind
020e7483d9
Re-order terms to avoid potential pointer overflow, and remove one
...
more potential buffer overflow.
Submitted by: bde
1997-03-18 16:09:27 +00:00
phk
2efc53e737
Check for overflow in size argument.
...
Tested by: Joel Maslak <j@pobox.com>
Closes: PR kern/2964
1997-03-18 07:54:24 +00:00
ache
30ee004f83
Fix arg types to match Lite2
1997-03-17 16:27:16 +00:00
eivind
1062c914df
Buffer overflow fix - closes PR bin/2983 for -current. Should really
...
go into 2.2.0 Release, even at the present time. Problem spotted by
Tero Kivinen <kivinen@ssh.fi> - was in BugTraq today :-(
1997-03-17 09:30:19 +00:00
bde
db004d74c8
Updated prototype for mount() to match Lite2 reality for the 1st arg
...
and Lite1 or earlier reality for the 4th arg.
1997-03-13 21:11:33 +00:00
peter
5f73b5e6c7
Part 2 of a failed commit (cvs broke). Original message:
...
Back out a dubious Lite2 change to "optimise" getcwd() to look at $PWD
because it's potentially dangerous (think: symlink races). Move
realpath() back to it's original location, and remove getcwd_physical()
by renaming it back to getcwd() and zapping the original getcwd wrapper.
Noticed by: bde
The following commits already happened but the log message got lost:
Modified Files:
gen/Makefile.inc gen/getcwd.c stdlib/Makefile.inc
Removed Files:
gen/realpath.3
1997-03-13 06:58:46 +00:00
peter
78c59a98a4
Back out a dubious Lite2 change to "optimise" getcwd() to look at $PWD
...
because it's potentially dangerous (think: symlink races). Move
realpath() back to it's original location, and remove getcwd_physical()
by renaming it back to getcwd() and zapping the original getcwd wrapper.
Noticed by: bde
1997-03-13 06:45:38 +00:00
jmz
42805e98f8
Add a pair __BEGIN_DECLS/__END_DECLS
1997-03-13 00:13:25 +00:00
bde
2e22fb97fd
Make this man page really match the current <sys/signal.h> again and
...
the 2.x <sys/signal.h> for the first time :-). The type of ss_sp
was lexically different.
1997-03-12 17:16:22 +00:00
mpp
5df20433ff
Make this man page match the current <sys/signal.h> again :-).
...
Bruce says that since NetBSD, OpenBSD and Linux currently
use ss_sp, we won't be changing it to the lite2 ss_base.
The type may change at some later date.
1997-03-12 16:23:36 +00:00
mpp
5a5ba05ed7
Update the structure to match how things are going to appear after
...
bde commits some changes later tonight.
1997-03-12 15:35:52 +00:00
mpp
da10f47e40
More cleanup - I didn't realize that this was a new man page
...
and need extra attention :-)
1997-03-12 15:21:57 +00:00
bde
336e7e8197
Restored a .Fa line that was lost in the Lite2 merge.
1997-03-12 15:18:28 +00:00
mpp
92b8aa78b1
Mdoc cleanup.
1997-03-12 15:14:07 +00:00
bde
881d90505a
Fixed merging error. Lite2 fixed premature failure and didn't
...
touch duplicate group suppression, but the merge blew away our
duplicate group suppression.
The merge also blew away the -Wall cleanup in rev.1.5, but that
was misformatted, so I didn't restore it.
1997-03-12 14:54:22 +00:00
mpp
2602ef2be2
Cleanup some of the Lite2 merge. Most of it is mdoc cleanup,
...
but in one case the Lite2 changes were flat out wrong and
caused the man page to disagree with a header file.
There are still some *roff macro calls that were added that
I have yet to figure out what to do with in some of the man pages.
1997-03-12 14:49:41 +00:00
bde
8d016e3df8
Fixed errors in the Lite2 merge. Some style changes were mismerged.
...
My changes to preserve errno across free() and close() and to report
fstat() errors properly were blown away.
Updated the FreeBSD changes to match the Lite2 style fixes.
1997-03-12 12:35:44 +00:00
peter
214d331cf7
Fix problem with FD_SET* overflow reporting.. Perror() didn't have enough
...
args, and errno hasn't actually been set so it probably doesn't make sense
to report it via strerror().
Pointed out by: bde
1997-03-12 11:10:54 +00:00
peter
9e8bec9430
_res_close() -> res_close()
...
Pointed out by: bde
1997-03-12 11:02:00 +00:00
bde
080e6ca0db
Document that popen() uses a bidirectional pipe (in FreeBSD) and not a
...
socket pair (as in Lite2).
1997-03-11 19:28:24 +00:00
bde
89013b759d
Fixed cleaning up after malloc failure, which was broken by Lite2.
...
We don't use socketpair(), so don't #include <sys/socket.h>.
Restored some gcc-quieting parentheses that were lost in the Lite2 merge.
1997-03-11 18:51:43 +00:00
bde
c555acba17
Install the Lite2 getvfsbyname.3. The old getvfsbyname() interface is
...
still available and described in getvfsent.3.
1997-03-11 18:20:06 +00:00
bde
64ac706d30
Fixed #include's in synopsis.
1997-03-11 18:16:02 +00:00
peter
0b3e1277b4
Merge from Lite2:
...
filesystem include updates, duplicate group suppression, cleanups,
filesystem whiteout support (unionfs), bidir popen().
1997-03-11 11:52:33 +00:00
peter
9234fe208b
Merge from Lite2: man page updates
1997-03-11 11:47:52 +00:00
peter
95dd0ef3c9
Merge from Lite2 (YAMFL2? :-)
...
Document that popen() can now create bidirectional pipes and handles.
Note that this needs to be updated since we have a native bidirectional
pipe and don't use socketpair() here.
1997-03-11 11:46:19 +00:00
peter
3b770c218d
Merge from Lite2 (+realpath.3)
1997-03-11 11:42:56 +00:00
peter
fa3f8bd93c
Merge from Lite2 (whiteout/unionfs)
1997-03-11 11:41:46 +00:00
peter
3c7b61789b
Merge from Lite2
1997-03-11 11:40:40 +00:00
peter
8574ea8a0e
Merge Lite2 changes
1997-03-11 11:39:58 +00:00
peter
bb2b65bb1c
merge from Lite2 - realpath() now shares a lot of code with getcwd()
...
and is now in the same file.
1997-03-11 11:37:59 +00:00
peter
724b89cfd3
Merge from Lite2 onto mainline -
...
- add undelete() and undelete.2 (requires libc minor bump some time)
- man page updates
1997-03-11 11:35:56 +00:00
peter
e8e23405de
This commit was generated by cvs2svn to compensate for changes in r23658,
...
which included commits to RCS files with non-trunk default branches.
1997-03-11 11:29:42 +00:00
peter
e0e06d68d5
Import CSRG 4.4BSD-Lite2 lib/libc onto vendor branch
1997-03-11 11:29:42 +00:00
peter
79c7d6aa06
Import CSRG 4.4BSD-Lite2 includes onto vendor branch
1997-03-11 11:11:37 +00:00
guido
39c96d6474
Check for overflow of FD_SET
1997-03-10 19:32:46 +00:00
wpaul
7ff7ea9cd1
Fix brain-o in SunOS passwd.adjunct stuff: !strstr(s, "##") is a) bad
...
style and b) the wrong logic. Should be strstr(s, "##") != NULL. (Note
that the passwd.adjunct stuff has not been merged into 2.2 so this bug
is not in that branch.)
1997-03-10 16:47:19 +00:00
bde
6dc700613a
Use __ieee754_sqrt() instead of sqrt() internally. Similarly for the
...
float versions. Using sqrt() was inefficient.
Obtained from: NetBSD
1997-03-09 16:29:29 +00:00
bde
b964069da2
Include <machine/asm.h> instead of kernel-only <machine/asmacros.h>.
1997-03-09 14:01:11 +00:00
mckay
0df49cb9cf
Clarified the behaviour of dup2(fd1,fd2) when fd1==fd2 and when fd1 is invalid.
...
Safe for 2.2!
1997-03-09 13:16:48 +00:00
mpp
5618b9b15f
The first argument to fts_set was wrong. Part of PR# 2917.
1997-03-09 00:43:49 +00:00
mpp
db4d23e2e1
Pause() is made obsolete by sigsuspend(2), not sigpause(3).
...
Part of PR# 2917.
1997-03-09 00:42:46 +00:00