commit | 370c309d8fc0ad9c919e2689c283ef618d7b5754 | [log] [tgz] |
---|---|---|
author | H. Peter Anvin <hpa@linux.intel.com> | Sat May 12 15:22:06 2012 -0700 |
committer | H. Peter Anvin <hpa@linux.intel.com> | Sat May 12 15:22:06 2012 -0700 |
tree | c844d9feba273dc4596a0e5a74c4ba38959f4256 | |
parent | d474cafc40ae5030873ed4d51a62d91146edd0c2 [diff] |
[klibc] Fix the zapping of unused input on output operation It is not supposed to happen, but if we are to discard any buffered input on output operations, at least do it correctly. This is functionally equivalent to fseek(..., 0, SEEK_CUR); so implement it that way. Signed-off-by: H. Peter Anvin <hpa@zytor.com>