randomconfig fixes

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko
2020-06-23 21:28:19 +02:00
parent d206b1651a
commit 5fa5c4bde8
6 changed files with 31 additions and 6 deletions

View File

@ -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++;