Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Fitzsimmons <fitzsim@redhat.com>2002-06-24 19:59:38 +0400
committerThomas Fitzsimmons <fitzsim@redhat.com>2002-06-24 19:59:38 +0400
commit30a0616840400f31a2aba9acad3928dfcc641d95 (patch)
tree477e6b99fc66d193108beb896480a08fbada3268 /newlib/libc
parent1fd072b6e49bf5e8c1202b7d3233486e1cf82420 (diff)
2002-06-24 WATANABE Hirofumi <eban@os.rim.or.jp>
* libc/stdio/fseek.c (fseek): Fix braces.
Diffstat (limited to 'newlib/libc')
-rw-r--r--newlib/libc/stdio/fseek.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/newlib/libc/stdio/fseek.c b/newlib/libc/stdio/fseek.c
index 10c6c532e..27f527545 100644
--- a/newlib/libc/stdio/fseek.c
+++ b/newlib/libc/stdio/fseek.c
@@ -141,8 +141,10 @@ fseek (fp, offset, whence)
{
curoff = (*seekfn) (fp->_cookie, (fpos_t) 0, SEEK_CUR);
if (curoff == -1L)
- _funlockfile(fp);
- return EOF;
+ {
+ _funlockfile(fp);
+ return EOF;
+ }
}
if (fp->_flags & __SRD)
{