Greetings all.

Please leave Your's suggestion, commentaries or anything other about this
variant of patch to SUBJ.

* Solves - if try to create WARC file in Win32, then Wget fail with message "Could not open temporary WARC file". Some discussion at http://lists.gnu.org/archive/html/bug-wget/2013-03/msg00024.html thread.
* Application range - mostly Win32 system
* Description and backgrounding - standard in *nix system practice for temporary files of unlinking with open handle (to remove it immediately after close) isn't work in Win32. So it's need to replace. Thanks for Angel Gonzalez for guiding and help. * Principe - in systems with defined O_TEMPORARY removes unlinking and using mkostemp (filename, O_TEMPORARY) to create file (it will remove it after use). In other systems use unlinking and mkostemp (filename, 0) (full analog of previosly used mkstemp (filename))
* Testing status - looks like work.
* Possible limitation - unknown for me.

Thanks in advise
Sorry for bad English.

--
Best regars, Alex

Attachment: 0002-Removing-Could-not-open-temporary-WARC-manifest-file.patch
Description: Binary data

Reply via email to