[uClibc 0001413]: fseek() does not propagate back errno
bugs at busybox.net
bugs at busybox.net
Mon Jul 23 13:31:06 UTC 2007
The following issue has been CLOSED
======================================================================
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: closed
Resolution: open
Fixed in Version:
======================================================================
Date Submitted: 06-29-2007 10:01 PDT
Last Modified: 07-23-2007 06:31 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.
----------------------------------------------------------------------
bernhardf - 07-23-07 06:31
----------------------------------------------------------------------
Closing upon reporter's request.
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
07-04-07 14:29 chombourger Issue End Monitor: chombourger
07-23-07 06:31 bernhardf Status assigned => closed
07-23-07 06:31 bernhardf Note Added: 0002637
======================================================================
More information about the uClibc-cvs
mailing list