diff options
Diffstat (limited to 'editors')
-rw-r--r-- | editors/patch.c | 3 |
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++; |