Commit Graph

11680 Commits

Author SHA1 Message Date
dyoung
f0a4fe1c3c Use 'sort -n -k 3' instead of 'sort -n +2' since the former is more
portable.  The latter is not supported by Mac OS X Lion.
2012-03-12 22:02:07 +00:00
christos
daf2e27602 PR/41880: Ralph G. Previous fix for PR/5797 broke since space separator. 2012-03-12 18:06:24 +00:00
dholland
471d829aae Remove the NV_OBSOLETE flag, which is no longer needed. While here,
update an outdated comment about condition expressions.
2012-03-12 03:04:56 +00:00
dholland
cb79ede2d1 Give option definitions their own data structure instead of using nvlists.
(and using messy hacks to make up for nvlists not holding quite the right
things)
2012-03-12 02:58:55 +00:00
dholland
a883398ef5 Introduce type-safe wrappers around the hash tables. Use them for a
selected set of tables affected by the next nvlist cleanup in the
works.
2012-03-12 00:20:30 +00:00
dholland
f5d4142b2d Move locator lists to their own data structure. This can use more tidying;
it is not clear to me at the moment what the "string" and "num" values
pushed around in locator lists are supposed to actually mean.
2012-03-11 21:16:07 +00:00
dholland
25c56bd707 Add some organizational comments 2012-03-11 20:02:55 +00:00
dholland
237116305d More naming improvements. 2012-03-11 19:27:26 +00:00
shattered
575f4d696a PR/22405 -- extend du(1) to report inode usage. Patch provided by
Jonathan Perkin.

OK by wiz@
2012-03-11 11:23:20 +00:00
dholland
a551c5e8b7 Create a struct condexpr type to hold condition expressions, instead
of abusing struct nvlist to make trees.

(These are the a|b and a&b constructs.)
2012-03-11 08:21:53 +00:00
dholland
4fbb702df0 Rename a few more things; try to use the same terminology as config(5). 2012-03-11 07:46:47 +00:00
dholland
bbe96a5ad8 Create a new type struct attrlist to manage lists of attributes,
instead of using struct nvlist.

(struct nvlist holds lists (or trees!) of semi-arbitrary stuff with no
structure and almost no type safety; it should go away.)
2012-03-11 07:32:41 +00:00
dholland
720c7fbc2a Strengthen the logic that wraps allocations going on the parser stack.
(This allows cleaning up when a syntax error occurs, because yacc just
dumps the parser stack on the floor.)

The new logic can handle arbitrary data types instead of being limited
to struct nvlist.
2012-03-11 07:27:02 +00:00
dholland
285c15fc92 Remove cf_swap, which hasn't been used in a long time. 2012-03-11 05:31:37 +00:00
dholland
cfffb8a2c1 Write out the expression grammar for dependency constraints instead of
using precedence rules. Precedence rules (besides being a hack) often
lead to unexpected/unwanted behavior in corner cases.
2012-03-11 02:56:25 +00:00
dholland
6df4c5ae47 Sort productions in grammar. No functional change. 2012-03-11 02:43:33 +00:00
dholland
70f2148fe7 Simplify some things. Rename some productions for clarity. 2012-03-11 02:21:04 +00:00
dholland
60c605bb74 A bit more of previous. 2012-03-11 01:09:42 +00:00
dholland
540fdf9f5e Reformat according to (my) basic standards for yacc grammars.
No functional change.
2012-03-11 00:57:44 +00:00
dholland
f3063ae30c Comments. 2012-03-11 00:14:20 +00:00
dholland
671dbef5d6 Use __printflike. Build products unchanged. 2012-03-10 21:53:38 +00:00
ginsbach
4b1228ffbe Improve the handling of quoted messages.
- warn about messages with an unexpected quote character
- warn about extra characters after a quote character
- warn about an unterminated quoted message
2012-03-09 18:54:28 +00:00
mbalmer
5cd43bc624 Remove the advertising clause and appease the eye a bit (still not good, but
better).  Almost no functional change.
2012-03-06 16:55:18 +00:00
mbalmer
40c86e8b4e Remove the advertising clause with the explicit ok from Perry E. Metzger. 2012-03-06 16:26:01 +00:00
njoly
4d5ade5119 Remove dead xrefs to obsolete kvm_mkdb(8). 2012-03-05 10:57:18 +00:00
wiz
c368f5db0b New sentence, new line. Wording. 2012-03-04 11:54:06 +00:00
dholland
62244ded10 Note in comment that Str_Match() does not detect or report invalid
patterns. This is not critical, since for the moment both possible
cases (unclosed [], and \ at the end of the string) are handled more
or less sanely.
2012-03-03 23:16:47 +00:00
matt
edf7bb773c remove extra " 2012-03-02 18:57:27 +00:00
matt
aea125ab81 fix typos from previous commit. 2012-03-02 18:55:16 +00:00
christos
2b01a8ad07 PR/46111: Wolfgang Stukenbrock: Add yp_setbindtries(3) so that yp operations
don't hang forever if requested.
2012-03-02 17:27:48 +00:00
matt
83aeaf7ea6 Need to cast to intrptr_t before casting a register_t to void * (since
register_t might be wider than a void *).
2012-03-02 16:17:22 +00:00
wiz
d47aeb29ac Use mdoc macros only. 2012-03-02 14:36:04 +00:00
mbalmer
d13b2dd8ad Add msg_printf(fmt, ...), a function to display raw messages without
going through the message catalog.
2012-03-02 14:27:48 +00:00
mbalmer
a4373e9a91 Removing trailing whitespace. 2012-03-02 13:11:57 +00:00
joerg
560b3ec5de Don't use non-literal format strings. Split it up depending on the
number of arguments used.
2012-02-29 23:37:07 +00:00
joerg
05959bffa3 Cast register_t to void * when printing with %p. 2012-02-29 23:35:49 +00:00
joerg
eb085c765d Pointer differences are generally not integers, so use %td here. 2012-02-29 23:35:10 +00:00
wiz
8668cbeef5 Sync usage with man page. From Bug Hunting in PR 46102. 2012-02-29 08:55:25 +00:00
wiz
040902799c Remove trailing whitespace. From Bug Hunting in PR 46102. 2012-02-29 08:54:55 +00:00
joerg
cdaeb35ee5 Mark sasprintf as using a printf-like format. Fix format string to use
all arguments by telling the user what file would be overwritten.
2012-02-28 22:30:44 +00:00
wiz
6e31cc7bbd Sort options in man page. Add EXIT STATUS section. Bump date.
Sync usage with man page.

Mostly from Bug Hunting in PR 46102.
2012-02-26 21:04:10 +00:00
apb
daa17451fe subtracting two pointers yields ptrdiff_t, so cast it to int. 2012-02-24 19:53:31 +00:00
apb
bb16246581 When given an URL that contains "://" but is not recognised,
print an error message.  Now "ftp https://foo/bar" prints

    ftp: Unsupported URL scheme `https'

instead of

    ftp: Can't lookup `https:ftp': No address associated with hostname
    ftp: Can't connect or login to host `https:?'
2012-02-24 19:40:49 +00:00
joerg
7a5b80bed9 Add explicit continue to empty loop body. 2012-02-24 16:03:39 +00:00
joerg
a625573ba2 while (...);
;
is really pointless, so remove the first semicolon.
2012-02-23 23:39:19 +00:00
joerg
70dcb9704f Don't use while-loop with empty body. 2012-02-23 22:57:53 +00:00
njoly
ac6da2a96c Now that window(1) is gone, use tmux(1) for xref. 2012-02-21 15:01:51 +00:00
rmind
9c3c596716 G/C VM_MAP_INTRSAFE flag 2012-02-19 02:47:53 +00:00
christos
f25b5b6cd8 this has not been used for ages. 2012-02-18 16:05:21 +00:00
wiz
86986a6435 Fix typo. Bump date for previous. 2012-02-17 11:43:24 +00:00