Commit Graph

11156 Commits

Author SHA1 Message Date
jmmv
66b2e37b2b Add a script to generate a distfile of window from the verbatim sources on
cvs.  This will be used for the upcoming pkgsrc package of window.

I am not copying the code to othersrc because I want to keep things as
simple as possible for now.  When we remove window from src, the code will
be moved to othersrc and any improvements (such as autoconfification) can
be done there.
2011-03-09 17:32:03 +00:00
pooka
73fa5bcac3 print processing details only if we've not outputting a pcap file
to stdout
2011-03-09 12:56:08 +00:00
riz
802dd4220f Revert previous, to fix build on Mac OS X again.
ok christos@
2011-03-08 23:55:19 +00:00
bouyer
726315aa0b Properly evaluate the space needed to print "unlimited" in an human-readable
way.
2011-03-07 11:46:55 +00:00
christos
1c901e8c26 merge one more triplicated function 2011-03-06 23:26:05 +00:00
christos
e0e65cb1e2 - merge more code.
- simplify struct access.
2011-03-06 22:36:07 +00:00
christos
1f0f7c923b - WARNS=4
- KNF
- don't cast malloc
- don't use static buffers
- fix types
- remove extra \n's from errors
- fix prototypes
2011-03-06 20:47:59 +00:00
sjg
c37859c219 Only need to getcwd() once 2011-03-06 17:41:11 +00:00
wiz
f1f9830b96 Sort options. Split "file system" like usual. Bump date. 2011-03-06 17:25:32 +00:00
bouyer
063f96f3c2 merge the bouyer-quota2 branch. This adds a new on-disk format
to store disk quota usage and limits, integrated with ffs
metadata. Usage is checked by fsck_ffs (no more quotacheck)
and is covered by the WAPBL journal. Enabled with kernel
option QUOTA2 (added where QUOTA was enabled in kernel config files),
turned on with tunefs(8) on a per-filesystem
basis. mount_mfs(8) can also turn quotas on.

See http://mail-index.netbsd.org/tech-kern/2011/02/19/msg010025.html
for details.
2011-03-06 17:08:10 +00:00
sjg
b9fa549592 CWD should be compared against cwd 2011-03-06 04:34:25 +00:00
sjg
8892f885fd Add unit tests to check that exists(some/dir/) works
Also fix handling of sysV substitutions when lhs and variable are empty.

Also that modifiers do not cause errors during conditional tests
when undefined variables should otherwise be ok.
Ie. .if defined(nosuch) && ${nosuch:Mx} != ""
2011-03-06 00:02:14 +00:00
sjg
be4a1e2c49 Treat some/dir/ the same as some/dir/. 2011-03-05 23:57:05 +00:00
christos
a469df4a1b add other os support from MirBSD 2011-03-05 16:38:46 +00:00
christos
5a8a9e34c6 add mimic_gnu for eval print. 2011-03-05 16:38:25 +00:00
christos
0b915be387 use TOKEN_LINE from MirBSD 2011-03-05 16:37:50 +00:00
pooka
72867841aa adjust wording in previous 2011-03-04 09:13:23 +00:00
pooka
2c06d51fbf Add note about block device properties.
From discussion with <riz>.
2011-03-04 09:10:33 +00:00
sjg
47311dc80a main.c now exports curdir[] so we can use it. 2011-03-04 04:55:51 +00:00
nakayama
c09c2a7b34 Fix build on Solaris 10. 2011-03-03 14:53:01 +00:00
dyoung
9863fc9961 Use __arraycount() and PRIu64. Delete unnecessary casts to unsigned
long long.
2011-03-02 19:52:03 +00:00
dyoung
439199a3fb Pull pfsync_stats() out of inet.c and into pfsync.c so that inet.c does
not have to #include PF header files that pollute the global namespace
by #defining v4 and v6 (sheesh).
2011-03-01 19:01:59 +00:00
joerg
f3483179a4 If transforming patterns with \<...\> to implicit word bounaries, don't
change the global wflag, but use a per pattern flag derived from it.
Fixes usage of grep with multiple -w arguments.
2011-02-27 17:33:37 +00:00
mbalmer
336c1525dd Don't use 'bool' as variable name. No binary changes.
From Henning Petersen, thanks!
2011-02-27 10:11:27 +00:00
phx
6a5a0ed53a Add the -O option to set the OS type, which defaults to NetBSD when missing.
This is needed, because some vendors have stripped U-Boot so much that it
only accepts Linux kernel modules.
Also allow 'standalone' as module type.
2011-02-26 20:03:09 +00:00
sjg
4fab365c37 Fix rendering of :? example 2011-02-26 01:17:24 +00:00
jmcneill
e816b5f7a6 Don't error out while searching for empty directories, from FreeBSD:
http://lists.freebsd.org/pipermail/svn-src-head/2010-December/022913.html
2011-02-24 02:55:18 +00:00
pooka
56905440b6 .Xr rump_sp 7 2011-02-23 19:59:18 +00:00
pooka
b6c13d8580 * at least try to query size of non-regular size=host files too,
give up if we get 0
* fix a few error messages
2011-02-22 15:51:59 +00:00
wiz
ad04318fa8 Sort sections. 2011-02-22 15:47:02 +00:00
pooka
fbe84585a0 -f no longer has effect. from Snader_LB on irc. 2011-02-22 15:03:30 +00:00
pooka
29d11b7713 add command line options for kernel memory allocation limit and bootverbose 2011-02-21 18:50:21 +00:00
joerg
bfc4d64e8a Use the current directory at start time for .PARSEDIR, if the filename
contains no /.
2011-02-20 23:12:09 +00:00
dholland
51eafd380d Remove the extra blank line after "Fatal errors encountered -- cannot
continue". This has been there since 1.1 but I don't think it was
intentional. If anyone actually cares about the blank line being there
for some reason, go ahead and revert this change...
2011-02-20 20:17:35 +00:00
dholland
90b9a73922 Remove stray extra newline in error message. 2011-02-20 20:15:36 +00:00
pooka
090a5e7d74 Use "host" instead of the slightly more cryptic "e" to indicate
that the size of the mapping should be taken from the host file
size.
2011-02-18 09:54:03 +00:00
joerg
cf66e7150e Simplify. 2011-02-17 22:03:25 +00:00
pooka
f6adb4bdd8 Use "size=e" as a way say "if the underlying file is preexisting
regular file, use whatever size it has".
2011-02-17 16:59:46 +00:00
pooka
aaf2cb63d0 Make it possible to specify the type of file (blk/chr/reg) that a
mapped file (-d) is exposed as within the rump kernel.
2011-02-17 16:03:05 +00:00
christos
c544446f26 Add verbose mode for readlink. 2011-02-16 23:08:29 +00:00
joerg
dc189fa216 Fix signed / unsigned issues. Refactor basename usage to use a local
copy and do it only once, not for each pattern. Remove late inline.
2011-02-16 18:35:39 +00:00
nakayama
54b4b1358f Fix header, format and total count of system interrupt counters. 2011-02-16 12:58:38 +00:00
joerg
0a1172667a Replace usr.bin/grep with the BSD grep implementation from FreeBSD. 2011-02-16 01:31:33 +00:00
pooka
0d30d053f5 remove a decidedly illogical statement 2011-02-14 17:30:54 +00:00
sjg
0734782fbf Mark unused args. 2011-02-13 21:24:42 +00:00
sjg
8bb1fe5d14 When making a target that involves creating itermediate dirs,
realpath() will fail until after those dirs exist.
Try to ensure the same meta file name is used regardless.
2011-02-13 21:22:41 +00:00
christos
c93c31d5d2 simplify 2011-02-10 00:05:52 +00:00
dholland
c7df2d80f4 Fix broken build (hi Christos!) 2011-02-09 06:26:48 +00:00
christos
e95e36baec - WARNS ?= 4
- fix memory leaks
- fix error printing
- pass lint
- KNF
- constify
- ansify
2011-02-08 22:16:58 +00:00
plunky
7349c9ffe7 use built-in macro ___STRING() rather than rolling our own 2011-02-08 18:14:00 +00:00