11 Oct
2006
11 Oct
'06
8:53 a.m.
Duane Clark <dclark(a)akamail.com> writes:
Are you referring to _read() or read_i()? Those don't have an associated internal file buffer/cache (I guess because they don't have an associated file->_cnt and _ptr). Or were you referring to some other read call?
fread already does a _read() once it determines the current buffer is empty.
Yes, and on small reads what it should do is a bigger _read() to refill the buffer, instead of limiting it to the size that the app requested. -- Alexandre Julliard julliard(a)winehq.org