summaryrefslogtreecommitdiff
path: root/usr.bin
AgeCommit message (Collapse)Author
2006-08-14files_differ() should return -1 on error, according to comments. MakeRay Lai
it so. Add checks for all return values. ``put it in'' xsa@
2006-08-14Add Auto-Submitted header in generated mail as per RFC 3834.Todd C. Miller
2006-08-14Add ability to match groups to Match keyword in sshd_config. Feedback djm@,Darren Tucker
stevesk@, ok stevesk@.
2006-08-12Revert previous include file ordering change, for ssh to compile under gcc2Miod Vallat
(or until openssl include files are cleaned of parameter names in function prototypes)
2006-08-12a variation of netbsd -r1.18:Jason McIntyre
PR/34182 from der Mouse -- clarify -0 option
2006-08-11fix fidel bday as pt out by some revolutionary comaradesMichael Shalayeff
2006-08-11correctly handle merge(1) and rcsmerge(1) -e and -E flags; tests and OK ray@.Xavier Santolaria
2006-08-10Check for int oflow w/ -b option and unit suffixes, make usage() __dead,Todd C. Miller
use ssize_t not long for read/write length. OK beck@
2006-08-10missing full stop; from matt jibsonJason McIntyre
2006-08-10use .Sq for single letters;Jason McIntyre
2006-08-09Add -a option as per single unix. Rewrote the code to generateTodd C. Miller
file names to be less blecherous, though it is still not pretty. OK beck@, with man page help from jmc@
2006-08-09- indicate that -b, -l, and -p are mutually exclusiveJason McIntyre
- tidy up the text somewhat - make it clear that the original file is not changed mostly this is based on a freebsd pr (33852), submitted by gary w. swearingen
2006-08-08let ed_patch_lines work with a c command that encompasses the last lineMarc Espie
of the file. The TAILQ structures specifically contain an extra `first line' to avoid this kind of issue, but no extra last line. Instead of walking beyond the end of the structure, and wondering at the null pointer, keep a pointer before the deleted block, as this one is guaranteed to exist. Fix Matthieu's testcase. okay joris@, xsa@
2006-08-07More strlcpy/strlcat -> snprintf/xasprintf cleanup.Ray Lai
OK joris@
2006-08-07Flush printf buffer before directly writing to STDIN_FILENO. PreventsRay Lai
the printf output from printing after the rcs_buf_write_fd output. ``ok!'' joris@
2006-08-06+.Sh STANDARDSJason McIntyre
from espie, tweaked by myself;
2006-08-06"zlib.h" can be <zlib.h>; ok djm@ markus@Kevin Steves
2006-08-05Remove "with with" typos.Ray Lai
Fix by Tobias Stoeckmann <tobias at bugol dot de> in PR 5193.
2006-08-05Typo in commentDarren Tucker
2006-08-05Zap unused variables in -DSKEY code. ok djm@Darren Tucker
2006-08-05Add headers required to build with -DSKEY. ok djm@Darren Tucker
2006-08-05Add headers required to build with KERBEROS5=no. ok djm@Darren Tucker
2006-08-04spacesKevin Steves
2006-08-04Make -n flag refer to -N flag instead of the other way around, since theRay Lai
-N flag is above. OK xsa@ and jmc@
2006-08-04Add bug: may not work with binary data.Ray Lai
OK jmc@
2006-08-04Remove unnecessary strlcpy/strlcat.Ray Lai
``Oh man!'' xsa@
2006-08-03almost entirely get rid of the culture of ".h files that include .h files"Theo de Raadt
ok djm, sort of ok stevesk makes the pain stop in one easy step
2006-08-02strlcpy/strlcat overload made deraadt@ sick; change to xasprintf.Ray Lai
OK niallo@
2006-08-02rcs_buf_set(), rcs_buf_append, and rcs_buf_fappend should not returnRay Lai
ssize_t. The return values aren't usually checked anyway. Also remove unnecessary casts and improve type usage. OK xsa@
2006-08-02Sync CVS's rcs_expand_keywords() and rcs_kwexp_buf() with RCS.Ray Lai
OK niallo@
2006-08-02Fix a lot of buffer overflows and make the code more binary safe.Ray Lai
Also reduce a lot of redundant for() loops. OK niallo@
2006-08-01clean extra spacesKevin Steves
2006-08-01move #include <stdio.h> out of includes.hKevin Steves
2006-08-01* move sys/queue.h inclusion to sysdef.h (it's system specific)Jason Wright
* add <signal.h> to sysdef.h (needed for sig_atomic_t on linux, and we get it by accident on OpenBSD) * remove <signal.h> from tty.c/spawn.c (not needed now that it's in sysdef.h) ok beck
2006-08-01Allow fallback to known_hosts entries without port qualifiers forDarren Tucker
non-standard ports too, so that all existing known_hosts entries will be recognised. Requested by, feedback and ok markus@
2006-08-01Reduce rcs_buf_release() usage, improving binary support.Ray Lai
OK niallo@
2006-07-31Minor KNF.Ray Lai
OK xsa@
2006-07-30order includes to KNFKevin Steves
2006-07-30Remove double variable assignment.Ray Lai
From Bret Lambert <bret dot lambert at gmail dot com> OK krw@ and deraadt@.
2006-07-30Sync some whitespace changes from rcs. No binary change.Ray Lai
2006-07-28Recalculate buffer length after each expansion.Ray Lai
OK niallo@
2006-07-27unused functionTheo de Raadt
2006-07-27avoid confusing wording in HashKnownHosts:Jason McIntyre
originally spotted by alan amesbury; ok deraadt
2006-07-27Second try at adding binary file support to rcs_expand_keywords(),Ray Lai
using BUFs instead of C strings. Also remove initial keyword search, which is a premature optimization, slower, and apparently too hard for me to get right. OK niallo@
2006-07-27Pull in improper memory allocation from RCS:Ray Lai
> Not were we allocating memory for a pointer array, it wasn't even for > the right variable! Fixes make regress with MALLOC_OPTIONS=PR. > > Found by and fix worked on with Joris.
2006-07-27Not were we allocating memory for a pointer array, it wasn't even forRay Lai
the right variable! Fixes make regress with MALLOC_OPTIONS=PR. Found by and fix worked on with Joris. OK niallo@, tested by pedro@.
2006-07-27unused variableTheo de Raadt
2006-07-27spacingTheo de Raadt
2006-07-27unused variableTheo de Raadt
2006-07-26Make tftp atoi() free.Marcus Glocker