Commit Graph

3958 Commits

Author SHA1 Message Date
mycroft
a49e6f5cbe Avoid core dumping if /etc/dumpdates is not present. Note that only file
systems listed in dumpdates are display by `dump w' and `dump W'; this is
probably a bug.
Original bug reported by John Brezak <brezak@ch.hp.com>.
1993-12-02 02:33:39 +00:00
mycroft
84f6895ad3 As suggested by Xavier Leroy <xavier@Theory.Stanford.EDU>, make sure we don't
flag a short read on the 2nd file as an EOF when it isn't.  This implementation
differs in that at most one read is done per file per comparison, so that an
early mismatch may avoid hanging on input or continuing some expensive process
if reading from a pipe.
1993-12-02 01:56:04 +00:00
jtc
d3c28f5857 Use GCC's format attribute (for bug detection with -Wformat). 1993-12-01 23:59:27 +00:00
cgd
755a93789b indent Id properly 1993-12-01 22:42:29 +00:00
cgd
fedc5faddb fix from Frank van der Linden <vdlinden@fwi.uva.nl> to DTRT when given a
filename on the command line.
1993-12-01 22:31:06 +00:00
phil
102c96c45a For the PC532, fixing the errors in the #include code and removing all
references to the "rtc".  (Removing rtc from the pseudo devices.)
1993-12-01 22:29:19 +00:00
cgd
5419d0bd49 initialize uninitialized variable, from Andy Heffernan <ahh@netcom.com>. 1993-12-01 22:05:04 +00:00
cgd
2397ae9270 add /usr/sbin to PATH for chown, as suggested by brad@fcr.com 1993-12-01 21:56:38 +00:00
pk
67d0cb98aa Make `ktrace' record the system call entries in addition to just a bunch
of return codes.
1993-12-01 20:59:59 +00:00
jtc
17585e0f6d Manpage formatting tweaks. 1993-12-01 18:49:52 +00:00
pk
5d726082c5 __386BSD__ ==> __NetBSD__ 1993-12-01 13:48:47 +00:00
cgd
4909e76819 update from Jeff Polk; better validation 1993-12-01 10:35:21 +00:00
pk
1f4ccfa0cd Recognise AR_EFMT1 format. 1993-12-01 08:56:58 +00:00
phil
1b7c2b0299 Added some includes needed for the new pseudo_init code. 1993-12-01 07:56:02 +00:00
deraadt
5f40ac2443 be more careful, do not tromp over ``MACHINE'' 1993-12-01 05:56:39 +00:00
cgd
f788e05de2 from Jarle.F.Greipsland@idt.unit.no:
find_cycle was trying to find the longest cycle that a given node is part of,
which is a really, really hard problem (exponential?).  instead, just detect
cycles.  since the only difference is the (std error) output which is printed,
all works out OK.
1993-12-01 05:34:16 +00:00
cgd
62b6693299 fix typo; from Louis A. Mamakos <louie@TransSys.COM> 1993-12-01 02:26:50 +00:00
cgd
0a1a83b160 do the right thing (i.e. ignore) EINVAL returned as an error from fsync().
fix suggested by, but different than that provided by, Bill Sommerfeld.
1993-12-01 01:41:51 +00:00
cgd
73b217910b fix comment, add check 1993-12-01 01:38:21 +00:00
pk
0197ba45f2 First guess at a gcc configuration for NetBSD Sparc. 1993-11-30 23:08:36 +00:00
jtc
39d94328c9 Changed to use memset() instead of bzero(). 1993-11-30 21:55:35 +00:00
jtc
ed9ab81fcc Use ".Va" macro when formatting "errno". 1993-11-30 21:52:46 +00:00
jtc
fa8cf50620 Renamed _sigintr to __sigintr. _sigintr is in the user's namespace. 1993-11-30 21:21:42 +00:00
deraadt
2dcf572fc2 fbio.h is in machine/ 1993-11-30 20:55:12 +00:00
mycroft
5e76e8d3b0 Add `OSTYPE(bsd4.4)' to these, as some people actually use them as examples and
get confused by the resuilting sendmail-->mail-->sendmail-->... loops.
1993-11-30 08:18:35 +00:00
paulus
8cb6ee6c38 Fixed bugs in calculation of branch offsets for short and word forms;
fixed bug in PC-relative offsets of the form (sym1 - sym2).
1993-11-30 02:36:08 +00:00
jtc
d3b6c3481b "errno" was not being formatted with the .Va macro. 1993-11-30 00:50:58 +00:00
paulus
e290fb8f79 Changed beq's to jeq's, because (a) the jeq gets optimized to a short branch,
and (b) gas currently assembles the beq's wrongly.
1993-11-30 00:45:15 +00:00
jtc
5187624c00 Use ".St -p1003.2-92" macro instead of spelling it out. 1993-11-30 00:36:01 +00:00
jtc
b9e1a8c55a Use ".At v6" macro instead of spelling out "Version 6 AT&T UNIX". 1993-11-30 00:19:51 +00:00
jtc
b79c476d97 Use ".At v7" macro instead of spelling out "Version 7 AT&T UNIX". 1993-11-30 00:18:19 +00:00
jtc
93a125034a Use ".At v6" macro instead of spelling out "Version 6 AT&T UNIX". 1993-11-30 00:11:45 +00:00
jtc
3802354116 Use ".At v7" macro instead of spelling out "Version 7 AT&T UNIX". 1993-11-30 00:10:17 +00:00
jtc
a8033b59a4 Use ".At v6" macro instead of spelling out "Version 6 AT&T UNIX". 1993-11-30 00:07:58 +00:00
jtc
d655636830 Change order of conditional so that a possible null pointer is not
dereferenced.  This case would only occur when stdin was not a tty.
Thanks to Dan Muntz for discovering this bug.
1993-11-29 22:39:19 +00:00
jtc
a66bb8995a Use "Er" for argument to -width in the lists in the ERROR sections so that
formatting is consistant.
1993-11-29 22:06:07 +00:00
jtc
691ded4519 Use "Er" for argument to -width in the lists in the ERROR sections so that
formatting is consistant.
Other misc. tweaks.
1993-11-29 21:40:55 +00:00
jtc
250b6aa06e Use "Er" for argument to -width in the lists in the ERROR sections --- so
the formatting is consistant.
1993-11-29 21:24:57 +00:00
mycroft
8caf0ca62b Use new struct buf fields. 1993-11-29 20:33:25 +00:00
jtc
7ce85221c7 Fix formatting problem theo found. 1993-11-29 19:51:48 +00:00
jtc
f947c6c25d Format ERROR values like all the other manual pages. 1993-11-29 19:45:00 +00:00
jtc
f5edebac02 Cuserid() is specified in such a way that it can overwrite the buffer used
by getpwent(), getpwnam() & getpwuid() --- but not the other way around.
This requires that cuserid() have its own static buffer.
1993-11-29 19:39:44 +00:00
jtc
2b67bcc1b6 Make it clear that ctermid's argument is a pointer to an array. 1993-11-29 19:30:32 +00:00
jtc
0e817b67bc install cuserid(3) manpage. 1993-11-29 19:22:31 +00:00
jtc
fe57b6e1e6 A manpage for cuserid(3) (hacked up from ctermid(3)). 1993-11-29 19:22:00 +00:00
jtc
a07d6b46fb Was looking for config files in wrong place. 1993-11-29 19:01:27 +00:00
mycroft
3956e86fbd Enable mcd0. 1993-11-29 18:19:29 +00:00
pk
053e467648 Use proc0's credentials in buffer used for IO to swap device.
Especially useful when swapping over NFS.
1993-11-29 16:05:20 +00:00
pk
392cf19708 return from rmfree() if we loose space with no options left. 1993-11-29 13:21:00 +00:00
deraadt
cd697ceedb seperate device from dkdevice 1993-11-29 08:31:22 +00:00