summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
4709c79)
TODO: Evaluate if fwrite should move to using an offset stored inside the FILE structure
Patch submitted by Rink Springer (complexity: trivial)
return nmemb_i;
}
//lineend = false;
return nmemb_i;
}
//lineend = false;
+ /*
+ * The entire buffer has been flushed; this means we have to
+ * reset our newline position as we have already written
+ * that part of the stream.
+ */
+ offset = 0;