Revision: 7819
http://skim-app.svn.sourceforge.net/skim-app/?rev=7819&view=rev
Author: hofman
Date: 2012-12-09 12:36:50 +0000 (Sun, 09 Dec 2012)
Log Message:
-----------
assign local variable only once when removing all attributes
Modified Paths:
--------------
trunk/SkimNotes/SKNExtendedAttributeManager.m
Modified: trunk/SkimNotes/SKNExtendedAttributeManager.m
===================================================================
--- trunk/SkimNotes/SKNExtendedAttributeManager.m 2012-12-08 22:59:13 UTC
(rev 7818)
+++ trunk/SkimNotes/SKNExtendedAttributeManager.m 2012-12-09 12:36:50 UTC
(rev 7819)
@@ -462,7 +462,7 @@
if (nil == allAttributes)
return NO;
- const char *fsPath;
+ const char *fsPath = [path fileSystemRepresentation];
ssize_t status;
int xopts;
@@ -475,7 +475,6 @@
NSString *attrName;
while ((attrName = [e nextObject])) {
- fsPath = [path fileSystemRepresentation];
status = removexattr(fsPath, [attrName UTF8String], xopts);
// return NO as soon as any single removal fails
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit