From 4559fdbfb1901845087b54a31fe7ba53fa9d661a Mon Sep 17 00:00:00 2001 From: junio Date: Thu, 4 Dec 1997 07:07:11 +0000 Subject: [PATCH] Implement -E (ending-file) option. --- src/buffer.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/buffer.c b/src/buffer.c index 528faa5..72c299e 100644 --- a/src/buffer.c +++ b/src/buffer.c @@ -1375,7 +1375,8 @@ close_archive (void) might become clever enough to just stop working, once there is no more work to do, we might have to revise this area in such time. */ - if (access_mode == ACCESS_READ && S_ISFIFO (archive_stat.st_mode)) + if (access_mode == ACCESS_READ && S_ISFIFO (archive_stat.st_mode) && + !ending_file_option) while (rmtread (archive, record_start->buffer, record_size) > 0) continue; #endif -- 2.44.0