Update of /cvsroot/monetdb/MonetDB5/src/modules/mal
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv2190
Modified Files:
tablet.mx
Log Message:
Oops, change was slightly too rigorous: we want to count newlines, not
characters.
Index: tablet.mx
===================================================================
RCS file: /cvsroot/monetdb/MonetDB5/src/modules/mal/tablet.mx,v
retrieving revision 1.91
retrieving revision 1.92
diff -u -d -r1.91 -r1.92
--- tablet.mx 4 Jun 2007 08:58:04 -0000 1.91
+++ tablet.mx 4 Jun 2007 08:58:57 -0000 1.92
@@ -1669,7 +1669,8 @@
buf[nr] = 0;
nr = 0;
for(s = buf; *s; s++)
- nr++;
+ if (*s == '\n')
+ nr++;
} else
nr = 0;
fseek(f,0L,SEEK_END);
-------------------------------------------------------------------------
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-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-checkins