mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-29 03:57:44 +00:00
tail: adapt to windows-sys API change
This commit is contained in:
parent
3df015bbf5
commit
4229771108
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ impl ProcessChecker {
|
||||||
let FALSE: BOOL = 0;
|
let FALSE: BOOL = 0;
|
||||||
let h = unsafe { OpenProcess(PROCESS_SYNCHRONIZE, FALSE, process_id) };
|
let h = unsafe { OpenProcess(PROCESS_SYNCHRONIZE, FALSE, process_id) };
|
||||||
Self {
|
Self {
|
||||||
dead: h == 0,
|
dead: h.is_null(),
|
||||||
handle: h,
|
handle: h,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue