Commit Graph

7843 Commits

Author SHA1 Message Date
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
takawata
036636ab01 Fix bug on method local named object related panic and Bankfield
operation.
2002-03-02 15:05:26 +00:00
ume
d98b25897d Sync with latest KAME's manpage of prefix(8).
Obtained from:	KAME
MFC After:	1 week
2002-03-01 08:45:24 +00:00
sobomax
3fcf72b6ba Use some black make(1) magic to make pkg_install build even without
Makefile.inc in parent directory (e.g. when checked out from cvs as a module).

MFC after:	2 weeks
2002-02-27 19:03:15 +00:00
dd
c8a6bd9922 Introduce a version field to `struct xucred' in place of one of the
spares (the size of the field was changed from u_short to u_int to
reflect what it really ends up being).  Accordingly, change users of
xucred to set and check this field as appropriate.  In the kernel,
this is being done inside the new cru2x() routine which takes a
`struct ucred' and fills out a `struct xucred' according to the
former.  This also has the pleasant sideaffect of removing some
duplicate code.

Reviewed by:	rwatson
2002-02-27 04:45:37 +00:00
sos
673b8cea9c When asked to print bytes (-b option) do that and put 16 on a line. 2002-02-26 10:40:42 +00:00
peter
bcb7976abd Add a hint about -DNO_WERROR 2002-02-25 21:59:57 +00:00
bde
89c2691095 #include <time.h> for the definition of time functions instead of
depending on namespace pollution 2 layers deep in <sys/stat.h>.

Removed unused include of <sys/stat.h>.  Only its pollution was used.
2002-02-25 07:39:34 +00:00
bde
0f2a01ed72 #include <time.h> for the definition of time functions instead of
depending on namespace pollution 2 layers deep in <sys/stat.h>.
2002-02-25 05:31:49 +00:00
bde
94ad2d6944 #include <sys/time.h> instead of depending on namespace pollution in
<sys/stat.h> for the declaration of struct timeval.
2002-02-25 05:23:59 +00:00
dougb
d39f25f69c Improve grep'ing for variables in make.conf and rc.conf*.
Thanks to cjc for the idea.
2002-02-25 04:52:56 +00:00
dougb
3f4a2556ec * Add a feature to do a "pre {build|install}world" check of (so far)
master.passwd, group, and make.conf
* Add a feature to check variables in rc.conf[.local] to their
counterparts in /etc/defaults/rc.conf after a run
* Twiddle whitespace a little
* Change some "[ -f file ] && rm file" to "rm -f file"
2002-02-24 10:22:14 +00:00
bde
9fe42a4fee Reserved one of the spare fields in struct gmon to record the history
counter type, as threatened in rev.1.8 (the density doesn't need to
be recorded since it can be derived from other fields).  This doesn't
affect binary compatibility, but new utilities won't be able to depend
on the contents of this field because libc/gmon/gmon.c was broken --
it wrote garbage to the spare fields.

Added a history counter type field to struct gmonparam.  This breaks
binary compatibility a little, since kgmon wanted to read the whole
struct.  Fixed kgmon to only depend on reading the critical earlier
parts of the struct.  This should also fix 6+ year old breakage of
binary compatibility when the profrate field was added.

Only initialize the new field in struct gmon for now, so that the
compatibility code for this (in kgmon) gets tested.  The compatibility
code has to guesstimate the value.  The new field in struct gmonparam
is for the kernel to initialize so that kgmon doesn't have to guess.
2002-02-21 05:52:49 +00:00