summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
4548a3e)
removed in the big stdio cleanup. Its need is shown by reducing
the message buffer size to 2048.
j = bp - sp;
if ((cnt -= j) <= 0) {
j = bp - sp;
if ((cnt -= j) <= 0) {
- /* Used to explicitly force refill of the buffer
- here, but Getc() will do that if necessary. */
+ /* Next to force refill of the buffer here. */
+ m.readpos = m.end;
if (Getc (iob) == EOF) {
*cp = *buf = 0;
advise (NULL, "eof encountered in field \"%s\"", name);
if (Getc (iob) == EOF) {
*cp = *buf = 0;
advise (NULL, "eof encountered in field \"%s\"", name);