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

I/O [NT]: Added some more FD_DEBUG.

parent 62949a37
Branches
Tags
No related merge requests found
......@@ -316,6 +316,8 @@ int fd_to_handle(int fd, int *type, HANDLE *handle)
if (handle) *handle = da_handle[fd];
fd_busy[fd] = 1;
ret = 0;
FDDEBUG(fprintf(stderr, "fd %d ==> handle: %ld (%d)\n",
fd, (long)da_handle[fd], fd_type[fd]));
} else {
FDDEBUG(fprintf(stderr, "fd %d is invalid.\n", fd));
errno = EBADF;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment