diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2009-10-30 11:26:41 +0300 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2009-10-30 11:26:41 +0300 |
commit | dc3d6d9093d3cab0a412b7e5694d3a8fcd116d5c (patch) | |
tree | d3030b153e8a7d833aa134cebc74e46d6d0f28b5 /winsup/cygwin/smallprint.cc | |
parent | c16cd856651c5d8fde6bfad41de6f24acd811e46 (diff) |
* libc/stdio/fflush.c (_fflush_r): Store old errno to check for
low-level seek error condition. Restore old errno in case of
success. Don't use new position after seek as error condition,
rather check for return value of -1 and errno. Handle EINVAL
just like ESPIPE. Only set fp->_offset if errno is 0.
Diffstat (limited to 'winsup/cygwin/smallprint.cc')
0 files changed, 0 insertions, 0 deletions