summaryrefslogtreecommitdiffstats
path: root/usr.bin (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fix a reference to WFHARD in a comment; it was renamed WFFULL monthsdeanna2007-02-211-2/+2
| | | | | | ago. ok kjell
* make sure checkout_rev() sets correct file permissions via file->rf_modeniallo2007-02-211-1/+3
| | | | | | | | in case where fstat() of file->rf_fd won't give us right mode. fixes PR #5383 ok xsa@
* Clear alarm() before restarting sshd on SIGHUP. Without this, if there'sdtucker2007-02-211-1/+2
| | | | | | | a SIGALRM pending (for SSH1 key regeneration) when sshd is SIGHUP'ed, the newly exec'ed sshd will get the SIGALRM and not have a handler for it, and the default action will terminate the listening sshd. Analysis and patch from andrew at gaul.org.
* Simplify cvs_buf_differ(). Also cvs_buf_differ(), a comparisonray2007-02-214-26/+12
| | | | | | function, should not do any resource freeing. OK joris@.
* Replace a manual xrealloc with rcsnum_setsize.ray2007-02-211-6/+3
| | | | | | From Charles Longeau <chl at tuxfamily dot org>. OK joris@.
* Remove wrong length check, which is off-by-one, andmoritz2007-02-201-4/+5
| | | | | | | let snprintf(3) decide, if the whole string fittet into the buffer. ok ray@
* Some cleanup including:moritz2007-02-201-25/+35
| | | | | | | | | - use sig_atomic_t signal handler flag - atoi() -> strtonum() conversion - remove vararg without matching fmt string - some more lint/gcc silencing ok millert@ ray@
* usage(): add -P and tweak -X; from Igor Sobradojmc2007-02-201-3/+3
|
* sort options and avoid line wrap; from Igor Sobradojmc2007-02-202-5/+6
|
* sort options; from Igor Sobradojmc2007-02-201-3/+3
|
* sort options; from Igor Sobradojmc2007-02-202-5/+5
|
* set maximum packet and window sizes the same for multiplexed clientsdjm2007-02-201-4/+10
| | | | as normal connections; ok markus@
* typos; from Daniel Dickmanjmc2007-02-201-6/+6
|
* Remove useless -h option (if you don't know the synopsis, how do you knowcloder2007-02-201-5/+3
| | | | -h?). OK deraadt
* Back out -h doc after discussion with theocloder2007-02-201-3/+1
|
* Document -h option.cloder2007-02-201-1/+3
|
* Change hard coded numbers to sizeof(buf). Also change someray2007-02-203-9/+9
| | | | | | | | 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@.
* - Check for fgets failure.ray2007-02-191-5/+6
| | | | | | | | | | - 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@.
* Our version of file(1) doesn't have the MIME magic file, so removetom2007-02-192-13/+7
| | | | | | | | | | 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@
* Fix const inconsistencies, void pointer artithmetic and a few otherotto2007-02-1910-40/+39
| | | | things. now gcc -Wall and lint are more happy. ok joris@ xsa@
* Teach Match how handle config directives that are used before authentication.dtucker2007-02-195-39/+89
| | | | | | 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@
* keep correct permissions on the RCS file when locking/unlocking the filexsa2007-02-181-2/+2
| | | | | with ci and co. fixes PR 5379. OK millert@ joris@.
* an erroneous free() crept in due to a merge errorotto2007-02-181-2/+1
|
* missing full stop; from Daniel Maticjmc2007-02-181-2/+2
|
* cvs_path_cat() removal since we can now easily handle thatxsa2007-02-1715-157/+80
| | | | | functionality w/ xsnprintf(); Initial diff started by thib@. OK thib@ joris@.
* sync synopsis and usage(); mostly from Igor Sobradojmc2007-02-162-6/+6
|
* couple more entriesmickey2007-02-161-1/+3
|
* Correct function name in comment.ray2007-02-161-2/+2
| | | | | | From Pierre Riteau <pierre dot riteau at free dot fr>. OK xsa@.
* sync some manual page entries with actual usage.niallo2007-02-143-12/+13
| | | | | ok jmc@, xsa@ mostly From: Igor Sobrado <igor at string1.ciencias.uniovi.es>
* typos in comments; ok jmc@stevesk2007-02-141-4/+4
|
* more refinements for the interactive commands section; ok ottojmc2007-02-142-24/+20
|
* Fix spacing in Makefile.niallo2007-02-141-4/+4
| | | | | | ok joris@ From: Igor Sobrado <igor at string1.ciencias.uniovi.es>
* - Be explicit on command line checking, instead of relying on patterns,kili2007-02-132-20/+17
| | | | | | | | | | | | | | | | 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@
* Fix a problem with wrapped incremental searches.kjell2007-02-131-19/+17
| | | | | | | | | 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.
* zap unused CVS_ISDIR() and CVS_ISFILE() macros. OK joris@.xsa2007-02-131-7/+1
|
* mark up `dumb' using .Em, to be consistent with an earlierjmc2007-02-131-2/+2
| | | | mark up of `intelligent';
* improve the description for -C;jmc2007-02-131-4/+3
| | | | | started by a mail from Igor Sobrado; ok otto
* if -f is not used, readlink should not print anything on error, but ifotto2007-02-121-4/+5
| | | | | -f is used, handle errors like it should. ok'ed by deraadt@ some time ago but then forgotten
* remove unused leftovers from openrcs; OK joris@.xsa2007-02-123-100/+3
|
* document how signalling via `k' works, after some help from theo and miod;jmc2007-02-092-23/+28
|
* sync somewhat to the man page;jmc2007-02-091-19/+19
| | | | started by a diff from Mark Lumsden
* clean up the interactive commands list, mainly by showingjmc2007-02-091-34/+41
| | | | | | the arguments these commands take; based on some improvements from Mark Lumsden
* correctly skip invalid entries when usingjoris2007-02-092-4/+4
| | | | | | getdirentries(2). ok otto@
* if a directory exists in the working dir but not in thexsa2007-02-091-2/+3
| | | | | repository, mark it as to be skipped so we do not try to lock it on update and miserably fail... OK joris@.
* remove the cvs_file_classify() `loud' argument, it was usedjoris2007-02-0914-35/+31
| | | | | | in the old school days and serves no purpose what so ever now. otto@ mentioned this to me a while ago
* strtol(3) -> strtonum(3)joris2007-02-091-7/+5
|
* Fix a commentkjell2007-02-082-4/+4
|
* comment a functionkjell2007-02-081-1/+7
|
* Do all allocation and deallocation of shstr in elf_symload() toray2007-02-081-12/+3
| | | | | | | | | | | | 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@.
* When getc() returns EOF, either feof() or ferror() will return true,ray2007-02-081-3/+3
| | | | | | | | | 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@.