Revision: 16037
http://sourceforge.net/p/skim-app/code/16037
Author: hofman
Date: 2026-02-05 16:57:31 +0000 (Thu, 05 Feb 2026)
Log Message:
-----------
don't bother getting mod date when we don't use it
Modified Paths:
--------------
trunk/SKPDFSynchronizer.m
Modified: trunk/SKPDFSynchronizer.m
===================================================================
--- trunk/SKPDFSynchronizer.m 2026-02-05 16:56:14 UTC (rev 16036)
+++ trunk/SKPDFSynchronizer.m 2026-02-05 16:57:31 UTC (rev 16037)
@@ -188,7 +188,8 @@
if (theSyncFileName && [[NSFileManager defaultManager]
fileExistsAtPath:theSyncFileName]) {
NSDate *modDate = nil;
- [[NSURL fileURLWithPath:theSyncFileName isDirectory:NO]
getResourceValue:&modDate forKey:NSURLAttributeModificationDateKey error:NULL];
+ if (currentModDate)
+ [[NSURL fileURLWithPath:theSyncFileName isDirectory:NO]
getResourceValue:&modDate forKey:NSURLAttributeModificationDateKey error:NULL];
if (currentModDate && [modDate compare:currentModDate] !=
NSOrderedDescending)
rv = YES;
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