Mailinglist Archive: opensuse-bugs (13483 mails)
| < Previous | Next > |
[Bug 307098] zypper request flood
- From: bugzilla_noreply@xxxxxxxxxx
- Date: Mon, 1 Oct 2007 08:08:29 -0600 (MDT)
- Message-id: <20071001140829.61C06CC7AC@xxxxxxxxxxxxxxxxxxxxxx>
https://bugzilla.novell.com/show_bug.cgi?id=307098#c22
--- Comment #22 from Ján Kupec <jkupec@xxxxxxxxxx> 2007-10-01 08:08:28 MST ---
(In reply to comment #20 from Michal Marek)
It seems it is at last - the tmp file is 0 lenght if not modified and thus the
target is overwritten with an empty file on copy.
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
--- Comment #22 from Ján Kupec <jkupec@xxxxxxxxxx> 2007-10-01 08:08:28 MST ---
(In reply to comment #20 from Michal Marek)
(In reply to comment #19 from Michal Marek)
Right, just one note in case it's not obvious: If you're going to use this
feature, you need to defer opening of the local file to the first call of
the
CURLOPT_WRITEFUNCTION callback, otherwise you'd truncate it.
Actually libzypp downloads to a tmp file, which is then moved to the target
destination, so this is not an issue.
It seems it is at last - the tmp file is 0 lenght if not modified and thus the
target is overwritten with an empty file on copy.
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
| < Previous | Next > |