summaryrefslogtreecommitdiff
path: root/usr.bin/patch
AgeCommit message (Expand)Author
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
2009-04-05If no patch can be found in input, in addition to complaining on stderr,Stefan Sperling
2009-02-08updates to IEEE Std 1003.1-2008;Jason McIntyre
2009-02-08bump the posix reference in STANDARDS to IEEE Std 1003.1-2008, with a fewJason McIntyre
2008-10-19over-rule -> overrule; from Thomas PfaffJason McIntyre
2008-08-20The code to detect multiple applied diffs to empty files I introduced 4Otto Moerbeek
2008-06-06update the description of -b and STANDARDS; suggested by grunkJason McIntyre
2008-01-11providing MLINKS for shell builtins makes little sense: what we had was outJason McIntyre
2007-09-02use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsgTheo de Raadt
2007-05-31convert to new .Dd format;Jason McIntyre
2007-05-31- note some apps which are xpg4, not posixJason McIntyre
2007-04-18adds a detailed synopsis to the man page; sorts options inIgor Sobrado
2006-03-11type police and assorted cleanup. From Lionel Fourquaux; ok ray@Otto Moerbeek
2005-11-14constuct -> constructMiod Vallat
2005-06-20umask juggling not needed; with Lionel Fourquaux.Otto Moerbeek
2005-05-16Do not call out mkdir -p, but reuse the code from mkdir(1).Marc Espie
2004-11-19Write reject file in unified format if the original diff was inOtto Moerbeek
2004-11-19Allow for path names containing spaces and other funny chars (exceptOtto Moerbeek
2004-09-14remove unused variableTheo de Raadt
2004-08-05spacingTheo de Raadt
2004-07-09Properly detect if a patch already has been applied, even if thereOtto Moerbeek
2004-06-18Unbreak handling of standard diffs (which have an empty context).Otto Moerbeek
2004-06-14Teach patch(1) to detect if a diff creating a file (or one addingOtto Moerbeek
2004-01-28Fix a segv when patch cannot find a file and the user indicatesOtto Moerbeek
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