summaryrefslogtreecommitdiff
path: root/usr.bin
AgeCommit message (Collapse)Author
2006-03-20report function m4errx, that shows app-specific data (filename/linenumber)Marc Espie
before the error message. Use it to simplify code. okay miod@
2006-03-20Lint should not complain about expressions of the form: ((x == y) == z)Chad Loder
because this is perfectly legal in C. deraadt@ was seeing lint false positives with the S_ISREG macro from stat.h. So set m_eqwarn to 0 for the EQ operator. See xlint regress case #16.
2006-03-20memory leaks detected by Coverity via elad AT netbsd.org;Damien Miller
deraadt@ ok that should be all of them now
2006-03-20last lot of GSSAPI related leaks detected by Coverity viaDamien Miller
elad AT netbsd.org; reviewed by simon AT sxw.org.uk; deraadt@ ok
2006-03-20more GSSAPI related leaks detected by Coverity via elad AT netbsd.org;Damien Miller
reviewed by simon AT sxw.org.uk; deraadt@ ok
2006-03-20GSSAPI related leaks detected by Coverity via elad AT netbsd.org;Damien Miller
reviewed by simon AT sxw.org.uk; deraadt@ ok
2006-03-20if we're in visual mode reading a command, check the termination valuePeter Valchev
of v_tcmd() and bail if it's not TERM_OK as opposed to in a more specific case. this is based on the NetBSD ^C fix but after discussion with otto@. while it did not affect the specific crash it is more correct.
2006-03-19use getopt(3)Robert Nagy
from Jasper Lievisse Adriaanse <jasper@nedbsd.nl>; ok otto@
2006-03-19please lintTheo de Raadt
2006-03-19spacingTheo de Raadt
2006-03-19whoever thought that break after return was a good idea needs to get their ↵Theo de Raadt
head examimed
2006-03-19ARGSUSED for signal handlersTheo de Raadt
2006-03-19spacingTheo de Raadt
2006-03-19spacingTheo de Raadt
2006-03-19RCSID() can dieTheo de Raadt
2006-03-19more sane calloc(3) usage; from adobriyan@gmail.com, ok millertPeter Valchev
2006-03-19Correct strdelim null test; ok djm@Darren Tucker
2006-03-19memory leaks detected by Coverity via elad AT netbsd.org;Damien Miller
deraadt@ ok
2006-03-19potential NULL pointer dereferences detected by CoverityDamien Miller
via elad AT netbsd.org; ok deraadt@
2006-03-19FILE* leak detected by Coverity via elad AT netbsd.org;Damien Miller
ok deraadt@
2006-03-19more memory leaks detected by Coverity via elad AT netbsd.org;Damien Miller
deraadt@ ok
2006-03-19memory leaks detected by Coverity via elad AT netbsd.org;Damien Miller
ok deraadt@ dtucker@
2006-03-18Forgotten part in previous commit; having multiple source trees is aOtto Moerbeek
dangerous hobbby.
2006-03-18Interchange roles: bc becomes parent, dc child. This leads to sanerOtto Moerbeek
tty handling (try bc | grep foo followed by ^C, as noted by deraadt@). To make it all work, bc now waits for dc to exit after giving it a quit command. ok deraadt@ jaredy@
2006-03-18+/* ARGSUSED */Ray Lai
void sighdlr(int sig) OK niallo@
2006-03-18In all these cases pfp != NULL. I also sneaked in some KNF.Ray Lai
Okay jaredy, millert@, and otto@
2006-03-18strdup() -> xstrdup()Ray Lai
Okay xsa@
2006-03-18Change code to match comments, fixing potential off-by-one error.Ray Lai
According to the comments, the lowest number should be 1. not okay, then okay niallo@
2006-03-17another unreachable found by lintDamien Miller
2006-03-17unreachanble statement, found by lintDamien Miller
2006-03-17more delinting.Moritz Jodeit
2006-03-17size_t size()Theo de Raadt
2006-03-17handle ssize_t vs size_tTheo de Raadt
2006-03-17more cleanups; ok moritzTheo de Raadt
2006-03-17ansification and correct prototypes. ok deraadt@Moritz Jodeit
2006-03-17global not needed; ok moritzTheo de Raadt
2006-03-17ARGSUSED is good on signal handlersTheo de Raadt
2006-03-17big prototype cleanup:Moritz Jodeit
o make more functions static o add all the prototypes to tip.h o consistently declare functions in the cmd table testing and ok dhill@
2006-03-17- Lint says cvs_hacktime() is not used in rcs, so move it into !RCSPROG.Niall O'Higgins
ok xsa@
2006-03-17- co usage() says we support -I, so set the flags and revision.Niall O'Higgins
ok xsa@
2006-03-17rlog_strsplit() -> cvs_strsplit() and move it to util.c so it can be reusedXavier Santolaria
by `cvs log' and some other RCS utilities. "Looks good" ray@.
2006-03-17Use ssize_t in appropriate places.Ray Lai
Found by lint. OK niallo@
2006-03-17Remove unused variables len and i, change `end' to size_t type.Ray Lai
Found by lint. OK niallo@
2006-03-16- checkout_rev() can fail, in which case we want a non-zero exit code.Niall O'Higgins
ok joris@
2006-03-16Fix bug that was uncovered by adding correct prototypes andMoritz Jodeit
remove lots of names from func declarations. ok dhill@
2006-03-16first pass of cleanup of this mess; ok dhillTheo de Raadt
2006-03-16error message fix; respect -q too. Ok ray@.Xavier Santolaria
2006-03-16Consistency, one Lord of the Rings entry not marked "(LOTR)"Ryan Thomas McBride
2006-03-16Try to display errormessage even if remout == -1Bjorn Sandell
ok djm@, markus@
2006-03-16zap more unused variables.Xavier Santolaria