mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-24 06:12:27 +00:00
Flatten InfoZIP directory and fix build issues
This commit is contained in:
parent
ae638c0850
commit
87396f43bc
66 changed files with 869 additions and 5763 deletions
|
@ -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));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue