aboutsummaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2020-06-23 21:28:19 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2020-06-23 21:28:19 +0200
commit5fa5c4bde8b9ab75fa0ed37ee2fafca3fd46288a (patch)
treede564d978ea2bbf5484f71ea3f181cb4b0a7f541 /editors
parentd206b1651ac4dc4db1d9bbd172a81da0568b42e8 (diff)
downloadbusybox-w32-5fa5c4bde8b9ab75fa0ed37ee2fafca3fd46288a.tar.gz
busybox-w32-5fa5c4bde8b9ab75fa0ed37ee2fafca3fd46288a.tar.bz2
busybox-w32-5fa5c4bde8b9ab75fa0ed37ee2fafca3fd46288a.zip
randomconfig fixes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'editors')
-rw-r--r--editors/patch.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/editors/patch.c b/editors/patch.c
index 0ce0210fd..aaa253591 100644
--- a/editors/patch.c
+++ b/editors/patch.c
@@ -264,7 +264,7 @@ static int apply_one_hunk(void)
264 if (!plist && matcheof) break; 264 if (!plist && matcheof) break;
265 265
266 if (backwarn) 266 if (backwarn)
267 fdprintf(2,"Possibly reversed hunk %d at %ld\n", 267 fdprintf(2, "Possibly reversed hunk %d at %ld\n",
268 TT.hunknum, TT.linenum); 268 TT.hunknum, TT.linenum);
269 269
270 // File ended before we found a place for this hunk. 270 // File ended before we found a place for this hunk.
@@ -593,6 +593,7 @@ int patch_main(int argc UNUSED_PARAM, char **argv)
593 TT.linenum = 0; 593 TT.linenum = 0;
594 TT.hunknum = 0; 594 TT.hunknum = 0;
595 } 595 }
596 fflush_all(); // make "patching file F" visible
596 } 597 }
597 598
598 TT.hunknum++; 599 TT.hunknum++;