mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 00:41:02 +00:00
Minor debug improvment
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@22370 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
b016fae97a
commit
bf46c0c5e3
2 changed files with 18 additions and 0 deletions
|
@ -1,3 +1,7 @@
|
|||
2006-01-27 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* Source/NSDistributedLock.m: ([description]) implemented
|
||||
|
||||
2006-01-20 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* Source/NSAutoreleasePool.m: ([addObject:]) fix error in check for
|
||||
|
|
|
@ -96,6 +96,20 @@ static NSFileManager *mgr = nil;
|
|||
[super dealloc];
|
||||
}
|
||||
|
||||
- (NSString*) description
|
||||
{
|
||||
if (_lockTime == nil)
|
||||
{
|
||||
return [[super description] stringByAppendingFormat:
|
||||
@" path '%@' not locked", _lockPath];
|
||||
}
|
||||
else
|
||||
{
|
||||
return [[super description] stringByAppendingFormat:
|
||||
@" path '%@' locked at %@", _lockPath, _lockTime];
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Initialises the receiver with the specified filesystem path.<br />
|
||||
* The location in the filesystem must be accessible for this
|
||||
|
|
Loading…
Reference in a new issue