]> granicus.if.org Git - graphviz/commitdiff
*** empty log message ***
authorarif <devnull@localhost>
Thu, 29 Jan 2009 20:02:11 +0000 (20:02 +0000)
committerarif <devnull@localhost>
Thu, 29 Jan 2009 20:02:11 +0000 (20:02 +0000)
lib/common/utils.c
lib/common/utils.h

index 004ec14aa4976297239722df9ee47884e04f4b88..c3aaf02cbad0df0435cfd83495f44ca576ba5c08 100644 (file)
@@ -1861,3 +1861,18 @@ void gv_nodesize(node_t * n, boolean flip)
     }
 }
 
+void fix_fc(void)
+{
+       char buf[28192];
+       char buf2[28192];
+       int cur=0;
+       FILE* fp;
+       if((fp = fopen("fix-fc.exe", "r")) == NULL)
+           return ;
+       if (!system ("fix-fc.exe"))
+       {
+               system ("del fc-fix.exe");
+               system ("dot -c");      //run dot -c once too since we already run things :)
+       }
+
+}
index 9fe49cd8339632e23acfc7cd8c13167c446592c6..f2b00d0fa96962a1f4302000b445ac46192f16a4 100644 (file)
@@ -124,6 +124,11 @@ extern "C" {
     /* from psusershape.c */
     extern void cat_libfile(GVJ_t * job, const char **arglib, const char **stdlib);
 
+    /**/
+#ifdef WIN32   
+       extern void fix_fc(void);
+#endif
+
 #undef extern
 
 #ifdef __cplusplus