Peter Colberg <[EMAIL PROTECTED]> writes:
> + system_redirect_io("gunzip", "$tempdir/$subdir/$list.diff/$file.gz",
> "$tempdir/$subdir/$list.diff/$file");
> + system("patch --ed $tempdir/$subdir/$list
> $tempdir/$subdir/$list.diff/$file");
> + unlink("$tempdir/$subdir/$list.diff/$file");
Any objections to
system("gunzip < "$tempdir/$subdir/$list.diff/$file.gz" | patch --ed
$tempdir/$subdir/$list");
It won't detect a gunzip failure properly but
1) that should never happen
2) the SHA1/md5sum of the Index file will not match and the full file
will be fetched to correct the problem
So no harm done.
MfG
Goswin
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]