X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-psi;a=blobdiff_plain;f=psi.d%2Fglob.psi;h=8fc3b0b31c0302a728338c47034a66a42573ff5d;hp=5e6d21534d452d34c36304878dfb533dbd06f16c;hb=b78637d9020222f1032349f231c0dc84a69797bc;hpb=440ff658995f1378fd74c0101ff6c2b4951ffdf9 diff --git a/psi.d/glob.psi b/psi.d/glob.psi index 5e6d215..8fc3b0b 100644 --- a/psi.d/glob.psi +++ b/psi.d/glob.psi @@ -14,7 +14,7 @@ function psi\glob(string $pattern, int $flags, array &$glob = NULL, callable $er strval($gl_pathv) ) ); - return to_int(glob); + return glob(path, flags, err, buf) as to_int(glob); set $glob = to_array(*buf, to_int(gl_matchc), to_int(gl_pathc),