summaryrefslogtreecommitdiff
path: root/usr.bin
AgeCommit message (Collapse)Author
2003-07-14- .Ql -> .Sq where literal doesn't make senseJason McIntyre
- fix the width specifiers in lists/displays - change the for loop into a display for better formatting ok espie@
2003-07-14remove some old groff macros;Jason McIntyre
2003-07-14- escape %{B,D,P} to prevent groff trying to expand themJason McIntyre
- remove some unnecessary .Pp's
2003-07-14.Ic Nm -> .IcJason McIntyre
2003-07-14- fix a displayJason McIntyre
- escape dashes - remove extra bracket
2003-07-14typo in comment. ok henning@Otto Moerbeek
2003-07-14toast this piece of junkTheo de Raadt
2003-07-13fix a list;Jason McIntyre
2003-07-13Cm Ar -> ArJason McIntyre
2003-07-13.Or -> .OpJason McIntyre
2003-07-13Small tweaks from jmc@Todd C. Miller
o correct filename for stdin o fix "the the" o remove width from dash list (unused) o -compact for FILES list
2003-07-13Install zdiff.1; noted by marc@Todd C. Miller
2003-07-12Add zdiffTodd C. Miller
2003-07-11No longer need to assume -g when reading from stdin.Todd C. Miller
2003-07-11Move magic number checking into main.c and make it work whenTodd C. Miller
decompressing from a pipe. Currently assumes that magic numbers are 2 bytes but this is relatively easy to change as needed in the future. Discussed w/ mickey@
2003-07-10sync usage with manpage, add missing -RMarkus Friedl
2003-07-10restore grep -v semantics, print lines that don't match any (mismatch all)Daniel Hartmeier
patterns. ok tedu@, millert@
2003-07-10grep should exit(2) on error, not exit(1) (1 means no matches found).Todd C. Miller
deraadt@ OK
2003-07-10knfTheo de Raadt
2003-07-10Fix parsing of -NUMBER. We now do things a digit at a time andTodd C. Miller
keep track of what the last char from getopt was as well as the previous value of optind so we know when a new number has started.
2003-07-10A matching diff3 from 32V w/ some UCB changes. I cleaned this up a bitTodd C. Miller
(KNF and -Wall) and rewrote the shell front-end.
2003-07-10the 2^(blocksize*2) rekeying limit is too expensive for 3DES,Markus Friedl
blowfish, etc, so enforce a 1GB limit for small blocksizes.
2003-07-10Prevent getopts from interpreting +X as -X; avoid the need for a hack.Todd C. Miller
2003-07-10add missing includesDavid Krause
ok deraadt@ tedu@
2003-07-09Fix double free; eric jacksonTodd C. Miller
2003-07-09minor tweak: when generating the hex fingerprint, give strlcat the full ↵Anil Madhavapeddy
bound to the buffer, and add a comment below explaining why the zero-termination is one less than the bound. markus@ ok
2003-07-09protosTheo de Raadt
2003-07-09ans, knf, err and spacesMichael Shalayeff
2003-07-09Unlink temp file as soon as it is opened and return a FILE * forTodd C. Miller
it so we don't have to worry about cleanup. This means the quit() signal handler and error/errorx can go away too. Move splice() out of diffreg() and into diff.c where it belongs since we don't want to be calling splice() for a directory diff. Add a check for mismatched paths (one file, one dir) in diffreg.c. deraadt@ OK
2003-07-09Re-implement -l flag; diff -l now works correctly in non-directoryTodd C. Miller
mode (like GNU diff).
2003-07-08fix pasto in last commitTodd C. Miller
2003-07-08o Avoid a temp file if using stdin and stdin is redirected from a regular fileTodd C. Miller
o Fix a double free in the temmp file case
2003-07-08pre-xtian common laws of physicsMichael Shalayeff
2003-07-08fix fd closing logicand close in gzopen(); found by wilfried@ and millert@ okMichael Shalayeff
2003-07-07protosTheo de Raadt
2003-07-07fix readlink() usage.Mike Pechkin
millert@ ok
2003-07-07in the unix domain socket case, give an ENAMETOOLONG error instead ofAnil Madhavapeddy
silently truncating the socket file millert@ ok
2003-07-07some fixes from Andrey Matveev:Jason McIntyre
- document "-C file" in SYNOPSIS - add /etc/man.conf to FILES - .Xr makewhatis 8 in SEE ALSO
2003-07-06protosTheo de Raadt
2003-07-06proto into scopeTheo de Raadt
2003-07-06Add -q option from GNU diffTodd C. Miller
2003-07-06Implement -P from GNU diff (like -N but only for files that are missingTodd C. Miller
from dir1).
2003-07-06generate protos for functionsTheo de Raadt
2003-07-06Some fairly major changes:Todd C. Miller
o -N is implemented o -X is implemented o -x is implemented o diff.c has been rewritten and GNU long options are now supported o diffdir.c has been rewritten + no longer does fork + exec of /usr/bin/diff + can be called recursively (and will be for -r) o diff.h + don't include any .h files here any more, do it in the .c files + no Bell Labs code in this, gets a UCB copyright (the 32v sources only have a diff.c and there is nothing in common). o diffreg.c + most all remaining globals are now private to diffreg.c + files are only opened once + dynamically allocated objects are either freed or realloced + added missing UCB copyright (there were lots of UCB changes) + print correct thing when -s is specified OK deraadt@
2003-07-06no need to redefine strlcpy here; millert@ okAnil Madhavapeddy
2003-07-06Use symbolic constants for output format.Todd C. Miller
2003-07-04Accept but ignore -h for backwards compat like GNU diff does.Todd C. Miller
Pointed out by espie@. Also remove other references to -h mode.
2003-07-04Kill non-standard -l option as discussed with tedu@Todd C. Miller
2003-07-04Kill diff -h, we don't use or want diffh. Discussed w/ tedu@Todd C. Miller
2003-07-04Some cosmetic fixes:Todd C. Miller
o get rid of now-unused tempfile variable o move inifdef into diffreg.c (only used there) o correct a comment o use _PATH_DIFF, _PATH_DIFFH and _PATH_PR instead of variables set to them o get rid of hack to look for pr and diff in /bin