mruby-io (io_s_popen): remove fflush(stdin)

Flushing input I/O should be useless.
This commit is contained in:
Yukihiro "Matz" Matsumoto
2024-01-05 13:00:55 +09:00
parent 9ee7d955e3
commit 20dd737a4a
-2
View File
@@ -522,8 +522,6 @@ io_s_popen(mrb_state *mrb, mrb_value klass)
}
if (!doexec) {
// XXX
fflush(stdin);
fflush(stdout);
fflush(stderr);
}