[RTEMS Project] #2158: dup2 is broken

RTEMS trac trac at rtems.org
Fri Feb 12 19:46:08 UTC 2016


#2158: dup2 is broken
------------------------+-----------------------
 Reporter:  chrisj      |       Owner:  chrisj
     Type:  defect      |      Status:  reopened
 Priority:  normal      |   Milestone:  4.11.1
Component:  filesystem  |     Version:  4.11
 Severity:  normal      |  Resolution:
 Keywords:              |
------------------------+-----------------------

Old description:

> The dup2 call is just the dup call and this is wrong. The switch in fcntl
> needs to know which call is dup and which is dup2.
>
> The dup2 call is needed to implement redirection.

New description:

 The dup2 call is just the dup call and this is wrong. The switch in fcntl
 needs to know which call is dup and which is dup2.

 The dup2 call is needed to implement redirection.

--

Comment (by joel.sherrill):

 I added this ticket to the potential GSoC project
 https://devel.rtems.org/wiki/Developer/Projects/Open/POSIXCompliance.
 Chris mentioned a test case. Where is it? It would be good to get that
 available.

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


More information about the bugs mailing list