Commit Graph

2463 Commits

Author SHA1 Message Date
David Greenman
c78b2dd3e1 Fixed off by one error in referencing an array.
Stolen from:	NetBSD
1994-09-09 13:23:20 +00:00
David Greenman
ce1f38c654 Made SLMTU kernel config'able. 1994-09-09 12:58:10 +00:00
Rodney W. Grimes
4c0158a297 revision 1.2
date: 1993/11/15 07:15:16;  author: rgrimes;  state: Exp;  lines: +1 -0
From Andrew Moore

Make /usr/share/dict/words a symbolic link to web2

[This is now NECESSARY for games/boggle as it uses /usr/share/dict/words
as an input file]

Reviewed by:	rgrimes
Submitted by:	From 1.x, alm
1994-09-09 12:15:49 +00:00
Doug Rabson
010a751e0a Added the psm driver from 1.1.5.
Submitted by:	dfr
1994-09-09 11:27:50 +00:00
David Greenman
304b4edbac Woops, last patch was by Wolfgang Solfrank. 1994-09-09 11:16:03 +00:00
Doug Rabson
06e79831b1 Fixed some confusion between the size of a logical block and the size of a
device block which was stopping symbolic links working.

cd9660_readdir was incorrectly casting a pointer to the d_namlen field of a
struct dirent to a (u_short*) which caused the directory entries "." and ".."
to read incorrectly.

Submitted by:	dfr
1994-09-09 11:11:01 +00:00
David Greenman
9fef312289 Two fixes from the NetBSD group (Charles Hannum):
1) dir.c: get byte order right in mkentry()
2) pass1.c: When doing -c2 conversion, do secsize reads for a symlink -
   not doing so was causing the conversion to fail because the device
   driver can't deal with short reads.
1994-09-09 11:06:27 +00:00
Rodney W. Grimes
8dc01fa8c3 Pull the following fix in from 1.X:
revision 1.6
date: 1993/10/19 19:57:35;  author: rgrimes;  state: Exp;  lines: +2 -1
Pull in ../Makefile.inc so that the whatis database ends up in the correct
place.  Rich Murphy has a better fix for this, but I lost it!
1994-09-09 10:02:24 +00:00
Geoff Rehmet
77b06a9b6c fix bogus .include
Submitted by:	Geoff.
1994-09-09 09:43:18 +00:00
Jordan K. Hubbard
e86de4095d Rearrange this a bit while I think about the whole problem of fetching
multiple targets when dealing with creating a set of distribution files
from scratch.  Another problem is *verifying* that a given file fetched
from its HOME_LOCATION is the one we wanted (what if the stupid ftp site
maintainer updated it in place?).  Rich Morin pointed this out and suggested
some solutions.  I need to think about it some more (suggestions?).

For now, we have a seperate `fetch' and `extract' target.
Submitted by:	jkh
1994-09-09 06:21:43 +00:00
Andrey A. Chernov
d2b6c8e037 Speed matching code never successful, because ospeed range is [0..17]
but termios speed range is [0..115200]. Of cource ospeed initialized
with wrong value too which cann affects terminals with padding, fixed.
57600,115200 added.
1994-09-09 03:11:15 +00:00
Andrey A. Chernov
28fccc1749 Use second terminal name instead of obsoleted and duplicated
first two-letter names (from 1.1.5.1)
1994-09-09 02:39:24 +00:00
Andrey A. Chernov
a152929b02 1. pc3 pccons description restored from 1.1.5.1
2. color, semi-graphics, functional keys descriptions added to:
	pc3, cons25, pc3r
1994-09-09 01:08:38 +00:00
Jordan K. Hubbard
8315b1014c As per suggestion by Michael Reifenberger, make ncftp use the -N flag.
Reviewed by:	jkh
Submitted by:	mr
1994-09-09 00:17:47 +00:00
Jordan K. Hubbard
2a34794e13 Sample manpath.config.
Submitted by:	jkh
1994-09-08 22:40:56 +00:00
Jordan K. Hubbard
d653487a46 [ From Dave Tweten ]
POSIX.2 looks pretty unequivocal to me, and it agrees with you.

Under the explanation of the "-p" option, it says, "Each dir operand that
names an existing directory shall be ignored without error."  Under the
explanation of exit status zero, it says, "All the specified directories were
created successfully, or the-p option was specified and all the specified
directories now exist."

Seems to me POSIX requires exactly the behavior you want.

[ And I've made the change, which is also now compatible with 1.x - jkh ]

Reviewed by:	jkh
Submitted by:	jkh/tweten
1994-09-08 21:34:33 +00:00
Geoff Rehmet
7ad3ea76c0 From 1.1.5.1
>From Arne Bier <csar@cs.ru.ac.za>
while running more(1), if you enter ":a" to get the name of the file being
viewed, more dumps core when you hit enter (as prompted).
This is due to more(1) attempting to find the length of a NULL string.
Submitted by:	Geoff.
1994-09-08 21:30:51 +00:00
Geoff Rehmet
d1f32ba5df Based on fix from 1.1.5.1:
>From: jtk@atria.com (John T. Kohl)
in rcmd:
It calls select() with a hardcoded "number of file descriptors" argument
of 32, rather than computing it based on the sockets about which it
cares.

- Now we work out the nfds arg, and do some error checking
Submitted by:	Geoff.
1994-09-08 20:55:02 +00:00
Jordan K. Hubbard
32d794a8a6 Nuke monop - we don't need any grief from Parker Brothers on their copyrighted
and trademarked game.
Reviewed by:	jkh
Submitted by:	sef
1994-09-08 20:01:17 +00:00
Geoff Rehmet
49f037bca9 document libcrypt and libcipher.
Submitted by:	Geoff
1994-09-08 19:46:57 +00:00
Paul Traina
59be608802 Add code to pull options out of FINGER environment variable if present.
Yes, has same stupid bug as more(1), options must be specified as one
argument.

Submitted by:	pst
1994-09-08 19:27:06 +00:00
Jordan K. Hubbard
f844bfba3c Make this silly thing use _PATH_UNIX first. Remove some of the more
bogus alternate kernel names.
Submitted by:	jkh
1994-09-08 19:25:09 +00:00
Jordan K. Hubbard
a162622bb8 Remove the conditional mkdir of /var/games/phantasia - done by mtree now.
Submitted by:	jkh
1994-09-08 19:19:46 +00:00
Jordan K. Hubbard
ea6eaca49a Add /var/games/phantasia to list of targets, as per Rod's earlier suggestion.
Submitted by:	jkh
1994-09-08 19:18:51 +00:00
Jordan K. Hubbard
f9e6ae88ca Sigh. Ok, now that these have been uncovered by fixing the Makefile,
make them work! :-)  Just include ${X11BASE}/include in the CFLAGS, basically.
Submitted by:	jkh
1994-09-08 19:15:47 +00:00
Geoff Rehmet
daf0f855ad add libcipher to Makefile
Submitted by:	Geoff.
1994-09-08 19:06:58 +00:00
Jordan K. Hubbard
514d1814ac Gack - this was totally broken.
Reviewed by:
Submitted by:
1994-09-08 18:48:57 +00:00
Jordan K. Hubbard
95112be9b3 Recycle cdev 20, sound blaster driver is long since deceased.
Assign cdev 8 to Luigi's transputer driver.
Submitted by:	jkh
1994-09-08 18:02:35 +00:00
Bruce Evans
bc829276a2 Don't exit early if malloc() fails (never exit early now; the `fatal'
flag to err() is useless).  The following files might be much smaller
so malloc() might work for them.

Clean up formatting of the -x change.
1994-09-08 12:27:08 +00:00
Bruce Evans
8aca2c0a98 Quote the first arg to _IO(). Not quoting it didn't matter because
this file is never used.

Uniformize use of idempotence identifier.
1994-09-08 12:26:07 +00:00
Bruce Evans
ab9678ac9d Get all the definitions from DEFS.h and not directly from asmacros.h
if KERNEL is not defined.  lib/msun/i387/*.S include asmacros.h to
get the definitions of ENTRY(), etc.  This is bogus since asmacros.h
is only supposed to give definitions suitable for the kernel.  The
current definitions for the kernel almost worked but are missing
the ".type" declarations.  This caused the linker to print warnings
about doubtful relocations for almost anything linked to libm[sun].

Uniformize name and use of idempotence identifier.
1994-09-08 12:25:18 +00:00
Bruce Evans
fe7bb84c74 Remove <machine/eflags.h> and all dependencies on it. eflags.h is just
the Mach/i386 version of the BSD/vax(?) <machine/psl.h>.  The Mach
version has slightly better names for many macros but is now out of
date and little used.  It was originally used even less (for spelling
PSL_T as EFL_TF in <machine/db_machdep.h>).
1994-09-08 11:49:04 +00:00
Bruce Evans
a9d26259dd Build *.3 and *.ref at build time, not at install time. 1994-09-08 11:24:54 +00:00
Bruce Evans
9ce7bcf332 Declare huge and tiny as volatile so that gcc doesn't evaluate huge*huge
and tiny*tiny at compile time.  The evaluations are supposed to be done
at run time to set the IEEE exception flags.  Many other source files
in libm and msun are missing this fix.  Fixing them is not urgent since
the default IEEE exception masks don't allow use of the overflow
exception flag.
1994-09-08 11:19:43 +00:00
Bruce Evans
1b42fe9258 Add datfiles to SUBDIR for obj target too. "make install" wrote to the
source directory and failed when the source directory was nfs mounted.
This was fixed in 1.1.5.  Sigh.
1994-09-08 10:51:48 +00:00
Bruce Evans
510cdfd2cf Install math.h. 1994-09-08 10:40:23 +00:00
Bruce Evans
218cd6b6e1 Don't install math.h if WANT_MSUN is defined. lib/msun has its own
math.h with many extensions.
1994-09-08 10:36:30 +00:00
Bruce Evans
2868e9618b Declare functions that don't return as having attribute __dead2. 1994-09-08 10:29:15 +00:00
Rodney W. Grimes
4e0fff210e You need the freefall.mc file to build the release /etc/sendmail.cf file from. 1994-09-08 09:41:01 +00:00
Rodney W. Grimes
92985d774c 1. Make CLEANFILES a little less dangerous by being more spcifc about
some file names.

2.  Add MAKEDEVS= that does all the /dev population so that this is not
    duplicated in 2 or 3 places.  Helps to keep it in sync too.  Cleaned
    up and fixed to not overflow inode tables.

3.  Fix paths to the 2 crypt versions.

4.  Init is sbin/init now instead of sbin/init.bsdi.

5.  bdes is now in secure/usr.bin, will need to do something about telnet.

6.  Incorporate 1.1.5.1 patches for EXTRACT.sh files.

7.  Correct calls to make kcopy-flooppy to work with or without obj/.

8.  Reorder src-clean: target so that it does not destroy the real obj
    tree, but does rip out junk and obj links.

9.  Incorporate 1.1.5.1 patche for srcbin tarball name.

10. Add chflags command to release-dirs target so the rm -rf can have a
    chance to work.

With this and a few more commits I will have 2.0 bin tarballs.
1994-09-08 09:33:38 +00:00
Jordan K. Hubbard
2d4ee3eaf6 Make errors in /etc/fstab print the line numbers where they occured.
Also be more tolerant of blank lines and comments in the file.
Submitted by:	jkh
1994-09-08 09:21:00 +00:00
Rodney W. Grimes
938026420c Add usr/share/games/boggle 1994-09-08 07:17:27 +00:00
Jordan K. Hubbard
5464bfda4b Undo the damage done to my previous changes. Whoever added the
conditional did it backwards, thus flipping the behavior back off
again by default (and only re-enableable through a very counter-intuitive
option setting!).  I'm glad I caught this and would merely like to state
again for the record that if you're going to go and modify my changes then
you should at least:

	1. Do it correctly, since to do otherwise is kind of a slap in the
	   face.

	2. TELL me.

This is not me just being compulsive, this is simple courtesy.
I'm speaking just of my own preferences here, not necessarily trying
to impose my standards on the group at large (e.g. some other folks might
not even care).
Submitted by:	jkh
1994-09-08 06:38:55 +00:00
Jordan K. Hubbard
bc8561e982 Make this work with missing dirs.
Submitted by:	jkh
1994-09-08 04:17:57 +00:00
Jordan K. Hubbard
d0a05ae033 Woo, naughty! It just occurred to me that this guy wasn't using
${DESTDIR} - fixed.
Submitted by:	jkh
1994-09-08 04:15:34 +00:00
Jordan K. Hubbard
6d002167be More preventive medicine on making directories before installation.
Submitted by:	jkh
1994-09-08 04:11:45 +00:00
Jordan K. Hubbard
12a4520cae Nuke the ching port - it's highly bogus and I'm sure we can find another
(better) one if we ever get overwhelmed by requests.
Submitted by:	jkh
1994-09-08 04:07:18 +00:00
Jordan K. Hubbard
418cafe6b6 Fixup the .if exists() stuff I messed up the first time.
Submitted by:	jkh
1994-09-08 03:59:29 +00:00
Garrett Wollman
4aa83b0b3c Add mrouted. 1994-09-08 02:53:07 +00:00
Garrett Wollman
bb49371b5d Make it compile and (except for mrouted which is untested as yet) run.
Some of these ``modified'' files aren't really modified at all, but CVS
isn't smart enough to know the difference.
1994-09-08 02:51:37 +00:00