Overview
| Artifact ID: | 4e81bc34153fc1f5b1835588b3b60d233b64256f |
|---|---|
| Ticket: | 2827015fffffffffffffffffffffffffffffffff
2>@stdout does 2>@1 |
| User & Date: | lars_h on 2009-07-29 21:36:10 |
Changes
- icomment:
dup.patch didn't quite work (it said fd2=GetFd(outputFile); and reused the "error" label), but I was able to work that out. Attaching fixed patch dup-2,patch. This also contains a new test (exec-15.8) covering 2>@stdout and >@stderr. It might be notable that dup-2.patch also changes some error messages (those generated by the child after fork but before exec), but it seems no existing test covers these situations, so there are a couple of code paths here which are untested. Also, some of the (old) comments in that area seem a bit strange. Finally, I've kept the closeOut and closeErr variables from dup.patch, but I'm not sure they're needed. Would not the extra file descriptors be closed at exec() anyway?
- login: "lars_h"
- mimetype: "text/plain"
- username: "lars_h"