]> granicus.if.org Git - graphviz/commitdiff
_popen is fixed
authorarif <devnull@localhost>
Mon, 1 Jun 2009 19:19:45 +0000 (19:19 +0000)
committerarif <devnull@localhost>
Mon, 1 Jun 2009 19:19:45 +0000 (19:19 +0000)
cmd/smyrna/gvprpipe.c

index 58a2190a80321a7d0a1169bf7e02cc33fac9f549..add2214c95d985b2298bceeadf709341a491480c 100644 (file)
@@ -254,10 +254,10 @@ exec_gvpr(Agraph_t* srcGraph, char* filename)
        CloseHandle(piProcInfo.hProcess);
        CloseHandle(piProcInfo.hThread);
 #else
-       pp = _popen (agxbuse (&xbuf), "rw");
+       pp = popen (agxbuse (&xbuf), "rw");
        if (!pp)
        {
-               printf ("error #:%d\n",errno);
+//             printf ("error #:%d\n",errno);
                exit(1);
        }