|
From: | Larry Campbell |
Subject: | [bug #38450] -[NSFileManager contentsEqualAtPath:andPath:] gives incorrect results for directories |
Date: | Fri, 01 Mar 2013 15:45:58 +0000 |
User-agent: | Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_7_5; en-US) AppleWebKit/533.21.1+(KHTML, like Gecko, Safari/533.19.4) Version/5.11.1 OmniWeb/622.18.0 |
Follow-up Comment #1, bug #38450 (project gnustep): The fix is simple: *** NSFileManager.m.orig Fri Mar 1 10:37:53 2013 --- NSFileManager.m Fri Mar 1 10:39:28 2013 *************** *** 677,683 **** { ok = NO; } ! else if ([t isEqual: NSFileTypeDirectory]) { ok = [self contentsEqualAtPath: p1 andPath: p2]; } --- 677,683 ---- { ok = NO; } ! else if ([t isEqual: NSFileTypeDirectory] || [t isEqual: NSFileTypeRegular]) { ok = [self contentsEqualAtPath: p1 andPath: p2]; } _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?38450> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |