[Bug 1245] New: device_lseek is noop but always returns success

rtems-bugs at rtems.org rtems-bugs at rtems.org
Thu Jun 14 05:06:02 UTC 2007


http://www.rtems.org/bugzilla/show_bug.cgi?id=1245

           Summary: device_lseek is noop but always returns success
           Product: RTEMS
           Version: 4.7
          Platform: All
        OS/Version: RTEMS
            Status: NEW
          Severity: normal
          Priority: P2
         Component: cpukit
        AssignedTo: joel.sherrill at oarcorp.com
        ReportedBy: strauman at slac.stanford.edu


I wonder if it would not be more appropriate to let

cpukit/libfs/src/deviceio.c:device_lseek()

execute rtems_set_errno_and_return_minus_one( ESPIPE )

rather than doing nothing and returning 0 (success).


-- 
Configure bugmail: http://www.rtems.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the bugs mailing list