Update of /cvsroot/monetdb/MonetDB5/src/mal
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv23856/src/mal
Modified Files:
mal_sabaoth.mx
Log Message:
propagated changes of Monday Oct 08 2007 - Wednesday Oct 10 2007
from the MonetDB_5-2 branch to the development trunk
Index: mal_sabaoth.mx
===================================================================
RCS file: /cvsroot/monetdb/MonetDB5/src/mal/mal_sabaoth.mx,v
retrieving revision 1.38
retrieving revision 1.39
diff -u -d -r1.38 -r1.39
--- mal_sabaoth.mx 10 Sep 2007 14:02:46 -0000 1.38
+++ mal_sabaoth.mx 10 Oct 2007 12:14:51 -0000 1.39
@@ -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