equal
deleted
inserted
replaced
1 The uname() function on Solaris can return a non-negative value. |
|
2 |
|
3 --- mozilla-esr31/toolkit/components/startup/nsUserInfoUnix.cpp.orig 2015-06-04 17:42:51.565111934 -0700 |
|
4 +++ mozilla-esr31/toolkit/components/startup/nsUserInfoUnix.cpp 2015-06-04 17:42:51.567398410 -0700 |
|
5 @@ -106,7 +106,7 @@ |
|
6 char *domainname = nullptr; |
|
7 |
|
8 // is this portable? that is a POSIX compliant call, but I need to check |
|
9 - if (uname(&buf)) { |
|
10 + if (uname(&buf) < 0) { |
|
11 return rv; |
|
12 } |
|
13 |
|