-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix 64 vs 32-bit type confusion in swprintf.
kill_via_console_helper: use %u instead of %ld for DWORD. It appears that cygwin's swprintf is acting like LP64 instead of Windows LLP64, and expecting a 64-bit long. DWORDs are 32-bit unsigned. Add check to avoid closing the handle from the input paramter. It may well be that the caller still intends to use it. Minor fixes for Ctrl-C handling code. From my post-merge review at #31 (review)
- Loading branch information
1 parent
7bc2df9
commit 43d8fe9
Showing
1 changed file
with
12 additions
and
7 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