Commit Graph

10460 Commits

Author SHA1 Message Date
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
ache
3972a13475 Don't allow LD_* env. variables to be tricked
Submitted by: Sam Hartman <hartmans@mit.edu>
1995-10-20 17:26:40 +00:00
ache
c0765b5449 Don't allow LD_* env. variables to be tricked
Submitted by: Sam Hartman <hartmans@mit.edu>
1995-10-20 17:16:58 +00:00
jkh
a868693912 Now I can do all the TCP and FTP configuration from config files. 1995-10-20 16:49:50 +00:00
jkh
51d3361abc Split the preconfiguration code off into its own location.
Make it possible to preconfigure TCP setup.
1995-10-20 15:40:52 +00:00
jkh
1379346bb9 Sync for Westhill build. 1995-10-20 14:26:15 +00:00
jkh
ce5e985289 Fix fix. 1995-10-20 10:38:49 +00:00
jkh
1436cd028d Document this a little bit better. 1995-10-20 10:01:39 +00:00
jkh
a988dc2f52 More bug fixing, make debug settable two ways, put more meat into
the upgrade.
1995-10-20 10:01:26 +00:00
jkh
16c38b4771 Finally split this off from system.c, as intended. 1995-10-20 07:03:40 +00:00
jkh
5cfb4aca37 Too many bugs fixed to mention. This code just seems to BREED them.
Many interfaces were also simplified or generally cleaned up in an
attempt to curb this problem.
1995-10-20 07:02:53 +00:00
dyson
dc58fb65bd If we clear the B_CACHE flag because a buffer isn't composed fully of
valid bytes, we must also clear the B_DONE flag.  Some filesystems
depend on this (incl NFS) and is probably the cause of the biodone
error and subsequent crash.  Anyway this change needs to be made.
1995-10-19 23:48:25 +00:00
dg
61860c0e91 Fix initialization of "bsize" in vnode_pager_haspage(). It must happen
after the check for the mount point still existing or else the system
will panic if someone forcibly unmounted the filesystem.
1995-10-19 21:35:03 +00:00
ache
40905945da Propogate default table to restricted 8859-1 template
(only control/graph/punct/print tags used)
Based on: kaleb@x.org and Bruce suggestions
1995-10-19 19:29:55 +00:00
swallace
971c849347 Use sa_flag option SA_NODEFER in sigsys() emulation because SVR3
does not automatically mask signal upon delivery.
1995-10-19 19:20:17 +00:00
swallace
f62e0784cb Implement SA_NODEFER sa_flag for sigaction():
Add SA_NODEFER define to signal.h
	Add ps_nodefer field to struct sigacts in signalvar.h.
	Add code to kern_sig.c to handle SA_NODEFER.

If flag is set, when the signal is delivered, it is not masked automatically
from receiving the same signal again.

Reviewed by:	 wollman, bde
1995-10-19 19:16:01 +00:00
joerg
f68a41fc52 Remove the bugs section. sh(1) now has a ulimit builtin. 1995-10-19 18:45:44 +00:00
joerg
944d729639 Implement the "ulimit" builtin. This is the analogon to csh's "limit"
command and badly needed in sh(1) for everybody who wants to modify
the system-wide limits from inside /etc/rc.

The options are similar to other system's implemantations of this
command, with the FreeBSD additions for -m (memoryuse) and -p (max
processes) that are not available on other systems.
1995-10-19 18:42:12 +00:00
jkh
6d13f9a708 Sync. 1995-10-19 18:37:50 +00:00
jkh
45cf2943d0 Drat! Forgot the adds.. 1995-10-19 16:15:43 +00:00
jkh
26765522ce Sync with today's sources:
o Implement the 2.0.5->2.1 upgrade procedure (gah).
o Bring in Coranth's support for configuration of anon ftp and Samba
  plus some changes of my own.
o More attempts to actually write the documentation in english.
o Update docs to contain more 2.1-centric information.
1995-10-19 15:57:23 +00:00
phk
0327f513f6 Recognize Acrobat files too. 1995-10-19 15:19:03 +00:00
jkh
ef97522a1e Various fixes to make this work better when called from other tools.
Submitted by:	Coranth Gryphon <gryphon@healer.com> & Wolfram Schneider <wosch@cs.tu-berlin.de>
1995-10-19 06:26:49 +00:00
phk
361585330b put the _getenv and _strncmp under #ifdef DEBUG, which is the only time
they are used.  Saves a few bytes here and there, nothing major.
1995-10-18 15:56:55 +00:00
jfieber
e1439d1917 Add a hint about generating postscript docs.
Submitted by:	"Julian H. Stacey" <jhs@freebsd.org>
1995-10-18 05:07:43 +00:00
jkh
def622e32a Some rethinks on the way the attribute interface worked (now that
I'm really, truly using it).  Allow distribution fetch to get .info
files from the root.flp OR the distribution in question, allowing us
to add flexibility to the scheme.  At some point, perhaps soon, the
cached copy should probably go away entirely!
1995-10-18 05:02:02 +00:00
dg
6855a7ee1e When building -static, link with special scrt0.o instead of crt0.o. This
reduces the text size by about 1.5Kbytes.
1995-10-18 04:28:31 +00:00
dg
aa55f7313a Create a scrt0.o file that specifically excludes the shared-lib support.
This will be used for -static programs.
1995-10-18 04:19:00 +00:00
jfieber
00f14e6ccb Clean up entries for supported CD-ROM drives.
Submitted by:	Frank Durda IV <uhclem%nemesis@fw.ast.com>
1995-10-18 04:05:16 +00:00
jkh
858000205b Almost snapshot time..
Merge today's work.

Now support an attributes file loaded at startup (true front-loaded install).
Add fuller debugging support to all device I/O routines.
Lots-o-bug fixes.
1995-10-18 00:12:55 +00:00
se
7309d9d4a4 Make CONF1_ENABLE_MSK1 even less restriktive: Ignore slot ID ... 1995-10-17 23:30:11 +00:00
dg
43c7f23817 Doubled the performance of getenv()/__findenv() by rewriting it to not
use strncmp()..
1995-10-17 21:37:41 +00:00
asami
73c1a1fccb Back out the two latest changes. The -current branch is now equal to
the -stable branch except the change between 1.182 -> 1.183.
1995-10-17 20:58:08 +00:00
dg
fb897fab53 Fixed a bug that caused last(1) to be extremely slow in some cases, and
made other performance improving changes. This improves the performance
of last(1) by as much as 32 times in some cases, and in more typical cases
is about twice as fast.
Added a BUGS section to the manual page to describe the behavior of last(1)
when a login shell terminates abnormally (and thus doesn't write a logout
record to the wtmp file).
1995-10-17 18:26:43 +00:00
bde
85b40e7947 Add a man page for the dgb driver.
Submitted by:	"Serge A. Babkin" <babkin@hq.icb.chel.su>
		(English improved a bit by me.)
1995-10-17 17:38:42 +00:00
bde
e28ffae1a8 Update Digiboard entries.
Submitted by:	"Serge A. Babkin" <babkin@hq.icb.chel.su>
1995-10-17 16:26:54 +00:00
se
9b1dda8fb9 At least the ASUS Triton motherboards don't disable the PCI bus configuration
accesses after the BIOS bus scan. The previous revision made the assumption,
that every PCI motherboard did ...

Change the test on the initial value of the CONF1_ADDR_PORT register in a way
that makes the probe succeed on triton based motherboards, without breaking
the EISA motherboard that has some non-PCI register at the same address.
1995-10-17 15:23:14 +00:00
jkh
960af83a64 Sync with me in prep for snapshot. 1995-10-17 02:57:11 +00:00