summaryrefslogtreecommitdiff
path: root/usr.bin
AgeCommit message (Collapse)Author
2007-02-20Remove wrong length check, which is off-by-one, andMoritz Jodeit
let snprintf(3) decide, if the whole string fittet into the buffer. ok ray@
2007-02-20Some cleanup including:Moritz Jodeit
- use sig_atomic_t signal handler flag - atoi() -> strtonum() conversion - remove vararg without matching fmt string - some more lint/gcc silencing ok millert@ ray@
2007-02-20usage(): add -P and tweak -X; from Igor SobradoJason McIntyre
2007-02-20sort options and avoid line wrap; from Igor SobradoJason McIntyre
2007-02-20sort options; from Igor SobradoJason McIntyre
2007-02-20sort options; from Igor SobradoJason McIntyre
2007-02-20set maximum packet and window sizes the same for multiplexed clientsDamien Miller
as normal connections; ok markus@
2007-02-20typos; from Daniel DickmanJason McIntyre
2007-02-20Remove useless -h option (if you don't know the synopsis, how do you knowChad Loder
-h?). OK deraadt
2007-02-20Back out -h doc after discussion with theoChad Loder
2007-02-20Document -h option.Chad Loder
2007-02-20Change hard coded numbers to sizeof(buf). Also change someRay Lai
sizeof(buf) - 1 to sizeof(buf), since fgets takes the whole buffer size. Based on diff from Charles Longeau <chl at tuxfamily dot org> long ago. OK millert@.
2007-02-20Change hard coded numbers to sizeof(buf). Also change someRay Lai
sizeof(buf) - 1 to sizeof(buf), since fgets takes the whole buffer size. Based on diff from Charles Longeau <chl at tuxfamily dot org> long ago. OK millert@.
2007-02-20Change hard coded numbers to sizeof(buf). Also change someRay Lai
sizeof(buf) - 1 to sizeof(buf), since fgets takes the whole buffer size. Based on diff from Charles Longeau <chl at tuxfamily dot org> long ago. OK millert@.
2007-02-19- Check for fgets failure.Ray Lai
- Pass sizeof(buf) to fgets. - Only print what was read. - Simplify error checking while printing bigrams. Inspired by diff from Charles Longeau <chl at tuxfamily dot org> long ago. OK millert@ and moritz@.
2007-02-19Our version of file(1) doesn't have the MIME magic file, so removeTom Cosgrove
references to -i/--mime and no longer accept them on the command line. Update the HISTORY section to be less confusing. Based on a diff to tech@ by Mikolaj Kucharski, mikolaj (dot) kucharski (at) gmail (dot) com. Prompted by jmc@; input from and ok jmc@ and otto@
2007-02-19Fix const inconsistencies, void pointer artithmetic and a few otherOtto Moerbeek
things. now gcc -Wall and lint are more happy. ok joris@ xsa@
2007-02-19Teach Match how handle config directives that are used before authentication.Darren Tucker
This allows configurations such as permitting password authentication from the local net only while requiring pubkey from offsite. ok djm@, man page bits ok jmc@
2007-02-18keep correct permissions on the RCS file when locking/unlocking the fileXavier Santolaria
with ci and co. fixes PR 5379. OK millert@ joris@.
2007-02-18an erroneous free() crept in due to a merge errorOtto Moerbeek
2007-02-18missing full stop; from Daniel MaticJason McIntyre
2007-02-17cvs_path_cat() removal since we can now easily handle thatXavier Santolaria
functionality w/ xsnprintf(); Initial diff started by thib@. OK thib@ joris@.
2007-02-16sync synopsis and usage(); mostly from Igor SobradoJason McIntyre
2007-02-16couple more entriesMichael Shalayeff
2007-02-16Correct function name in comment.Ray Lai
From Pierre Riteau <pierre dot riteau at free dot fr>. OK xsa@.
2007-02-14sync some manual page entries with actual usage.Niall O'Higgins
ok jmc@, xsa@ mostly From: Igor Sobrado <igor at string1.ciencias.uniovi.es>
2007-02-14typos in comments; ok jmc@Kevin Steves
2007-02-14more refinements for the interactive commands section; ok ottoJason McIntyre
2007-02-14Fix spacing in Makefile.Niall O'Higgins
ok joris@ From: Igor Sobrado <igor at string1.ciencias.uniovi.es>
2007-02-13- Be explicit on command line checking, instead of relying on patterns,Matthias Kilian
which may be NULL (e.g. -e ''). - let add_pattern() decide how to deal with empty patterns, don't do magic in read_patterns(). This unbreaks stuff like grep -e '', and makes grep -f <file> more POSIX compliant. Semantics for grep -f /dev/null (or any other empty file) may be questionable, but this case isn't specified by POSIX, and matching nothing at all seems to be sane. Thanks to otto@, who mentioned potential problems related to the -x option with the first patch i sent. ok jaredy@ (some time ago), otto@, millert@
2007-02-13Fix a problem with wrapped incremental searches.Kjell Wooding
Basically, on wrap, the line pointer and offset would get out of sync, leading to incorrect line numbers or a segfault. Deanna Phillips did all the work of spotting it tracking it down to the right function. Thanks! While here, add emacs-like messages for wrapped and failed incremental searches. Tested by Deanna.
2007-02-13zap unused CVS_ISDIR() and CVS_ISFILE() macros. OK joris@.Xavier Santolaria
2007-02-13mark up `dumb' using .Em, to be consistent with an earlierJason McIntyre
mark up of `intelligent';
2007-02-13improve the description for -C;Jason McIntyre
started by a mail from Igor Sobrado; ok otto
2007-02-12if -f is not used, readlink should not print anything on error, but ifOtto Moerbeek
-f is used, handle errors like it should. ok'ed by deraadt@ some time ago but then forgotten
2007-02-12remove unused leftovers from openrcs; OK joris@.Xavier Santolaria
2007-02-09document how signalling via `k' works, after some help from theo and miod;Jason McIntyre
2007-02-09sync somewhat to the man page;Jason McIntyre
started by a diff from Mark Lumsden
2007-02-09clean up the interactive commands list, mainly by showingJason McIntyre
the arguments these commands take; based on some improvements from Mark Lumsden
2007-02-09correctly skip invalid entries when usingJoris Vink
getdirentries(2). ok otto@
2007-02-09if a directory exists in the working dir but not in theXavier Santolaria
repository, mark it as to be skipped so we do not try to lock it on update and miserably fail... OK joris@.
2007-02-09remove the cvs_file_classify() `loud' argument, it was usedJoris Vink
in the old school days and serves no purpose what so ever now. otto@ mentioned this to me a while ago
2007-02-09strtol(3) -> strtonum(3)Joris Vink
2007-02-08Fix a commentKjell Wooding
2007-02-08comment a functionKjell Wooding
2007-02-08Do all allocation and deallocation of shstr in elf_symload() toRay Lai
prevent double-freeing shstr. Also don't free known NULL values (*pnames and *psnames). Initially inspired by Charles Longeau's first diff to tech@; he later sent a second diff to tech@ nearly identical to this commit. Freaky. OK mickey@.
2007-02-08When getc() returns EOF, either feof() or ferror() will return true,Ray Lai
so no need to check them. Removes a bitwise OR that should have been a logical OR as well. From Pierre Riteau <pierre dot riteau at free dot fr>. OK joris@.
2007-02-08Remove double semicolons.Ray Lai
From Pierre Riteau <pierre dot riteau at free dot fr>. OK jaredy@ and moritz@.
2007-02-07fstat() -> lstat() in a few select cases,Todd T. Fries
this fixes a bug where opencvs update would abort if a link existed that pointed to a non-existent file/dir ok joris@
2007-02-07strl* overload; use xsnprintf(); OK ray@.Xavier Santolaria