packages/lang/php4/patches/004-uts_domainname.patch
hauke 939a313afe php4: update to version 4.4.9
git-svn-id: svn://svn.openwrt.org/openwrt/packages@24773 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-22 01:50:46 +00:00

12 lines
390 B
Diff

--- a/ext/posix/posix.c
+++ b/ext/posix/posix.c
@@ -541,7 +541,7 @@ PHP_FUNCTION(posix_uname)
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
}
/* }}} */