]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
26 years agoCorrect use of .Nm.
charnier [Wed, 13 May 1998 07:43:56 +0000 (07:43 +0000)]
Correct use of .Nm.

26 years agoConvert to mdoc.
charnier [Wed, 13 May 1998 07:41:13 +0000 (07:41 +0000)]
Convert to mdoc.

26 years agoCorrect use of .Nm. Add rcsid.
charnier [Wed, 13 May 1998 07:39:11 +0000 (07:39 +0000)]
Correct use of .Nm. Add rcsid.

26 years agoCorrect use of .Nm.
charnier [Wed, 13 May 1998 07:35:44 +0000 (07:35 +0000)]
Correct use of .Nm.

26 years agoRestore Lite-2 sccsid. Restore include of sys/types.h.
charnier [Wed, 13 May 1998 07:33:54 +0000 (07:33 +0000)]
Restore Lite-2 sccsid. Restore include of sys/types.h.

26 years agoRestore Lite-2 sccsid. Restore include of sys/param.h.
charnier [Wed, 13 May 1998 07:31:42 +0000 (07:31 +0000)]
Restore Lite-2 sccsid. Restore include of sys/param.h.

26 years agoRestore include of sys/types.h and sys/param.h.
charnier [Wed, 13 May 1998 07:29:15 +0000 (07:29 +0000)]
Restore include of sys/types.h and sys/param.h.

26 years agoThe PnP code in 2.2.6 detects the Motorola ModemSurfer 56K,
phk [Wed, 13 May 1998 07:26:55 +0000 (07:26 +0000)]
The PnP code in 2.2.6 detects the Motorola ModemSurfer 56K,
but doesn't do much of anything with it.  I added it to siopnp_ids[]
and it was found and recognized as a serial port.

PR: 6605
Reviewed by: phk
Submitted by: Dave Marquardt <marquard@zilker.net>

26 years agoRestore Lite-2 sccsid.
charnier [Wed, 13 May 1998 07:25:17 +0000 (07:25 +0000)]
Restore Lite-2 sccsid.

26 years agoRestore original Lite-2 sccsid. Restore include of sys/types.h.
charnier [Wed, 13 May 1998 07:22:11 +0000 (07:22 +0000)]
Restore original Lite-2 sccsid. Restore include of sys/types.h.

26 years agoDo not remove include of <sys/param.h> and <sys/types.h>. They should
charnier [Wed, 13 May 1998 07:19:45 +0000 (07:19 +0000)]
Do not remove include of <sys/param.h> and <sys/types.h>. They should
be here before including almost any POSIX header.
Requested by: Bruce

26 years agoRestore Lite2 sccsids by removing `const'. Improve documentation a little.
charnier [Wed, 13 May 1998 07:16:37 +0000 (07:16 +0000)]
Restore Lite2 sccsids by removing `const'. Improve documentation a little.
Suggested by: Bruce

26 years agoThe printf type checking in gcc wants %qd to be a long long, so add
jb [Wed, 13 May 1998 06:52:08 +0000 (06:52 +0000)]
The printf type checking in gcc wants %qd to be a long long, so add
a cast in case off_t is not a long long (as on alpha).

26 years agoMake -Werror i386 specific because -nostinc on alpha spits warnings
jb [Wed, 13 May 1998 06:50:09 +0000 (06:50 +0000)]
Make -Werror i386 specific because -nostinc on alpha spits warnings
for unused static inline functions in header files.

26 years agoDelete the #if 0 (nearly) duplicate definitions of nfsproto.h. Having
peter [Wed, 13 May 1998 06:40:56 +0000 (06:40 +0000)]
Delete the #if 0 (nearly) duplicate definitions of nfsproto.h.  Having
these two files that are almost-but-not-quite the same leads to false grep
hits, confusion etc.

Only installing one copy with a symlink would be nice but that doesn't
work with SHARED=symlinks (it changes the source tree).

26 years agoHold a reference to the vnode during the sillyrename cleanup. If we block
peter [Wed, 13 May 1998 06:10:13 +0000 (06:10 +0000)]
Hold a reference to the vnode during the sillyrename cleanup.  If we block
in nfs_vinvalbuf() or the nfs_removeit(), we can have the nfsnode reallocated
from underneath us (eg: replaced by a ufs 'struct inode') which can cause
disk corruption ('freeing free block' when di_db[5] gets trashed).
This is not a cheap fix, but it'll do until the nfsnodes get reference
counting and/or locking.

Apparently NetBSD have a similar fix (apparently from BSDI).

I wish all PR's had this much useful detail. :-)

PR: 6611
Submitted by: Stephen Clawson <sclawson@marker.cs.utah.edu>

26 years agoFix broken (at least on alpha, but probably on i386 too) code which
jb [Wed, 13 May 1998 05:50:42 +0000 (05:50 +0000)]
Fix broken (at least on alpha, but probably on i386 too) code which
is supposed to walk an arry of character pointers, not an array of
characters.

26 years agoMove the *vpp initialization earlier so that it's set in all error cases.
peter [Wed, 13 May 1998 05:47:09 +0000 (05:47 +0000)]
Move the *vpp initialization earlier so that it's set in all error cases.
This should stop the 'panic: leaf should not be empty' nfs panic.

PR: 1856
Submitted by: msaitoh@spa.is.uec.ac.jp

26 years agoAdd perl to the list of build tools because it is needed to build the
jb [Tue, 12 May 1998 23:11:58 +0000 (23:11 +0000)]
Add perl to the list of build tools because it is needed to build the
perl-related directories (like x2p which generates the perl headers).

26 years agoperl now works on alpha.
jb [Tue, 12 May 1998 23:09:36 +0000 (23:09 +0000)]
perl now works on alpha.

This just leaves gdb to be configured for alpha.

26 years agoThis code casts double -> int -> char *. Ugh. Take a punt and change the
jb [Tue, 12 May 1998 23:07:07 +0000 (23:07 +0000)]
This code casts double -> int -> char *. Ugh. Take a punt and change the
int to a long so that no bits are thrown away on alpha and hope for
the best.

26 years agoChange a cast of long * to time_t * in a call to time();
jb [Tue, 12 May 1998 23:03:50 +0000 (23:03 +0000)]
Change a cast of long * to time_t * in a call to time();

26 years agoAllow the makefile to choose the perl executable to run h2ph rather
jb [Tue, 12 May 1998 23:02:14 +0000 (23:02 +0000)]
Allow the makefile to choose the perl executable to run h2ph rather
than relying on the #!/usr/bin/perl in the first line of the script.

26 years agoIf perl exists in OBJDIR it has just been built; if it exists in
jb [Tue, 12 May 1998 22:51:34 +0000 (22:51 +0000)]
If perl exists in OBJDIR it has just been built; if it exists in
CURDIR it has been built without an obj directory; however if it is in
neither of those places, we expect it to be in DESTDIR.

Yes Bruce, I know this is broken because the host is not supposed to be
the same as the target, but we need to get the hosted build working
properly first before even attempting a cross compiled operating
system build. That will need to concept of TOOLSDIR or something that
can be mapped to DESTDIR in the case of a hosted build and set to the
installed tools in a cross compiled build. Later, later, later!

26 years agoChange .if to .elif to prevent the current directory path search for a
jb [Tue, 12 May 1998 22:32:03 +0000 (22:32 +0000)]
Change .if to .elif to prevent the current directory path search for a
perl executable from overriding the object directory path search where
perl is most likely to be. Most people haven't seen this because it
defaulted to /usr/bin/perl which might be OK as a fallback, but when
bootstrapping a new version (or the *first* version on alpha), we don't
really want to use /usr/bin/perl.

26 years agoawk and groff (et al) now work on alpha as the result of library
jb [Tue, 12 May 1998 21:07:45 +0000 (21:07 +0000)]
awk and groff (et al) now work on alpha as the result of library
fixes.

26 years agoBuild awk and groff with build tools now.
jb [Tue, 12 May 1998 21:04:53 +0000 (21:04 +0000)]
Build awk and groff with build tools now.

26 years agoSome temporary fixes to SMP to make it more scheduling and signal friendly.
dyson [Tue, 12 May 1998 18:37:10 +0000 (18:37 +0000)]
Some temporary fixes to SMP to make it more scheduling and signal friendly.
This is a result of discussions on the mailing lists.  Kudos to those who
have found the issue and created work-arounds.  I have chosen Tor's fix
for now, before we can all work the issue more completely.
Submitted by: Tor Egge

26 years agoFix alot of silly LINT that I left in the code.
dyson [Tue, 12 May 1998 18:28:05 +0000 (18:28 +0000)]
Fix alot of silly LINT that I left in the code.

26 years agoBacked out previous commit. It is invalid to call d_ioctl() on
bde [Tue, 12 May 1998 17:34:02 +0000 (17:34 +0000)]
Backed out previous commit.  It is invalid to call d_ioctl() on
possibly non-open devices, and we don't want to restrict dumping
to swap devices anwyay.  It is especially invalid to call d_ioctl()
in non-process context for panics.  d_psize() can be called on
non-open devices, at least on non-SLICED ones that support d_dump(),
and setdumpdev() has depended on this for a long time although it
is probably wrong, but even d_psize() can't be called in non-process
context - that's why dumpsys() depends on previously computed values
although these values may be stale.  The historical restriction to
devices with dkpart(dev) == SWAP_PART should go away.

26 years agoReserve major number 99 for vak's cronyx/tau serial driver.
jkh [Tue, 12 May 1998 17:03:24 +0000 (17:03 +0000)]
Reserve major number 99 for vak's cronyx/tau serial driver.

26 years agoDon't attempt to read process context from the kernel when (the
bde [Tue, 12 May 1998 16:49:13 +0000 (16:49 +0000)]
Don't attempt to read process context from the kernel when (the
kernel's) curproc is null.  This fixes endless recursion in
xfer_umem() for attempts to read from user addresses, in particular
for attempts to read %fs and %gs from the pcb for `info reg'.

26 years agoAdd upcoming NetBSD 1.3.2
wosch [Tue, 12 May 1998 14:33:37 +0000 (14:33 +0000)]
Add upcoming NetBSD 1.3.2
Submitted by: Sune Stjerneby <stjerneby@usa.net>

26 years agoSome commands are shell builtins. Execute the builtins by the shell
wosch [Tue, 12 May 1998 11:54:12 +0000 (11:54 +0000)]
Some commands are shell builtins. Execute the builtins by the shell
and not directly by make(1).

PR: bin/6550
Submitted by: Theo de Raadt <deraadt@cvs.openbsd.org & wosch

26 years agoGive a reasonable default value (-p /var/run/xntpd.pid) to xntpd_flags.
max [Tue, 12 May 1998 10:50:46 +0000 (10:50 +0000)]
Give a reasonable default value (-p /var/run/xntpd.pid) to xntpd_flags.

26 years agoSync with sys/i386/isa/wd.c revision 1.167.
kato [Tue, 12 May 1998 09:32:19 +0000 (09:32 +0000)]
Sync with sys/i386/isa/wd.c revision 1.167.

26 years agoSync with sys/i386/conf/options.i386 revision 1.78.
kato [Tue, 12 May 1998 09:31:44 +0000 (09:31 +0000)]
Sync with sys/i386/conf/options.i386 revision 1.78.

26 years agoSync with sys/i386/conf/majors.i386 revision 1.40.
kato [Tue, 12 May 1998 09:31:12 +0000 (09:31 +0000)]
Sync with sys/i386/conf/majors.i386 revision 1.40.

26 years agoAdd upcoming FreeBSD 2.2.7 and FreeBSD 2.2.8
wosch [Tue, 12 May 1998 08:04:27 +0000 (08:04 +0000)]
Add upcoming FreeBSD 2.2.7 and FreeBSD 2.2.8
Add NetBSD-1.3.1.

26 years agoGo back to 240640 split size. Interesting experiment but somebody
jkh [Tue, 12 May 1998 08:02:48 +0000 (08:02 +0000)]
Go back to 240640 split size.  Interesting experiment but somebody
still needs to figure out the 1.2MB floppy problem before we touch
(or possibly eliminate) this value.

26 years agoAdd C++ support.
jb [Tue, 12 May 1998 05:11:51 +0000 (05:11 +0000)]
Add C++ support.

Submitted by: Russell L. Carter <rcarter@pinyon.org>
              fixes omniORB25 built with g++-2.8.1 on -current

26 years agoFix the termination test in CIRCLEQ_FOREACH.
gibbs [Tue, 12 May 1998 03:55:25 +0000 (03:55 +0000)]
Fix the termination test in CIRCLEQ_FOREACH.

Prompted by: Julian Assange <proff@iq.org>

26 years agoAdd missing splx()
julian [Mon, 11 May 1998 21:41:13 +0000 (21:41 +0000)]
Add missing splx()

Submitted by: Luoqi Chen <luoqi@chen.ml.org>

26 years agoSubmitted by: abial@nask.pl
julian [Mon, 11 May 1998 19:27:18 +0000 (19:27 +0000)]
Submitted by: abial@nask.pl
Minor fix to support SLICE in MFS...

26 years agoOops, the lex and yacc sources must be added to SRCS before ${SRCS}
bde [Mon, 11 May 1998 15:37:13 +0000 (15:37 +0000)]
Oops, the lex and yacc sources must be added to SRCS before ${SRCS}
is used in the dependency list for ${DEPENDFILE}.  `make depend' was
broken for a few days.  `make world' only uses `make depend' when
NOCLEAN is defined, so only a few people noticed the bug.

Submitted by: mostly by jmg

26 years agoOops, only apply the CHS size from lbasize thing when disk reports
sos [Mon, 11 May 1998 15:30:43 +0000 (15:30 +0000)]
Oops, only apply the CHS size from lbasize thing when disk reports
"too big for CHS" ie 16383 cyls..

26 years agoFixed gross errors in previous commit. `sapipe' was used uninitialized
bde [Mon, 11 May 1998 12:11:59 +0000 (12:11 +0000)]
Fixed gross errors in previous commit.  `sapipe' was used uninitialized
to attempt to unblock SIGCHLD, but we actually want to unignore SIGPIPE.

Obtained from: OpenBSD

Finished conversion from sigvec to sigaction (don't assume that sa_mask
is a scalar...).  Didn't convert from sigblock to sigprocmask.  Didn't
fix missing error checking for sigaction...

26 years agoDelete some large chunks of trailing whitespace since it was making some
peter [Mon, 11 May 1998 11:26:28 +0000 (11:26 +0000)]
Delete some large chunks of trailing whitespace since it was making some
lines longer than 80 columns.

26 years agoThe yacc makefile changes don't seem to know when to generate the
jb [Mon, 11 May 1998 09:33:55 +0000 (09:33 +0000)]
The yacc makefile changes don't seem to know when to generate the
header file and when not to, so for the time being make sure the
sucker gets generated up front.

26 years agoAdd CROSS_TARGETS to the list of GASES to build. We end up with a separate
jb [Mon, 11 May 1998 09:31:17 +0000 (09:31 +0000)]
Add CROSS_TARGETS to the list of GASES to build. We end up with a separate
gas for each target format. So for m68k targets that means several
gases. I wanted a m68k gas for VxWorks which uses aout in sun3 big
endian format, cross compiled on i386 under FreeBSD using libraries
supplied by DEC and intended by them for cross compilation on Alpha
under OSF/1. And it actually works!

26 years agoMake a path absolute.
jb [Mon, 11 May 1998 09:26:39 +0000 (09:26 +0000)]
Make a path absolute.

26 years agoChange the return types for strtoq and strtouq to int64_t and u_int64_t
jb [Mon, 11 May 1998 09:22:21 +0000 (09:22 +0000)]
Change the return types for strtoq and strtouq to int64_t and u_int64_t
instead of long long and unsigned long long. Really they should be
quad_t and u_quad_t, but that would require sys/types.h and this
header only includes machine/types.h. The difference here is that
int64_t and u_int64_t on alpha are long and unsigned long, not
long long etc. This is required to pass gcc's type checking where
long != long long even though they are the same size of alpha.

26 years agoMake -Werror i386 specific because gcc with -nostdinc on alpha belches
jb [Mon, 11 May 1998 09:15:03 +0000 (09:15 +0000)]
Make -Werror i386 specific because gcc with -nostdinc on alpha belches
warnings about static inline functions that cause the build to fail.

And for some reason, alpha needs MD5. Find that out later!

26 years agoCast a pointer to a long, not an int and make the arg passed to the function
jb [Mon, 11 May 1998 09:10:38 +0000 (09:10 +0000)]
Cast a pointer to a long, not an int and make the arg passed to the function
a long too (it does have a proper prototype).

26 years agoChange some tests from CPU_CLASS686 to CPU_686 as appropriate, and
dyson [Mon, 11 May 1998 08:11:57 +0000 (08:11 +0000)]
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.

26 years agoFix PR 1607, hopefully without breaking the PR 5208 fixes.
peter [Mon, 11 May 1998 07:38:42 +0000 (07:38 +0000)]
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

26 years agoFix the futimes/undelete/utrace conflict with other BSD's. Note that
dyson [Mon, 11 May 1998 03:55:28 +0000 (03:55 +0000)]
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.

26 years agoFix spelling error.
steve [Mon, 11 May 1998 03:44:55 +0000 (03:44 +0000)]
Fix spelling error.

PR: 6572
Submitted by: Kazuo Horikawa <horikawa@jp.freebsd.org>

26 years agoChange NBPG to PAGE_SIZE to match one of phk's recent commits.
steve [Mon, 11 May 1998 03:41:51 +0000 (03:41 +0000)]
Change NBPG to PAGE_SIZE to match one of phk's recent commits.

PR: 6573
Submitted by: Kazuo Horikawa <horikawa@jp.freebsd.org>

26 years agoSupport better performance with P6 architectures and in SMP
dyson [Mon, 11 May 1998 02:13:47 +0000 (02:13 +0000)]
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.)

26 years agoAttempt to set write combining mode for graphics devices.
dyson [Mon, 11 May 1998 01:06:08 +0000 (01:06 +0000)]
Attempt to set write combining mode for graphics devices.

26 years agoMake Mitsumi and Sony CDROM devs also use the `a' device. I think
jkh [Mon, 11 May 1998 00:47:27 +0000 (00:47 +0000)]
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

26 years agoIt was incorrect to use the `c' device for the matcd driver;
jkh [Mon, 11 May 1998 00:45:06 +0000 (00:45 +0000)]
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>

26 years agoAdd support for the Yamaha YMF-719.
steve [Sun, 10 May 1998 23:53:27 +0000 (23:53 +0000)]
Add support for the Yamaha YMF-719.

PR: 6348
Submitted by: Yoshiak Uchikawa <yoshiaki@kt.rim.or.jp>

26 years agoRemove a 'const' because it was getting thrown away anyway.
jb [Sun, 10 May 1998 23:48:18 +0000 (23:48 +0000)]
Remove a 'const' because it was getting thrown away anyway.

26 years agoThere is no alpha asm code like on i386, so all the functions that
jb [Sun, 10 May 1998 23:46:01 +0000 (23:46 +0000)]
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.

26 years agoCast a pointer to a long, not an int before masking it.
jb [Sun, 10 May 1998 21:22:47 +0000 (21:22 +0000)]
Cast a pointer to a long, not an int before masking it.

26 years agoRemove 'of type long' from a sentence talking about four 4-byte values
jb [Sun, 10 May 1998 21:21:01 +0000 (21:21 +0000)]
Remove 'of type long' from a sentence talking about four 4-byte values
because that is wrong on alpha.

26 years agout_time is a time_t, not a long.
jb [Sun, 10 May 1998 21:13:30 +0000 (21:13 +0000)]
ut_time is a time_t, not a long.

26 years ago1) kill -HUP syslog, even if compressing supposedly "binary" files
hoek [Sun, 10 May 1998 21:13:29 +0000 (21:13 +0000)]
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.

26 years agoTreat all internet addresses as u_int32_t.
jb [Sun, 10 May 1998 20:51:46 +0000 (20:51 +0000)]
Treat all internet addresses as u_int32_t.

26 years agoDon't try to build shared libraries or libc_r yet.
jb [Sun, 10 May 1998 20:24:52 +0000 (20:24 +0000)]
Don't try to build shared libraries or libc_r yet.

Add a message about adding the man user that NetBSD doesn't have.

26 years agoArg! Someone fixed the synopsis in -stable's newsyslog.8, but not
hoek [Sun, 10 May 1998 19:04:06 +0000 (19:04 +0000)]
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.

26 years agoFix the usage here, too (-F option).
hoek [Sun, 10 May 1998 18:47:50 +0000 (18:47 +0000)]
Fix the usage here, too (-F option).

Typo fix in comment ("Force the tim now matter what" s/tim/trim/)

26 years ago1) Remove a line that somehow strayed from the one true path of
hoek [Sun, 10 May 1998 18:41:16 +0000 (18:41 +0000)]
1) Remove a line that somehow strayed from the one true path of
   its sentence.
2) Fix usage (-F option).

26 years agoRemoved share/info from build-tools. It should never have been there,
bde [Sun, 10 May 1998 16:51:07 +0000 (16:51 +0000)]
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

26 years agoFix minor typo.
steve [Sun, 10 May 1998 16:35:31 +0000 (16:35 +0000)]
Fix minor typo.

PR: 6571
Submitted by: Stephen J. Roznowski <sjr@home.net>

26 years agoRemoved bogus dependencies of generated .c files on generated headers.
bde [Sun, 10 May 1998 16:03:17 +0000 (16:03 +0000)]
Removed bogus dependencies of generated .c files on generated headers.

26 years agoFixed missing dependencies on headers generated by rpcgen, as usual.
bde [Sun, 10 May 1998 16:01:36 +0000 (16:01 +0000)]
Fixed missing dependencies on headers generated by rpcgen, as usual.
Removed bogus dependencies of generated .c files on generated headers.
Sorted sources lists.

26 years agoFixed the usual missing dependencies on headers generated by rpcgen.
bde [Sun, 10 May 1998 15:54:22 +0000 (15:54 +0000)]
Fixed the usual missing dependencies on headers generated by rpcgen.

26 years agoSimplified by putting all generated headers in SRCS. The explicit
bde [Sun, 10 May 1998 15:48:54 +0000 (15:48 +0000)]
Simplified by putting all generated headers in SRCS.  The explicit
dependencies on *.o were complete, but this was not obvious.

26 years agoUse rpcgen's -C option to get prototypes in nfs_prot.h.
bde [Sun, 10 May 1998 15:16:04 +0000 (15:16 +0000)]
Use rpcgen's -C option to get prototypes in nfs_prot.h.

26 years agoPrint a human-readable warning and die if $INFODIR do not exist.
wosch [Sat, 9 May 1998 22:15:19 +0000 (22:15 +0000)]
Print a human-readable warning and die if $INFODIR do not exist.

PR: bin/6138
Reviewed by: bde

26 years agoFix my last change: the .Fx macro doesn't do anything useful without an
wollman [Sat, 9 May 1998 21:39:49 +0000 (21:39 +0000)]
Fix my last change: the .Fx macro doesn't do anything useful without an
argument, so use `.Tn FreeBSD' instead.

26 years agoAdd join to the list of bootstrap tools and remove the cpp script because
jb [Sat, 9 May 1998 21:28:01 +0000 (21:28 +0000)]
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.

26 years agoDocumentation fix: delete references to T/TCP as they are not relevant
wollman [Sat, 9 May 1998 20:50:37 +0000 (20:50 +0000)]
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.)

26 years agoAdd character major for 'loe' loopback pseudo-ethernet device.
msmith [Sat, 9 May 1998 17:52:26 +0000 (17:52 +0000)]
Add character major for 'loe' loopback pseudo-ethernet device.
Requested by: sbabkin@dcn.att.com

26 years agoFixed the usual missing dependencies on headers generated by rpcgen.
bde [Sat, 9 May 1998 15:10:53 +0000 (15:10 +0000)]
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.

26 years agoAdd a BUGS section and describe a problem I've been having for
brian [Sat, 9 May 1998 14:45:06 +0000 (14:45 +0000)]
Add a BUGS section and describe a problem I've been having for
a few weeks now.

26 years agoFixed the usual dependency bugs. This Makefile accidentally usually
bde [Sat, 9 May 1998 13:32:37 +0000 (13:32 +0000)]
Fixed the usual dependency bugs.  This Makefile accidentally usually
worked for `make -j9', but failed for `make -j4'.

26 years agoFixed overflow in sysinit enum constants. In that little-used
bde [Sat, 9 May 1998 12:14:18 +0000 (12:14 +0000)]
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.

26 years agoCast pointers to longs, not ints.
jb [Sat, 9 May 1998 11:33:22 +0000 (11:33 +0000)]
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.

26 years agoFixed `make -j9' by putting generated headers in ${SRCS}. Removed bogus
bde [Sat, 9 May 1998 11:32:43 +0000 (11:32 +0000)]
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.

26 years agoChange long variable to time_t where it is passed to time() by reference.
jb [Sat, 9 May 1998 11:31:20 +0000 (11:31 +0000)]
Change long variable to time_t where it is passed to time() by reference.

26 years agoAdd #include string.h to get prototypes.
jb [Sat, 9 May 1998 11:06:46 +0000 (11:06 +0000)]
Add #include string.h to get prototypes.

26 years agoAdd #include string.h to get prototypes and change variables from long
jb [Sat, 9 May 1998 11:03:03 +0000 (11:03 +0000)]
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.

26 years agoRemove bogus time() prototype and let the one in time.h rule.
jb [Sat, 9 May 1998 11:00:50 +0000 (11:00 +0000)]
Remove bogus time() prototype and let the one in time.h rule.

26 years agoAdd #include string.h to get prototypes.
jb [Sat, 9 May 1998 10:59:57 +0000 (10:59 +0000)]
Add #include string.h to get prototypes.

26 years agoCast pointers to long instead of int.
jb [Sat, 9 May 1998 10:51:27 +0000 (10:51 +0000)]
Cast pointers to long instead of int.

26 years agoAdd #include string.h to get prototypes.
jb [Sat, 9 May 1998 10:50:29 +0000 (10:50 +0000)]
Add #include string.h to get prototypes.