Commit Graph

20106 Commits

Author SHA1 Message Date
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
wosch
154b7d3e6c Add reference to `PMake - A Tutorial' 1997-03-09 15:51:07 +00:00
bde
b964069da2 Include <machine/asm.h> instead of kernel-only <machine/asmacros.h>. 1997-03-09 14:01:11 +00:00
bde
323777f28d Moved userland assembler macros from <machine/asmacros.h> to
<machine/asm.h>.
1997-03-09 13:57:33 +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
wosch
01b8721dc8 Support comments in password database (/etc/master.passwd).
Comments in group database (/etc/group) are currently not
supported - adduser silently delete blank lines and comments.
1997-03-09 12:21:45 +00:00
wosch
871486be75 Document comments. 1997-03-09 12:20:48 +00:00
bde
d0359498f7 Cloned src/lib/libc/i386/DEFS.h to create <machine/asm.h> for the i386.
The former file was too hard to get at from other parts of the src tree
and will go away.
1997-03-09 10:39:15 +00:00
bde
23d82fc079 YAMInTheWrongDirectionF22 (part of rev.1.28.2.3: set B_CLUSTEROK for
commits).
1997-03-09 10:21:26 +00:00
bde
6d26a929ee Don't use a dot in the chown command. Fixed some minor style bugs.
Building things at install time under ${DESTDIR} was too hard to fix.

Bruce
1997-03-09 09:41:44 +00:00
bde
7e5a42e799 Fixed style bugs in install rule (afterinstall -> beforeinstall, etc).
Removed stale comment.
1997-03-09 07:27:18 +00:00
bde
bf5cb4af6f Don't use a dot in the chown command. In fact, don't use a chown command.
Use mtree instead of mkdir+chown+chmod to build the subdirectory hierachy.
The corresponding mtree command in src/etc/Makefile can't be relied on
because the hierachy gets blown away in the default SHARED=symlinks case.
1997-03-09 07:12:37 +00:00
bde
ba8a69e0e7 Added forgotten directories netns and pccard. The bug was masked by
bogons in /usr/src/include/Makefile.
1997-03-09 06:57:00 +00:00
mpp
97b9102cae Update a number of routines to reflect the actual name
of the routine that caused the panic.
1997-03-09 06:10:36 +00:00
bde
c98bb18e27 Don't use a dot in a chown command. In fact, don't use any commands
except `install' at install time.  Don't build things at install time.
Don't hide the build steps using @.  Install with mode ${NOBINMODE}
instead of 444.

Poor source layout made this harder than it should have been.  E.g.,
a suffix rule can't be used because of the subdirectories, and a
new makefile per subdirectory (i.e.m per data file) would be excessive.
See /usr/src/usr.bin/mklocale for a better organisation.
1997-03-09 06:08:22 +00:00
mpp
e016dd059c Update a number of panic messages to reflect the actual name
of the routine that caused the panic.
1997-03-09 06:00:44 +00:00
wosch
76b7d8286d Add table of contents. Remove stale comments. 1997-03-09 02:23:40 +00:00
mpp
472a3946c4 The CIRCLEQ_ENTRY example was wrong. Part of PR# 2917. 1997-03-09 00:49:00 +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
mpp
6c3dd051db Fix a number of typos, one of which is part of PR# 2917. 1997-03-09 00:33:19 +00:00
wosch
6576c97bc0 Add comments. 1997-03-09 00:14:00 +00:00
wosch
b3214dac27 Add new variables COMPRESS_CMD and COMPRESS_EXT.
bsd.doc.mk:
	rename GZIPCMD to DCOMPRESS_CMD, add DCOMPRESS_EXT
bsd.info.mk:
	rename GZIPCMD to ICOMPRESS_CMD, add ICOMPRESS_EXT
	set INFOTMPL to ${INFODIR}/dir-tmpl
bsd.man.mk
	rename ZEXTENSION to MCOMPRESS_EXT, MCOMPRESS to MCOMPRESS_CMD
1997-03-08 23:46:56 +00:00
bde
be1a7b3ece Don't use a dot in the chown commands. In fact, don't use any commands
except `install' at install time.  Don't build things at install time.
Install with mode ${NOBINMODE} instead of 444.
1997-03-08 21:41:41 +00:00
nate
8dd6460479 Added comments regarding 3Com PCMCIA cards:
- Multi-function ethernet/modem cards are not supported
- 3c589D is not supported
- Add advice on how to setup the driver to work with 3c589 cards.
- State how to select the network connector.
1997-03-08 20:04:20 +00:00
bde
1f6d100236 Don't use dot in a chown command. The chown command has been a no-op
for years since it is for a symlink.
1997-03-08 19:47:08 +00:00
pst
e86ef99c68 Install opie.h in /usr/include 1997-03-08 19:42:41 +00:00
pst
b24bfb19c5 Make OPIE's public API use BSD conventions. 1997-03-08 19:42:17 +00:00
bde
34f9a2152a Don't use a dot in the chown commands. In fact, don't use any commands
except `install'.  Changed $() to ${}.  Don't use the afterinstall target
(it is only for things that must be done after the install target is
built).
1997-03-08 19:28:07 +00:00
bde
5983c79b17 Fixed substitution of @TMAC_S_PREFIX@ and @TMAC_M_PREFIX@. 1997-03-08 19:06:23 +00:00
wosch
bcdd2f8a77 Cleaned up some messages, added a check to remove a leftover popd file
from /var/mail, added a routine to delete the removed user's files
from /tmp, /var/tmp, & /var/tmp/vi.recover, and added code to kill any
running processes owned by the removed user).  I've also added a flag
for non-interactive execution, cleaned up the man page, and adjusted
my address.

Submitted by: ghelmer@cs.iastate.edu (Guy Helmer)
1997-03-08 18:04:45 +00:00
ache
d7897ffa5f Make /dev/urandom fd static, or it pick up random descriptor
(stack garbadge) and read from it

Should go into 2.2
1997-03-08 18:01:40 +00:00
wosch
22b37bfd18 Enable some aliases.
Add example for variable CDPATH, commented out.
1997-03-08 16:35:39 +00:00
guido
f1600b2590 Add my pgp key 1997-03-08 16:27:59 +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
jkh
392282ab2e YAMF22 1997-03-08 16:17:49 +00:00
bde
dfdab64a18 Use the common nchstats struct instead of a private one for ncs_2passes
and ncs_pass2.  The public one is already used for other cd9660 statistics
and the private one was effectively invisible.
1997-03-08 16:09:38 +00:00
bde
0309fd38a3 Fixed missing initialisation of vp->v_type for types Pfile and Pmem
in procfs_allocvp().  This fixes at least stat() of /proc/*/mem.

stat() of /proc/*/file already worked.  I think procfs_allocvp() isn't
actually called for type Pfile.
1997-03-08 16:06:34 +00:00
guido
7645c8bdd7 Make mv more robust. A race has been fixed, as well as an extra warning
added when sbits are cleared.
Fixes PR 1351 and 1377 (I hope).
1997-03-08 16:05:44 +00:00
wosch
6dc3cd9138 Sync with /etc/mtree/BSD.root.dist. 1997-03-08 15:54:56 +00:00
kato
df6c7f41ff Synchronize with sys/i386/boot/biosboot/Makefile revision 1.55. 1997-03-08 15:46:59 +00:00
bde
caf27c1d17 Fixed the hash formula. Lite2 doesn't have phashinit(), so Lite2's hash
formula uses `& nchash'.  This is very broken when nchash is a prime
number instead of 1 less than a power of 2, but the Lite2 formula was
merged in.

Merged some cosmetic changes from Lite2, rev.1.21 and Lite1.  The merge
was difficult because the Lite2 code is essentially ours (phk's) except
where Lite2 improved or broke it.

Summary of the Lite2 changes:
- in the copyright, phk's rights have been transferred to the Regents.
  This change should be reviewed.
- nchENOENT went away; the "no" vnode is now simply 0.
- comments were improved.
- style was "improved".
- goto instead of Fanatism (sic) was considered bad :-).
- there are some small changes to support whiteouts.
- new cache entries are added in more cases.  More work is required
  near here to change the hash table size if kern.desiredvnodes is
  changed using sysctl.
- rescanning of the hash bucket in cache_purgevfs() was removed.  This
  change should be reviewed.
1997-03-08 15:22:14 +00:00
guido
d3df6f9beb Fix style bugs and other bugs in the NFS fix. 1997-03-08 15:14:30 +00:00
wosch
56f9fdc5ec Add variable MAIL. 1997-03-08 14:41:44 +00:00
wosch
9643ba6a4a Allow comments in password database. The comments are copied from
the password file into /etc/master.passwd and optional (-p) into
/etc/passwd. Enable this feature with the compile
option -DPASSWD_IGNORE_COMMENTS.

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.
An empty line at the bottom of /etc/master.passwd is a common
novice error and increased my mail load: '^[ \t]*\n$'
1997-03-08 14:09:24 +00:00
jkh
e45d393547 YAMF22 1997-03-08 12:58:29 +00:00
ache
61ad3a8aa4 Unpend all signals before execv, it not makes any sense to pend them here
Should go into 2.2
1997-03-08 12:15:58 +00:00
ache
92533e08e9 Unpend fault signals like SIGSEGV, etc
It is too dangerous to continue with them in any case

Should go into 2.2
1997-03-08 12:11:26 +00:00
jkh
c3c0632428 Correct a bogus URL to bash in an example. 1997-03-08 11:44:08 +00:00
ache
f30aec925d Add ^ getpid() to make more random results for subsequent calling.
Add proper type casting to random calls

Should go into 2.2
1997-03-08 11:40:15 +00:00