Revision: 5927
http://skim-app.svn.sourceforge.net/skim-app/?rev=5927&view=rev
Author: hofman
Date: 2009-10-21 17:29:55 +0000 (Wed, 21 Oct 2009)
Log Message:
-----------
only remove downloaded appcast when the filename was set
Modified Paths:
--------------
trunk/vendorsrc/andymatuschak/Sparkle/SUAppcast.m
Modified: trunk/vendorsrc/andymatuschak/Sparkle/SUAppcast.m
===================================================================
--- trunk/vendorsrc/andymatuschak/Sparkle/SUAppcast.m 2009-10-21 17:18:40 UTC
(rev 5926)
+++ trunk/vendorsrc/andymatuschak/Sparkle/SUAppcast.m 2009-10-21 17:29:55 UTC
(rev 5927)
@@ -177,7 +177,8 @@
{
CFRelease(download);
- [[NSFileManager defaultManager] removeFileAtPath:downloadFilename
handler:nil];
+ if (downloadFilename)
+ [[NSFileManager defaultManager] removeFileAtPath:downloadFilename
handler:nil];
[downloadFilename release];
downloadFilename = nil;
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit