archie
60d13c7a9d
The "easy" fixes for compiling the kernel -Wunused: remove unreferenced static
...
and local variables, goto labels, and functions declared but not defined.
1998-12-07 21:58:50 +00:00
wpaul
2f8d013d96
Un-revert typo fix (fauled -> failed). This is what I get for not
...
keeping my local RCS files in sync with the rest of the world.
Caught red-handed by: bde
1998-12-07 18:14:30 +00:00
eivind
2d81fe5347
Fix grouping of statements. This remove a potential panic in the soft
...
updates code. While I'm here, remove an unintended trigraph.
Reviewed by: Kirk McKusick <kirk@freebsd.org>
1998-12-07 17:23:45 +00:00
eivind
89e665c749
Propagate unsignedness to all variants of 'k', and reorganize the
...
conditionals to be fully resistent against overflow in unsigned
computations.
Potential problem pointed out by: bde
Reviewed by: bde
1998-12-07 16:31:15 +00:00
ache
c46111d079
unlocalize date
...
Submitted by: Cejka Rudolf <cejkar@dcse.fee.vutbr.cz>
1998-12-07 16:17:41 +00:00
rnordier
f6024a1e10
Use '#' flag in place of "0x" in format strings.
1998-12-07 14:09:17 +00:00
bde
325019ad69
Don't put compiler warning flags in leaf Makefiles.
1998-12-07 12:50:48 +00:00
bde
38bdbdd81a
CFLAGS+= -Wall -Wformat for all of src/bin. All warnings except 2 minor
...
ones in rmail have been fixed.
1998-12-07 12:44:12 +00:00
bde
670450a851
Fixed printf format errors.
1998-12-07 12:37:11 +00:00
bde
c586f2866a
Fixed warnx format errors in printf and csh, and snprintf format errors
...
in sh, by using separate macros for the 1, 2 and 3-arg calls to warnx.
(The 3-arg warnx macro in sh/bltin/bltin.h used to require bogus dummy
args.)
1998-12-07 12:14:04 +00:00
bde
52149e1f7c
Removed unused include of <kvm.h>. It was alarming for libc to apparently
...
depend on libkvm.
Removed obsolete `#define _NEW_VFSCONF'.
1998-12-07 11:26:28 +00:00
bde
5462b94b62
Fixed -Wall regression (broken in rev.1.12). Removed unused includes.
1998-12-07 10:25:48 +00:00
bde
3fbe04f245
Fixed printf format errors (new bugs in rev.1.7). Fixed a spelling error
...
(rev.1.7 blew away most of rev.1.2-1.6; I'm only fixing blowing away of
rev.1.4).
1998-12-07 10:16:58 +00:00
ache
d6d798c296
Move stime declaration to main block, otherwise can left uninitialized
...
in rare cases.
Found by: Eivind Eklund <eivind@yes.no>
1998-12-07 07:59:20 +00:00
archie
566ad38652
Disallow ipfw "tee" rules until it is actually implemented.
...
PR: bin/8471
1998-12-07 05:54:37 +00:00
eivind
ef7d200c7e
Clean up some pointer usage.
1998-12-07 05:41:10 +00:00
archie
70bef8d209
Fix brokenness compiling "s/pat/subst/" when length of subst is >= 4090 chars.
...
PR: bin/7939
1998-12-07 05:35:54 +00:00
archie
5fa68e57c0
Compile -Wall
1998-12-07 05:33:39 +00:00
eivind
5af7338a8e
Remove guard for < 0 on an unsigned variable.
1998-12-07 03:26:34 +00:00
eivind
cae573fc34
'\0' is the most ugly NULL pointer constant I've ever seen in real code.
1998-12-07 02:47:46 +00:00
wpaul
d5e7be6625
if_rl.c: make a small tweak to properly handle the Accton MPX 5030/5038
...
as a RealTek 8139
if_rlreg.h: use bus_space_read_X() in CSR_READ_X() macros instead of
directly calling inb()/outb() etc...
rl.4 + RELNOTES.TXT: mention that SMC EtherEZ PCI 1211-TX is supported
by the RealTek driver
1998-12-07 00:35:06 +00:00
archie
167c036e91
Tweaks to allow compiling -Wall (mostly adding "const" to char rcsid[]).
1998-12-06 22:58:23 +00:00
jkh
3f56407712
Shuffle the exclusion list for boot.flp in an effort to get sizes
...
down again.
1998-12-06 21:58:50 +00:00
archie
2de6eb10e4
Add "-aout" flag to nm until the kernel is ELF'd.
1998-12-06 21:39:07 +00:00
jkh
4bf23a6df9
Correct for mfsroot.flp now.
1998-12-06 20:38:49 +00:00
bde
0d0f3202f5
Ifdefed a conditionally used include.
...
Don't depend on "implicit int".
Don't bloat the data section with labpc_devsw_installed.
1998-12-06 17:58:21 +00:00
bde
36f2dfd2e3
Backed out previous commit. It was for bug for bug compatibility with
...
2.2's .mk files.
Fixed spelling and placement of '$Id$'.
1998-12-06 17:34:50 +00:00
bde
f64d6c31be
Removed bitrotted code for setting OBJFORMAT.
1998-12-06 17:14:37 +00:00
alex
f75a5f3e3b
Sync usage string with reality: removed -n, added -s.
1998-12-06 16:31:47 +00:00
jkh
31272c4264
MFC: loosen compare even though bde doesn't like it.
1998-12-06 11:36:24 +00:00
jkh
f7df7a8c9e
Fix an exceedingly *stupid* error in my floppy selection logic
...
which was hosing the fixit functionality.
PR: 8983
Fixed and embarassed by: Nobuyuki Koganemaru <kogane@koganemaru.co.jp>
:-)
1998-12-06 10:13:57 +00:00
archie
75f552f0ac
Make rcsid a const char[] instead of char[] to avoid compiler warnings
1998-12-06 08:15:08 +00:00
archie
731caa6ae4
Eliminate compiler warnings from -Wall
1998-12-06 07:42:09 +00:00
archie
58d8b6ab3e
Eliminate compiler warnings from -Wall
1998-12-06 07:36:44 +00:00
obrien
194c8b4f1f
The \*(td string macro, which is supposed to display today's date in the form
...
"October 14, 1998". A Y2k fix makes it now display "October 14, 98+1900".
Appears you can perform arithmetic in a string definition.
PR: gnu/8321
Reviewed by: Andrew J. Korty <ajk@purdue.edu>
1998-12-06 05:54:26 +00:00
obrien
28f22f9b9d
Rev 1.13 fixes PR bin/8958
1998-12-06 05:49:29 +00:00
jkh
3b716d369c
Put mfsroot.gz on yet another filesystem so that the boot blocks
...
can really read it. Hmm. I have no idea *how* this worked in our
earlier tests on the x86. :)
1998-12-06 04:06:39 +00:00
mjacob
e2a1b1bb3b
fix warning messages from previous delta
1998-12-06 00:10:52 +00:00
mjacob
b7cd8650a6
use CAM_DEBUG_XPT to track XPT; correct a misspelling
1998-12-06 00:06:48 +00:00
mjacob
f45aad250b
print the appropriate SCSI revision (with CCS as a proper name for the announce message
1998-12-06 00:05:47 +00:00
jkh
c1787d6db2
Now that John has kindly repo-moved these files, nuke the original
...
copies and update the Makefile.
1998-12-06 00:05:43 +00:00
archie
5c694b81cd
Avoid compiler warning (printf arg type mismatch) when compiling #ifdef DEBUG
1998-12-06 00:03:30 +00:00
mjacob
86adb3351d
Add a CAM_DEBUG_XPT define (to debug XPT layer only). Add a CAM_DEBUGGED
...
macro to be like the CAM_DEBUG macro but to instead provide a predicate
result.
1998-12-05 23:55:48 +00:00
mjacob
a3957bb74a
Fix it so that it works on an eb164 when you have a serial console on com1.
...
Obtained from:gallatin@freebsd.org
1998-12-05 22:36:31 +00:00
jdp
d5f449060e
Null commit to commemorate the momentous occasion of the repository
...
copying of these files from the parent directory. Let us all now
observe a brief moment of silence. OK, that's long enough.
Jordan will adjust the Makefiles appropriately and then "cvs rm" the
originals.
1998-12-05 22:15:10 +00:00
mjacob
47368a2600
Add in named SID field revision names (including CCS).
...
Add in named defines for DEFAULT and NOCHANGE densities (for sequential
access devices).
1998-12-05 22:10:14 +00:00
kato
0ebf3be7f1
Print out information for write-allocate of AMD CPUs.
...
Submitted by: Akio Morita <amorita@meadow.scphys.kyoto-u.ac.jp>
1998-12-05 16:30:55 +00:00
rnordier
e625ce3562
Revise some comments and labels.
1998-12-05 11:58:33 +00:00
obrien
97f6d04b8b
There is a bug in /bin/pax -s option processing. The code assumes that all
...
pattern matches will occur at offset zero of the source string. The bug causes
the input source string pointer to be incremented by the offset of the end of
the match, instead of it's length. The fix is to only increment the pointer by
the length of the pattern match (eo-so).
Of course, the one example in the man page shows a situation where the match
occurs at offset 0.
Submitted by: John W. DeBoskey <jwd@unx.sas.com>
Obtained from: freebsd-current@freebsd.org
1998-12-05 10:29:10 +00:00
rnordier
dd65c36c59
Fix typos (dexktop, ot)
1998-12-05 09:36:15 +00:00