commit | 0ba9a8316ad201053e32dbdbbd68da5edfe5230d | [log] [tgz] |
---|---|---|
author | H. Peter Anvin <hpa@linux.intel.com> | Sat May 12 15:26:35 2012 -0700 |
committer | H. Peter Anvin <hpa@linux.intel.com> | Sat May 12 15:26:35 2012 -0700 |
tree | 02b3f8fd6e92edb96bfbb147dd61509bcd66c9f1 | |
parent | 370c309d8fc0ad9c919e2689c283ef618d7b5754 [diff] |
[klibc] stdio: fix the handling of the eof and error flags on fseek For fseek, a successful seek clears the eof flag; a failed seek sets the error flag. This means we don't need to clear the eof flag in rewind(). Signed-off-by: H. Peter Anvin <hpa@zytor.com>