On 23/12/2025 17:41, Takashi Yano via Cygwin wrote:
I think this is just the difference between the two calls: CloseHandle generates an exception whereas NtClose returns an error code if the handle is invalid.
On checking again, I think I must have dreamt whatever evidence made me believe this.
Sorry for the noise! -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple

