Update of /cvsroot/monetdb/pathfinder/modules/pftijah
In directory sc8-pr-cvs16:/tmp/cvs-serv10857

Modified Files:
        pftijah.mx 
Log Message:
- fix 



Index: pftijah.mx
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/modules/pftijah/pftijah.mx,v
retrieving revision 1.119
retrieving revision 1.120
diff -u -d -r1.119 -r1.120
--- pftijah.mx  7 May 2007 12:07:19 -0000       1.119
+++ pftijah.mx  7 May 2007 12:14:43 -0000       1.120
@@ -3092,9 +3092,11 @@
 int CMDtj_log(str format, int* i) {
        FILE* f;
        
-       if ( (f = fopen(tj_log_fileName,"a")) ) {
-           fprintf(f,(const char*)format,*i);
-           fclose(f);
+       if ( tj_log_fileName != NULL ) {
+           if ( (f = fopen(tj_log_fileName,"a")) ) {
+               fprintf(f,(const char*)format,*i);
+               fclose(f);
+           }
        }
        return GDK_SUCCEED;
 }


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Monetdb-pf-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-pf-checkins

Reply via email to