authorgravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2017-10-15 01:24:39-04:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2017-10-15 01:24:58-04:00
log3b0fe534bc36e992795a8176511b4b093270eff4
treed6c1c2b44f95a00f43dc841d7a64c2b53a6e52a5
parent8ab5313043dad325488d4491a30642696dc7bbcf

fix regression on posix from previous commit


1 files changed, 1 insertions(+), 1 deletions(-)

std/os/index.zig+1-1
...@@ -504,7 +504,7 @@ pub fn getEnvVarOwned(allocator: &mem.Allocator, key: []const u8) -> %[]u8 {...@@ -504,7 +504,7 @@ pub fn getEnvVarOwned(allocator: &mem.Allocator, key: []const u8) -> %[]u8 {
504 }504 }
505 } else {505 } else {
506 const result = getEnvPosix(key) ?? return error.EnvironmentVariableNotFound;506 const result = getEnvPosix(key) ?? return error.EnvironmentVariableNotFound;
507 return mem.dupe(u8, allocator, result);507 return mem.dupe(allocator, u8, result);
508 }508 }
509}509}
510510