On 13 Apr 2007, at 02:21, Vaisburd, Haim wrote:

Hi,

While working on my byte stream functions and trying to base them on
NSFileHandle instead of NSStreams I discovered a strange feature of
[NSFileHandle -readDataOfLength:] implementation in GNUstep.

I was trying to determine whether this method blocks until it reads
the requested number of bytes or it blocks only until anything is
available,
then it returns what's avaiable up to the length (i.e. normal read()
semantics).

Thanks ... you spotted a bug ... this method should block until it reads the specified amount of data (or eof).
This should be fixed in subversion now.


_______________________________________________
Bug-gnustep mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/bug-gnustep

Reply via email to