Revision: 27972
http://sourceforge.net/p/bibdesk/svn/27972
Author: hofman
Date: 2022-09-30 16:15:20 +0000 (Fri, 30 Sep 2022)
Log Message:
-----------
indicate empty server info file in name
Modified Paths:
--------------
trunk/bibdesk/BDSKSearchGroupServerManager.m
Modified: trunk/bibdesk/BDSKSearchGroupServerManager.m
===================================================================
--- trunk/bibdesk/BDSKSearchGroupServerManager.m 2022-09-30 16:09:03 UTC
(rev 27971)
+++ trunk/bibdesk/BDSKSearchGroupServerManager.m 2022-09-30 16:15:20 UTC
(rev 27972)
@@ -174,7 +174,7 @@
NSString *path = [searchGroupServerFiles objectForKey:[serverInfo
name]];
if (path)
[[NSFileManager defaultManager] removeItemAtPath:path error:NULL];
- path = [serversPath stringByAppendingPathComponent:[NSString
stringWithFormat:@"%@-%@.bdsksearch", [serverInfo name], [serverInfo type]]];
+ path = [serversPath stringByAppendingPathComponent:[NSString
stringWithFormat:@"%@-%@.bdsksearch", [serverInfo name], suppression ?
@"removed" : [serverInfo type]]];
[data writeToFile:path atomically:YES];
[searchGroupServerFiles setObject:path forKey:[serverInfo name]];
}
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
_______________________________________________
Bibdesk-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bibdesk-commit