* environment.c: Fix return value check on uname so we can get the
executing version on Solaris operating systems.
svn path=/trunk/mono/; revision=75103
+2007-03-28 Sebastien Pouliot <sebastien@ximian.com>
+
+ * environment.c: Fix return value check on uname so we can get the
+ executing version on Solaris operating systems.
+
2007-03-28 Jb Evain <jbevain@gmail.com>
* class.c (mono_type_get_name_recurse): Complete the
MONO_ARCH_SAVE_REGS;
- if (uname (&name) == 0) {
+ if (uname (&name) >= 0) {
return mono_string_new (mono_domain_get (), name.release);
}
#endif