#1245 closed defect (fixed)

device_lseek is noop but always returns success

Reported by: strauman Owned by: Joel Sherrill
Priority: high Milestone: 4.8
Component: score Version: 4.7
Severity: normal Keywords:
Cc: Blocked By:


I wonder if it would not be more appropriate to let


execute rtems_set_errno_and_return_minus_one( ESPIPE )

rather than doing nothing and returning 0 (success).

Change History (2)

comment:1 Changed on Mar 23, 2009 at 1:29:02 PM by Joel Sherrill

Resolution: fixed
Status: newclosed

comment:2 Changed on Nov 10, 2009 at 2:09:06 PM by strauman

No. 4.9.2 did not fix this.

However, the HEAD (to become 4.10) follows recommendation #2 and returns the current offset. Thus lseek() should work fine (seekable devices only!)

Note: See TracTickets for help on using tickets.