Commit Graph

10218 Commits

Author SHA1 Message Date
joerg cc9b628146 Fix markup as hinted by mdoclint. OK wiz. 2009-03-05 14:00:53 +00:00
christos 7c8a9296cc Don't produce type mismatch warnings if one side of ?: is "[qual] void *"
and the other side is "[qual] pointer".
2009-03-02 20:53:10 +00:00
christos 20ad44cb97 use siginfo to report on the directory we are working on if available. 2009-03-01 01:49:17 +00:00
wiz 30ec97f151 Drop trailing whitespace. 2009-02-28 19:21:42 +00:00
christos b90f233b82 Handle ptyfs ptys. Should probably pull up to 5. 2009-02-28 18:16:10 +00:00
christos 90baf4f26f only print warnings if vflg. 2009-02-26 17:30:51 +00:00
sno 6adead3ca0 replace c++ style comment by a c-style one 2009-02-25 21:17:21 +00:00
yamt 9ab5d54483 princap -> printcap
(christos said it was just a typo.)

XXX do we want compat for scripts?
2009-02-24 06:10:52 +00:00
dholland 18eba7e824 fix a dud indent 2009-02-22 08:32:25 +00:00
dholland e203f53315 Make netstat handle -a properly; that is, don't show unconnected
listener sockets unless -a was given. (It was checking the local
address instead of the remote address for being INADDR_ANY or
equivalent.)

PR 38093 from Dieter Roelants; I adjusted the patch a little.

This needs pullups for both -4 and -5.
2009-02-22 07:43:01 +00:00
dholland 1fc98979b6 Use pid_t for the result of fork and wait. PR 38031 from Ryan Stutsman. 2009-02-22 07:33:00 +00:00
yamt 99b23c11d2 on errors, output whatever we have before bailing out. 2009-02-20 15:28:21 +00:00
yamt 7abbdb7a0c -1 -> (size_t)-1 for return values of iconv. 2009-02-20 15:27:08 +00:00
yamt 288c135080 u_int32_t -> uint32_t 2009-02-20 15:25:31 +00:00
cube 723938ea23 Bump date. 2009-02-20 05:26:51 +00:00
cube 083c47ad52 Remove mentions that a kernel configuration file must support at least one
file-system because it's no longer true.
2009-02-20 05:22:59 +00:00
cube 46251c8d6e Ignore line starting with # in Makefile.${arch}. It might be valid make(1)
syntax to have a line that starts with # that is not comment, but well,
let's just say it's not valid syntax for Makefile.${arch}.

Breakage on a couple archs reported by he@.
2009-02-20 05:20:25 +00:00
njoly 2cbc1f6d44 Do not overwrite COPTS, but append to it. 2009-02-19 10:33:03 +00:00
wiz 73ff6fdf20 Mark up author with An and Aq. 2009-02-19 10:08:15 +00:00
christos a5e73ebace adjust patch to current. 2009-02-18 21:06:47 +00:00
christos ca9294c412 CID 5044: Protect against NULL deref. 2009-02-18 20:08:32 +00:00
christos 032602ef32 - long -> size_t
- don't allocate memory before the negative check is done CID 4722
2009-02-18 20:04:43 +00:00
christos e60db6c82e coverity CID 515: Use assert. 2009-02-18 20:00:32 +00:00
yamt 314bfbb3be remove BUGS section. this has been changed to use arc4random while ago. 2009-02-18 13:42:06 +00:00
yamt a95bc3c403 fix "make cleandir" 2009-02-18 13:26:15 +00:00
mrg c68299d5ba link in fmt_scaled.c 2009-02-17 04:07:30 +00:00
mrg 4ee81f134c add mux.c to the link. 2009-02-17 04:03:18 +00:00
dogcow 06804711a0 Fix an embarrassing mistake regarding moving down log files. Reported by
(and fix included in) PR bin/40635 from Jukka Salmi.
2009-02-17 02:56:43 +00:00
wiz 4a8dbf1acb Add Xref to pmap(9), from Anon Ymous.
Prepare for HTML output.
2009-02-15 22:49:37 +00:00
dholland 606b73cdb5 Skip over the ":0" entries that gdm, kdm, and unpatched versions of xdm
(ours is patched to not do this) leave in utmp. PR 26168.

I'm doing this by testing for ^:[0-9] in the line field of utmp(x),
rather than by attempting to stat the device name corresponding to the
entry as in Martin's patch, because (1) no valid tty should ever have
a name beginning with a colon, and (2) this way we don't silently skip
over real ttys that should be there but for some reason have disappeared.

(I suppose this might conceivably fail to catch entries for displays
connected via XDCMP; however, ~nobody does that any more and XDCMP is
a security hole anyhow. If anyone's really concerned about this, let
me know.)

In the long run we should look into ways of getting "tty" messages to
users logged in with an X session and no terminal windows open, as
that's probably fairly common for the desktop.
2009-02-15 06:06:55 +00:00
enami 2c8977b0b4 Fix compiler warning. 2009-02-15 03:45:44 +00:00
cube 016c56ea2f - Allow substition of options values in the generated Makefile using the
syntax %OPTION%.
- Make it possible to specify a syntax version information in the Makefile.
- Bump version to 20090214.
2009-02-15 01:39:54 +00:00
abs 46ffce41c5 Build fdformat on a MACHINE_ARCH not MACHINE basis 2009-02-14 22:46:05 +00:00
cube 0367057be6 Error out if one f the mkxxx() prints an error. 2009-02-14 21:28:58 +00:00
uebayasi febab96b71 Comment out CFLAGS+=-g. 2009-02-14 14:05:58 +00:00
abs 515e52158b Convert more MACHINE tests to MACHINE_ARCH 2009-02-14 13:50:50 +00:00
wiz 3ca38c6b62 Sort option descriptions, and options in usage.
Covers PR 40627.
2009-02-14 11:08:17 +00:00
uebayasi a6533b8fed Comment out CFLAGS+=-g. 2009-02-13 16:02:05 +00:00
lukem 998789a8d9 this code isn't -Wsign-compare friendly -- drop the WARNS to 3. 2009-02-13 01:27:43 +00:00
christos 71735a83f7 add missing , 2009-02-11 19:22:22 +00:00
christos 26114345a6 don't print warnings about can't find termcap entry. 2009-02-11 19:10:08 +00:00
wiz b58ce07c49 Fix typo in usage. 2009-02-11 06:42:31 +00:00
christos cc146168bb forgot to commit this. 2009-02-11 03:04:52 +00:00
christos bb0dd61478 Add RFC 2045 MIME Quoted-Printable support. 2009-02-10 23:06:31 +00:00
plunky aead030e15 if HCI commands fail (CommandComplete status != 0) then indicate
ENODEV "Operation Not Supported by Device" rather than random errno.
2009-02-09 12:44:32 +00:00
sjg 55d9c66506 Update expected results to match recent changes! 2009-02-03 23:11:12 +00:00
mrg e53a76c628 rework the main loop and handlers:
- open() and close() the file in the main loop
- pass the fd down into the handlers
- use _rtld_error() in ELFNAME(ldd)

this fixes PR#40543 and also makes error messages look better.
2009-02-03 03:01:02 +00:00
dsl efe788379e Rename all the members of 'enum Token' to TOK_FOO.
Makes it rather more obvious wherethey belong - especially since
two of them were 'True' and 'False' (and not 1 and 0 either).
2009-01-30 23:07:17 +00:00
dsl 9c773fc1c6 Treat .ifdef ${foo} as .if defined(${foo}) not .if "${foo}" != "".
(and similarly for the other .ifxxx).
Do comparison against "" or 0 for .if "foo" and .if <numeric> directly
instead of faking up the operator string.
Rename error: to done: and use it for more exit paths.
Elucidate and correct some comments.

Fixes problems with makefiles that do:
.for var in var_1 var_2
.ifdef ${var}
...
which used to check whether var_1 was defined - because the .ifdef saw the
literal var_1, not a variable expansion due to the way .for loop variables
were substituted.
2009-01-30 22:35:10 +00:00
dholland 7f999162b5 Fix flagrantly wrong printf formats in compat strftime. 2009-01-29 09:03:04 +00:00