Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
On Solaris, uname() returns non-negative value
As per https://docs.oracle.com/cd/E18752_01/html/816-5167/uname-2.html#REFMAN2uname-2 Solaris version of uname() return a non-negative value on success. Modifying this code to check for a return value of less than zero will work on Solaris as well as Linux and AIX.
- Loading branch information