Skip to content
Snippets Groups Projects
Commit d909ebaf authored by Fredrik Hübinette (Hubbe)'s avatar Fredrik Hübinette (Hubbe)
Browse files

bugfix in set_nonblocking

Rev: src/modules/files/file.c:1.42
parent e4ebc4c4
No related branches found
No related tags found
No related merge requests found
......@@ -6,7 +6,7 @@
#define READ_BUFFER 8192
#include "global.h"
RCSID("$Id: file.c,v 1.41 1997/05/20 13:23:52 grubba Exp $");
RCSID("$Id: file.c,v 1.42 1997/05/29 02:07:35 hubbe Exp $");
#include "interpret.h"
#include "svalue.h"
#include "stralloc.h"
......@@ -785,6 +785,7 @@ static void file_set_nonblocking(INT32 args)
case 3: file_set_close_callback(1);
case 2: file_set_write_callback(1);
case 1: file_set_read_callback(1);
case 0: break;
}
set_nonblocking(FD,1);
THIS->open_mode |= FILE_NONBLOCKING;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment