Update of /cvsroot/monetdb/MonetDB/src/common
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv8488/src/common

Modified Files:
        stream.mx 
Log Message:
incremented the buffer by 1. This is needed as a compensation for a hack
in the m5 interpreter (partial lines in block mode hack).


Index: stream.mx
===================================================================
RCS file: /cvsroot/monetdb/MonetDB/src/common/stream.mx,v
retrieving revision 1.148
retrieving revision 1.149
diff -u -d -r1.148 -r1.149
--- stream.mx   5 Sep 2007 17:05:57 -0000       1.148
+++ stream.mx   24 Oct 2007 11:37:35 -0000      1.149
@@ -2850,7 +2850,7 @@
        if (size == 0)
                size = BUFSIZ;
        b->s = s;
-       b->buf = malloc(size + 1);
+       b->buf = malloc(size + 1 + 1);
        b->size = b->buf ? size : 0;
        b->pos = 0;
        b->len = 0;


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