diff --git a/ChangeLog b/ChangeLog index 606e4b83f..d5fe434da 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2003-09-04 18:41 Alexander Malmberg + + * Headers/Foundation/NSDistributedLock.h: Change return type of + -initWithPath: to id. + 2003-09-02 Adam Fedor * configure.ac: Check for tzset diff --git a/Headers/Foundation/NSDistributedLock.h b/Headers/Foundation/NSDistributedLock.h index 1959be037..3400ae7a1 100644 --- a/Headers/Foundation/NSDistributedLock.h +++ b/Headers/Foundation/NSDistributedLock.h @@ -35,7 +35,7 @@ } + (NSDistributedLock*) lockWithPath: (NSString*)aPath; -- (NSDistributedLock*) initWithPath: (NSString*)aPath; +- (id) initWithPath: (NSString*)aPath; - (void) breakLock; - (NSDate*) lockDate; diff --git a/Source/NSDistributedLock.m b/Source/NSDistributedLock.m index c5d0a62c9..f74b8e5e3 100644 --- a/Source/NSDistributedLock.m +++ b/Source/NSDistributedLock.m @@ -99,7 +99,7 @@ static NSFileManager *mgr = nil; * The directory in which the last path component resides must already * exist ... create it using NSFileManager if you need to. */ -- (NSDistributedLock*) initWithPath: (NSString*)aPath +- (id) initWithPath: (NSString*)aPath { NSString *lockDir; BOOL isDirectory;