Changeset: db68aa5c865f for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/db68aa5c865f
Modified Files:
monetdb5/modules/atoms/str.c
Branch: Dec2023
Log Message:
We do need to proceed to the end of the current character before checking.
diffs (12 lines):
diff --git a/monetdb5/modules/atoms/str.c b/monetdb5/modules/atoms/str.c
--- a/monetdb5/modules/atoms/str.c
+++ b/monetdb5/modules/atoms/str.c
@@ -3825,6 +3825,8 @@ str_is_isuffix(const char *s, const char
;
}
}
+ while ((*sf & 0xC0) == 0x80)
+ sf++;
return *sf != 0 || utf8casecmp(e, suffix) != 0;
}
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]