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-5fa5c4bde8b9ab75fa0ed37ee2fafca3fd46288a.tar.gz
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)
if (!plist && matcheof) break;
if (backwarn)
- fdprintf(2,"Possibly reversed hunk %d at %ld\n",
+ fdprintf(2, "Possibly reversed hunk %d at %ld\n",
TT.hunknum, TT.linenum);
// File ended before we found a place for this hunk.
@@ -593,6 +593,7 @@ int patch_main(int argc UNUSED_PARAM, char **argv)
TT.linenum = 0;
TT.hunknum = 0;
}
+ fflush_all(); // make "patching file F" visible
}
TT.hunknum++;