Commit Graph

10497 Commits

Author SHA1 Message Date
jkh
6a09eeb50d Don't assume that $HOME is always set. 1995-10-22 14:10:08 +00:00
joerg
1d53384641 Merge version 1.04 into HEAD. 1995-10-22 14:04:37 +00:00
jkh
4859036a7b Just fixin' them bugs as fast as they pop up.
Also add instrumentation for adding packages from scripts.
1995-10-22 12:04:12 +00:00
jkh
1904df8cb9 Clean up some of the english here.. 1995-10-22 11:44:16 +00:00
jkh
938267d18f Fix a bug in dist extraction when a dist was missing.
Allow instrumentation for adding packages from scripts.
1995-10-22 11:32:58 +00:00
jkh
2c6ce48211 Add more knobs to the preconfiguration stuff. 1995-10-22 10:25:20 +00:00
joerg
8c0113b17c This commit was generated by cvs2svn to compensate for changes in r11646,
which included commits to RCS files with non-trunk default branches.
1995-10-22 10:11:03 +00:00
joerg
4d9ef68f7f Import version 1.04 of mkisofs.
This is a vendor-branch import by now, the merge with our regular
tree will happen later.

Obtained from: Eric Youngdale of Yggdrasil Computing Inc.
1995-10-22 10:11:03 +00:00
dg
db7c5a06ea Fix order problem: unbusy pages before releasing the buffer.
Submitted by:	John Dyson <dyson>
1995-10-22 09:37:45 +00:00
dg
b5341559e2 Moved the filesystem read-only check out of the syscalls and into the
filesystem layer, as was done in lite-2. Merged in some other cosmetic
changes while I was at it. Rewrote most of msdosfs_access() to be more
like ufs_access() and to include the FS read-only check.

Obtained from: partially from 4.4BSD-lite2
1995-10-22 09:32:48 +00:00
dg
67678134fd Simplified some expressions. 1995-10-22 02:59:48 +00:00
jkh
1d0b031279 Style police throughout.
Fix the ppp startup code.
Make the disklabel and fdisk screens "automatable"
1995-10-22 01:33:02 +00:00
ache
16a1354736 Link LC_COLLATE inside dirs instead of dirs linking 1995-10-22 00:58:41 +00:00
ache
d350e5d644 Link LC_CTYPE inside dirs instead of dirs linking 1995-10-22 00:53:56 +00:00
jfieber
e8349a4767 Lots of tweaks.
Submitted by:	Joerg Wunsch <joerg_wunsch@uriah.heep.sax.de>
1995-10-22 00:42:14 +00:00
ache
e1b761d3d6 Implement locale.alias via links (including backward-compatible issue) 1995-10-22 00:38:16 +00:00
joerg
2a61c0a2e3 Finally catch up with the Frenchmen, and create the German message
catalog.
:-)
1995-10-21 23:47:43 +00:00
ache
53a591f7a7 Make real directories for each 8859-1 locale 1995-10-21 23:20:04 +00:00
phk
e08396dc86 Make a lot of things static. 1995-10-21 23:13:11 +00:00
phk
ec905d38f8 Remove declamations which <ctype.h> already does for us. 1995-10-21 22:02:10 +00:00
phk
64993ba21b Added #include <ctype.h> 1995-10-21 21:08:43 +00:00
swallace
a60db4f016 In bsd_to_ibcs2_sigaction(), flag for ibcs2 system should be
IBCS2_SA_NOCLDSTOP and not SA_NOCLDSTOP.

Submitted by:	 bde
1995-10-21 20:33:43 +00:00
jkh
348c10ffc0 Error message reform. Make an unnecessarily fatal error a warning. 1995-10-21 20:03:07 +00:00
bde
2f3f635ee8 Start including <sys/sysproto.h> to get the correct args structs and
prototypes for all syscalls.  The args structs are still declared in
comments as in VOP implementation functions.  I don't like the
duplication for this, but several more layers of changes are required
to get it right.  First we need to catch up with 4.4lite2, which uses
macros to handle struct padding.  Then we need to catch up with NetBSD,
which passes the args correctly (as void *).  Then we need to handle
varargs functions and struct padding better.  I think all the details
can be hidden in machine-generated functions so that the args structs
and verbose macros to reference them don't have to appear in the core
sources.

Add prototypes.

Add bogus casts to hide the evil type puns exposed by the previous
steps.  &uap[1] was used to get at the args after the first.  This
worked because only the first arg in *uap was declared.  This broke
when the machine- genenerated args struct declared all the args
(actually it declares extra args in some cases and depends on the
user stack having some accessible junk after the last arg, not to
mention the user args being on the stack.  It isn't possible to
declare a correct args struct for a varargs syscall).  The msgsys(),
semsys() and shmsys() syscall interfaces are BAD because they
multiplex several syscalls that have different types of args.
There was no reason to duplicate this sysv braindamage but now
we're stuck with it.  NetBSD has reimplemented the syscalls properly
as separate syscalls #220-231.

Declare static functions as static in both their prototype and their
implementation (the latter is optional, and this misfeature was used).

Remove gratuitous #includes.

Continue cleaning up new init stuff.
1995-10-21 19:50:00 +00:00
jkh
24b513df48 Make all FTP failures "bounce" the connection properly. 1995-10-21 18:28:08 +00:00
bde
8e5ccdb048 Fix maninstall target for the NOMANCOMPRESS case. The previous revision
failed when there was an obj directory.  Use .PATH.n for installing too
so that make can find the source files.  This allows the source files to
be in several directories (the old method using cd only works well for
a single directory).  The dependencies are on the source files even for
the compressed case, although it would be more flexible to depend on the
files being installed, so that `make install' doesn't attempt to build
things

Force COPY to -c for the NOMANCOMPRESS case.  Then the files to be installed
are always sources, so they must not be moved.
1995-10-21 18:18:46 +00:00
torstenb
890f2bad69 change Frank Bartels mail address
Requested by: Frank Bartels <knarf@camelot.de>
1995-10-21 17:51:47 +00:00
dyson
4519f95061 Implement mincore system call. 1995-10-21 17:42:28 +00:00
jkh
be2e2bc70b Fix a couple of things I broke while fixing them. 1995-10-21 16:44:24 +00:00
bde
5e4533fe69 Remove private maninstall target. It will conflict with the one in
bsd.man.mk when I change the latter to use `::' instead of `:'
dependencies.  (bsd.man.mk is included because NOMAN isn't defined.
The maninstall target is supposed to be private to bsd.man.mk so
bsd.man.mk doesn't bother testing if it is already defined.  The
test for redefinition in Makefile.dev was too early to do anything.)

Change install target to a beforeinstall target (perhaps there should
be an `extrainstall' target so that Makefiles don't have to abuse
one of beforeinstall, install, realinstall or afterinstall).  Don't
bother testing for the install target already being defined.  Rewrite
the shell loop as a make loop (this reduces the time for installing
groff from 78s to 65s here).
1995-10-21 16:26:38 +00:00
ache
feda6011c3 if uid != euid or gid != egid unsetenv("LD_NOSTD_PATH") too 1995-10-21 14:52:48 +00:00
bde
881e8e1839 Rewrite and merge some bogus makefiles to create Makefile.shprog. Just
include this in the old makefiles.

I intended to fix only the private maninstall rule but found a lot of
other bogons and bugs:
- strong resistance to installing the program anywhere other than
  ${DESTDIR}/usr/bin (first, ../../Makefile.inc was not included.
  ../Makefile/inc was redundantly included instead.  Second, /usr/bin
  was hard coded).
- the owner, group and permissions were hard coded.
- the man page was installed twice.
- MANDEPEND wasn't necessary.
- calculations to determine the obj directory weren't necessary.
- there were unnecessary private rules for depend, rcsfreeze and tags.
  We don't support the rcsfreeze target.
- there was an extra, bogus, rule for `all'.

The final version uses suffix rules to eliminate the remaining verboseness
involving directories (${.CURDIR}) and to potentially allow multiple
shell programs in one directory.
1995-10-21 14:27:19 +00:00
jkh
893cc720a8 1. Of course, the day after you roll the snapshots is the day you realize
that the FTP install doesn't deal with timeouts and hasn't since it was
   written.  Fixed.

2. Totally eliminate the OptionFlags.  I only had to work harder to
   sync them with configuration variables, so why not simply always use
   configuration variables?  This has actually greatly simplified areas
   of the code.
1995-10-21 14:07:02 +00:00
bde
4d5bfcf5d8 Add `.sh' suffix and rule.
Enable `.c' rule.  (Null suffix rules were disabled because of bugs in old
versions of make.)

Add ${LDFLAGS} to all rules that involve linking.
1995-10-21 12:46:02 +00:00
bde
11596b653f Remove private rules for clean, depend, lint, tags and install.
The private clean rules have been broken since we started
building compressed man pages in the obj directory and the
others don't do anything different from the general rules.
1995-10-21 11:02:01 +00:00
bde
ae33f2fb7d Avoid overflow in calcru(). Fixes PR 788.
Submitted by:	imdave@synet.net (Dave Bodenstab)
1995-10-21 09:18:45 +00:00
peter
75d7440902 Remove bogus #include <sys/device.h>, and the bogus instances of
"struct device" and the bogus unit number mentioned in the error message.
Some other minor cleanups, all trivial.
1995-10-21 09:10:49 +00:00
bde
c529f03691 Return early in printreg() when the pointer is NULL. For FreeBSD, the
strings describing the drive status and error bits are so deficient
that the pointer is always NULL.

Reported by:	Philippe Charnier <charnier@lirmm.fr>
1995-10-21 08:51:01 +00:00
dg
50bd49a6ed Killed a few gratuitous #include's. 1995-10-21 08:38:13 +00:00
peter
a55094325d Add $Id$ since this version of the file has diverged from the BSD base a
fair bit.  I forgot to add it when I made the fixes some time ago.
1995-10-21 07:05:01 +00:00
swallace
70dc81bc26 sigset() should have sa_flags cleared to sig is maked before calling
handler (remove SA_NODEFER).

On the other hand, signal() case should set sa_flags to SA_NODEFER as
in previous change.

In addition, added #ifdef'd code for signal() to or in SA_RESETHAND
flag for when that compatability is implemented.
1995-10-21 05:01:57 +00:00
dg
6eb3fd6437 Fix panic caused by PRU_CONTROL not being dealt with properly. Bug pointed
out by David Maltz <dmaltz@orval.mach.cs.cmu.edu>, but this fix is by me.
1995-10-21 02:12:20 +00:00
phk
6d6a401f8b A mixed bag of changes, relating to getting the state in "lsdev" right,
and pccard support to work sensibly.  Better by far, but still not good.
1995-10-21 00:55:36 +00:00
joerg
8deb9482ef o rename ulimit -p into ulimit -u, so we are in agreement with bash
o fix brokeness for 1>&5 redirection, where `5' was an invalid file
  descriptor, but no error message has been generated

o fix brokeness for redirect to/from myself case
1995-10-21 00:47:32 +00:00
jkh
e22d8066c4 Change the pkg_info check back - it was correct before! 1995-10-20 22:36:06 +00:00
ache
ad266c215d Fix original patch error with ! before strncmp
Zap only needed LD_* variables
1995-10-20 22:17:35 +00:00
jkh
28a272cba2 Slip some more fixes in under the wire (build hasn't gotten this far yet). 1995-10-20 21:57:25 +00:00
ache
90c3794aad Oops. Change LC_CTYPE to LC_TIME... 1995-10-20 20:32:26 +00:00
jkh
7ff70f7b18 Slip some fixes under the wire. Mostly cosmetic cleanup and
an attempt to make the package installer a little more robust (it's
still a little shakey, but will improve between now and the release)..
1995-10-20 20:10:49 +00:00
phk
a026489209 -fomit-frame-pointer is becomming an increasingly popular optimization,
so before somebody screws up royally, make sure this always works by
adding a -fno-omit-frame-pointer here.
1995-10-20 20:05:15 +00:00