ac0bd26ef4d29502c1082ebfa53d4c3055ebe840
markd
  Fri Sep 10 09:33:21 2010 -0700
hack around some systems complaining about read result not being used even with cast
diff --git src/lib/pipeline.c src/lib/pipeline.c
index fd2625c..467be22 100644
--- src/lib/pipeline.c
+++ src/lib/pipeline.c
@@ -348,7 +348,10 @@
 {
 // execPipeChild will get EOF when exec happens
 char buf[1];
-(void)read(proc->execPipeParent, buf, sizeof(buf));
+// even with (void) cast, so compilers on some systems complained
+// about the result of read not being used.  Hack to save unused result.
+ssize_t l = read(proc->execPipeParent, buf, sizeof(buf));
+l++;
 safeClose(&proc->execPipeParent);
 }