linekeylength = t - buffer;
if (*s) s++; /* Past terminating " */
if (ret_full)
- Ustrcpy(t, s); /* copy the rest of line does also */
+ memmove(t, s, Ustrlen(s)+1); /* copy the rest of line also */
}
/* Otherwise it is terminated by a colon or white space */
q6: ${lookup{white space}lsearch{DIR/aux-fixed/0002.quoted}}
q7: ${lookup{b\\s} lsearch{DIR/aux-fixed/0002.quoted}}
-q1: ${lookup{abc} lsearch,ret=full{DIR/aux-fixed/0002.quoted}}
-q2: ${lookup{xyz} lsearch,ret=full{DIR/aux-fixed/0002.quoted}}
-q3: ${lookup{pqr} lsearch,ret=full{DIR/aux-fixed/0002.quoted}}
-q4: ${lookup{a:b} lsearch,ret=full{DIR/aux-fixed/0002.quoted}}
-q5: ${lookup{"quoted"} lsearch,ret=full{DIR/aux-fixed/0002.quoted}}
-q6: ${lookup{white space}lsearch,ret=full{DIR/aux-fixed/0002.quoted}}
-q7: ${lookup{b\\s} lsearch,ret=full{DIR/aux-fixed/0002.quoted}}
+q1f: ${lookup{abc} lsearch,ret=full{DIR/aux-fixed/0002.quoted}}
+q2f: ${lookup{xyz} lsearch,ret=full{DIR/aux-fixed/0002.quoted}}
+q3f: ${lookup{pqr} lsearch,ret=full{DIR/aux-fixed/0002.quoted}}
+q4f: ${lookup{a:b} lsearch,ret=full{DIR/aux-fixed/0002.quoted}}
+q5f: ${lookup{"quoted"} lsearch,ret=full{DIR/aux-fixed/0002.quoted}}
+q6f: ${lookup{white space}lsearch,ret=full{DIR/aux-fixed/0002.quoted}}
+q7f: ${lookup{b\\s} lsearch,ret=full{DIR/aux-fixed/0002.quoted}}
abc: ${lookup{abc}wildlsearch{DIR/aux-var/0002.wild}}
a.b.c: ${lookup{a.b.c}wildlsearch{DIR/aux-var/0002.wild}}
> q6: "white space"
> q7: "b\\s"
>
-> q1: abc "abc"
-> q2: xyz: "xyz":
-> q3: pqr : "pqr" :
-> q4: a:b "a:b" abc continued data (make sure not key)
-> q5: "quoted" "\"quoted\""
-> q6: white space "white space"
-> q7: b\s "b\\s"
+> q1f: abc "abc"
+> q2f: xyz: "xyz":
+> q3f: pqr : "pqr" :
+> q4f: a:b "a:b" abc continued data (make sure not key)
+> q5f: "quoted" "\"quoted\""
+> q6f: white space "white space"
+> q7f: b\s "b\\s"
>
> abc: abc
> a.b.c: *.b.c