summaryrefslogtreecommitdiffstats
path: root/newlib/libc/sys/linux/linuxthreads/pthread.c
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2009-10-30 08:26:41 +0000
committerCorinna Vinschen <corinna@vinschen.de>2009-10-30 08:26:41 +0000
commitdc3d6d9093d3cab0a412b7e5694d3a8fcd116d5c (patch)
treed3030b153e8a7d833aa134cebc74e46d6d0f28b5 /newlib/libc/sys/linux/linuxthreads/pthread.c
parentc16cd856651c5d8fde6bfad41de6f24acd811e46 (diff)
downloadcygnal-dc3d6d9093d3cab0a412b7e5694d3a8fcd116d5c.tar.gz
cygnal-dc3d6d9093d3cab0a412b7e5694d3a8fcd116d5c.tar.bz2
cygnal-dc3d6d9093d3cab0a412b7e5694d3a8fcd116d5c.zip
* 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 'newlib/libc/sys/linux/linuxthreads/pthread.c')
0 files changed, 0 insertions, 0 deletions