Commit Graph

10852 Commits

Author SHA1 Message Date
joerg
762152502e Reorder sections to canonical order. 2010-05-14 17:06:40 +00:00
joerg
3d90cef610 Reorder sections to canonical order. Use .Ex -std. 2010-05-14 17:03:19 +00:00
joerg
75251fe0d1 Reorder sections to canonical order. 2010-05-14 17:02:01 +00:00
jruoho
3ae25c77b6 RETURN VALUES -> EXIT STATUS. 2010-05-14 16:58:32 +00:00
joerg
15a1cc61c0 Fix section order. Use .Ex -std 2010-05-14 16:54:48 +00:00
joerg
1334e3ed24 Reorder to canonical order. 2010-05-14 16:48:36 +00:00
joerg
5faa2893a3 Missing -width for .Bl -tag 2010-05-14 16:48:02 +00:00
joerg
80ab18e84a Reorder sections to canonical order. 2010-05-14 16:45:41 +00:00
joerg
06ff5ce94c Explicitly quote |. Don't use .%T outside the scope of .Rs/.Re. 2010-05-14 16:23:42 +00:00
jruoho
280a4e3442 Clarify the wording in the table. 2010-05-14 08:31:38 +00:00
jruoho
9fc37247e3 Use a table instead of a literal .Bd "list". 2010-05-14 05:07:22 +00:00
joerg
94a2c2884b Fix trailing whitespace 2010-05-14 01:58:07 +00:00
joerg
b6d28c7f9d Use plain \* not \\*. Fix trailing whitespace 2010-05-14 01:57:21 +00:00
joerg
571df0a6a5 Fix trailing whitespace 2010-05-14 01:53:28 +00:00
joerg
3fc43397e7 Drop trailing white space. Use .Oo / .Oc explicitly to annotate that the
empty content is intended.
2010-05-13 18:10:16 +00:00
sjg
21d8983546 PrintOnError: run .ERROR last, so even if it causes problems we
still print MAKE_PRINT_VAR_ON_ERROR.
2010-05-10 15:54:21 +00:00
joerg
0513806c62 Kill a left-over break from the for-loop that vanished in 1.13.
Issue noticed by tnn.
2010-05-10 15:45:22 +00:00
christos
8d5d5ded4d unhook old cron, hook new one. 2010-05-07 17:35:31 +00:00
christos
9612529ef4 Revert bogus patch that attempted to canonicalize a non absolute argv[0] using
realpath(3). Consider: touch Makefile; mkdir make; make. This will set $MAKE
to $PWD/make so further attempts to use ${MAKE} will try to execute the
directory. This needs $ORIGIN to be fixed properly, or alternatively one
can duplicate the logic for execvp(3) and search the path for the make
executable. Not worth it. It was working just fine before!
2010-05-05 14:10:39 +00:00
sjg
25ba15c805 gcc defines __svr4__
SunPro compiler defines __SVR4
We need to check both to ensure that on SunOS signal is hooked into
sigaction - otherwise we do not pass the unit-tests due to missing
a SIGCHLD
2010-05-05 07:05:33 +00:00
pooka
00ed8a38a3 Prefer a real device for pseudoroot and only create a fake device
in the case we are attaching to a pure attribute.  Otherwise we
end up creating a fake device instance every time ...
2010-05-02 15:35:00 +00:00
pooka
145a3f9eec ignore mainbus in previous for now 2010-05-01 23:54:35 +00:00
pooka
194e1c80bc Support interface attributes as pseudoroots. This makes things like
"pseudo-root audiobus*" possible.
2010-05-01 22:17:58 +00:00
pooka
3da3ab250b For the simple cases, augment device-major with information on how
a driver expects /dev/node -> minor mappings to go and include that
information in devsw_conv.
(no, I didn't plow through all the MD majors files)
2010-04-30 20:47:17 +00:00
njoly
ea02939c73 Add per process cache values to the total name translations count. 2010-04-30 16:21:05 +00:00
njoly
e7ebb0154e In vmstat display, add one more column to output memory values. Avoid
overflow with more than 100GB.
2010-04-30 13:49:22 +00:00
sjg
b4a3c0bec3 fflush stdout, before writing to stderr. 2010-04-29 23:12:21 +00:00
joerg
ee86edd569 Switch to the less restrictive binary detection algorithm from zip 3.0e. 2010-04-29 06:32:19 +00:00
christos
d61830c284 pass LDSTATIC to recursive makes. 2010-04-24 17:58:40 +00:00
joerg
210d7a16de \\ -> \e
Drop redundant .Ic.
Add explicit empty argument for intentionally empty bracket and
parenthesis.
2010-04-23 22:04:37 +00:00
sjg
83fb10e649 PR: 42850
Reviewed by:

Reduced the "expected to exist" dirs in path to just
/ /bin and /tmp
and change the "not expected to exist" dir to something
even less likely.
Add a comment to suggest why.
2010-04-23 15:43:28 +00:00
sjg
24157036cd On darwin at least, vfork() fails in child of vfork().
It probably shouldn't work anyway, so avoid this.
We use the macro vFork() - a function seems to cause problems
and is unnecessary overhead.
2010-04-23 00:18:50 +00:00
dholland
d1466497fc Use _PATH_TMP instead of a literal /tmp; noted by Christos 2010-04-22 22:39:13 +00:00
sjg
1870812db3 Force LANG=C to ensure sort(1) behaves as expected 2010-04-22 21:41:11 +00:00
dholland
fb0f75db1f don't use strlcpy; it causes bootstrap issues. (noted by moof) 2010-04-22 20:25:16 +00:00
sjg
7254a559b2 PR: 42850
Reviewed by:

modmisc: since we apply an exists() test to $paths, be conservative
in what we expect.

Run the unit tests with -r -m / so that we do not fail if there
is no sys.mk present.
2010-04-22 19:15:23 +00:00
sjg
a71a4119cf Just because $TMPDIR is set does not mean it is valid.
Add a central function for creating temp files so we have one place to
audit.

Reviewed by: dh
2010-04-22 19:11:17 +00:00
plunky
f183cc477b no need to forward declare struct uio and proc before including
<sys/file.h> as it does that internally, and don't continue the
_KERNEL definition afterwards as it causes some other problems
with pcc relating to unreferenced symbols in unused static
inline functions which gcc optimises away.
2010-04-22 14:37:06 +00:00
plunky
cb88fa41a4 it is not [any longer] necessary to #define _KERNEL while including
<net/route.h> so remove it.

This fixes a build problem with pcc which is not as clever as gcc
when optimising away unused static inline functions which refer to
unknown symbols (eg sockaddr_dup).
2010-04-22 14:32:30 +00:00
christos
cf1f9ba391 move LDSTATIC before the includes because the rules need it early for
conditionals.
2010-04-21 14:58:10 +00:00
sjg
862d4ff05d If we do .export (all) and have any variables that involve :sh
we will hit an error (var is recursive) while trying to evaluate that.
Fix, and add a unit test for this.
2010-04-21 04:25:27 +00:00
sjg
b7f72d44a7 Behavior of realpath() appears to vary.
To ensure consistent results, use stat(2) as a final check for success.
2010-04-20 17:48:16 +00:00
sjg
197caaa8e0 On some systems realpath will prefix make with cwd, so make sure
we can stat(2) the value for .MAKE
2010-04-20 17:18:08 +00:00
pooka
3718acd4b5 output __arraycount instead of homegrown macro 2010-04-15 12:35:57 +00:00
sjg
290b1f00e6 Add :tA to attempt to resolve to absoute path using realpath(). 2010-04-15 03:48:39 +00:00
joerg
70729907f6 Consistently use -- for all programs called. Drop some redundant flags
for the no file argument case.
2010-04-14 20:30:28 +00:00
wiz
10b9fb64b7 Sort SEE ALSO, fix an xref. 2010-04-14 19:52:05 +00:00
joerg
68128a5628 Refactor zdiff and extend functionality to the common suffixes for bzip2
and xz.
2010-04-14 18:55:12 +00:00
sjg
9334c6107c If argv[0] is not an absolute path, attempt to resolve it
using realpath() for setting .MAKE
2010-04-14 16:16:17 +00:00
jruoho
f21271de63 Split overly large paragraph. 2010-04-13 09:01:10 +00:00