Revision: 5467
          http://skim-app.svn.sourceforge.net/skim-app/?rev=5467&view=rev
Author:   hofman
Date:     2009-07-05 09:02:04 +0000 (Sun, 05 Jul 2009)

Log Message:
-----------
do some stuff outside the @synchronize

Modified Paths:
--------------
    trunk/SKPDFSynchronizerServer.m

Modified: trunk/SKPDFSynchronizerServer.m
===================================================================
--- trunk/SKPDFSynchronizerServer.m     2009-07-05 08:47:53 UTC (rev 5466)
+++ trunk/SKPDFSynchronizerServer.m     2009-07-05 09:02:04 UTC (rev 5467)
@@ -211,9 +211,9 @@
 }
 
 - (void)setFileName:(NSString *)newFileName {
+    // we compare filenames in canonical form throughout, so we need to make 
sure fileName also is in canonical form
+    newFileName = [[newFileName stringByResolvingSymlinksInPath] 
stringByStandardizingPath];
     @synchronized(self) {
-        // we compare filenames in canonical form throughout, so we need to 
make sure fileName also is in canonical form
-        newFileName = [[newFileName stringByResolvingSymlinksInPath] 
stringByStandardizingPath];
         if (fileName != newFileName) {
             if ([fileName isEqualToString:newFileName] == NO) {
                 [syncFileName release];


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to