summaryrefslogtreecommitdiff
path: root/usr.bin
AgeCommit message (Collapse)Author
2003-08-01damn cvs! resurrect these ...Anil Madhavapeddy
2003-08-01move vis.h out of the way into a subdir so it isn't picked up by our buildAnil Madhavapeddy
noticed by david@, deraadt@ ok
2003-08-01when the -R option (read-only) is specified, there is no need to printPeter Valchev
a warning that the file is read-only, it's obviously what's expected... ok fgsch henning
2003-08-01cleanup;Jason McIntyre
ok millert@
2003-07-31print rate similar old version; round instead truncate;Markus Friedl
2003-07-31Historically, patch would treat a bare -p as -p0. This contradictsTodd C. Miller
POSIX and GNU patch has also removed this, so we will too. No objections on icb (no one even seemed to know about this "feature").
2003-07-31Unbreak relative directory handling. Tweak from millert@Otto Moerbeek
ok millert@
2003-07-31- Change the hash function to a simple multiplicative one. The oldOtto Moerbeek
hash function was apparently optimized for 16 bit processors and generates quite some collisions. - Fix another case of excessive reallocing. ok millert@
2003-07-31no longer used by syslogdAnil Madhavapeddy
2003-07-31correct comment: atomicio takes vwrite, not write; deraadt@ okAnil Madhavapeddy
2003-07-31Print a maximum of one invalid line number warning per patch in a patch file.Otto Moerbeek
Thanks to espie@ for spotting the problem. ok millert@ henning@ espie@
2003-07-31Fix botched conversion to getopts; markus@Todd C. Miller
2003-07-31check whether passwd auth is allowd, similar to proto 1; rob@pitman.co.zaMarkus Friedl
ok henning
2003-07-31Wrap a long lineOtto Moerbeek
ok deraadt@
2003-07-31Welcome BSD gzexe(1).Otto Moerbeek
ok deraadt@
2003-07-31A new, BSD licensed gzexe(1).Otto Moerbeek
ok millert@ krw@
2003-07-31The manual page for the new, BSD licensed gzexe(1).Otto Moerbeek
ok jmc@ millert@ krw@
2003-07-31o correct exit code when comparing stdin and stdin (a noop)Todd C. Miller
o after copying to a temp file, lseek() to the beginning so the inline cmp routine works. Fixes an exit code issue when comparing against stdin.
2003-07-30Add POSIX -i option; tedu@ OKTodd C. Miller
2003-07-30Make prompting POSIX-compliant. POSIX states "The patch utilityTodd C. Miller
shall write a prompt to standard output and request a filename interactively from the controlling terminal (for example, /dev/tty)." OK deraadt@ and otto@
2003-07-30whitespaceMarkus Friedl
2003-07-30use only 4 digits in format_sizeMarkus Friedl
2003-07-29o add pathnames.hTodd C. Miller
o ignore empty TMPDIR environment variable o strip any trailing slashes from TMPDIR otto@ OK
2003-07-29cleanTheo de Raadt
2003-07-29Instead of checking for "stdout" in decompress(), just do the checkTodd C. Miller
in list_stats(). Looks cleaner and we don't have to rely on any special flags being set.
2003-07-29fix length for "- stalled -"Markus Friedl
2003-07-29bad license; deraadtMarkus Friedl
2003-07-29replace 4 clause BSD licensed progressmeter code with a replacementMarkus Friedl
from Nils Nordman and myself; ok deraadt@
2003-07-29sputnik dupe; from Dmitry Bogdan <dsb@uvm.poi.dvo.ru>Michael Shalayeff
2003-07-29Bye bye GNU zforce(1), welcome BSD zforce(1).Otto Moerbeek
2003-07-29BSD licensed manual page for zforce(1). Some suggestions by jmc@.Otto Moerbeek
ok jmc@
2003-07-29Add $OpenBSD$Otto Moerbeek
ok millert@
2003-07-29A new, BSD licensed version of the zforce(1) script.Otto Moerbeek
ok millert@ deraadt@
2003-07-29Check cat, not pipin when deciding whether or not to make useTodd C. Miller
"stdout" as the filename in -l mode. Fixes "gzip -lN < foo.gz"
2003-07-28cleanup library partsTheo de Raadt
2003-07-28minor knf and cleanups; otto okTheo de Raadt
2003-07-28Don't treat consecutive slashes as path components; matches POSIXTodd C. Miller
OK otto@ and deraadt@
2003-07-28More cleanup: sprinkled some const, removed ugly EXTERN/INTERN.h,Otto Moerbeek
some rewriting of code to make it more readable and more KNF. ok millert@ tedu@ deraadt@
2003-07-28Be more exact on how backup files are handled.Otto Moerbeek
ok millert@ tedu@
2003-07-28Be more exact on how backup files are handled.Otto Moerbeek
ok millert@ tedu@
2003-07-28Make patch(1) exit value match POSIX and be consistent with diff.Todd C. Miller
Comments and OK from otto@
2003-07-28Support for generating Diffie-Hellman groups (/etc/moduli) from ssh-keygen.Damien Miller
Based on code from Phil Karn, William Allen Simpson and Niels Provos. ok markus@, thanks jmc@
2003-07-28fix rcsidTed Unangst
2003-07-27Return FAILURE for "file would grow" case so the .gz file gets removed.Todd C. Miller
Problem noticed by otto@
2003-07-27We need to initialize clen to 0 each time through diffreg() forTodd C. Miller
when diffreg() is called multiple times (i.e. in directory mode). Fixes a hang I saw doing "diff -r" of two large directory trees.
2003-07-27Correct computation of argsize when setting diffargs.Todd C. Miller
2003-07-27Start new sentence on a new line.Otto Moerbeek
ok jmc@
2003-07-27- Use a heuristic to bound memory and cpu usage, at the cost ofOtto Moerbeek
producing suboptimal diffs for large file containing lots of changes. Switch heuristic off with -d/--minimal (GNU compatible). Some hints from millert@. - Improve performance by reducing the number of realloc(3) calls. ok millert@ tedu@
2003-07-25Kill dead code after errx(). From Andrey Matveev; ericj@ OKTodd C. Miller
2003-07-25context switches and interrupts are traps, not faults. align cpu field aTed Unangst
little better. some man page pretty from jmc@ and ok millert@