Update of /cvsroot/monetdb/MonetDB5/src/mal
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv29045

Modified Files:
        mal_debugger.mx 
Log Message:
fix compilation problem with icc (condition always true)


Index: mal_debugger.mx
===================================================================
RCS file: /cvsroot/monetdb/MonetDB5/src/mal/mal_debugger.mx,v
retrieving revision 1.211
retrieving revision 1.212
diff -u -d -r1.211 -r1.212
--- mal_debugger.mx     6 Nov 2007 23:20:53 -0000       1.211
+++ mal_debugger.mx     7 Nov 2007 11:59:58 -0000       1.212
@@ -1191,14 +1191,14 @@
                                snprintf(name,PATHLENGTH,"/%s-%s.dot",
                                        getModuleId(getInstrPtr(mdot,0)),
                                        getFunctionId(getInstrPtr(mdot,0)));
-                               if( *b == 0){
+                               if (*b == 0){
                                        strcat(fname,name+1);
-                               } else
-                               if( monet_cwd && *b !='/'){
+                               } else if (*b != '/'){
                                        strcpy(fname,monet_cwd);
                                        strcat(fname,name);
-                               } else 
+                               } else {
                                        strcat(fname,name+1);
+                               }
                                stream_printf(out,"#dot to %s\n",fname);
                                showFlowGraph(mdot,0,fname);
                                break;


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Monetdb-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-checkins

Reply via email to