Commit Graph

10905 Commits

Author SHA1 Message Date
wiz fbb846b2d3 Bump date for previous (mpls). 2010-06-30 07:30:16 +00:00
dholland a472ed2f77 Document that suffix rules are not applied to PHONY targets, and also
document the .TARGETS builtin variable, which has existed since 4.4 days.
Bump date. Arises from discussion in PR 43502.
2010-06-30 01:03:54 +00:00
dholland d6bfe606f5 Set .PREFIX early the same place .TARGET is set. This makes sure it's
defined even in cases where the suffix search logic is skipped, such
as .PHONY targets, and fixes PR 43534.

Note: because .PHONY targets do not get suffix searching, .PREFIX will
not have any suffixes removed. This seems vaguely logical, although
it's not the only reasonable interpretation.

We may also want to reconsider whether suffix rules are skipped for
phony targets, too. That behavior is somewhat counterintuitive.
2010-06-30 00:25:04 +00:00
kefren 0e9c730672 Add mpls into family address list 2010-06-29 12:38:12 +00:00
kefren a58bbf2771 Add -T flag, that shows tags in route output 2010-06-27 06:52:37 +00:00
dholland 563d98c883 fix previous, the source isn't exactly crystal clear and there's a bug that
makes the behavior misleading.
2010-06-27 00:53:32 +00:00
dholland 35590dfabc Clarify $(.PREFIX) / $*. Bump date. 2010-06-27 00:06:32 +00:00
kefren 92b0c8320e add MPLS clue for showing routes 2010-06-26 14:30:31 +00:00
yamt 355e79354d don't bother to connect to amd unless necessary. PR/42207 2010-06-23 18:07:59 +00:00
dogcow 4ed2cab9df nbtool.h'ify; fixes cross-compilation. 2010-06-22 14:54:11 +00:00
christos 02bc858973 - fix format print issue. from anon ymous 2010-06-21 19:49:31 +00:00
mrg 1909f84b1c - always install pigz. hooary!
- kill MKPIGZ.
- add MKPIGZGZIP.  if it is "no", then only install pigz as pigz.  if it is
  not "no", don't install mrgzip, install pigz as gzip.

in all cases, the z* scripts.


i don't like the name MKPIGZGZIP so if anyone has a better name, feel free
to replace it.  i don't care enough since killing the ugly name is just
more incentive to get pigz doing .bz2, .Z and .z.
2010-06-19 03:50:30 +00:00
jmcneill 192740f5f9 hook mkubootimage into the build 2010-06-18 18:57:27 +00:00
jmcneill f18dcb652c add mkubootimage(1), a tool for creating u-boot compatible images 2010-06-18 18:55:48 +00:00
mrg 7b21e162d6 if MKPIGZ != no, build gzip, otherwise build pigz. 2010-06-17 06:29:16 +00:00
sjg aa86bc2068 JobFinish: call PrintOnError if we detected an error we are not ignoring.
This gives the .ERROR target a chance to run at the first sign of trouble.
2010-06-17 03:36:05 +00:00
tnozaki 2a7af30c36 1. split runetype_local.h -> runetype_file.h
and remove renameing _Rune* -> _NBRune* namespace protection.

   FreeBSD traditionaly exposes struct _Rune* in runetype.h
   which included by ctype.h. it may cause conflicting type error
   in our cross build process, former we use renaming namespace
   to avoid this problem, now i reworked more resonable way.

2. merge rune_local.h to runetype_local.h, and remove it.
3. split bsdctype.h -> bsdctype_{file,local}.h
2010-06-13 04:14:56 +00:00
tnozaki 2a589509a4 use _FileRune* instead of _Rune*. 2010-06-12 02:51:34 +00:00
wiz e2a56e055d Whitespace. 2010-06-10 18:35:22 +00:00
christos 801f2ebf67 Explain variable expansion better. Requested by Aleksey Cheusov 2010-06-09 16:58:22 +00:00
riz 3f1d9ecd93 Fix spelling of "whether", from Ryo HAYASAKA in PR 43432. 2010-06-08 03:08:47 +00:00
wiz 76aa4cd57b Bump date for previous. 2010-06-06 17:28:48 +00:00
sjg fbb620d711 Add .export-env which tells make to export a variable to the environment
but not to track it - as is done for .export
This allows the variable to be updated without affecting what was put
into the environment.
Older versions of make will simply treat this as .export
2010-06-06 01:13:12 +00:00
wiz 90abead58e Fix typo in comment. 2010-06-06 00:00:33 +00:00
jnemeth c8bd5cbe3b The US formally left the Gold Standard in 1971, not 1933. See:
http://en.wikipedia.org/wiki/Nixon_Shock
2010-06-05 20:53:44 +00:00
dholland fcf4d3f750 Rework previous change to fixit() to not trip on option arguments. (Noticed
by wiz.) Clarify the loop logic involved.
2010-06-05 17:46:08 +00:00
dholland 8696c1b71e fixit() needs to know the getopt options list to do its thing correctly. 2010-06-05 17:44:51 +00:00
lukem f8daa4a728 In ftpvis(), prevent incomplete escape sequences at end of dst,
and ensure NUL-termination of dst.  Also tweak for readibility.
Fix from Uwe Stuehler and Stefan Sperling, via Marc Balmer.
2010-06-05 13:59:39 +00:00
dholland 2480682bb2 Avoid SIGSEGV on out-of-range time_t. 2010-06-05 03:24:01 +00:00
sjg 945e78bffe We have required sigaction() for quite a while.
Use bmake_signal() - a wrapper around sigaction()
rather than signal() to ensure that signals are handled
consistently.
2010-06-03 15:40:15 +00:00
dholland 1811323fc9 no braaaains for you! 2010-05-30 00:45:03 +00:00
dholland 0235e12103 more undead files 2010-05-30 00:39:49 +00:00
dholland d6986f611b Rerun valid_format() both before and after unescaping the format
string, in case the format string contains printf conversions
assembled from escape sequences.

A better approach might be to adjust the unescape logic to avoid
generating printf conversions (e.g. convert \x25 to %% instead of %)
but that's somewhat problematic and it's not really worth taking the
trouble.

Running valid_format() only after unescaping would also be somewhat
tidier but makes printing the invalid format string problematic,
because the unescape logic runs in place.

None of these cases are really worth worrying about in detail, but now
at least they don't result in SIGSEGV.

Related to PR 43355.
2010-05-27 08:40:19 +00:00
dholland 76c7c8ecbf Fix valid_format() to be more careful about allowing only valid printf
formats.

Also, accept %a and %A, which are new since this logic was last updated,
and also allow %F even though it's not functionally different from %f.
Document these additions and bump date of man page.

Fixes PR 43355.
2010-05-27 08:30:35 +00:00
dholland b6360c7f71 Don't recognize "+3" after -- or after the first non-option argument.
This prevents converting "+3" into "-k4.1" in places where getopt
won't recognize it, which in turn prevents silly error messages and
lossage trying to sort files whose names begin with +. PR 43358.
2010-05-27 05:52:29 +00:00
christos 478b26f3ff fix empty suffix case. 2010-05-26 18:07:34 +00:00
christos 07072da337 PR/43364: Nicolas Joly: mkdep(1) wrong target names when suffix list miss .o 2010-05-26 15:04:40 +00:00
sjg 3e3df25ba3 Don't missinterpret targets that start with .info 2010-05-24 21:04:49 +00:00
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