From 5fa5c4bde8b9ab75fa0ed37ee2fafca3fd46288a Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Tue, 23 Jun 2020 21:28:19 +0200 Subject: randomconfig fixes Signed-off-by: Denys Vlasenko --- editors/patch.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'editors/patch.c') 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++; -- cgit v1.2.3