Loading changes/fix-msvc 0 → 100644 +4 −0 Original line number Diff line number Diff line o Minor bugfixes: - Make util unit tests build correctly with MSVC. Bugfix on 0.2.3.3-alpha. Patch by Gisle Vanem. src/test/test_util.c +2 −2 Original line number Diff line number Diff line Loading @@ -1597,7 +1597,7 @@ test_util_join_win_cmdline(void *ptr) {"a\\\\\\b", "de fg", "H", NULL}, // Backslashes {"a\\\"b", "\\c", "D\\", NULL}, // Backslashes before quote {"a\\\\b c", "d", "E", NULL}, // Backslashes not before quote {} // Terminator { NULL } // Terminator }; const char *cmdlines[] = { Loading Loading @@ -1649,7 +1649,7 @@ test_util_split_lines(void *ptr) {"\n\rfoo\n\rbar\r\n", 12, {"foo", "bar", NULL}}, {"fo o\r\nb\tar", 10, {"fo o", "b.ar", NULL}}, {"\x0f""f\0o\0\n\x01""b\0r\0\r", 12, {".f.o.", ".b.r.", NULL}}, {NULL, 0, {}} {NULL, 0, { NULL }} }; int i, j; Loading Loading
changes/fix-msvc 0 → 100644 +4 −0 Original line number Diff line number Diff line o Minor bugfixes: - Make util unit tests build correctly with MSVC. Bugfix on 0.2.3.3-alpha. Patch by Gisle Vanem.
src/test/test_util.c +2 −2 Original line number Diff line number Diff line Loading @@ -1597,7 +1597,7 @@ test_util_join_win_cmdline(void *ptr) {"a\\\\\\b", "de fg", "H", NULL}, // Backslashes {"a\\\"b", "\\c", "D\\", NULL}, // Backslashes before quote {"a\\\\b c", "d", "E", NULL}, // Backslashes not before quote {} // Terminator { NULL } // Terminator }; const char *cmdlines[] = { Loading Loading @@ -1649,7 +1649,7 @@ test_util_split_lines(void *ptr) {"\n\rfoo\n\rbar\r\n", 12, {"foo", "bar", NULL}}, {"fo o\r\nb\tar", 10, {"fo o", "b.ar", NULL}}, {"\x0f""f\0o\0\n\x01""b\0r\0\r", 12, {".f.o.", ".b.r.", NULL}}, {NULL, 0, {}} {NULL, 0, { NULL }} }; int i, j; Loading