Commit Graph

6392 Commits

Author SHA1 Message Date
perry
4d9c2f6d8f Clean up the i386 examples somewhat, adding an example of upgrading
the boot blocks on the existing mounted root file system, and
eliminating references to bootxx_ufs.

I referenced the a partition even though most other ports seem to
reference the c partition. I don't know if that's the most correct
way to do it, but it seems to work for me and no one can tell me what
the canonical method is. I'd let someone else fix the man page but no
one seemed to want to and it really needed the example.
2003-11-02 16:04:31 +00:00
christos
4576b16a9b Increase the buffer size for result strings. Reported by Sergey Svishchev
svs at ropnet dot ru
2003-11-02 08:54:06 +00:00
mycroft
e7e5d0f4f6 Don't display data for sensors with ENVSYS_FCURVALID not set.
Clean up a little.
2003-10-31 20:37:53 +00:00
hannken
101f03a0d5 Let it compile again on sparc/sparc64. 2003-10-31 10:09:55 +00:00
itojun
91ba57dca7 need_trigger/idx should be u_int. millert@openbsd 2003-10-31 00:31:53 +00:00
itojun
4101558b6e validate packet length. KAME-PR-517 2003-10-30 08:46:04 +00:00
fvdl
e183d65fc4 Make a v6 socket v6-only, since rpcbind does host-based checking (all NFS
code already did this).
2003-10-29 17:51:33 +00:00
mrg
00b48119d0 XXX: build mdsetimage.c / installboot/ffs.c with -O0 on sun2 as GCC3
barfs on these for now.
2003-10-28 08:21:26 +00:00
wiz
3122f2a2f2 Grammar fixes in previous; use Nx in one place;
sort examples; replace < and > with \*[Lt] and \*[Gt] respectively.
Bump date for previous.
2003-10-28 00:26:17 +00:00
lukem
f4f2cda6de minor consistency tweaks 2003-10-27 22:38:39 +00:00
lukem
c176c56887 fix typo in comment 2003-10-27 22:29:59 +00:00
cl
e05d95b990 add next68k support to installboot 2003-10-27 16:51:05 +00:00
lukem
171d653219 Overhaul how `build.sh tools' are used:
*	Rename "config.h" to "nbtool_config.h" and
	HAVE_CONFIG_H to HAVE_NBTOOL_CONFIG_H.
	This makes in more obvious in the source when we're using
	tools/compat/config.h versus "standard autoconf" config.h

    *	Consistently move the inclusion of nbtool_config.h to before
    	<sys/cdefs.h> so that the former can provide __RCSID() (et al),
    	and there's no need to protect those macros any more.

These changes should make it easier to "tool-ify" a program by adding:
	#if HAVE_NBTOOL_CONFIG_H
	#include "nbtool_config.h"
	#endif
to the top of the source files (for the general case).
2003-10-27 00:12:41 +00:00
mycroft
fc2aa2b3be Mention that we should be adding space for bitmaps. 2003-10-26 10:32:35 +00:00
mycroft
f8ab7a4906 Remove a strange multiplication which appears to be incorrect. 2003-10-26 10:31:44 +00:00
lukem
931c212f78 Now that <math.h> #defines INFINITY as HUGE_VALF (the float version)
(per C99 7.12 #4), we can't define it as HUGE_VAL (the double version).
Instead, just use HUGE_VAL directly.
2003-10-26 08:08:06 +00:00
fredb
cb7d2f351e Use ".Fl" consistently for option flags, and mdoc-ify the rest of that
paragraph, while we're in there. (There's still a long way to go...)
2003-10-25 12:32:55 +00:00
fredb
87d27207dc Clean up the flags section,
and note the existence of
.Fl d
Closes
PR misc/23254.
2003-10-25 12:27:08 +00:00
itojun
29d9058dc7 remove BIND crypto portion, as the license doesn't fit our policy and we do not
import those sources.
2003-10-22 05:56:36 +00:00
drochner
e342c5fcb3 Explain the font loading example a bit better, to avoid a misunderstanding
which caused PR misc/21069.
2003-10-21 14:43:23 +00:00
lukem
130ab7336b Rework how MAKEVERBOSE operates:
*	Don't bother prefixing commands with a line of  ${_MKCMD}\
	and instead rely upon "make -s".  This is less intrusive on
	all the Makefiles than the former.  Idea from David Laight.

    *	Rename the variables use to print messages.  The scheme now is:
	    _MKMSG_FOO		Run  _MKMSG 'foo'
	    _MKTARGET_FOO	Run  _MKMSG_FOO ${.TARGET}
	From discussion with Alistair Crooks.
2003-10-21 10:01:19 +00:00
agc
68f1651086 Tidy up the previous isdigit(3) boolean check. 2003-10-21 06:34:26 +00:00
fvdl
0526a13bc6 Don't compare an int to NULL. 2003-10-21 03:01:44 +00:00
fvdl
705a39bc93 Don't compare an int to NULL.
Some whitespace nits.
2003-10-21 03:00:41 +00:00
fvdl
1cb8eb7415 Don't compare an int to NULL. 2003-10-21 02:58:50 +00:00
fvdl
03de13db6e Fix a few cases where NULL was used as integral value. 2003-10-21 02:55:43 +00:00
fvdl
cddedd60f8 Don't compare an int to NULL. 2003-10-21 02:53:57 +00:00
fvdl
b6d9b01a54 Don't compare a char to NULL. 2003-10-21 02:53:02 +00:00
fvdl
c40a2514bd Don't pass NULL as an integer. 2003-10-21 02:51:37 +00:00
fvdl
bc6fdb757c Don't compare a char to NULL. 2003-10-21 02:50:41 +00:00
fvdl
e7e0e9e521 Don't return NULL for an integer. 2003-10-21 02:49:07 +00:00
fvdl
82ac6194ae Don't compare an int to NULL. 2003-10-21 02:48:07 +00:00
fvdl
7de4819e2c Don't assign NULL to an integer. 2003-10-21 02:43:37 +00:00
fvdl
5f002aff6f Add missing initializer field. 2003-10-21 02:37:22 +00:00
he
c42a239b5a Make this compile again. 2003-10-19 23:15:54 +00:00
lukem
8233be784c support MAKEVERBOSE 2003-10-19 06:12:07 +00:00
lukem
a414e34de5 support MAKEVERBOSE and use ${HOST_SH} 2003-10-19 06:11:38 +00:00
lukem
6672bff7fc rework how cfparse.y is generated 2003-10-19 06:09:17 +00:00
lukem
eae82b3d06 #define _PATH_BIN_RCMD in common_source/pathnames.h rather than using
wacky Makefile rules to compile rcmd.c
2003-10-19 05:51:44 +00:00
lukem
8545f3b03c Switch back to using YHEADER instead of custom yacc rules.
We use build.sh to support hosting on older NetBSD releases...
2003-10-19 05:30:30 +00:00
lukem
fdffaa3fe5 Implement -r, which prevents syslogd from compressing multiple messages with
the same string into "last message repeated N times", and instead forces
syslogd to write out every message.

Based on '-c' in FreeBSD's syslogd, although a different option letter was
chosen because their syslogd requires '-c -c' to get this functionality,
and we don't have the support for logging to pipes which is what FreeBSD's
syslogd with a single '-c' is related to.
2003-10-17 01:39:25 +00:00
itojun
686afb7f65 safer use of realloc 2003-10-16 06:22:09 +00:00
itojun
33c55cb2ac make use of realloc(3) safe 2003-10-16 06:19:11 +00:00
itojun
a038ecb5ba poll() argument mistake. Tatoku Ogaito 2003-10-16 05:25:51 +00:00
itojun
94a111ae53 safer realloc.
sizeof() for malloc was mistaken in socksetup().
2003-10-16 03:03:04 +00:00
tron
d6dfcb09dd Don't try to compile "vprintf.c" because NetBSD has all the functions
defined there.
2003-10-14 11:49:52 +00:00
lukem
10e10fae7e Instead of requiring that the BPB is always the FAT32 one, check the
first three bytes to determine how much of the BPB to preserve.
Supported values:
	eb 3c 90        FAT16 BPB
	eb 58 90        FAT32 BPB
	(anything else)	don't preserve any BPB

This is because the BPB is generally only the FAT16 one except in the
bootxx_msdos case, where it's the larger FAT32 one.
2003-10-14 09:46:43 +00:00
agc
9f1aac5bb3 Move Jason Downs's code from a 4-clause to a 3-clause licence by
removing the advertising clause.  Diffs provided in PR 22410 by Joel
Baker, confirmed to the board by Jason Downs.

With additional thanks to Jason Thorpe.
2003-10-13 15:36:33 +00:00
dyoung
690ab87058 Use new 802.11 header files. 2003-10-13 08:02:02 +00:00
itojun
912235966a makeargv overrun. from openbsd 2003-10-13 06:14:04 +00:00