You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mod_dtcl-cvs@tcl.apache.org by da...@apache.org on 2001/12/26 13:53:05 UTC
cvs commit: tcl-moddtcl/debian changelog
davidw 01/12/26 04:53:05
Modified: . parser.c
debian changelog
Log:
Make parser associate correct lengths with respective tags.
Revision Changes Path
1.5 +3 -4 tcl-moddtcl/parser.c
Index: parser.c
===================================================================
RCS file: /home/cvs/tcl-moddtcl/parser.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- parser.c 2001/09/30 18:48:33 1.4
+++ parser.c 2001/12/26 12:53:05 1.5
@@ -1,4 +1,4 @@
-/* $Id: parser.c,v 1.4 2001/09/30 18:48:33 davidw Exp $
+/* $Id: parser.c,v 1.5 2001/12/26 12:53:05 davidw Exp $
Dtcl parser - doesn't really need any of the includes besides
tcl.h.
@@ -56,9 +56,8 @@
if (c == strstart[p])
{
- if ((++p) == endseqlen)
+ if ((++p) == startseqlen)
{
- /* ok, we have matched the whole ending sequence - do something */
Tcl_DStringAppend(&dstr, "\"\n", 2);
inside = 1;
p = 0;
@@ -119,7 +118,7 @@
if (c == strend[p])
{
- if ((++p) == startseqlen)
+ if ((++p) == endseqlen)
{
Tcl_DStringAppend(&dstr, "\n hputs \"", -1);
inside = 0;
1.17 +1 -1 tcl-moddtcl/debian/changelog
Index: changelog
===================================================================
RCS file: /home/cvs/tcl-moddtcl/debian/changelog,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -r1.16 -r1.17
--- changelog 2001/11/19 11:27:11 1.16
+++ changelog 2001/12/26 12:53:05 1.17
@@ -327,7 +327,7 @@
* Added 'include' function.
* Cleaned up comments, documentation.
- * Added patch by (rolf@pointsman.storz.de), which eliminates need for global_request_rec, and instead makes use of ClientData.
+ * Added patch by (rolf@pointsman.de), which eliminates need for global_request_rec, and instead makes use of ClientData.
* Added preliminary POST functionality, copied, and modified, from mod_cgi.
* Compiled under Apache 1.3.3.