Age | Commit message (Collapse) | Author | |
---|---|---|---|
2005-12-15 | sort; | Jason McIntyre | |
2005-12-15 | fstat does not print an '*' for fifos, okay jmc@ | Pedro Martelletto | |
2005-12-15 | Add a new warning message: conversion of %s return value from '%s' to '%s'. | Chad Loder | |
Lint now warns when a function's return value is converted to a smaller (or differently signed) type. These conversions can happen when doing an assignment, when passing a function's return value as an argument to another function, or when initializing a variable. Currently this produces useless warnings on tolower() and toupper() because they return ints but are usually assigned to chars. | |||
2005-12-14 | Move arg # to start of message. Makes it slighly more useful | Kjell Wooding | |
even when display is truncated due to long file name. ok cloder | |||
2005-12-14 | correct usage(); | Xavier Santolaria | |
2005-12-14 | document `-I' and `-sstate[:rev]'; | Xavier Santolaria | |
2005-12-14 | Fix parsing of non-decimal fractions, which was giving bogus results. | Otto Moerbeek | |
Noted by Zvezdan Petkovic in PR 4940. | |||
2005-12-14 | argh. One problem with fixing a hidden global symbol is that if you miss one, | Kjell Wooding | |
you get no warning. Fixes an immediate core in describe-bindings. | |||
2005-12-13 | fix emp norton-1 entry; from James J. Lippard <lippard-openbsd@discord.org> | Michael Shalayeff | |
2005-12-13 | discordian calendar; from: | Michael Shalayeff | |
Screaming Lizard Propulsion Systems w/ permission to do anything w/ it. via M. Schatzl <wtf@neuronenwerk.de> | |||
2005-12-13 | give inode 8 positions (new ver w/ missing spaces deraadt pt out); millert@ ↵ | Michael Shalayeff | |
krw@ ok | |||
2005-12-13 | Fix a typo (introduced in rev 1.6) that utterly broke cost calculations. | Kjell Wooding | |
In theory, mg should now be much more efficient on slow displays (hello, zaurus). Spotted by lint. ok millert. | |||
2005-12-13 | add missing $OpenBSD$ | Xavier Santolaria | |
2005-12-13 | if forced_tun_device is not set, it is -1 and not SSH_TUNID_ANY | Reyk Floeter | |
2005-12-13 | sdl->sdl_data does not contain a nul terminated string, so use bcopy and | David Gwynne | |
terminate it manually rather than use strlcpy to get the interface name. fixes output on my sparc and sparc64s. ok markus@ deraadt@ | |||
2005-12-13 | Last round of easy delinting. | Kjell Wooding | |
2005-12-13 | More name-clash delinting | Kjell Wooding | |
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 |