summaryrefslogtreecommitdiff
path: root/usr.bin/patch/patch.c
AgeCommit message (Expand)Author
2021-02-26Pull up following revision(s) (requested by nia in ticket #1215):martin
2011-09-06Consistently use __dead and __printflike.joerg
2011-03-26Exit with EXIT_FAILURE for invalid arguments. PR 43517.dholland
2008-09-19Update patch to the version used by DragonFly and derived from OpenBSD.joerg
2008-08-10Add error checking to use of fputs in creating output file ingdt
2007-10-14Convert to using raise_default_signal(3).lukem
2005-03-25Sort options. Add -C to usage.wiz
2005-03-25add --dry-run like gnu patch.skd
2004-12-09Fix an array overrun in option parsing.mycroft
2004-08-14Remove debug printf (hi mycroft!).cube
2004-08-06Parse multiple options that are specified together; e.g. "-fs".mycroft
2003-07-30use bounded string opitojun
2003-07-08Const poisoning.kristerw
2003-05-30Fix some lint warnings.kristerw
2003-05-30Remove stuff that are not needed any longer.kristerw
2003-05-30Simplify handling of memory allocation, and make sure all return valueskristerw
2003-05-29Be consistent with use of types (e.g. do not use LINENUM for quantitieskristerw
2003-01-19Do not try to write a rejects file for those cases where the user haskristerw
2002-03-16Check result of malloc and strdupkristerw
2002-03-11Ansifykristerw
2002-03-08Ansifykristerw
2002-03-06License change; patch.c now has a BSD license.ragge
2000-10-16Support the 1003.2-92 -i option to specify a patchfile;kleink
1998-11-06char -> unsigned charchristos
1998-02-22WARNSifychristos
1997-03-22use mkstemp() instead of mktemp() to create the tempfilelukem
1996-09-19RCS id police.thorpej
1996-09-19Decode long (GNU-style) options. Changes originally from Niklas Hallqvist,thorpej
1993-08-02Add RCS identifiers, remove some completely useless RCS logs and patchkitmycroft
1993-04-09patch 2.0.12u8, from prep.ai.mit.edu. this is not under the GPL.cgd