[INTERPRETER]
* BUG: Ignore EINPROGRESS and EAGAIN error codes when closing a file descriptor. git-svn-id: svn://localhost/gambas/trunk@7658 867c0c6c-44f3-4631-809d-bfa615b0a4ec
This commit is contained in:
parent
82a4b1f919
commit
bd22007651
1 changed files with 1 additions and 1 deletions
|
@ -295,7 +295,7 @@ void STREAM_close(STREAM *stream)
|
|||
{
|
||||
if ((*(stream->type->close))(stream))
|
||||
{
|
||||
if (errno != EBADF)
|
||||
if (errno != EBADF && errno != EINPROGRESS && errno != EAGAIN)
|
||||
THROW_SYSTEM(errno, "");
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue