Summary: | fcntl command F_DUPFD_CLOEXEC not supported | ||
---|---|---|---|
Product: | [Developer tools] valgrind | Reporter: | Adrien BUSTANY <madcat> |
Component: | general | Assignee: | Julian Seward <jseward> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | tom |
Priority: | NOR | ||
Version: | 3.5.0 | ||
Target Milestone: | wanted3.5.1 | ||
Platform: | Fedora RPMs | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
Adrien BUSTANY
2010-05-24 17:14:26 UTC
Could you please supply a short program that shows the failure? Here is a very simple code: #include <fcntl.h> #include <unistd.h> int main (int argc, char **argv) { int pipefd[2]; int dupped_pipe; pipe (pipefd); dupped_pipe = fcntl (pipefd[0], F_DUPFD_CLOEXEC, 3); close (pipefd[0]); close (pipefd[1]); close (dupped_pipe); } Would that be something difficult to implement? I might take a try at it, but not if it involves one month of learning Valgrind's codebase :) Tom, any chance you can look into this one? Fixed in r11316. |