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

RTEMS trac trac at rtems.org
Mon Sep 20 18:37:56 UTC 2021


#4506: 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:  6.1
Component:  posix          |     Version:  6
 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:"3951d4da6fc4885dd450e5257d7273ab6a392492/rtems"
 3951d4d/rtems]:
 {{{
 #!CommitTicketReference repository="rtems"
 revision="3951d4da6fc4885dd450e5257d7273ab6a392492"
 pxcdevctl: Adjust for standard

 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 #4506
 }}}

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


More information about the bugs mailing list