projects
/
gapil.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Piccole correzioni e revisione di epoll e signalfd.
[gapil.git]
/
listati
/
tee.c
diff --git
a/listati/tee.c
b/listati/tee.c
index 51df9f665667c9e6e2dbaae7a2cc5aed20fa21b4..6fb203ac4285431929ce886762a29679b94eb592 100644
(file)
--- a/
listati/tee.c
+++ b/
listati/tee.c
@@
-36,7
+36,7
@@
int main(int argc, char *argv[])
/* tee loop */
while (1) {
/* copy stdin to stdout */
- len = tee(STDIN_FILENO, STDOUT_FILENO, size,
SPLICE_F_NONBLOCK
);
+ len = tee(STDIN_FILENO, STDOUT_FILENO, size,
0
);
if (len == 0) break;
if (len < 0) {
if (errno == EAGAIN) {