Commit Graph

10867 Commits

Author SHA1 Message Date
christos cbc22ad229 - centralize the snprintf code.
- use err where appropriate.
- add machclass which should be x86 when i386 and amd64 and can be specified
  in man.conf as:
	_i386	x86
	_amd64	x86
  so that we can support merged pages. Nothing uses this yet.
2010-05-23 22:04:36 +00:00
tnozaki 04cc7786fc rework bulid breakage problem on linux.
ldef.h: s/1<<8/_CTYPE_CACHE_SIZE/
ctype_local.h: use limits.h instead of machine/limits.h
runetype_local.h: don't use HAVE_NBTOOL_CONFIG as evil way.
2010-05-22 18:15:21 +00:00
tnozaki 81573c1976 yacc.y: s/_CTYPE_NUM_CHARS/_CTYPE_CACHED_SIZE/
ldef.h: remove redundant include, ctype_local.h is already included by
        runetype_local.h.
2010-05-22 17:43:29 +00:00
tnozaki a6a1331586 include ctype_local.h 2010-05-22 07:18:44 +00:00
tnozaki 64a7d4fa9a 1. hide _CTYPE_PRIVATE section in ctype.h, move them to private header ctype_local.h.
2. do not use _CTYPE_NUM_CHARS macro to read data from LC_CTYPE(old BSDCTYPE style) database.
   because 1<<CHAR_BIT is MD, so i added MI macro _CTYPE_CACHE_SIZE(1<<8).
3. remove _NB_CACHED_RUNE macro, use _CTYPE_CACHE_SIZE instead.
2010-05-22 06:38:15 +00:00
christos b724c2d39e put back canonicalization, but avoid doing it for files that don't contain /
From dholland
2010-05-17 17:01:16 +00:00
dholland b500f55a59 and, erm, bump date too. 2010-05-16 07:40:53 +00:00
dholland 50d151d5f4 Grammar, clarification, and note that the rusage information is total
as opposed to strict subprocess only.
2010-05-16 07:40:13 +00:00
joerg 757c7f4987 Reorder sections to canonical order. 2010-05-15 00:08:31 +00:00
joerg 3995b4b94e Explicitly close quote. 2010-05-14 17:31:26 +00:00
joerg 0fcea3311f Resort sections to canonical order. 2010-05-14 17:28:23 +00:00
joerg 88e16b2390 Simplify markup. 2010-05-14 17:24:38 +00:00
joerg ff7d7a232d Escape punctuation. Use logical markup for indentation. 2010-05-14 17:23:13 +00:00
joerg a4a2a21512 Resort sections to canonical order 2010-05-14 17:20:06 +00:00
joerg 25206905a3 Improve/fix/deuglify markup. 2010-05-14 17:14:28 +00:00
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