/* Buffer management for tar.
- Copyright (C) 1988, 1992 Free Software Foundation
+ Copyright (C) 1988, 1992, 1993 Free Software Foundation
This file is part of GNU Tar.
{
int pipe[2];
int err = 0;
- int nar;
int kidpipe[2];
int kidchildpid;
sprintf (ar_block->header.arch_name, "%s Volume 1", f_volhdr);
else
strcpy (ar_block->header.arch_name, f_volhdr);
+ current_file_name = ar_block->header.arch_name;
ar_block->header.linkflag = LF_VOLHDR;
to_oct (time (0), 1 + 12, ar_block->header.mtime);
finish_header (ar_block);
if (WEXITSTATUS (status) == (SIGPIPE + 128))
{
/*
- * /bin/sh returns this if its child
- * dies with SIGPIPE. 'Sok.
- */
- break;
+ * /bin/sh returns this if its child
+ * dies with SIGPIPE. 'Sok.
+ */
+ /* Do nothing. */
}
else if (WEXITSTATUS (status))
msg ("child returned status %d",
#endif
/* Called to initialize the global volume number. */
-int
+void
init_volume_number ()
{
FILE *vf;
}
/* Called to write out the closing global volume number. */
-int
+void
closeout_volume_number ()
{
FILE *vf;