Subject: Re: bin/20645: tar creation with "z" or "Z" option may delay in writing
To: None <email@example.com>
From: David Laight <firstname.lastname@example.org>
Date: 03/10/2003 09:29:32
> >Synopsis: tar creation with "z" or "Z" option may delay in writing
> I think the reason might be that the parent pax as ustar process dose not
> wait enough for the execlp'ed child gzip/compress process to finish writing
> to the archive.
How about making 'tar' the child process and exec'ing gzip in the parent?
All you then need to do in ensure that the tar process exits if the
compresser aborts (SIGPIPE should do this).
David Laight: email@example.com