[Gridflow-cvs] [svn] commit: r4228 - /trunk/gridflow.c

gridflow-cvs at artengine.ca gridflow-cvs at artengine.ca
Sat Oct 17 15:50:59 EDT 2009


Author: matju
Date: Sat Oct 17 15:50:58 2009
New Revision: 4228

Log:
remove debugging info about path

Modified:
    trunk/gridflow.c

Modified: trunk/gridflow.c
==============================================================================
--- trunk/gridflow.c (original)
+++ trunk/gridflow.c Sat Oct 17 15:50:58 2009
@@ -722,16 +722,17 @@
 extern t_namelist *sys_searchpath, *sys_helppath;
 extern "C" t_namelist *namelist_append_files(t_namelist *, char *);
 static void add_to_path(char *dir) {
+	static bool debug = false;
 	char bof[1024];
-	post("gridflow was found in %s",dir);
+	if (debug) post("gridflow was found in %s",dir);
 	gf_data_path.push_back(string(dir)+"/images");
-	post("adding gf_data_path %s/images",dir);
+	if (debug) post("adding gf_data_path %s/images",dir);
 	sprintf(bof,"%s/abstractions",dir);        sys_searchpath = namelist_append_files(sys_searchpath,bof);
-	post("adding -path %s",bof);
+	if (debug) post("adding -path %s",bof);
 	sprintf(bof,"%s/deprecated",dir);          sys_searchpath = namelist_append_files(sys_searchpath,bof);
-	post("adding -path %s",bof);
+	if (debug) post("adding -path %s",bof);
 	sprintf(bof,"%s/doc/flow_classes",dir);    sys_helppath   = namelist_append_files(sys_helppath,  bof);
-	post("adding -helppath %s",bof);
+	if (debug) post("adding -helppath %s",bof);
 }
 
 //----------------------------------------------------------------



More information about the Gridflow-cvs mailing list