summaryrefslogtreecommitdiff
path: root/usr.bin/patch
AgeCommit message (Expand)Author
2003-12-08MAP_FILE is the default and MAP_PRIVATE has to be given or produces evil warn...Michael Shalayeff
2003-11-21madvise(sequential) the mmap()ed file and plug an fd leak on mmap() failure; ...Michael Shalayeff
2003-10-31o fairly major man page reorganizationTodd C. Miller
2003-09-28realloc(3) cleanup.Otto Moerbeek
2003-08-15Add license from patch.c to original source files missing a license.Otto Moerbeek
2003-08-12Fix no newline at end of file case for Plan B.Otto Moerbeek
2003-08-10Do not add an extra newline at the end if the last line of the inputOtto Moerbeek
2003-08-10Warn if the diff is a context or unified diff and the contextOtto Moerbeek
2003-08-08Avoid scanning the input file twice.Otto Moerbeek
2003-08-05spacingTheo de Raadt
2003-08-05- Use mmap(2) instead of malloc(3) and read(2) to get an image of the inputOtto Moerbeek
2003-08-01- use stdbool.h instead of roll-your-own booleansOtto Moerbeek
2003-07-31Historically, patch would treat a bare -p as -p0. This contradictsTodd C. Miller
2003-07-31Unbreak relative directory handling. Tweak from millert@Otto Moerbeek
2003-07-31Print a maximum of one invalid line number warning per patch in a patch file.Otto Moerbeek
2003-07-30Add POSIX -i option; tedu@ OKTodd C. Miller
2003-07-30Make prompting POSIX-compliant. POSIX states "The patch utilityTodd C. Miller
2003-07-29o add pathnames.hTodd C. Miller
2003-07-28minor knf and cleanups; otto okTheo de Raadt
2003-07-28Don't treat consecutive slashes as path components; matches POSIXTodd C. Miller
2003-07-28More cleanup: sprinkled some const, removed ugly EXTERN/INTERN.h,Otto Moerbeek
2003-07-28Be more exact on how backup files are handled.Otto Moerbeek
2003-07-28Be more exact on how backup files are handled.Otto Moerbeek
2003-07-28Make patch(1) exit value match POSIX and be consistent with diff.Todd C. Miller
2003-07-25Add POSIX -b option but don't change the default beahvior wrt backupsTodd C. Miller
2003-07-24"options" not "switches"; jmc@ OKTodd C. Miller
2003-07-24Don't talk about ~ and # suffixes for orig and reject files since weTodd C. Miller
2003-07-24mdoc version;Jason McIntyre
2003-07-23New version of invalid line number fix. Passes patch(1) regressions.Otto Moerbeek
2003-07-22Missed this in the rejname commit.Todd C. Miller
2003-07-22Make rejname[] static to patch.c and crank its size to NAME_MAX+1Todd C. Miller
2003-07-22Use getopt_long() to parse options instead of rolling our own.Todd C. Miller
2003-07-22just about nothingTheo de Raadt
2003-07-22nicerTheo de Raadt
2003-07-22POSIX defines allowed commands as {a,c,d,i,s} but patch was onlyTodd C. Miller
2003-07-22More cleanup.Otto Moerbeek
2003-07-21Back out invalid line number fix. It core dumps in some cases. Problem found byOtto Moerbeek
2003-07-21fix headerTheo de Raadt
2003-07-21remove a bit more junkTheo de Raadt
2003-07-21knfTheo de Raadt
2003-07-21knf and other cleanup; ok ottoTheo de Raadt
2003-07-18remove junk; ok otto teduTheo de Raadt
2003-07-17Fix merge error.Otto Moerbeek
2003-07-16Teach patch how to deal with \ No newline at end of file.Otto Moerbeek
2003-07-16Do not produce garbage if the patch file contains invalid line numbers.Otto Moerbeek
2003-07-02bump randomness of mktemp to from 6 to 10 X's, as recommended by mktemp(3)Anil Madhavapeddy
2003-04-08oh, and the false protos can goTheo de Raadt
2003-04-08Strcat and Strcpy are no longer usedTheo de Raadt
2003-04-08strcpy trashing, help from tedu; ok teduTheo de Raadt
2003-04-06another asprintf() simplifies things furtherTodd C. Miller