summaryrefslogtreecommitdiff
path: root/usr.bin/patch/inp.c
AgeCommit message (Expand)Author
2023-06-16Fix memory leakwiz
2023-06-16Remove trailing whitespace.wiz
2021-05-26correct indentation. spotted by Roland.cjep
2021-05-25As per OpenBSD, use malloc for the line buffer. Fixes the known issuecjep
2018-06-18Keep things portable (requested by joerg) by not depending on reallocarrchristos
2018-06-16PR/53368: Thomas Barabosch: Potential integer overflow in usr.bin/patch/inp.cchristos
2015-07-24From Martin Natano @bitrig: Use execve(2) instead of system to apply patcheschristos
2009-10-21Do not try to mmap a zero length file.joerg
2009-06-05Explicitly include fcntl.h for O_CREAT to not depend on namespacejoerg
2009-04-18Attempt to fix previous to address a coredump.lukem
2009-04-13Fix sign-compare issuelukem
2008-09-19Update patch to the version used by DragonFly and derived from OpenBSD.joerg
2006-04-09It is silly to creat() and close a file just to stat it. open/fstat/closechristos
2003-07-30use bounded string opitojun
2003-07-12pedantic check around unsafe strncpy.itojun
2003-07-12copyright missing in files, copy them from READMEitojun
2003-07-08Const poisoning.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
2002-03-16Check result of malloc and strdupkristerw
2002-03-11KNFkristerw
2002-03-11Ansifykristerw
2002-03-08Ansifykristerw
1999-02-09Fix PR2429: catch doubly-applied patches which create new files.sommerfe
1998-11-06char -> unsigned charchristos
1998-02-22WARNSifychristos
1996-09-19RCS id police.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