diff --git a/src/modules/Pipe/pipe.c b/src/modules/Pipe/pipe.c index 2b5b870fb25fd49a9f35c10a1792b207317d0b2e..19e4d574a4831fc9edd236464969db15a374d054 100644 --- a/src/modules/Pipe/pipe.c +++ b/src/modules/Pipe/pipe.c @@ -26,7 +26,7 @@ #include <fcntl.h> -RCSID("$Id: pipe.c,v 1.26 1998/07/22 18:01:12 grubba Exp $"); +RCSID("$Id: pipe.c,v 1.27 1998/07/22 18:03:00 grubba Exp $"); #include "threads.h" #include "stralloc.h" @@ -461,6 +461,9 @@ static INLINE struct pike_string* gimme_some_data(unsigned long pos) } } } while(len < 0); + /* + * FIXME: What if len is 0? + */ return make_shared_binary_string(buffer,len); }