Skip to content
This repository has been archived by the owner on Jan 22, 2024. It is now read-only.

Commit

Permalink
Land #90, errno fix for posixterp
Browse files Browse the repository at this point in the history
  • Loading branch information
wvu committed Jul 9, 2014
2 parents 239ef87 + 034ec3e commit 2dc7f66
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions source/extensions/stdapi/server/fs/file.c
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,11 @@ DWORD request_fs_file_channel_open(Remote *remote, Packet *packet)
// Invalid file?
if (!(ctx->fd = fopen(expandedFilePath, mode)))
{
#ifdef _WIN32
res = GetLastError();
#else
res = errno;
#endif
break;
}

Expand Down

0 comments on commit 2dc7f66

Please sign in to comment.