diff options
| author | bors <bors@rust-lang.org> | 2015-04-15 08:21:43 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2015-04-15 08:21:43 +0000 |
| commit | a691f1eefea586f154700be6ee1b991158f82b7f (patch) | |
| tree | 66bb95a8b8bd3716715e83ba6d983bbd507797f2 /src/libstd/sys/windows/process2.rs | |
| parent | af1c39cbd90a03f22dbb2b144ac1e543dbe0fe1d (diff) | |
| parent | 5e073293064a227ebf454053c8aa35d7d8bdcf52 (diff) | |
| download | rust-a691f1eefea586f154700be6ee1b991158f82b7f.tar.gz rust-a691f1eefea586f154700be6ee1b991158f82b7f.zip | |
Auto merge of #24426 - alexcrichton:windows-pipes, r=aturon
This commit removes the last remnants of file descriptors from the Windows implementation of `std::sys` by using `CreatePipe` to create anonymous pipes instead of the `pipe` shim provided in msvcrt.
Diffstat (limited to 'src/libstd/sys/windows/process2.rs')
| -rw-r--r-- | src/libstd/sys/windows/process2.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/sys/windows/process2.rs b/src/libstd/sys/windows/process2.rs index 74953921921..fdb47eb8c80 100644 --- a/src/libstd/sys/windows/process2.rs +++ b/src/libstd/sys/windows/process2.rs @@ -199,7 +199,7 @@ impl Process { } } Stdio::Piped(ref pipe) => { - let orig = pipe.raw(); + let orig = pipe.handle().raw(); if DuplicateHandle(cur_proc, orig, cur_proc, slot, 0, TRUE, DUPLICATE_SAME_ACCESS) == FALSE { return Err(Error::last_os_error()) |
