alfred
612a0d6d9f
Use char foo[] = "BAR" to avoid direct assignment of const char * into char *.
...
rpcgen can't really make those fields const because the remote side might
want to munge them, so we need to pass non-const in. Hackish, but should
work.
2002-03-22 20:02:54 +00:00
alfred
eaa965988d
Const fix.
2002-03-22 20:00:10 +00:00
alfred
2eea86bbd4
Remove cast that's not needed.
2002-03-22 19:57:09 +00:00
alfred
761455043d
WARNS from 3 to 4. still some warnings about assigning const char * to
...
char *, but we'll fix those later.
2002-03-22 19:50:58 +00:00
alfred
a36618aaa6
rename 'enum res' and 'struct status' to 'enum sm_res' and 'struct sm_status'
...
to avoid -Wshadow warnings in consumers of its generated header files.
2002-03-22 19:43:21 +00:00
alfred
255cf1e087
constify log_from_addr() parameter.
2002-03-22 19:20:35 +00:00
alfred
454845084c
Bring code to WARNS=3 level. Mostly fix unused variables.
2002-03-21 23:05:13 +00:00
alfred
1ee4de1e65
Remove main() prototype.
2002-03-21 22:53:49 +00:00
alfred
acb803ded7
Remove __P.
2002-03-21 22:52:45 +00:00
bmah
15e963f160
Fix typo: s/forth/fourth/
2002-03-21 20:10:10 +00:00
imp
baca1664d9
o __P removed
...
o main prototype removed
2002-03-21 13:14:21 +00:00
ru
dea7dd81b7
Replaced hacks in sbin/Makefile,v 1.99 and usr.sbin/Makefile,v 1.217
...
with the NO_IPFILTER make.conf(5) knob.
(So that we can "make the-rest-of-the-world" again.)
2002-03-21 09:15:39 +00:00
obrien
73c6870b18
Remove 'register' keyword.
...
It does not help modern compilers, and some may take some hit from it.
(I also found several functions that listed *every* of its 10 local vars with
"register" -- just how many free registers do people think machines have?)
2002-03-20 17:55:10 +00:00
ru
054849916a
Grammar nits.
2002-03-20 15:09:32 +00:00
darrenr
1156d9dd59
* ipftest now compiles with IPFILTER_LOG and needs ip_log.c to be able to
...
do the log regression test.
* dumping state/nat entries is also possible, outputting this information is
in the print{state,nat}.c files.
2002-03-20 08:57:10 +00:00
obrien
07b985e508
Remove ipftest until the committer can actually test his changes.
2002-03-20 01:57:52 +00:00
mikeh
64dbc53bb1
Fix bugs from previous commit: initialize the correct field and use
...
the correct local variable.
Caught by: Joachim Isaksson <Joachim.Isaksson@algitech.com>
Pointy hat to: mikeh
2002-03-20 01:31:15 +00:00
bmah
e79ce2cfe3
Add the ERRATA file to the documentation menu and index.
...
While I'm here, make the menu entries on the documentation menu begin
with "1" instead of "2".
Reviewed by: imp, rwatson, murray
Approved by: imp, rwatson, murray
MFC after: 1 week
2002-03-18 17:34:28 +00:00
imp
b17962a441
o remove __P
...
o Use ansi function definitions
o MAXPATHLEN already has the NUL at the end, so no need to add 1 (note that
MAXNAMLEN doesn't, so the + 1 there is correct).
o remove register.
2002-03-18 07:23:41 +00:00
imp
4a156150ba
Add xref to fdisk and disklabel to aid people looking around on how to
...
partition disks.
Suggested by: Dworkin Muller
2002-03-18 07:20:15 +00:00
dwmalone
81e7919936
Describe the format of the allow and deny files. This is more-or-less
...
the patch Matthew submitted, but I broke the lines in a more FreeBSD
way and made one small wording change.
PR: 31265
Submitted by: Matthew D. Fuller <fullermd@over-yonder.net>
MFC after: 3 weeks
2002-03-17 14:03:17 +00:00
murray
8486ee4c42
Add wireless devices to device_names array. Now that ifconfig can set
...
session IDs, and sysinstall can load modules from the MFSROOT, it
should be possible to install FreeBSD over a wireless link.
MFC after: 2 weeks
2002-03-17 08:04:02 +00:00
sobomax
8072919618
When loading a font allow suffix specifying its size be omited, in which
...
case use size of the currently displaying font as a suffix. For example,
when the when the size of the currently displayed font is 8x8 the
following command will load koi8-r-8x8.fnt.
# vidcontrol -f koi8-r
MFC after: 2 weeks
2002-03-16 23:35:51 +00:00
des
fdd4d414b4
Revert previous revision; sysinstall should build fine now even when cross-
...
building, plus ru says the previous revision didn't actually achieve what
it was meant to achieve.
2002-03-15 18:48:20 +00:00
ru
008d81377b
mdoc(7) police: fix list width.
2002-03-15 17:06:19 +00:00
ru
fbd982bb93
mdoc(7) police: .Va -> .Ev.
2002-03-15 17:03:05 +00:00
ru
85e74424f4
Fix a typo.
2002-03-15 16:53:32 +00:00
ru
54f1efe21b
Pedantry to satisfy the bin/34159 author.
2002-03-15 12:24:44 +00:00
ru
167a3a1729
Embed boot images built as part of buildworld rather than the
...
installed ones under /boot (which we may not even have in the
case of a cross build).
This introduced chicken and egg problem - we need boot images
early in the "depend" stage but they have not yet been built.
Work around this by excluding the generated makeboot.c source
from the "depend" list; it's okay because we hardcode all its
dependencies explicitly. We actually lose the dependency bit
on <sys/types.h> but it's probably okay too as the only thing
we use is the u_char datatype and this is unlikely to change.
After all, it's normal for sloppy cleaning to cause problems.
beast.FreeBSD.org running 5.0-CURRENT alpha has been able to
cross build i386 world with this patch.
Prodded by: gallatin
2002-03-15 11:27:47 +00:00
ru
8da9958ecc
Don't use temporary file to generate makedevs.c -- it's okay
...
to write to makedevs.c directly as it's not protected by the
.PRECIOUS attribute.
2002-03-15 11:21:57 +00:00
rwatson
4d486ee7b2
NAI DBA update.
2002-03-14 21:58:58 +00:00
brian
783a07fdf2
Use the return value from snprintf() to keep a track of the length of
...
the display string in MPPEDispOpts.
PR: 35836
MFC After: 2 weeks
2002-03-13 10:21:19 +00:00
des
42c25f9773
Don't try to cross-build sysinstall.
2002-03-12 18:55:53 +00:00
brian
e3b5feb1f5
Handle B460800 and B921600 being defined in <termios.h>
2002-03-12 16:05:26 +00:00
murray
844d26540e
Update number of ports available.
2002-03-11 13:48:13 +00:00
dd
70372059b0
Chase sysctl name.
...
Submitted by: Christopher Sharp <christopher_sharp@web.de>
2002-03-11 00:07:55 +00:00
hm
be9ab92241
after joerg's recent merge of i4b's isppcontrol to the main spppcontrol,
...
remove now obsolete files.
2002-03-09 13:37:24 +00:00
dd
165dbb1a74
When reporting that a line is too long, include the line number in the
...
error message. While I'm here, add a note that the "line too long"
message isn't always accurate.
PR: 35395
Submitted by: andrew@ugh.net.au
2002-03-09 03:52:14 +00:00
keramida
d53a3cfbe7
Fix typo: s/secotor/sector/.
2002-03-08 13:50:28 +00:00
keramida
e62e9c04de
- Misc grammar fixes.
...
- Add `Ar filename' to the description of the -f option.
2002-03-08 12:50:41 +00:00
keramida
fede422689
Minor grammar fix:
...
s/will be resume/will be resumed/
2002-03-08 12:48:05 +00:00
keramida
24bf73abac
Fix typo: capablities -> capabilities.
2002-03-08 01:59:52 +00:00
keramida
ced4f4b7ef
Fix typo: to examining -> to examine.
2002-03-08 01:29:06 +00:00
keramida
9148cdcb62
Merge a duplicate description of the -L option into the first one.
...
PR: docs/34782
MFC after: 1 week
2002-03-08 00:36:36 +00:00
obrien
0e966b63cc
Default to UTC on sparc64 also.
2002-03-06 06:18:21 +00:00
brian
ca8983659d
Don't drop the last character from ut_line in ID0logout().
...
PR: 35531
MFC after: 2 weeks
2002-03-05 13:03:11 +00:00
maxim
ee1d8d86a4
Unbreak PAP-only authentication.
...
PR: i386/34607
Not objected by: peter
Approved by: ru
Obtained from: ppp-2.4.1b2
MFC after: 1 week
2002-03-05 10:50:55 +00:00
sos
a7336f1ad6
Update headers
2002-03-04 21:11:30 +00:00
sos
c98de616cb
fix the wildrunning % counter.
2002-03-04 20:50:16 +00:00
brian
e1efcab9b5
Don't blow away ``set escape'' settings when we've completed the
...
login phase. Just initialise the correct parts.
Originially submitted by: Vladimir B. Machulsky <bofhmail@yahoo.com>
2002-03-04 10:08:57 +00:00