[uClibc 0001413]: fseek() does not propagate back errno
bugs at busybox.net
bugs at busybox.net
Mon Jul 2 19:15:10 UTC 2007
A NOTE has been added to this issue.
======================================================================
http://busybox.net/bugs/view.php?id=1413
======================================================================
Reported By: kiltedknight
Assigned To: uClibc
======================================================================
Project: uClibc
Issue ID: 1413
Category: Standards Compliance
Reproducibility: always
Severity: major
Priority: normal
Status: assigned
======================================================================
Date Submitted: 06-29-2007 10:01 PDT
Last Modified: 07-02-2007 12:15 PDT
======================================================================
Summary: fseek() does not propagate back errno
Description:
Compile and run the attached C program linked against uClibc.
Both lseek() and fseek() return -1 as evidenced by the output coming from
perror(), but fseek() has errno = 0, while lseek() has errno = ESPIPE.
======================================================================
----------------------------------------------------------------------
chombourger - 06-30-07 14:37
----------------------------------------------------------------------
Using the latest (svn) uClibc, your program produces the following output
in my test environment:
lseek: Illegal seek
fseek: Illegal seek
Bug already fixed? Do you have LFS enabled (I do)? I will try checking
with 0.9.28.1
----------------------------------------------------------------------
kiltedknight - 07-02-07 09:19
----------------------------------------------------------------------
We found the problem with 0.9.28.3. Is this fixed with 0.9.29?
And yes, we have LFS enabled.
----------------------------------------------------------------------
kiltedknight - 07-02-07 12:15
----------------------------------------------------------------------
Close out the bug, please. We found the error in the system call, not
uClibc.
Issue History
Date Modified Username Field Change
======================================================================
06-29-07 10:01 kiltedknight New Issue
06-29-07 10:01 kiltedknight Status new => assigned
06-29-07 10:01 kiltedknight Assigned To => uClibc
06-29-07 10:01 kiltedknight File Added: seek_test.c
06-29-07 10:01 kiltedknight Issue Monitored: kiltedknight
06-30-07 14:30 chombourger Note Added: 0002541
06-30-07 14:37 chombourger Note Edited: 0002541
07-01-07 22:25 chombourger Issue Monitored: chombourger
07-02-07 09:19 kiltedknight Note Added: 0002543
07-02-07 12:15 kiltedknight Note Added: 0002544
======================================================================
More information about the uClibc-cvs
mailing list