[INTERPRETER]
* BUG: Don't wait for a stream to be ready for reading if the stream has no underlying file descriptor. git-svn-id: svn://localhost/gambas/trunk@5633 867c0c6c-44f3-4631-809d-bfa615b0a4ec
This commit is contained in:
parent
4c31d1950b
commit
0a5be7890d
1 changed files with 5 additions and 1 deletions
|
@ -74,7 +74,11 @@ void STREAM_exit(void)
|
||||||
STREAM_close(&_temp_stream);
|
STREAM_close(&_temp_stream);
|
||||||
}
|
}
|
||||||
|
|
||||||
#define wait_for_fd_ready_to_read(_fd) WATCH_process(_fd, -1, 0)
|
static void wait_for_fd_ready_to_read(fd)
|
||||||
|
{
|
||||||
|
if (fd >= 0)
|
||||||
|
WATCH_process(fd, -1, 0);
|
||||||
|
}
|
||||||
|
|
||||||
bool STREAM_in_archive(const char *path)
|
bool STREAM_in_archive(const char *path)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue