BusyBox Bug and Patch Tracking
BusyBox
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0001413 [uClibc] Standards Compliance major always 06-29-07 10:01 07-23-07 06:31
Reporter kiltedknight View Status public  
Assigned To uClibc
Priority normal Resolution no change required  
Status closed   Product Version 0.9.28.1
Summary 0001413: 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.
Additional Information
Attached Files  seek_test.c [^] (526 bytes) 06-29-07 10:01

- Relationships

- Notes
(0002541)
chombourger
06-30-07 14:30
edited on: 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

 
(0002543)
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.
 
(0002544)
kiltedknight
07-02-07 12:15

Close out the bug, please. We found the error in the system call, not uClibc.
 
(0002637)
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
07-23-07 06:31 bernhardf Resolution open => no change required


Copyright © 2000 - 2006 Mantis Group
Powered by Mantis Bugtracker