Implement -E (ending-file) option.

This commit is contained in:
junio
1997-12-04 07:07:11 +00:00
parent d1f1e3a189
commit 4559fdbfb1

View File

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