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
pst
e86ef99c68
Install opie.h in /usr/include
1997-03-08 19:42:41 +00:00
wosch
4a00491736
Allow comments in group database.
...
The character `#' introduces a comment. Leading spaces and tabs are
ignored: '^[ \t]*#.*\n$'
Count an empty line - only spaces, tabs or newline - also as a comment.
(to be compatibel with password database comments). '^[ \t]*\n$'
1997-03-08 16:21:40 +00:00
pst
7b62769663
API cleanups (use const char * where appropriate)
...
Cannidate for: 2.2 (please!)
1997-03-08 06:22:51 +00:00
mpp
62d7ba8abf
Add a missing semi-colon.
...
Submitted by: jmg
1997-03-07 06:15:54 +00:00
bde
8f4ea9b776
Fixed wrong magic numbers in scaling. hypotf() was very broken for large
...
and small values:
hypotf(2.3819765e+38, 2.0416943e+38) was NaN instead of 3.1372484e+38
hypotf(-3.4028235e+38, 3.3886450e+38) was NaN instead of Inf
hypotf(-2.8025969e-45, -2.8025969e-45) was 0 instead of 4.2038954e-45
Found by: ucbtest
1997-03-05 11:54:00 +00:00
ache
b51638da37
Remove words about lower limit needed (from BUGS section), we have
...
precise limit now
1997-03-03 23:50:55 +00:00
bde
6c38eceeb9
Fixed handling of input failure by the scanf family.
...
- 0 was returned instead of EOF when an input failure occured while
skipping white-space after 0 assignments. This fixes PR2606. The
diagnosis in PR2606 is wrong.
- EOF was returned instead of 0 when an input failure occurred after
zero assignments and nonzero suppressed assignments.
- EOF was spelled -1.
This should be in 2.2.
1997-03-03 17:53:02 +00:00
imp
f8a5871d89
Use .Sq Li \&\e0 rather than NUL to describe the character with no bits
...
set, as suggested by Garrett Wollman. This is more consistant with how
things like strncpy are done, as well as harder to confuse NUL and NULL.
1997-03-03 15:39:06 +00:00
bde
1d929b9ddb
Enabled the Lite2 getvfsbyname(). It's actually named new_getvfsbyname()
...
for now so that we don't lose library compatibility. Applications should
define _NEW_VFSCONF and use getvfsbyname() instead of new_getvfsbyname()
if they want the new vfsconf interface. Parts of the old interface
(enough to load vfs modules, I hope) are still available.
1997-03-03 13:08:33 +00:00
ache
deb10b28e8
Use stricter MAXLOGNAME now
1997-03-03 09:52:26 +00:00
ache
43ee6e6220
Reflect current MAXLONGNAME value and specify that null included
1997-03-03 09:17:16 +00:00
ache
681c062a91
Don't add/subtract 1 to MAXLOGNAME, it is already NUL-terminated
1997-03-03 08:11:28 +00:00
mpp
16adac7326
Change vfc_typenum back to vfc_index in response to bde's
...
commit to getvfsent.c rev 1.10.
1997-03-03 06:02:54 +00:00
bde
d2d0d9bc8b
Changed vfc_typenum back to vfc_index. The old vfsconf struct is now
...
visible again, and the new vfsconf struct didn't match reality.
1997-03-03 05:53:54 +00:00
ache
08d63c99ae
MAXLOGNAME currently 16, not 12
1997-03-02 21:47:03 +00:00
imp
d2c3804867
Pendantic change of null to NUL. Also warn that this function does not
...
NUL terminate in the case of buffer overflow.
1997-03-02 20:07:37 +00:00
bde
3327bb1de0
Attempt to import Lite2's getvfsbyname.c.
1997-03-02 18:13:14 +00:00
bde
fa46b708cb
This commit was generated by cvs2svn to compensate for changes in r23291,
...
which included commits to RCS files with non-trunk default branches.
1997-03-02 18:13:14 +00:00
mpp
b0a4a0ba48
getnetbyaddr now takes an unsigned long as its first argument.
1997-02-28 06:28:53 +00:00
mpp
34021d3eb0
Oops! I accidently commited a change that wasn't ready for prime
...
time yet. Revert to rev 1.2.
1997-02-28 06:26:26 +00:00
mpp
d6d4380e84
The struct vfsconf element vfc_index is now vfs_typenum.
1997-02-28 06:22:29 +00:00
mpp
0462a72737
Correct the xref section - it was incorrectly using .Fn instead
...
of .Xr for the xrefs.
1997-02-28 05:46:19 +00:00
ache
4815b9da37
"infinity" check was missed from login_getcapsize(), add it
...
One manifestation of this bug: all networking users have coredumpsize=0
1997-02-27 00:24:05 +00:00
imp
00bfe049f9
Buffer overflow from DNS name information which could cause root access
...
when called from lpd.
Reviewed by: jkh, pst
Submitted by: Oliver Friedrichs <oliver@secnet.com>
1997-02-26 06:12:34 +00:00
bde
139936b34a
Use the C library version of log10() instead of the inaccurate formula
...
log10(x) = log10e * log(x). This fixes some small (one or two ULP)
inaccuracies.
Found by: ucbtest
1997-02-24 17:44:08 +00:00
bde
9e266561b3
Oops, I thought I was fixing the double precision lg10 in the
...
previous revision. Use log10f() instead of log10(). log10f() is
currently slightly slower than log10() on P5's, but it is potentially
significantly faster.
Fixed declaration of the C function used in the (unused?) KR_headers
case.
1997-02-24 17:35:33 +00:00
peter
6b08958c64
Revert $FreeBSD$ to $Id$
1997-02-22 15:12:41 +00:00
peter
83b3c2c161
Revert $FreeBSD$ to $Id$
1997-02-22 14:13:04 +00:00
peter
1cfd0ea44b
Back out an easy $FreeBSD$
1997-02-22 11:38:21 +00:00
bde
a9570d9f94
Split up the Bessel function wrapper files so that most wrapper functions
...
are in their own file.
1997-02-20 13:35:15 +00:00
bde
0071d9dabb
Removed misplaced duplicate of comment about implementation details.
1997-02-20 13:14:06 +00:00