nitlanguage
/
nit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e3419dd
)
lib/std/exec: remove write buffon on pipes
author
Jean Privat
<jean@pryen.org>
Mon, 23 Mar 2015 13:01:03 +0000
(20:01 +0700)
committer
Jean Privat
<jean@pryen.org>
Mon, 23 Mar 2015 13:01:03 +0000
(20:01 +0700)
Signed-off-by: Jean Privat <jean@pryen.org>
lib/standard/exec.nit
patch
|
blob
|
history
diff --git
a/lib/standard/exec.nit
b/lib/standard/exec.nit
index
d9a0704
..
8cd2f70
100644
(file)
--- a/
lib/standard/exec.nit
+++ b/
lib/standard/exec.nit
@@
-129,7
+129,9
@@
class ProcessWriter
redef fun execute
do
super
- stream_out = new FileWriter.from_fd(data.in_fd)
+ var out = new FileWriter.from_fd(data.in_fd)
+ out.set_buffering_mode(0, sys.buffer_mode_none)
+ stream_out = out
end
end