Commit Graph

18683 Commits

Author SHA1 Message Date
wosch
37c2967fb3 add cross reference to cd(1), where CDPATH variable is explained 1997-01-09 21:04:10 +00:00
jdp
4d96d1de07 On failure, return various exit codes from <sysexits.h>. In particular,
return EX_TEMPFAIL if the file was already locked.  This makes it easier
to distinguish between lock collisions and failures within the command
being executed.

Also, don't complain if the unlink() fails in the cleanup handler.  It
doesn't matter anyway, and it obscured the exit status returned from
the command that was executed.
1997-01-09 19:53:21 +00:00
jfieber
07b402e112 Lots more squashing of bugs, in particular making sure generated
HTML is compliant with the 3.2 DTD.

Sanity preservation and bug prevention - define frequently used
constructs as entities.

What remains to be done is better hypertextification which includes
breaking large documents into managable chunks, and managing links.
There are currently some (easy to avioid) situations that result
in multiple anchors with the same name, or links nested within other
links.  :(
1997-01-09 18:30:15 +00:00
peter
669906681b Correct logic braino when attempting to exclude loopback addresses on
the first pass.

Submitted by: Greg Lehey <grog@lemis.de>
1997-01-09 16:38:05 +00:00
peter
29cc1dc80c Two minor changes to try and make it more robust in the face of many
interfaces, until it's redone to use sysctl().
- bump the SIOCGIFCONF buffer size from 1K to 8K
- if we didn't find a suitable address, return a failure.  Previously
  if it didn't find anything it left the return address uninitialised.
  Perhaps it would be better to return AF_INET/111/127.0.0.1 rather than
  failing?
1997-01-09 14:55:15 +00:00
mpp
cbe97b6291 Fix some file descriptor leaks. Closes PR# 2392.
2.2 candidate.
1997-01-09 14:50:42 +00:00
kato
7184681fc2 Synchronize with sys/i386/isa/isa.c rev. 1.75. 1997-01-09 13:13:38 +00:00
phk
6ef167a563 i386/2427: 2.2-BETA ft driver panics when there're no floppy drives
Reviewed by:	phk
Submitted by:	hosokawa@jp.FreeBSD.org
1997-01-09 12:50:07 +00:00
mpp
2e0541fccf Fix a couple of typos in a comment and in the usage output. 1997-01-09 07:36:14 +00:00
mpp
649560e2de Update the copyright notices to match our bsd-copyright example. 1997-01-09 07:26:05 +00:00
mpp
ba7ed41388 Minor mdoc style fixes. 1997-01-09 07:12:09 +00:00
mpp
47927ebd5c Make the man page agree with the actual vmstat output
and options.
1997-01-09 06:49:33 +00:00
mpp
fe9d880f17 Add some real example diagnostics to example.[14]
Add all of the possible errno's to example.3.

Show examples of the .Bx (BSD) and .At (AT&T UNIX) macros
in the various HISTORY sections.

Add some .Rs/.Re (used for referencing things other
than man pages) in the SEE ALSO sections.

Suggested by: wollman
1997-01-09 06:32:22 +00:00
davidn
0524c0d6d9 Internationalise "authorize". 1997-01-09 04:16:18 +00:00
jdp
4e07878b52 The error returned when F_SETLK collides with an existing lock is
EAGAIN, not EACCES.  POSIX says that either one is OK.
2.2 candidate.
1997-01-08 23:48:02 +00:00
wosch
516a603227 bring section LIMITS back; reviewed by: mpp 1997-01-08 22:57:15 +00:00
jdp
a3091cdc30 Enable lockf. 1997-01-08 20:19:22 +00:00
jdp
2b83be266b This commit was generated by cvs2svn to compensate for changes in r21439,
which included commits to RCS files with non-trunk default branches.
1997-01-08 20:12:59 +00:00
jdp
e83b4a256a Initial import of the lockf utility. It executes an arbitrary command
while holding an exclusive lock on a file.
1997-01-08 20:12:59 +00:00
nate
68ca277fec Make the code more consistant by using the INTR*MASK macros througout the
code.

Reviewed by:	bde

[
Bruce suggest removing the macros completely, but I'm not up to that
task quite yet.
]
1997-01-08 16:12:56 +00:00
wollman
06bc53a1a8 Fix typo. I hate waking up at 4:45 in the morning... 1997-01-08 15:23:17 +00:00
wollman
c61773de86 Correctly account for header length in m_pkthdr.len when sending
packets through BPF.

Submitted by:	seki@sysrap.cs.fujitsu.co.jp in PR#2415
1997-01-08 14:17:27 +00:00
wollman
f24b5e576f Delete -D_POSIX_MODE and -D_MULTI_LIBM from CFLAGS. They never had any effect
because _IEEE_LIBM always takes priority, so the definition just served
to confuse.

Reviewed by:	bde
1997-01-08 13:22:28 +00:00
wollman
18b2a70a7d Fix a few oversights in the new multicast membership interface. 1997-01-08 13:20:25 +00:00
ache
bf70ac7d48 Fix fake failures on the short names which looks like hexadecimal numbers
Submitted by: paul@vix.com
1997-01-08 13:06:14 +00:00
joerg
6ed07ccb5b Document the various reasons for EINVAL.
Document the flaw that `offset' is required to be page-aligned, in the
BUGS section.
1997-01-08 12:02:15 +00:00
joerg
151ff8e003 Our mmap(2) has a limitation where the `offset' parameter must be
page-aligned.  cmp(1) should know about this flaw, and work around it.

While i was at it, fixed an uninitialized variable as reported by
-Wall.
1997-01-08 12:00:55 +00:00
ache
eaaff5d312 Build ebones/telnetd only if MAKE_EBONES defined 1997-01-08 11:46:23 +00:00
ache
e57528b758 Make eBones/telnet only if MAKE_EBONES defined 1997-01-08 11:38:33 +00:00
ache
8938f66feb Build ebones/libtelnet only if MAKE_EBONES defined 1997-01-08 11:34:32 +00:00
mpp
1ff202e3f3 Remove an extra tab. 1997-01-08 07:24:52 +00:00
mpp
f3717d5a3e Correct some misleading text.
Submitted by:	Klaus Klein <kleink@layla.inka.de>
Obtained from: NetBSD-bugs PR#3089
1997-01-08 07:12:47 +00:00
mpp
00f3741fc0 Fix some typos and remove a couple of duplicate
fortunes.  Closes PR#s 2358 and 2402.

Submitted by:	John-Mark Gurney <gurney_j@efn.org>
1997-01-08 07:04:44 +00:00
mpp
13525f3326 Man page police. 1997-01-08 06:51:32 +00:00
mpp
1e25718bf7 Fix some formatting problems. Closed PR# 2377.
Pointed out by: David O'Brien
1997-01-08 06:42:27 +00:00
nate
a320d1c0ac Changed magic # 0xa0000 -> ISA_HOLE_START since it's now defined. 1997-01-08 05:56:55 +00:00
peter
3e1646e9fb Fix double typo 1997-01-08 03:00:42 +00:00
jfieber
a1fcadba79 Add an "else" clause to _followrel.
This should be in 2.2.
1997-01-08 01:40:52 +00:00
nate
2c93c06cf9 - Added PCIC resume function
- Cleaned up VLSI-PCIC work-around code

Submitted by:	nate & the Nomads
1997-01-08 00:22:58 +00:00
ache
9962c79df8 Rename vt*-em entries to vt*-nac entries
Add vt*-pf entries with k1-k4 as pf1-pf4 and make it non-default
1997-01-07 21:12:05 +00:00
imp
eba6461a03 Fix many buffer overflows, correct usage of strcat and implement
$TAPE.  Inspired by OpenBSD's work in this area.

Reviewed by:	Peter Wemm, Guido van Rooij and Jordan Hubbard.
Obtained from: OpenBSD
1997-01-07 20:48:24 +00:00
pst
c2735e9515 Added Tor Egge to contributor's list 1997-01-07 20:22:17 +00:00
pst
3e449dc0ea bin/1789: dump estimates a negative number of tapes needed for huge dumps 1997-01-07 20:15:04 +00:00
pst
ac82b8a657 TCP statistics are unsigned counters.
Tor Egge reports counter wrap and requests and update to quad_t sized
counters, which is also a good thing to do,  but I'm unhappy about adding
two more instructions into the  code path every time we doink a counter.

Maybe with or after the Lite2 merge...
Submitted by:	Tor Egge <Tor.Egge@idt.ntnu.no>
1997-01-07 20:09:28 +00:00
pst
8f7e8a6585 Import a few relatively minor fixes from current Borman telnet.
Add some buffer overrun fixes from OpenBSD and myself.
Add skey calculator kludge from OpenBSD.

TODO: do a real merge of dab's sources... probably just make telnet and
	telnetd contrib software.

Obtained from: OpenBSD, dab@bsdi.com
1997-01-07 19:47:58 +00:00
wollman
46b285b874 Checkpoint the beginnings of the new kernel interface for
multicast group memberships.  This is not actually operative
at the moment (a lot of other code still needs to be changed), but
this seemed like a useful reference point to check in so that
others (i.e. Bill Fenner) have fair warning of where we are going.
1997-01-07 19:15:32 +00:00
pst
bc821ff357 Some buffer overrun fixes and removed check for username starting with "-"
(replacied it with a getopt stopper (--) instead, which is more correct).

Obtained from: OpenBSD
1997-01-07 19:00:52 +00:00
davidn
4dfbc233a2 Various bugfixes. 1997-01-07 16:28:12 +00:00
nate
544beb5705 > The extra include of <sys/time.h> is because apm uses microtime() and my
> <sys/param.h> doesn't include <sys/time.h>
>
> I removed the NAPM check since it's wasteful to check twice.  apmprobe()
> checks the unit number, and that's the right check.

Submitted by:	bde
1997-01-07 15:36:34 +00:00
davidn
5260ae0792 Consistency check: refs to ~/.login.conf should be ~/.login_conf. 1997-01-07 14:29:50 +00:00