2010-12-22 01:50:46 +00:00
|
|
|
--- a/ext/posix/posix.c
|
|
|
|
+++ b/ext/posix/posix.c
|
|
|
|
@@ -541,7 +541,7 @@ PHP_FUNCTION(posix_uname)
|
2007-02-28 16:20:55 +00:00
|
|
|
add_assoc_string(return_value, "version", u.version, 1);
|
|
|
|
add_assoc_string(return_value, "machine", u.machine, 1);
|
|
|
|
#ifdef _GNU_SOURCE
|
|
|
|
- add_assoc_string(return_value, "domainname", u.domainname, 1);
|
|
|
|
+ add_assoc_string(return_value, "domainname", u.__domainname, 1);
|
|
|
|
#endif
|
|
|
|
}
|
|
|
|
/* }}} */
|