[RTEMS Project] #4505: posix_devctl() should return the errno directly not -1 and set errno

RTEMS trac trac at rtems.org
Mon Sep 20 19:08:11 UTC 2021


#4505: posix_devctl() should return the errno directly not -1 and set errno
---------------------------+--------------------------------------
 Reporter:  Joel Sherrill  |       Owner:  Ryan Long <ryan.long@…>
     Type:  defect         |      Status:  closed
 Priority:  normal         |   Milestone:  5.2
Component:  posix          |     Version:  5
 Severity:  normal         |  Resolution:  fixed
 Keywords:                 |  Blocked By:
 Blocking:                 |
---------------------------+--------------------------------------
Changes (by Ryan Long <ryan.long@…>):

 * owner:  (none) => Ryan Long <ryan.long@…>
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"e9712e78906e956574bbb3dc31a7b27c58ec3031/rtems"
 e9712e78/rtems]:
 {{{
 #!CommitTicketReference repository="rtems"
 revision="e9712e78906e956574bbb3dc31a7b27c58ec3031"
 pxcdevctl: Adjust for standard (5 branch)

 psxdevctl is supposed to return the value in errno. Before, it was
 returning -1 and setting errno. Changed the tests to reflect these
 changes. Added code from RRADE's posix_devctl.c.

 Closes #4505
 }}}

--
Ticket URL: <http://devel.rtems.org/ticket/4505#comment:2>
RTEMS Project <http://www.rtems.org/>
RTEMS Project


More information about the bugs mailing list