This commit is contained in:
Vítor Santos Costa 2015-10-08 10:19:57 +01:00
parent 699dcfe6eb
commit 1bbb761aec

View File

@ -866,8 +866,8 @@ void Yap_CloseStreams(int loud) {
} }
} }
static void static void
CloseStream(int sno) { CloseStream(int sno) {
CACHE_REGS CACHE_REGS
if (!(GLOBAL_Stream[sno].status & if (!(GLOBAL_Stream[sno].status &
(Null_Stream_f | Socket_Stream_f | InMemory_Stream_f | Pipe_Stream_f))) (Null_Stream_f | Socket_Stream_f | InMemory_Stream_f | Pipe_Stream_f)))