forked from puppetlabs/puppet
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(PUP-2738) Puppet::Util::Windows::Process FFI clean
- Refactor wait_process so that the FFI::MemoryPointer for the exit code is cleaned up immediately after use. Note that we capture the exit_status within the block, and return it outside of the block - Fix bug in Puppet::Util::Windows::Process.process_privilege_symlink? that could result in the wrong value being returned. - Fix bug in Puppet::Util::Windows::Process.elevated_security? that could result in the wrong value being returned.
- Loading branch information
Showing
1 changed file
with
22 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters