components/desktop/firefox/patches/firefox27-47-uname.patch
changeset 5527 611b2d6efdfe
parent 5526 570ac9aab8b2
child 5528 f2f5af510081
equal deleted inserted replaced
5526:570ac9aab8b2 5527:611b2d6efdfe
     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