[m-rev.] diff: Fix error creating temporary archive with --restricted-command-line.

Paul Bone paul at bone.id.au
Fri Oct 7 15:33:25 AEDT 2016


On Fri, Oct 07, 2016 at 03:28:47PM +1100, Peter Wang wrote:
> With `--restricted-command-line' we generate a temporary archive file
> name with `io.make_temp_file' then run `ar' to create the archive.
> `ar' sees that the archive file already exists (it is empty), tries to
> detect its format, and fails.  The solution is to delete the temporary
> file before calling `ar'.  Fixes Mantis bug #424.

I think this was different from the problem we both expected to find.
Thanks for looking into this, sorry I was ill.


-- 
Paul Bone
http://paul.bone.id.au


More information about the reviews mailing list