Mon Aug 30 21:16:35 PDT 2004
- Previous message: [Slony1-commit] By cbbrowne: Added more items
- Next message: [Slony1-commit] By wieck: Fixed bug.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Log Message:
-----------
Fixed bug. Scan buffer must be zero-terminated.
Jan
Modified Files:
--------------
slony1-engine/src/slonik:
scan.l (r1.17 -> r1.18)
-------------- next part --------------
Index: scan.l
===================================================================
RCS file: /usr/local/cvsroot/slony1/slony1-engine/src/slonik/scan.l,v
retrieving revision 1.17
retrieving revision 1.18
diff -Lsrc/slonik/scan.l -Lsrc/slonik/scan.l -u -w -r1.17 -r1.18
--- src/slonik/scan.l
+++ src/slonik/scan.l
@@ -143,6 +143,7 @@
{
dstring_nappend(&ds, buf, len);
}
+ dstring_terminate(&ds);
yy_switch_to_buffer(yy_scan_string(dstring_data(&ds)));
dstring_free(&ds);
- Previous message: [Slony1-commit] By cbbrowne: Added more items
- Next message: [Slony1-commit] By wieck: Fixed bug.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Slony1-commit mailing list