summaryrefslogtreecommitdiff
path: root/usr.bin
AgeCommit message (Collapse)Author
2006-04-03some more malloc(x * y); bzero() -> calloc(x, y) whacking fromDamien Miller
adobriyan AT gmail.com
2006-04-03lint love; ok kjellTheo de Raadt
2006-04-03Always leave compile buffer on first line after compilation.Kjell Wooding
Change 0->NUL while I'm here.
2006-04-02delete unused variableTheo de Raadt
2006-04-02malloc(x * y) -> calloc(x, y) from adobriyan AT gmail.com, with tweaksDamien Miller
suggested by kjell@; ok otto@ pat@ millert@ jaredy@
2006-04-02some characters are in fact allowed in symbol names, don't freakJoris Vink
out when we encounter them, but handle them correctly. fixes an issue i ran into when running opencvs update on my local tree;
2006-04-02test char against '\0', not 0Kjell Wooding
2006-04-02fix ^W (delete to start of word) in minibuffer;Kjell Wooding
i.e. actually kill text, don't just move the pointer.
2006-04-02sessionid can be 32 bytes now too when sha256 kex is used; ok djm@Darren Tucker
2006-04-02oops, to64() is shared.Theo de Raadt
2006-04-02Enable DEBUG=-g -ggdb for rcs, move -g -ggdb out of CFLAGS for cvs.Ray Lai
Line up flags while I'm at it. OK to add DEBUG flags to rcs niallo@.
2006-04-02spacing;Joris Vink
2006-04-02be more alert for string truncation in cvs_initlog()Joris Vink
2006-04-02#ifdef lint not LINTTheo de Raadt
2006-04-02avoid lvalue cast by making local function be unsigned to begin withTheo de Raadt
2006-04-02use SEEK_* for lseek()Theo de Raadt
2006-04-02use SEEK_* for lseek()Theo de Raadt
2006-04-01fix some bugs that lint discovered for us.Joris Vink
ok niallo@
2006-04-01Don't convert off_t to size_t without checking if it fits. From TobiasOtto Moerbeek
Stoeckmann.
2006-04-01don't use mode_t with va_arg(), use int instead and cast it later toJoris Vink
mode_t. doing it the other way around isn't portable as mode_t may vary from int on some systems to short on others. noticed by deraadt@
2006-04-01- plug a possible memory leak in checkin_update() error path.Niall O'Higgins
ok joris@
2006-04-01Add rcs -l, rcs -u, and regression tests.Ray Lai
``put it all in'' joris@
2006-04-01Keep cvs flags in `flags', rcs flags in `rcsflags' in rcsprog.h.Ray Lai
Prevents bitfield pollution between the two. ``This is how it should be.'' niallo@
2006-04-01ANSIfy; requested deraadt@Damien Miller
2006-04-01xasprintification; ok deraadt@Damien Miller
2006-04-01minimal lint cleanup (unused crud, and some size_t); ok djmTheo de Raadt
2006-04-01$OpenBSD$ in here tooDamien Miller
2006-04-01cvs_initlog() returns a value that is never used, zap it.Joris Vink
2006-04-01improve import a bit:Joris Vink
- create directory and files with the correct permissions - correctly add the branch revision to the branch list of the head revision
2006-03-31spacingTheo de Raadt
2006-03-31Better useage string. From Alexey Dobriyan.Otto Moerbeek
2006-03-31remote user escape is %r not %h; spotted by jmc@Damien Miller
2006-03-31kill trailing whitespace;Jason McIntyre
2006-03-31fairly simple cleanup, lots of testing doneTheo de Raadt
2006-03-31lint-driven cleanup. nothing too scary in this diff.Theo de Raadt
2006-03-31spacing;Joris Vink
2006-03-31tiny bits of lintTheo de Raadt
2006-03-30add temporary files to the worklist before creating them, this preventsJoris Vink
a race when the user would interrupt the program when it was returning from cvs_buf_write_stmp() and leave the temporary files behind.
2006-03-30hmm, let's not use fatal() when we cannot find a branch instead return NULLJoris Vink
so the caller can identify the branch is not there and take correct action.
2006-03-30zap unused variable, niallo@ noticedJoris Vink
2006-03-30first part of supporting branches in openrcs. right now we can onlyJoris Vink
check them out. commit is not working yet, but will be soon. tested by myself and ray@ okay ray@
2006-03-30cast to uid_t where needed; ok deraadt@Robert Nagy
2006-03-30use size_t where needed; ok deraadt@Robert Nagy
2006-03-30minimal lint happiness, round 1Theo de Raadt
2006-03-30Clean up some allocations. Remove malloc casts, and some easyKjell Wooding
malloc(A*B)->calloc changes.
2006-03-30Prevent duplicate log messages when privsep=yes; ok djm@Darren Tucker
2006-03-30Correctly handle truncated files while converting keys; ok djm@Darren Tucker
2006-03-30add percent escape chars to the IdentityFile option, bz #1159 basedDamien Miller
on a patch by imaging AT math.ualberta.ca; feedback and ok dtucker@
2006-03-30replace {GET,PUT}_XXBIT macros with functionally similar functions,Damien Miller
silencing a heap of lint warnings. also allows them to use __bounded__ checking which can't be applied to macros; requested by and feedback from deraadt@
2006-03-30ARGSUSED for dispatch table-driven functionsDamien Miller