mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-01-24 02:22:15 +08:00
13 lines
428 B
Diff
13 lines
428 B
Diff
diff -urNad trunk~/lib/xmltok_impl.c trunk/lib/xmltok_impl.c
|
|
--- trunk~/lib/xmltok_impl.c 2006-11-26 18:34:46.000000000 +0100
|
|
+++ trunk/lib/xmltok_impl.c 2009-10-22 21:42:41.000000000 +0200
|
|
@@ -1744,7 +1744,7 @@
|
|
const char *end,
|
|
POSITION *pos)
|
|
{
|
|
- while (ptr != end) {
|
|
+ while (ptr < end) {
|
|
switch (BYTE_TYPE(enc, ptr)) {
|
|
#define LEAD_CASE(n) \
|
|
case BT_LEAD ## n: \
|