summaryrefslogtreecommitdiff
path: root/lib/std/env+posixy.myr
diff options
context:
space:
mode:
Diffstat (limited to 'lib/std/env+posixy.myr')
-rw-r--r--lib/std/env+posixy.myr4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/std/env+posixy.myr b/lib/std/env+posixy.myr
index 3919388..fe73c7e 100644
--- a/lib/std/env+posixy.myr
+++ b/lib/std/env+posixy.myr
@@ -26,7 +26,7 @@ const getenv = {name
var n, env
envinit()
- for envp in environ
+ for envp : environ
env = cstrconvp(envp)
n = min(name.len, env.len)
if sleq(name, env[:n]) && sleq(env[n:n+1], "=")
@@ -48,7 +48,7 @@ const setenv = {name, val
envdup()
idx = 0
- for envp in environ
+ for envp : environ
env = cstrconvp(envp)
n = min(name.len, env.len)
if sleq(name, env[:n]) && sleq(env[n:n+1], "=")