Skip to content
Snippets Groups Projects
Commit 59cbb9a6 authored by Henrik (Grubba) Grubbström's avatar Henrik (Grubba) Grubbström
Browse files

I/O [NT]: Fixed multiple isses with debug_fd_openpty().

* The ptys were closed again immediately after creation.
  This was due to a missing return statement.

* The fds were not released from the locks from allocate_fd().
  This caused the fd_close() above to hang.

* The return value was not set properly.

* The errno was not set properly on win32-api failure.
parent 54ec9ba3
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment