Age | Commit message (Collapse) | Author | |
---|---|---|---|
2005-12-13 | do some silly de-linting | Kjell Wooding | |
2005-12-13 | If you're going to pass a length parameter, you should use it. | Kjell Wooding | |
2005-12-13 | Add a "M-x lint" mode, now that lint is next-error friendly. | Kjell Wooding | |
While here, delint some name clashes. | |||
2005-12-12 | Restructure conditional from last checkin regarding constant in conditional | Chad Loder | |
contexts, so that we do not lose the ability to warn on non-integer constants. | |||
2005-12-12 | Cut down on extraneous "constant in conditional context" warnings when | Chad Loder | |
lint encounters expressions like do { ... } while (0); and if (1) ... We use these idioms frequently in our tree for scoping purposes and we deem them to be safe. Now lint will not warn if it encounters a constant in a conditional context when the expression consists only of a constant (with no operators) and the constant is 0 or 1. This means that lint will not warn for "if (1)" but will warn for "if (2)" and will also continue to warn for "if (foo && 1)". This cuts down the vast majority of these warnings while still preserving the ability to catch bugs. | |||
2005-12-12 | sync usage(); | Jason McIntyre | |
from david leonard (pr #4939); | |||
2005-12-12 | - simplify synopsis | Jason McIntyre | |
- remove some .Bk/.Ek clutter - sort options list | |||
2005-12-12 | only xfree() cf->cf_dir when it's not NULL; | Joris Vink | |
2005-12-12 | ARGSUSED on signal handler | Theo de Raadt | |
2005-12-12 | in the write codepaths, errors other than EAGAIN are fatal to the loop; ok otto | Theo de Raadt | |
2005-12-12 | Adam Weishaupt (by grunk@); fix a couple of entries out of order | Michael Shalayeff | |
2005-12-12 | rcsnum_alloc() and rcsnum_cpy() no longer can fail, so don't | Joris Vink | |
bother checking return values for failure. ok xsa@ | |||
2005-12-12 | make sure protocol messages for internal channels are ignored. | Markus Friedl | |
allow adjust messages for non-open channels; with and ok djm@ | |||
2005-12-12 | - sync usage() for `-tfile|str' | Xavier Santolaria | |
- nuke trailing whitespace | |||
2005-12-12 | be consistent w/ `-tfile|str' documentation (cf. rcs.1); | Xavier Santolaria | |
2005-12-11 | SRCS should contain .y and .l references, then make will do the right thing | Theo de Raadt | |
2005-12-11 | make this compile again | Theo de Raadt | |
2005-12-11 | ARGSUSED | Theo de Raadt | |
2005-12-10 | switch to xmalloc stuff, me and xsa@ agreed on this a long | Joris Vink | |
time ago, but we were being held back by jfb. too bad for him. next step is to use fatal() through out the code for unrecoverable errors instead of trying to be all nice and fluffy and reach main() again. ok niallo@ and xsa@ | |||
2005-12-10 | Make the style of these messages more like that of gcc messages. | Chad Loder | |
2005-12-10 | - its wrong to use exit() here; return instead. | Niall O'Higgins | |
ok joris@ | |||
2005-12-10 | Change warning/error format to match gcc's. | Chad Loder | |
2005-12-10 | how did this slip in, grr. | Martin Reindl | |
2005-12-10 | translate a bunch of comments from german to english | Martin Reindl | |
ok cloder@ | |||
2005-12-10 | Lint now warns about sizeof(term) where the operator is anything other | Chad Loder | |
than unary *, ->, a name, or a string. | |||
2005-12-10 | Fix a comment | Chad Loder | |
2005-12-10 | Add a new lint flag '-f' which, for each warning or error, prints the | Chad Loder | |
offending line from the corresponding source code file. The general idea is OK deraadt | |||
2005-12-10 | Back out all gcc attribute parsing changes until we can do this the right | Chad Loder | |
way some day. The effect of __attribute__ on a LALR C grammar is just too ugly to fix quicklly. | |||
2005-12-10 | Fix a crash when enum bitfields are encountered. Reported by marc on | Chad Loder | |
sparc but we really should see the crash on any arch. Lots of places in the code assume that if tspec == ENUM that they can touch t_enum, so when we see an ENUM bitfield, we coerce the type to INT or UINT. We also clear the t_isenum flag and the t_proto flag any time we invalidate the data in the union. We should be stricter about checking t_isenum everywhere, but that is a bigger job. | |||
2005-12-09 | license clean | Ian Darwin | |
2005-12-09 | don't complain too often about 'redefinition of revision number', | Joris Vink | |
specially when rev is actually NULL. | |||
2005-12-09 | if we are removing a lock that's not present, just check | Joris Vink | |
out the file without complaining; | |||
2005-12-09 | Do not warn about assignment in conditional context if the assignment | Chad Loder | |
expression is itself wrapped in parentheses. We use this idiom in our tree to indicate that the programmer knows and accepts that an assignment is happening. Idea suggested by deraadt | |||
2005-12-09 | unused vars, my bad; | Joris Vink | |
2005-12-09 | Another case theo reminded me of | Chad Loder | |
2005-12-09 | Don't ever complain when assigning a char literal to a char lvalue, | Chad Loder | |
regardless of sign/unsign differences. In other words, even though C treats char literals as ints, if the rvalue is a literal inside single quotes, and the lvalue is any kind of char, then assume the programmer knows what he is doing. | |||
2005-12-08 | Check fread() return value to get sane error message for too-small | Todd C. Miller | |
gmon header. Idea from Alexey Dobriyan | |||
2005-12-08 | new sentence, new line; | Jason McIntyre | |
2005-12-08 | complete and correct rcs locking functionality, | Joris Vink | |
it was only done partially and as a bonus, completely wrong. seriously guys what was up with that? | |||
2005-12-08 | two changes to the new ssh tunnel support. this breaks compatibility | Reyk Floeter | |
with the initial commit but is required for a portable approach. - make the tunnel id u_int and platform friendly, use predefined types. - support configuration of layer 2 (ethernet) or layer 3 (point-to-point, default) modes. configuration is done using the Tunnel (yes|point-to-point|ethernet|no) option is ssh_config(5) and restricted by the PermitTunnel (yes|point-to-point|ethernet|no) option in sshd_config(5). ok djm@, man page bits by jmc@ | |||
2005-12-08 | keep options in order; | Jason McIntyre | |
2005-12-08 | make `!command' a little clearer; | Jason McIntyre | |
ok reyk | |||
2005-12-08 | oops - forgot to remind tom to update usage(); | Jason McIntyre | |
2005-12-07 | Tweak synopsis | Tom Cosgrove | |
ok jmc@ | |||
2005-12-07 | Tidy up month parsing: don't accept "mayor" for "may", or "4x" for "4". | Tom Cosgrove | |
And strptime(3) %b and %B conversions are the same, so don't bother trying both. ok otto@ | |||
2005-12-07 | update the man -k example, and reword for clarity; | Jason McIntyre | |
2005-12-07 | - avoid line split in SYNOPSIS | Jason McIntyre | |
- add args to -w - kill trailing whitespace | |||
2005-12-07 | typo | Reyk Floeter | |
2005-12-07 | reyk forgot to compile with -Werror (missing header) | Damien Miller | |
2005-12-07 | Remove extra printfs | Chad Loder | |