Commit Graph

28530 Commits

Author SHA1 Message Date
John Dyson
fcf1880fa0 Change some tests from CPU_CLASS686 to CPU_686 as appropriate, and
also correct a serious ommision that would cause process faulures
due to forgetting an invltlb type operatino.  This was just a
transcription problem.
1998-05-11 08:11:57 +00:00
Peter Wemm
428fb2dd11 Fix PR 1607, hopefully without breaking the PR 5208 fixes.
umount() was trying to stat() the mountpoint, this would fail if the
mountpoint was a NFS mountpoint, and the fallback code would try and pass
a hostname:/dir path as the mountpoint to unmount(2), which would fail.

This whole stat() of the name supplied on the command line business is
trouble as it'll wedge on a hung NFS mount.

I'm not entirely sure why we are not simply looking up both arguments
in the mount table and doing the right thing without accessing the
filesystem.  It seems that we're going to a lot of trouble to allow
mountpoints on symlinks and other wierd things.

PR: 1607
1998-05-11 07:38:42 +00:00
John Dyson
1f56217280 Fix the futimes/undelete/utrace conflict with other BSD's. Note that
the only common  usage of utrace (the possible problem with this
commit) is with malloc, so this should be a real problem.  Add
the various NetBSD syscalls that allow full emulation of their
development environment.
1998-05-11 03:55:28 +00:00
Steve Price
a205fdb540 Fix spelling error.
PR:		6572
Submitted by:	Kazuo Horikawa <horikawa@jp.freebsd.org>
1998-05-11 03:44:55 +00:00
Steve Price
19dd549aca Change NBPG to PAGE_SIZE to match one of phk's recent commits.
PR:		6573
Submitted by:	Kazuo Horikawa <horikawa@jp.freebsd.org>
1998-05-11 03:41:51 +00:00
John Dyson
5498a452bc Support better performance with P6 architectures and in SMP
mode.  Unnecessary TLB flushes removed.  More efficient
page zeroing on P6 (modify page only if non-zero.)
1998-05-11 02:13:47 +00:00
John Dyson
f0175db1ee Attempt to set write combining mode for graphics devices. 1998-05-11 01:06:08 +00:00
Jordan K. Hubbard
9b6f1a185f Make Mitsumi and Sony CDROM devs also use the `a' device. I think
they'll have (or are having) similar problems to those described
for the matcd device in PR#6576
1998-05-11 00:47:27 +00:00
Jordan K. Hubbard
92be7163cc It was incorrect to use the `c' device for the matcd driver;
apparently, unlike the IDE or SCSI CDROM drivers, this is magically
special-cased for audio CDs.  This also might explain what happened
with scd (Sony) CDs also since I made the same change there.  A follow-up
commit will fix that. Thanks, Dave!

PR:		6576
Submitted by:	Dave Marquardt <marquard@zilker.net>
1998-05-11 00:45:06 +00:00
Steve Price
a396970306 Add support for the Yamaha YMF-719.
PR:		6348
Submitted by:	Yoshiak Uchikawa <yoshiaki@kt.rim.or.jp>
1998-05-10 23:53:27 +00:00
John Birrell
36af80b1a0 Remove a 'const' because it was getting thrown away anyway. 1998-05-10 23:48:18 +00:00
John Birrell
43f3c8ed20 There is no alpha asm code like on i386, so all the functions that
the i386 builds with a __generic prefix need to have that stripped.
1998-05-10 23:46:01 +00:00
John Birrell
adaa81ba92 Cast a pointer to a long, not an int before masking it. 1998-05-10 21:22:47 +00:00
John Birrell
cc4473c104 Remove 'of type long' from a sentence talking about four 4-byte values
because that is wrong on alpha.
1998-05-10 21:21:01 +00:00
John Birrell
9f74bac921 ut_time is a time_t, not a long. 1998-05-10 21:13:30 +00:00
Tim Vanderhoek
b2805b78b6 1) kill -HUP syslog, even if compressing supposedly "binary" files
PR:	docs/6385

2) -n (noaction) does not imply -r (run as non-root), since as of
   Rev. 1.12 (ache), -r changes actual behaviour.

3) missing \n from if(noaction) messages.
1998-05-10 21:13:29 +00:00
John Birrell
fac6d93b19 Treat all internet addresses as u_int32_t. 1998-05-10 20:51:46 +00:00
John Birrell
76a4b30ba2 Don't try to build shared libraries or libc_r yet.
Add a message about adding the man user that NetBSD doesn't have.
1998-05-10 20:24:52 +00:00
Tim Vanderhoek
28a9b05b87 Arg! Someone fixed the synopsis in -stable's newsyslog.8, but not
in -current.  However, they fixed both the ordering and the missing -F
flag.  Merge from 22 and fix ordering here, too.
1998-05-10 19:04:06 +00:00
Tim Vanderhoek
b813e9a54a Fix the usage here, too (-F option).
Typo fix in comment ("Force the tim now matter what" s/tim/trim/)
1998-05-10 18:47:50 +00:00
Tim Vanderhoek
cd6f8bd276 1) Remove a line that somehow strayed from the one true path of
its sentence.
2) Fix usage (-F option).
1998-05-10 18:41:16 +00:00
Bruce Evans
b709987938 Removed share/info from build-tools. It should never have been there,
and became redundant when it was put in SUBDIR, and became bogus when
WORLDTMP was introduced, and became broken when INFODIR was introduced.

PR:		6138
1998-05-10 16:51:07 +00:00
Steve Price
f135a2b210 Fix minor typo.
PR:		6571
Submitted by:	Stephen J. Roznowski <sjr@home.net>
1998-05-10 16:35:31 +00:00
Bruce Evans
930ef4e26d Removed bogus dependencies of generated .c files on generated headers. 1998-05-10 16:03:17 +00:00
Bruce Evans
330698829e Fixed missing dependencies on headers generated by rpcgen, as usual.
Removed bogus dependencies of generated .c files on generated headers.
Sorted sources lists.
1998-05-10 16:01:36 +00:00
Bruce Evans
881b7b471b Fixed the usual missing dependencies on headers generated by rpcgen. 1998-05-10 15:54:22 +00:00
Bruce Evans
959bcb5329 Simplified by putting all generated headers in SRCS. The explicit
dependencies on *.o were complete, but this was not obvious.
1998-05-10 15:48:54 +00:00
Bruce Evans
5e97204684 Use rpcgen's -C option to get prototypes in nfs_prot.h. 1998-05-10 15:16:04 +00:00
Wolfram Schneider
5b44ce4f91 Print a human-readable warning and die if $INFODIR do not exist.
PR: bin/6138
Reviewed by: bde
1998-05-09 22:15:19 +00:00
Garrett Wollman
cffe96c903 Fix my last change: the .Fx macro doesn't do anything useful without an
argument, so use `.Tn FreeBSD' instead.
1998-05-09 21:39:49 +00:00
John Birrell
41a5006d79 Add join to the list of bootstrap tools and remove the cpp script because
we set CPP explicitly.

Ensure that the make flags are used for depends too.

After building the build tools with LMAKE (which allows installed tools
to be used), rebuild the same tools with XMAKE (which does not use
the installed tools, headers or libraries) to check that the tools can
build themselves and that there are no missing tools.
1998-05-09 21:28:01 +00:00
Garrett Wollman
eeed58d824 Documentation fix: delete references to T/TCP as they are not relevant
to the case in question.  (Said case being quite clearly defined by
the basic TCP specification, RFC 792.)
1998-05-09 20:50:37 +00:00
Mike Smith
795d035511 Add character major for 'loe' loopback pseudo-ethernet device.
Requested by:	sbabkin@dcn.att.com
1998-05-09 17:52:26 +00:00
Bruce Evans
ee4b699da3 Fixed the usual missing dependencies on headers generated by rpcgen.
Use rpcgen's -C option, although using it for non-headers breaks K&R
support.  A local copy of yp.h is built to avoid adding
-I/usr/include/rpcsvc to CFLAGS.  This version of yp.h differed from
<rpcsvc/yp.h> only in not declaring prototypes.

Fixed style bugs.
1998-05-09 15:10:53 +00:00
Brian Somers
ec791cadb1 Add a BUGS section and describe a problem I've been having for
a few weeks now.
1998-05-09 14:45:06 +00:00
Bruce Evans
48ef4329ab Fixed the usual dependency bugs. This Makefile accidentally usually
worked for `make -j9', but failed for `make -j4'.
1998-05-09 13:32:37 +00:00
Bruce Evans
e95ee6a0dc Fixed overflow in sysinit enum constants. In that little-used
language, ANSI C, enum constants must be representable as ints.
We assumed at-least-33-bit ints.  This worked on some 32-bit
systems because we don't mix negative sysinit enum constants with
too-large sysinit enum constants, and the compiler used an unsigned
32-bit type for sysinit enum variables, so sysinit enum variables
were sorted correctly.  The fix lops off 4 hopefully-unused bits
so that we now only assume at-least-29-bit ints.
1998-05-09 12:14:18 +00:00
John Birrell
a217dc6fbc Cast pointers to longs, not ints.
Hopefully that's the last of the 64-bit cleaning of src/games. That is,
without adding -Wall to the compiler flags. That's not a pretty sight.
1998-05-09 11:33:22 +00:00
Bruce Evans
6f6040ffb1 Fixed `make -j9' by putting generated headers in ${SRCS}. Removed bogus
dependencies of generated .c files on generated headers (these made
`make -JN' work provided `depend' was made first).  Sorted sources lists.
1998-05-09 11:32:43 +00:00
John Birrell
4af1e600d9 Change long variable to time_t where it is passed to time() by reference. 1998-05-09 11:31:20 +00:00
John Birrell
47b18310e8 Add #include string.h to get prototypes. 1998-05-09 11:06:46 +00:00
John Birrell
386849d36b Add #include string.h to get prototypes and change variables from long
to time_t where they are passed to time() and localtime() by reference.
1998-05-09 11:03:03 +00:00
John Birrell
d62b710a47 Remove bogus time() prototype and let the one in time.h rule. 1998-05-09 11:00:50 +00:00
John Birrell
5c76d795ab Add #include string.h to get prototypes. 1998-05-09 10:59:57 +00:00
John Birrell
22c1ea5a54 Cast pointers to long instead of int. 1998-05-09 10:51:27 +00:00
John Birrell
7625cdf7fc Add #include string.h to get prototypes. 1998-05-09 10:50:29 +00:00
John Birrell
e0c780eee3 Change casts of function pointers from int to long. This makes the
compiler warnings go away, but the compiler is throwing away 32-bits
as the long value is silently truncated to an int on alpha. But the
program works, so that must not matter.
1998-05-09 10:39:48 +00:00
John Birrell
39c469541a Add #include string.h to get prototypes. 1998-05-09 10:23:10 +00:00
John Birrell
a0acd2442a Change long variable to time_t because it passed to time() and ctime(). 1998-05-09 10:21:24 +00:00
John Birrell
37fb4a6158 Change long variables to time_t if they are passed to time() or localtime()
be reference.
1998-05-09 10:15:15 +00:00