Skip to content
Snippets Groups Projects
Commit b9795b56 authored by Henrik (Grubba) Grubbström's avatar Henrik (Grubba) Grubbström
Browse files

Fixed bug.

Rev: src/modules/Pipe/pipe.c:1.17
parent dc16b47e
No related branches found
No related tags found
No related merge requests found
......@@ -22,7 +22,7 @@
#include <fcntl.h>
#include "global.h"
RCSID("$Id: pipe.c,v 1.16 1998/04/03 19:58:15 grubba Exp $");
RCSID("$Id: pipe.c,v 1.17 1998/04/03 20:06:48 grubba Exp $");
#include "threads.h"
#include "stralloc.h"
......@@ -453,8 +453,9 @@ static INLINE struct pike_string* gimme_some_data(unsigned long pos)
if (sp[-1].type == T_STRING) {
append_buffer(sp[-1].u.string);
} else {
this->sleeping = 0;
/* We're not sleeping -- we're dead... */
/* FIXME: Should probably check the return value. */
/* EOF */
input_finish();
}
pop_stack();
} else {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment