]> Dogcows Code - chaz/tar/commitdiff
Implement -E (ending-file) option.
authorjunio <junio>
Thu, 4 Dec 1997 07:07:11 +0000 (07:07 +0000)
committerjunio <junio>
Thu, 4 Dec 1997 07:07:11 +0000 (07:07 +0000)
src/buffer.c

index 528faa5928564322eacaea7a46fcb894e10b9541..72c299ed6bd21e1535cf916b3aa3c69c4a2b3324 100644 (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
This page took 0.024881 seconds and 4 git commands to generate.