2582 Commits

Author SHA1 Message Date
rgrimes
ae0202f3c6 ljo:
You need to fix the libio/_G_config.h file around lines 42-44. After
  that everything should be OK. You should have seen many warning error
  messages about this file. There are missing "short" "char" keywords
  the file.

Michael:
  Apply the following patch

rgrimes:
  The patch to include/_G_config.h is highly questionable and has been
  marked as such.

Reviewed by:    rgrimes
Submitted by:   L Jonas Olsson <ljo@ljo-slip.DIALIN.CWRU.Edu>
Submitted by:   Michael Reifenberger <root@rz-wb.fh-sw.de>
1994-09-09 15:12:31 +00:00
rgrimes
68697bb86c Reenable libg++ 1994-09-09 15:10:37 +00:00
rgrimes
d9744e3231 Secure /var/{backups, crash, and cron} by changing them to mode 750.
Reviewed by:	davidg
1994-09-09 14:12:01 +00:00
rgrimes
269be82bcc Fix missing .. before phantasia. Caused by incorectly adding a directory,
you MUST add the directory name and the .. entry to close the directory.

If you do not understand mtree files, do not modify them, it is very
easy to trash someones box with a mistake in here.  Especially with
regards to .. entries.
1994-09-09 13:43:21 +00:00
rgrimes
6059a2510d Add the missing . entries to BSD.*.dist files.
New file BSD.release.dist is used for creating release area top level
directories.
1994-09-09 13:35:59 +00:00
rgrimes
666f2fb3d3 Remove the explicit call to ../Makefile mdec:, it is now handled by a make
install from the top level correctly.

Rewrite release-dirs: to use new mtree file mtree/BSD.release.dist.
1994-09-09 13:34:27 +00:00
dg
0d2e67cf3e Relaxed panic in fdesc_setattr() to just return error. 1994-09-09 13:24:26 +00:00
dg
d3296d0014 Fixed off by one error in referencing an array.
Stolen from:	NetBSD
1994-09-09 13:23:20 +00:00
dg
3e7f1f5c50 Made SLMTU kernel config'able. 1994-09-09 12:58:10 +00:00
rgrimes
3406e7cd01 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
dfr
61c0b9282d Added the psm driver from 1.1.5.
Submitted by:	dfr
1994-09-09 11:27:50 +00:00
dg
5aeef1c7cd Woops, last patch was by Wolfgang Solfrank. 1994-09-09 11:16:03 +00:00
dfr
8e7267d0ad 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
dg
07c3866a6e 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
rgrimes
692067737c 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
csgr
73e15728f8 fix bogus .include
Submitted by:	Geoff.
1994-09-09 09:43:18 +00:00
jkh
18f96a7446 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
ache
b67f029f02 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
ache
aebfcd0c1d 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
ache
9a1d8f93a1 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
jkh
9f7e6d6ab7 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
jkh
5f829f2917 Sample manpath.config.
Submitted by:	jkh
1994-09-08 22:40:56 +00:00
jkh
6cf02f12cc [ 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
csgr
134df3f722 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
csgr
7ca8cf71da 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
jkh
8be34115cc 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
csgr
db70eb1cc3 document libcrypt and libcipher.
Submitted by:	Geoff
1994-09-08 19:46:57 +00:00
pst
93cbf671fa 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
jkh
e41fdd479e 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
jkh
a3e568d972 Remove the conditional mkdir of /var/games/phantasia - done by mtree now.
Submitted by:	jkh
1994-09-08 19:19:46 +00:00
jkh
6624767fd9 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
jkh
da8f99c491 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
csgr
4ad4a88210 add libcipher to Makefile
Submitted by:	Geoff.
1994-09-08 19:06:58 +00:00
jkh
32f74b9244 Gack - this was totally broken.
Reviewed by:
Submitted by:
1994-09-08 18:48:57 +00:00
jkh
6d8bc96be8 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
bde
9052b278b2 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
bde
9a1bbfc6ca 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
bde
b186b56427 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
bde
b0b76e7d37 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
bde
2b849e2bed Build *.3 and *.ref at build time, not at install time. 1994-09-08 11:24:54 +00:00
bde
2668a71e31 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
bde
5ccb36be53 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
bde
c817f8d6ca Install math.h. 1994-09-08 10:40:23 +00:00
bde
0372ed61cb 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
bde
f5939bca93 Declare functions that don't return as having attribute __dead2. 1994-09-08 10:29:15 +00:00
rgrimes
255125cf44 You need the freefall.mc file to build the release /etc/sendmail.cf file from. 1994-09-08 09:41:01 +00:00
rgrimes
e72aa872ea 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
jkh
5920351a49 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
rgrimes
345ab2a4fd Add usr/share/games/boggle 1994-09-08 07:17:27 +00:00
jkh
174221e60a 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