Overview
| Artifact ID: | 2522d397682fc22e829f9ad41dee957aa8937d0f |
|---|---|
| Ticket: | 05382a5317cf938117548b5b76fc9ed5a003b25d
extra pipes opened with exec |
| User & Date: | anonymous on 2015-12-09 13:46:25 |
Changes
- assignee changed to: "nobody"
- closer changed to: "nobody"
- cmimetype changed to: "text/plain"
- comment changed to:
#!/usr/bin/tclsh if {$::argv > 0} { incr ::argv -1 exec $::argv0 $::argv & exit 0 } vwait forever -- snip -- run the snippet as 'foo.tcl <number>' then check the open fds with 'ls -l /proc/<pid>/fd/' argv = 1 gives 4 pipes argv = 5 gives 12 pipes etc bug is present on tcl 8.5.9 bug is (apparently) not present on tcl 8.6.1. always 2 pipes, regardless of iterations - foundin changed to: "8.5.9"
- is_private changed to: "0"
- login: "anonymous"
- priority changed to: "5 Medium"
- private_contact changed to: "44ba02fc039aa6cb02c1613d32e7aa17028afca7"
- resolution changed to: "None"
- severity changed to: "Important"
- status changed to: "Open"
- submitter changed to: "anonymous"
- subsystem changed to: "16. Commands A-H"
- title changed to: "extra pipes opened with exec"
- type changed to: "Bug"