Flatten InfoZIP directory and fix build issues

This commit is contained in:
Justine Tunney 2022-04-20 21:59:25 -07:00
parent ae638c0850
commit 87396f43bc
66 changed files with 869 additions and 5763 deletions

View file

@ -41,5 +41,9 @@ TEST(strclen, testAegeanNumberSupplementaryPlane) {
}
TEST(strlen16, testCoolKidNulTerminator) {
EXPECT_EQ(2, strlen16((const char16_t *)"\x00\xd8\x00\xdc\x00"));
union {
uint8_t s8[6];
char16_t s16[3];
} u = {.s8 = {0x00, 0xd8, 0x00, 0xdc, 0x00, 0x00}};
EXPECT_EQ(2, strlen16(u.s16));
}