Eric Searcy wrote:
> That diff doesn't look like trunk, in my working copy the line
> `CHILD[fd] = 0' is after the block you are concerned with. Please
> update your sources (I have r428 currently).
Yes, that was exactly the only change between working and not.
[EMAIL PROTECTED] 140$ svn diff popen.c -r 425:428
Index: popen.c
===================================================================
--- popen.c (revision 425)
+++ popen.c (revision 428)
@@ -659,13 +659,13 @@
return -1;
}
-CHILD[fd] = 0;
-
if ((pid = CHILD[fd]) == 0)
{
return -1;
}
+CHILD[fd] = 0;
+
if (fclose(pp) == EOF)
{
return -1;
--
Jo Rhett
senior geek
Silicon Valley Colocation
_______________________________________________
Bug-cfengine mailing list
[email protected]
https://cfengine.org/mailman/listinfo/bug-cfengine