summaryrefslogtreecommitdiffstats
path: root/usr.bin/patch/common.h
diff options
context:
space:
mode:
authorotto <otto@openbsd.org>2003-07-31 14:10:21 +0000
committerotto <otto@openbsd.org>2003-07-31 14:10:21 +0000
commitda07b79cbcb45d76e5e978e961d2d6fe2407abe5 (patch)
treee5ada01303c0ec5729231b74e31b8bc84a480d28 /usr.bin/patch/common.h
parentWe no longer use GNU diffutils; don't tell rcs we do... (diff)
downloadwireguard-openbsd-da07b79cbcb45d76e5e978e961d2d6fe2407abe5.tar.xz
wireguard-openbsd-da07b79cbcb45d76e5e978e961d2d6fe2407abe5.zip
Print a maximum of one invalid line number warning per patch in a patch file.
Thanks to espie@ for spotting the problem. ok millert@ henning@ espie@
Diffstat (limited to 'usr.bin/patch/common.h')
-rw-r--r--usr.bin/patch/common.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/patch/common.h b/usr.bin/patch/common.h
index 00863b57b6e..0de1fc67a08 100644
--- a/usr.bin/patch/common.h
+++ b/usr.bin/patch/common.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: common.h,v 1.20 2003/07/28 19:15:34 deraadt Exp $ */
+/* $OpenBSD: common.h,v 1.21 2003/07/31 14:10:21 otto Exp $ */
#define DEBUGGING
@@ -72,6 +72,7 @@ extern int strippath;
extern bool canonicalize;
/* TRUE if -C was specified on command line. */
extern bool check_only;
+extern bool warn_on_invalid_line;
#define CONTEXT_DIFF 1