summaryrefslogtreecommitdiff
path: root/usr.bin/patch/common.h
diff options
context:
space:
mode:
authorOtto Moerbeek <otto@cvs.openbsd.org>2003-07-31 14:10:22 +0000
committerOtto Moerbeek <otto@cvs.openbsd.org>2003-07-31 14:10:22 +0000
commit83c16a4e5f6e6862d561ad4a420a41a351bda93e (patch)
treef43d337397edc9d56d0bffe3ac4eff46e190f088 /usr.bin/patch/common.h
parent87cb163f1136e08c5e634db351d78c086412b239 (diff)
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