zig

fork of https://codeberg.org/ziglang/zig
Log | Files | Refs | README | LICENSE

commit a23b1b425480b4e10c539d9032270487d9fe6cd0 (tree)
parent 1337f0bc6adf7f57466228efe09ba2c22e4683ae
Author: Andrew Kelley <andrew@ziglang.org>
Date:   Sat, 26 Sep 2020 02:34:57 -0700

stage2: building musl: fix typo in replacing path separators

Diffstat:
Msrc/musl.zig | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/musl.zig b/src/musl.zig @@ -235,7 +235,7 @@ fn addSrcFile(arena: *Allocator, source_table: *std.StringArrayHashMap(Ext), fil const mutable_file_path = try arena.dupe(u8, file_path); for (mutable_file_path) |*c| { if (c.* == '/') { - c.* == path.sep; + c.* = path.sep; } } break :blk mutable_file_path;