Opened 7 months ago
Closed 7 months ago
#14322 closed bug (fixed)
posix_spawn only dup2() once
Reported by: | leorize | Owned by: | korli |
---|---|---|---|
Priority: | normal | Milestone: | Unscheduled |
Component: | System/POSIX | Version: | R1/Development |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Has a Patch: | no | Platform: | All |
Description
The program pipe.c
attempts to redirect pipetest.c
stdout and stderr to their respective pipes for inspection
How to run:
$ gcc -o pipetest pipetest.c $ gcc -o pipe pipe.c $ ./pipe
Expected: no output
Got:
test err (hangs)
The hang happens because the child stderr isn't redirected to the pipe.
Tested on hrev52165, x86_64
Attachments (3)
Change History (5)
Changed 7 months ago by
Changed 7 months ago by
Attachment: | pipetest.c added |
---|
Changed 7 months ago by
comment:1 Changed 7 months ago by
Owner: | changed from nobody to korli |
---|---|
Status: | new → assigned |
comment:2 Changed 7 months ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
Fixed in hrev52177. Thanks for the report!