summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--usr.bin/patch/patch.c6
-rw-r--r--usr.bin/patch/pch.c4
2 files changed, 5 insertions, 5 deletions
diff --git a/usr.bin/patch/patch.c b/usr.bin/patch/patch.c
index dbd97c6a2ac..ea7ba2ee275 100644
--- a/usr.bin/patch/patch.c
+++ b/usr.bin/patch/patch.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: patch.c,v 1.52 2014/11/26 18:34:51 millert Exp $ */
+/* $OpenBSD: patch.c,v 1.53 2014/12/08 21:59:36 deraadt Exp $ */
/*
* patch - a program to apply diffs to original files
@@ -207,7 +207,7 @@ main(int argc, char *argv[])
for (open_patch_file(filearg[1]); there_is_another_patch();
reinitialize_almost_everything()) {
/* for each patch in patch file */
-
+
patch_seen = true;
warn_on_invalid_line = true;
@@ -394,7 +394,7 @@ main(int argc, char *argv[])
}
set_signals(1);
}
-
+
if (!patch_seen)
error = 2;
diff --git a/usr.bin/patch/pch.c b/usr.bin/patch/pch.c
index fa9880fa901..8a1298c80b1 100644
--- a/usr.bin/patch/pch.c
+++ b/usr.bin/patch/pch.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pch.c,v 1.47 2014/12/01 06:38:04 deraadt Exp $ */
+/* $OpenBSD: pch.c,v 1.48 2014/12/08 21:59:36 deraadt Exp $ */
/*
* patch - a program to apply diffs to original files
@@ -1580,7 +1580,7 @@ strtolinenum(char *nptr, char **endptr)
if (errstr != NULL)
fatal("invalid line number at line %ld: `%s' is %s\n",
p_input_line, nptr, errstr);
-
+
*p = c;
*endptr = p;