Fix a few typos

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@14722 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-Macdonald 2002-10-11 11:30:45 +00:00
parent e942333c41
commit 0a14d34103
2 changed files with 17 additions and 8 deletions

View file

@ -118,6 +118,13 @@
environment variables.
</p>
</desc>
<term>Local Time Zone</term>
<desc>
<p>
Used to specify the name of the timezone to be used by the
<ref type="class" id="NSTimeZone">NSTimeZone</ref> class.
</p>
</desc>
<term>NSWriteOldStylePropertyLists</term>
<desc>
<p>
@ -309,20 +316,22 @@
</desc>
<term>NSDeallocateZombies</term>
<desc>
This may be used in conjunction with NSZombieEnabled to specify
whether the objects should really be deallocated. If you set
this tom YES, the zombie logging will only work until the
deallocated memory is re-used.
<p>
This may be used in conjunction with NSZombieEnabled to specify
whether the objects should really be deallocated. If you set
this to YES, the zombie logging will only work until the
deallocated memory is re-used.
</p>
</desc>
<term>NSZombieEnabled</term>
<desc>
<p>
If this is set to YES, then deallocation of an object causes
the object to be morphes into a Zombie ... a special object
the object to be morphed into a Zombie ... a special object
which will call the GNUstep specific GSLogZombie() function
to log the method call.<br />
You can set a breakpoint in this function and examine the
process memory if you are running undera debugger.<br />
process memory if you are running under a debugger.<br />
As this overrides actual object deallocation, all memory
allocated for objects will be leaked!
</p>

View file

@ -1623,7 +1623,7 @@ static BOOL snuggleStart(NSString *t)
*/
if (optr[-2] == '/' && optr[-3] != ' ')
{
unsigned len = ptr - buf;
unsigned len = optr - buf;
unichar c[len + 1];
memcpy(c, buf, (len+1)*sizeof(unichar));
@ -1634,7 +1634,7 @@ static BOOL snuggleStart(NSString *t)
}
else
{
tmp = [NSString stringWithCharacters: buf length: ptr - buf];
tmp = [NSString stringWithCharacters: buf length: optr - buf];
}
[a addObject: tmp];
}