]
On Mon, 26 Nov 2001, Rudy Lippan wrote:

> If I get a chance, I'll look into fixing this issue tonight or tommorw.
> 
s/tommorw/tomorrow

OK here is a patch that seems to fix the problem.  I have not tested it
very much so YMMV.


Enjoy,

Rudy

--- dbdimp.c.orig       Mon Nov 26 16:58:51 2001
+++ dbdimp.c    Mon Nov 26 17:12:07 2001
@@ -652,8 +652,14 @@

         if (in_literal) {
             /* check if literal ends but keep quotes in literal */
-            if (*src == in_literal && *(src-1) != '\\') {
-                in_literal = 0;
+            if (*src == in_literal) {
+               int bs=0;
+               char *str;
+               str = src-1;
+               while (*(str-bs) == '\\')
+                   bs++;
+               if (!(bs & 1))
+                           in_literal = 0;
             }
             *dest++ = *src++;
             continue;


Reply via email to