diff options
| author | Dan Gohman <dev@sunfishcode.online> | 2022-03-02 11:48:50 -0800 |
|---|---|---|
| committer | Dan Gohman <dev@sunfishcode.online> | 2022-03-04 05:09:40 -0800 |
| commit | 7ddf41c7b10e46c231180cecbbb5e78e0dd12ff8 (patch) | |
| tree | bb14967f196cd0215cc4a1bcbaa330f21c4993a4 /library/std/src/sys/unix/process/process_unix.rs | |
| parent | 7dd32469e5f994cec98969b420e8846d5f4c6c34 (diff) | |
| download | rust-7ddf41c7b10e46c231180cecbbb5e78e0dd12ff8.tar.gz rust-7ddf41c7b10e46c231180cecbbb5e78e0dd12ff8.zip | |
Remove redundant code for handling NULL handles on Windows.
Before calling `CreateProcessW`, stdio handles are passed through `stdio::get_handle`, which already converts NULL to `INVALID_HANDLE_VALUE`, so we don't need extra checks for NULL after that point.
Diffstat (limited to 'library/std/src/sys/unix/process/process_unix.rs')
0 files changed, 0 insertions, 0 deletions
