On Sat, 17 Aug 2013, Morten Welinder wrote:
I'm not 100% clear on what you are trying to achieve...
Basically (though there's more to it than this) to re-implement "unzip" as a libgsf program.
but there are several ways you can approach this: 1. You don't have to get the "outfile" from gsf_outfile_new_child_full. If, for a specific zip file member, you wanted to do something else, then gsf_outfile_stdio_new will give you a perfectly fine GsfOutfile.
Thanks, I'm working in that direction. But since gsf_outfile_stdio_new creates a directory one also needs gsf_output_stdio_new for plain files at the top level of a zip archive.
or 2. You can fix gsf_outfile_stdio_new_valist to ignore EEXISTS. That way "." will become allowed.
It would be nice if there were a switch for that in the API. Allin Cottrell _______________________________________________ gnumeric-list mailing list [email protected] https://mail.gnome.org/mailman/listinfo/gnumeric-list
