| ... | @@ -50,7 +50,7 @@ Error glibc_load_metadata(ZigGLibCAbi **out_result, Buf *zig_lib_dir, bool verbo | ... | @@ -50,7 +50,7 @@ Error glibc_load_metadata(ZigGLibCAbi **out_result, Buf *zig_lib_dir, bool verbo |
| 50 | } | 50 | } |
| 51 | | 51 | |
| 52 | { | 52 | { |
| 53 | SplitIterator it = memSplit(buf_to_slice(vers_txt_contents), str("\n")); | 53 | SplitIterator it = memSplit(buf_to_slice(vers_txt_contents), str("\r\n")); |
| 54 | for (;;) { | 54 | for (;;) { |
| 55 | Optional<Slice<uint8_t>> opt_component = SplitIterator_next(&it); | 55 | Optional<Slice<uint8_t>> opt_component = SplitIterator_next(&it); |
| 56 | if (!opt_component.is_some) break; | 56 | if (!opt_component.is_some) break; |
| ... | @@ -65,7 +65,7 @@ Error glibc_load_metadata(ZigGLibCAbi **out_result, Buf *zig_lib_dir, bool verbo | ... | @@ -65,7 +65,7 @@ Error glibc_load_metadata(ZigGLibCAbi **out_result, Buf *zig_lib_dir, bool verbo |
| 65 | } | 65 | } |
| 66 | } | 66 | } |
| 67 | { | 67 | { |
| 68 | SplitIterator it = memSplit(buf_to_slice(fns_txt_contents), str("\n")); | 68 | SplitIterator it = memSplit(buf_to_slice(fns_txt_contents), str("\r\n")); |
| 69 | for (;;) { | 69 | for (;;) { |
| 70 | Optional<Slice<uint8_t>> opt_component = SplitIterator_next(&it); | 70 | Optional<Slice<uint8_t>> opt_component = SplitIterator_next(&it); |
| 71 | if (!opt_component.is_some) break; | 71 | if (!opt_component.is_some) break; |
| ... | @@ -91,7 +91,7 @@ Error glibc_load_metadata(ZigGLibCAbi **out_result, Buf *zig_lib_dir, bool verbo | ... | @@ -91,7 +91,7 @@ Error glibc_load_metadata(ZigGLibCAbi **out_result, Buf *zig_lib_dir, bool verbo |
| 91 | } | 91 | } |
| 92 | } | 92 | } |
| 93 | { | 93 | { |
| 94 | SplitIterator it = memSplit(buf_to_slice(abi_txt_contents), str("\n")); | 94 | SplitIterator it = memSplit(buf_to_slice(abi_txt_contents), str("\r\n")); |
| 95 | ZigGLibCVerList *ver_list_base = nullptr; | 95 | ZigGLibCVerList *ver_list_base = nullptr; |
| 96 | int line_num = 0; | 96 | int line_num = 0; |
| 97 | for (;;) { | 97 | for (;;) { |