|
From: | Peter Schuller |
Subject: | [Duplicity-tracker] [patch #6299] re-design tempfile handling |
Date: | Sat, 01 Dec 2007 21:25:33 +0000 |
User-agent: | Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.8.1.8) Gecko/20071030 Firefox/2.0.0.8 |
Follow-up Comment #3, patch #6299 (project duplicity): Here is an updated version of the patch. The problem was that get_fileobj_duppath() was special in that it tried to create a temporary file in the archive directory (presumably in order to guarantee that a subsequent rename() works). This version of the patch retains this functionality (eliminating a cross-filesystem move if archivedir is on different fs from temp dir) at the expense of some extra retained complexity. (A version without this optimization would be simpler.) (file #14531) _______________________________________________________ Additional Item Attachment: File name: duplicity_tempredesign2.patch Size:15 KB _______________________________________________________ Reply to this item at: <http://savannah.nongnu.org/patch/?6299> _______________________________________________ Message sent via/by Savannah http://savannah.nongnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |