From fef91ad9dccf649899a264aa3ed07b3d33364389 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Grubbstr=C3=B6m=20=28Grubba=29?= <grubba@grubba.org> Date: Wed, 22 Jul 1998 20:03:00 +0200 Subject: [PATCH] Added another FIXME. Rev: src/modules/Pipe/pipe.c:1.27 --- src/modules/Pipe/pipe.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/modules/Pipe/pipe.c b/src/modules/Pipe/pipe.c index 2b5b870fb2..19e4d574a4 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); } -- GitLab