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

Modified Files:
        urlbox.mx 
Log Message:
use monet_cwd instead of client cwd fields (which is gone now)


Index: urlbox.mx
===================================================================
RCS file: /cvsroot/monetdb/MonetDB5/src/modules/mal/urlbox.mx,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -d -r1.19 -r1.20
--- urlbox.mx   4 Oct 2007 10:37:37 -0000       1.19
+++ urlbox.mx   6 Nov 2007 23:28:13 -0000       1.20
@@ -302,12 +302,12 @@
        char *s,*t;
        int len=0;
        char buf[PATHLENGTH];
-       Client c= MCgetClient();
 
        (void) r; 
        if( **fnme == '/')
-               snprintf(buf,PATHLENGTH,"%s",*fnme);
-       else snprintf(buf,PATHLENGTH,"%s/%s",c->cwd,*fnme);
+               snprintf(buf,PATHLENGTH,"%s", *fnme);
+       else 
+               snprintf(buf,PATHLENGTH,"%s/%s", monet_cwd, *fnme);
        /* later, handle directory separator */
        fs= open_rastream(buf);
        if( fs == NULL || stream_errnr(fs) ) 


-------------------------------------------------------------------------
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