bug-wget
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-wget] Discussion for [PATCH] Removing WARC issue in Win32


From: Bykov Aleksey
Subject: [Bug-wget] Discussion for [PATCH] Removing WARC issue in Win32
Date: Wed, 22 May 2013 20:48:46 +0300
User-agent: Opera Mail/12.14 (Win32)

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

[Prev in Thread] Current Thread [Next in Thread]