Alfred Perlstein
e4b0fede2c
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 Perlstein
7bb4bf8526
Const fix.
2002-03-22 20:00:10 +00:00
Alfred Perlstein
0d28a40a57
Remove cast that's not needed.
2002-03-22 19:57:09 +00:00
Alfred Perlstein
3af9aed6c5
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 Perlstein
bc0381304d
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 Perlstein
efddf1388d
constify log_from_addr() parameter.
2002-03-22 19:20:35 +00:00
Alfred Perlstein
c4bc47ba6a
Bring code to WARNS=3 level. Mostly fix unused variables.
2002-03-21 23:05:13 +00:00
Alfred Perlstein
b5749e6213
Remove main() prototype.
2002-03-21 22:53:49 +00:00
Alfred Perlstein
33314abe2c
Remove __P.
2002-03-21 22:52:45 +00:00
Bruce A. Mah
7a0933ca5d
Fix typo: s/forth/fourth/
2002-03-21 20:10:10 +00:00
Warner Losh
854299908c
o __P removed
...
o main prototype removed
2002-03-21 13:14:21 +00:00
Ruslan Ermilov
7a43a96ab0
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
David E. O'Brien
3d438ad61f
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
Ruslan Ermilov
50dce955e4
Grammar nits.
2002-03-20 15:09:32 +00:00
Darren Reed
99a4a5a867
* 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
David E. O'Brien
a3a263e37c
Remove ipftest until the committer can actually test his changes.
2002-03-20 01:57:52 +00:00
Mike Heffner
9cc7cb5818
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
Bruce A. Mah
d3d0e2c9fc
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
Warner Losh
b5d67e30b6
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
Warner Losh
bf01fd269b
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
David Malone
377a2e036f
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 Stokely
0b132dc393
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
Maxim Sobolev
3646fbdacb
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
Dag-Erling Smørgrav
0d61ca69bb
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
Ruslan Ermilov
5c9f299b01
mdoc(7) police: fix list width.
2002-03-15 17:06:19 +00:00
Ruslan Ermilov
bd41558c17
mdoc(7) police: .Va -> .Ev.
2002-03-15 17:03:05 +00:00
Ruslan Ermilov
3c1fa5310f
Fix a typo.
2002-03-15 16:53:32 +00:00
Ruslan Ermilov
c5001dbd09
Pedantry to satisfy the bin/34159 author.
2002-03-15 12:24:44 +00:00
Ruslan Ermilov
f8ee3376c9
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
Ruslan Ermilov
50e080fe0e
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
Robert Watson
b45deeb2a5
NAI DBA update.
2002-03-14 21:58:58 +00:00
Brian Somers
d919580716
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
Dag-Erling Smørgrav
8580fd6b50
Don't try to cross-build sysinstall.
2002-03-12 18:55:53 +00:00
Brian Somers
dc65642605
Handle B460800 and B921600 being defined in <termios.h>
2002-03-12 16:05:26 +00:00
Murray Stokely
5702226edc
Update number of ports available.
2002-03-11 13:48:13 +00:00
Dima Dorfman
c871474800
Chase sysctl name.
...
Submitted by: Christopher Sharp <christopher_sharp@web.de>
2002-03-11 00:07:55 +00:00
Hellmuth Michaelis
0d18e004bb
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
Dima Dorfman
524a875c78
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
Giorgos Keramidas
47fb4666df
Fix typo: s/secotor/sector/.
2002-03-08 13:50:28 +00:00
Giorgos Keramidas
7dfa118267
- Misc grammar fixes.
...
- Add `Ar filename' to the description of the -f option.
2002-03-08 12:50:41 +00:00
Giorgos Keramidas
ae47752bd6
Minor grammar fix:
...
s/will be resume/will be resumed/
2002-03-08 12:48:05 +00:00
Giorgos Keramidas
a03ab5b89f
Fix typo: capablities -> capabilities.
2002-03-08 01:59:52 +00:00
Giorgos Keramidas
053d075a91
Fix typo: to examining -> to examine.
2002-03-08 01:29:06 +00:00
Giorgos Keramidas
16b4ad5200
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
David E. O'Brien
a956ec3bed
Default to UTC on sparc64 also.
2002-03-06 06:18:21 +00:00
Brian Somers
b84271d866
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 Konovalov
7b65fef03a
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
Søren Schmidt
de7997511b
Update headers
2002-03-04 21:11:30 +00:00
Søren Schmidt
17744fcb98
fix the wildrunning % counter.
2002-03-04 20:50:16 +00:00
Brian Somers
ea59de3733
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