billf
f9278606a3
Balance the brackets.
...
PR: docs/8505
Submitted by: Kazuo Horikawa <horikawa@jp.FreeBSD.org>
1998-12-08 22:49:08 +00:00
billf
9a6e85e2cb
Use quotes around the first_line variable so C comments and other things
...
that are misinterpreted by echo(1) aren't.
PR: docs/8757
Submitted By: Takeshi OHASHI <ohashi@mickey.ai.kyutech.ac.jp>
Sergei Laskavy <laskavy@gambit.msk.su>
1998-12-08 22:09:05 +00:00
archie
e11c48f4b1
Fix a new bug introduced by the previous bug fix
1998-12-08 21:29:22 +00:00
eivind
80e25474db
Better error checking.
1998-12-08 20:41:05 +00:00
cracauer
c4f0cd91df
Add -s option, just report size of file that would be fetched.
...
Reviewed by: -current list
1998-12-08 13:00:49 +00:00
kato
b34285d7af
Use CNAME macro for pc98_system_parameter, which is referenced from C
...
source.
Submitted by: Masanori Kanaoka <kana@saijo.mke.mei.co.jp>
1998-12-08 10:22:31 +00:00
bde
15a8d4e02e
Backed out the FIOASYNC fix in rev.1.108. fcntl(fd, F_SETFL, flags)
...
depends on the bug. It does an FIOASYNC ioctl to sync the setting
of the O_ASYNC "file" flag with drivers even if the setting hasn't
changed.
PR: 9003
1998-12-08 10:22:07 +00:00
kato
5e147a437f
Sync with sys/i386/conf/Makefile.i386 revision 1.130.
1998-12-08 08:19:45 +00:00
kato
9fdaea1a1f
Sync with sys/i386/isa/fd.c, if_fe.c, npx.c and sio.c revisions 1.126,
...
1.44, 1.63 and 1.219, respectively.
1998-12-08 08:18:59 +00:00
kato
88fa0db894
Sync with sys/i386/i386/userconfig.c revision 1.117.
1998-12-08 08:17:43 +00:00
archie
06772a0378
Automatically detect a.out vs. elf kernel
1998-12-08 08:14:37 +00:00
jkh
9bbb7fe8d4
DOH! Name the mfsroot contents properly.
...
Noticed by: "Sean O'Connell" <sean@stat.Duke.EDU>
1998-12-08 00:14:51 +00:00
imp
2cfcfef3a1
If there is no .depends file, use the standard ad-hoc way of ensuring
...
that the generated files are generated before any of the object files.
Also minor cleanup of dependencies in conf/files that I bogusly added
before.
This should fix the requirement that make depend be done starting from
a clean config directory. If you don't have a clean directory, make
depend is still required if you want the proper .o's to be recompiled.
Reviewed by: bde
1998-12-07 22:36:54 +00:00
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