* lib-stream.c: fix the fread() implementation on FreeBSD 7.0.
This commit is contained in:
parent
1c4697013f
commit
9e7c992cac
@ -375,6 +375,7 @@ void NEW(rewind)(FILE *stream)
|
||||
if(newpos != pos) \
|
||||
{ \
|
||||
char *b = ptr; \
|
||||
_zz_setpos(fd, pos); \
|
||||
_zz_fuzz(fd, ptr, newpos - pos); \
|
||||
_zz_setpos(fd, newpos); \
|
||||
if(newpos >= pos + 4) \
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user