summaryrefslogtreecommitdiffstats
path: root/gnu/usr.bin/patch/pch.c
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1994-02-17 22:16:05 +0000
committerjkh <jkh@FreeBSD.org>1994-02-17 22:16:05 +0000
commit98554d2175a4ee6cf8aaf7b97671e47d05903797 (patch)
tree970a443b301639e7a1278a3fcf23ad5b55c0e657 /gnu/usr.bin/patch/pch.c
parent6f335eef9c451b24fe3d59f9d883e95b4daee558 (diff)
downloadFreeBSD-src-98554d2175a4ee6cf8aaf7b97671e47d05903797.zip
FreeBSD-src-98554d2175a4ee6cf8aaf7b97671e47d05903797.tar.gz
From Poul-Henning Kamp - Implement a -C option to verify the integrity of
a patch before actually applying it.
Diffstat (limited to 'gnu/usr.bin/patch/pch.c')
-rw-r--r--gnu/usr.bin/patch/pch.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/gnu/usr.bin/patch/pch.c b/gnu/usr.bin/patch/pch.c
index 6b7d77d..343739d 100644
--- a/gnu/usr.bin/patch/pch.c
+++ b/gnu/usr.bin/patch/pch.c
@@ -1,6 +1,9 @@
-/* $Header: pch.c,v 2.0.1.7 88/06/03 15:13:28 lwall Locked $
+/* $Header: /home/cvs/386BSD/src/gnu/usr.bin/patch/pch.c,v 1.1.1.1 1993/06/19 14:21:52 paul Exp $
+ *
+ * $Log: pch.c,v $
+ * Revision 1.1.1.1 1993/06/19 14:21:52 paul
+ * b-maked patch-2.10
*
- * $Log: pch.c,v $
* Revision 2.0.2.0 90/05/01 22:17:51 davison
* patch12u: unidiff support added
*
@@ -177,6 +180,7 @@ there_is_another_patch()
if (force || batch) {
say1("No file to patch. Skipping...\n");
filearg[0] = savestr(bestguess);
+ skip_rest_of_patch = TRUE;
return TRUE;
}
ask1("File to patch: ");
OpenPOWER on IntegriCloud