summaryrefslogtreecommitdiff
path: root/mathoms.c
diff options
context:
space:
mode:
authorTony Cook <tony@develop-help.com>2014-02-03 14:39:46 +1100
committerTony Cook <tony@develop-help.com>2014-02-03 14:39:46 +1100
commitf06c882585eac59ec68dbf93c87659cb62a24000 (patch)
tree6e53a963e5b33648ceec5ba79e082f24ab33d1c0 /mathoms.c
parent6034ee449826f1beaab7cee35d86aad5a3b6caef (diff)
downloadperl-f06c882585eac59ec68dbf93c87659cb62a24000.tar.gz
[perl #77672] avoid a file handle redirection race
With multiple threads (and Win32 fork() is implemented in terms of threads), Win32's popen() code had a race condition where a different thread could write to the stdout (or read from the stdin) handle setup for a child process. Avoid this by using the Win32 API to supply the I/O handles instead of redirecting them in the current process.
Diffstat (limited to 'mathoms.c')
0 files changed, 0 insertions, 0 deletions