([NSGMutableData -setLength:]): Reset eofPosition

to size.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@512 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Andrew McCallum 1995-08-02 15:40:55 +00:00
parent 829722ea98
commit 4f3c94e46c

View file

@ -127,6 +127,7 @@
- (void) setLength: (unsigned int)length - (void) setLength: (unsigned int)length
{ {
[self setStreamBufferCapacity:length]; [self setStreamBufferCapacity:length];
eofPosition = size;
} }
- (void*) mutableBytes - (void*) mutableBytes