We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ac1df73 commit b4f7440Copy full SHA for b4f7440
[refs]
@@ -1,2 +1,2 @@
1
---
2
-refs/heads/master: 0f23bbac0104fe4c51923eb09b7a98c3e6239571
+refs/heads/master: 10a2093d37bcf13f375a7c3637f4c227b7a21b0c
trunk/src/lib/GenericOS.rs
@@ -1,6 +1,6 @@
fn getenv(str n) -> Option.t[str] {
auto s = OS.libc.getenv(Str.buf(n));
3
- if (s == 0 as Str.sbuf) {
+ if ((s as int) == 0) {
4
ret Option.none[str];
5
} else {
6
ret Option.some[str](Str.str_from_cstr(s));
0 commit comments