([StdioStream -readBytes:length:]): Don't assert that we get as many

bytes as we asked for.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1620 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Andrew McCallum 1996-05-31 17:34:17 +00:00
parent eb65ab3506
commit 445444b81f

View file

@ -149,6 +149,7 @@ o_vscanf (void *stream,
{
/* xxx Check error conditions. */
int ret = fread (b, 1, len, fp);
#if 0 /* No. Sometimes we don't get as much as we asked for, and that ok. */
if (ret != len)
{
printf ("Read bytes differ.\n");
@ -157,6 +158,7 @@ o_vscanf (void *stream,
format: @"Tried to read from eof"];
}
assert (ret == len);
#endif
return ret;
}