diff options
author | Tony Cook <tony@develop-help.com> | 2014-02-03 14:39:46 +1100 |
---|---|---|
committer | Tony Cook <tony@develop-help.com> | 2014-02-03 14:39:46 +1100 |
commit | f06c882585eac59ec68dbf93c87659cb62a24000 (patch) | |
tree | 6e53a963e5b33648ceec5ba79e082f24ab33d1c0 /os2 | |
parent | 6034ee449826f1beaab7cee35d86aad5a3b6caef (diff) | |
download | perl-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 'os2')
0 files changed, 0 insertions, 0 deletions