projects
/
m6w6
/
ext-psi
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
compat: PHP-7.2
[m6w6/ext-psi]
/
psi.d
/
uname.psi
diff --git
a/psi.d/uname.psi
b/psi.d/uname.psi
index c79cc8e8cb0aab1b4bf705f20f7f143d12624042..b7aed9652e7e26dbad3f4201465017165166e236 100644
(file)
--- a/
psi.d/uname.psi
+++ b/
psi.d/uname.psi
@@
-1,5
+1,5
@@
function psi\uname(array &$u = NULL) : int {
function psi\uname(array &$u = NULL) : int {
- let name = calloc(1,
struct utsname
);
+ let name = calloc(1,
psi\SIZEOF_STRUCT_UTSNAME
);
return to_int(uname);
set $u = to_array(*name,
to_string(sysname),
return to_int(uname);
set $u = to_array(*name,
to_string(sysname),
@@
-8,4
+8,4
@@
function psi\uname(array &$u = NULL) : int {
to_string(version),
to_string(machine),
to_string(domainname));
to_string(version),
to_string(machine),
to_string(domainname));
-}
\ No newline at end of file
+}