[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
fseek() and ftell() on cris
From: |
Uwe Reimann |
Subject: |
fseek() and ftell() on cris |
Date: |
Fri, 06 Jun 2003 20:30:44 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3) Gecko/20030516 |
Hi,
I managed to do "make check" for glibc-2.3.1 on cris. Many of the tests
passed, but many, especially in libio failed.
By examining stdio-common/bug3.c (which failed) I tracked this down to
be a problem of fseek and ftell. If I replace
rewind (f);
in line 18 with
fclose(f);
f = fopen(filename, "r");
the test passes. Calls to fseek() or ftell() always return -1, errno
contains EINVAL.
Any ideas where to look further to find the bug?
Best regards and a nice weekend, Uwe
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- fseek() and ftell() on cris,
Uwe Reimann <=