Commit Graph

126378 Commits

Author SHA1 Message Date
itojun 8bcb745d7c sprintf -> snprintf 2004-04-22 00:31:00 +00:00
itojun aca4c091d3 sprintf -> snprintf 2004-04-22 00:17:10 +00:00
matt fd2a977729 Add #include "opt_iso.h" if not already there.
Make these compile cleanly when TPCONS is defined.
2004-04-21 23:19:49 +00:00
matt 961e6cb2e5 Add multiple inclusion protection 2004-04-21 23:18:10 +00:00
matt 0b5d1218b5 Add TPCONS option 2004-04-21 23:16:53 +00:00
wiz 3b1edec30d Call -t argument fstypelist, to be in sync with code
and usage. Okayed by christos.
2004-04-21 22:31:16 +00:00
matt 4f9c0f6775 Add ${_MKTARGET_LINK} to the link step 2004-04-21 22:01:44 +00:00
kleink 8b6d4dd0ae Xref statvfs(5). 2004-04-21 21:25:59 +00:00
kleink b7841c720d Xref statvfs(2). 2004-04-21 21:24:57 +00:00
kleink c368e20f92 Add statvfs(5). 2004-04-21 21:24:01 +00:00
dsl e5195da719 Copy the sysinst message files into the correct objdir at the same time
as copying the crunched program binary.
Fixes PR sparc64/25265
2004-04-21 21:19:51 +00:00
kleink 64a2a6f5d5 cat3/fgetstr.3 -> man3/fgetstr.3 2004-04-21 21:05:20 +00:00
matt 7cf8938ddd ANSI-fy and some additional de-__P and constification. 2004-04-21 21:03:43 +00:00
kleink 1f6fa1a655 Welcome libc.so.12.116! 2004-04-21 21:01:41 +00:00
matt fde909e1a1 Add prototype for uiomove_frombuf. Change uiomove_frombuf to use size_t
for its length argument (to be the same as uiomove).  Remove code that
dealt with length being negative.
2004-04-21 20:31:50 +00:00
tv 5b799f00cc Hi there. I'm a stack-allocated array. I'm filled with garbage until
someone puts something useful in me, like zero bytes.

(Read:  Fix uninitialized array member access in pkg_add.  Bump to 20040421.)
2004-04-21 20:10:10 +00:00
christos 1d0fe2e424 Whitespace fixes, some code re-factoring, and a bit more verbose messages. 2004-04-21 19:35:13 +00:00
christos ae0b00db5d Make options match reality and agree with the source.
Don't document -A; it is there for compatibility only, and we want to
deprecate its use.
2004-04-21 19:17:00 +00:00
itojun d6c33e0ef5 kill a sprintf 2004-04-21 19:10:31 +00:00
christos f29f4783da constification lossage (hi gimpy) 2004-04-21 19:01:17 +00:00
itojun d2f1c029b9 kill sprintf, use snprintf 2004-04-21 18:40:37 +00:00
dbj 48019a3a47 simply logic and flow of check_part function 2004-04-21 18:27:26 +00:00
itojun e133d13e80 kill some strcpy 2004-04-21 18:16:14 +00:00
cl a01e0b0219 parse bootdev parameter for partition and set booted_partition accordingly 2004-04-21 18:06:51 +00:00
dbj 1b003e4b0c abstract superblock field reading into shell function 2004-04-21 18:06:06 +00:00
itojun 4c6511de84 avoid unbounded sprintf(), use snprintf() 2004-04-21 18:03:13 +00:00
itojun 0f06e31eb6 no space between function name and paren: foo (blah) -> foo(blah) 2004-04-21 17:49:46 +00:00
itojun d66a0005a1 sprintf -> snprintf 2004-04-21 17:45:38 +00:00
drochner c6bba42c07 initialize the lock 2004-04-21 17:38:48 +00:00
cl ff6c26a333 - setup vfr rules when running as domain-0
- patch ethernet address if running as domain-0 so that arp can work

also include bpfilter.h to get NBPFILTER
2004-04-21 17:36:59 +00:00
dbj 115f147f20 add function for reporting verbose messages 2004-04-21 17:26:42 +00:00
dbj 496faa9025 tweak return value of check_part function 2004-04-21 17:07:47 +00:00
dbj 324ebbbef7 some minor shell programming tweaks recommended by christos
use [ -n ] instead of [ ! -z ]
use $() instead of ``
use just "$@" instead ${1+"$@"}
2004-04-21 17:02:41 +00:00
dbj bbf17112c5 use shell constructs and cat instead of sed since
sed may not be available early in the rc.d sequence
2004-04-21 16:12:31 +00:00
christos fced18d9f6 fix constification botch. (hi gimpy) 2004-04-21 15:51:22 +00:00
christos 02d8761f8f No need for extra copy of umount.c 2004-04-21 15:22:10 +00:00
christos 330d7c9870 un-__P 2004-04-21 15:21:44 +00:00
christos ba0b3992d2 add #ifdef SMALL so that we can use this in the install media. 2004-04-21 15:20:40 +00:00
drochner 3874dc0ca9 defopt COMPAT_20 2004-04-21 12:44:13 +00:00
cl 3ba9d3ae38 don't crash when changing/adding ip addresses 2004-04-21 12:43:43 +00:00
wiz 55bf8ce8b5 Refer statvfs instead of removed statfs. 2004-04-21 12:22:27 +00:00
wiz 9567493662 Whitespace nits; expand an abbreviation; fix a minus;
remove a superfluous .It.
2004-04-21 12:20:48 +00:00
wiz 3274408555 Whitespace nits; fix a minus; remove unnecessary {}. 2004-04-21 12:18:23 +00:00
wiz 1c276b3fae Mark up NULL, and fix a minus. 2004-04-21 12:16:00 +00:00
cl b5acdb9f14 cleanup debugging printf's 2004-04-21 12:14:45 +00:00
wiz bb32d7ba63 Drop trailing whitespace. 2004-04-21 12:10:36 +00:00
christos 0b9201b140 similar fix to enami's in the fstypename field. Not really needed, but better
safe than sorry.
2004-04-21 12:00:36 +00:00
christos 22df5bb240 try to make this compile. XXX: this will not work yet (hi simon) 2004-04-21 11:50:26 +00:00
wiz 6cbd2718d7 Use mdoc macros instead of roff to mark up table;
mark up some more stuff.
2004-04-21 11:45:42 +00:00
enami d92f7ed982 Don't copy past the end of destination array boundary; the size of source
array changed due to recent statvfs change.
2004-04-21 07:58:02 +00:00