summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/patch/patch.c
diff options
context:
space:
mode:
authorJohn-Mark Gurney <jmg@FreeBSD.org>1997-02-13 21:10:45 +0000
committerJohn-Mark Gurney <jmg@FreeBSD.org>1997-02-13 21:10:45 +0000
commit53e3a4a22cdb458ffd1ccfb09c68ab248afb7e30 (patch)
tree3913a51d4c09be4a013b66307b63291d4e50768a /gnu/usr.bin/patch/patch.c
parent39191c8eb86b3eef96a047a6b4a08cd472490d28 (diff)
Notes
Diffstat (limited to 'gnu/usr.bin/patch/patch.c')
-rw-r--r--gnu/usr.bin/patch/patch.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/gnu/usr.bin/patch/patch.c b/gnu/usr.bin/patch/patch.c
index b03d065af555..2329ec8fb4a9 100644
--- a/gnu/usr.bin/patch/patch.c
+++ b/gnu/usr.bin/patch/patch.c
@@ -1,5 +1,5 @@
char rcsid[] =
- "$Header: /home/ncvs/src/gnu/usr.bin/patch/patch.c,v 1.5 1995/01/12 22:09:40 hsu Exp $";
+ "$Header: /usr/cvs/src/gnu/usr.bin/patch/patch.c,v 1.6 1995/05/30 05:02:34 rgrimes Exp $";
/* patch - a program to apply diffs to original files
*
@@ -9,6 +9,9 @@ char rcsid[] =
* money off of it, or pretend that you wrote it.
*
* $Log: patch.c,v $
+ * Revision 1.6 1995/05/30 05:02:34 rgrimes
+ * Remove trailing whitespace.
+ *
* Revision 1.5 1995/01/12 22:09:40 hsu
* Fix bug that created new files even when running in -C check mode.
* Reviewed by: phk
@@ -296,12 +299,12 @@ char **argv;
reverse ? "Assuming" : "Ignoring");
}
else {
- ask3(
+ (void) ask3(
"%seversed (or previously applied) patch detected! %s -R? [y] ",
reverse ? "R" : "Unr",
reverse ? "Assume" : "Ignore");
if (*buf == 'n') {
- ask1("Apply anyway? [n] ");
+ (void) ask1("Apply anyway? [n] ");
if (*buf == 'y')
rev_okayed = TRUE;
else