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

Modified Files:
      Tag: MonetDB_5-2
        mal_sabaoth.mx 
Log Message:
compilation fixes (for cross compile for the link station)


Index: mal_sabaoth.mx
===================================================================
RCS file: /cvsroot/monetdb/MonetDB5/src/mal/mal_sabaoth.mx,v
retrieving revision 1.38
retrieving revision 1.38.2.1
diff -u -d -r1.38 -r1.38.2.1
--- mal_sabaoth.mx      10 Sep 2007 14:02:46 -0000      1.38
+++ mal_sabaoth.mx      10 Oct 2007 09:01:49 -0000      1.38.2.1
@@ -693,9 +693,11 @@
                snprintf(log, PATHLENGTH, "%s/%s/%s", path, e->d_name, 
UPLOGFILE);
                log[PATHLENGTH] = '\0';
                if ((f = fopen(log, "r")) != NULL) {
+                       int c;
                        start = stop = up = 0;
                        p = data;
-                       while ((*p = (char)fgetc(f)) != EOF) {
+                       while ((c = (char)fgetc(f)) != EOF) {
+                               *p = (char)c;
                                switch (*p) {
                                        case '\t':
                                                /* start attempt */


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