projects
/
m6w6
/
ext-psi
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
blacklist: vsyslog
[m6w6/ext-psi]
/
tests
/
pipe
/
pipe.psi
diff --git
a/tests/pipe/pipe.psi
b/tests/pipe/pipe.psi
index d1961da8afc4b5bbf8d480405ea826c1fc21d558..c7b2e73347d1a9760c28261bb961bff5a52058f6 100644
(file)
--- a/
tests/pipe/pipe.psi
+++ b/
tests/pipe/pipe.psi
@@
-2,7
+2,7
@@
// extern int pipe(int fildes[2]);
function \pipe(array &$fds = null) : int {
// extern int pipe(int fildes[2]);
function \pipe(array &$fds = null) : int {
- return to_int(pipe);
+ return
pipe(fildes) as
to_int(pipe);
let fildes = calloc(2, psi\SIZEOF_INT);
set $fds = to_array(*fildes, 2, to_int(*fildes));
}
let fildes = calloc(2, psi\SIZEOF_INT);
set $fds = to_array(*fildes, 2, to_int(*fildes));
}