* io.c (pipe_open): Remove fflush(stdin). it's no effect.
Pointed out by Ikegami Daisuke <ikegami.da@gmail.com>. Thank you. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33704 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
688e1b34a6
commit
0d746627af
@ -1,3 +1,9 @@
|
||||
Fri Nov 11 12:36:37 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
|
||||
|
||||
* io.c (pipe_open): Remove fflush(stdin). it's no effect.
|
||||
Pointed out by Ikegami Daisuke <ikegami.da@gmail.com>.
|
||||
Thank you.
|
||||
|
||||
Fri Nov 11 07:33:30 2011 Eric Hodel <drbrain@segment7.net>
|
||||
|
||||
* lib/net/http.rb (Net::HTTP::SSL_ATTRIBUTES): Use symbol keys instead
|
||||
|
1
io.c
1
io.c
@ -5260,7 +5260,6 @@ pipe_open(struct rb_exec_arg *eargp, VALUE prog, const char *modestr, int fmode,
|
||||
pid = rb_fork_err(&status, popen_exec, &arg, arg.execp->redirect_fds, errmsg, sizeof(errmsg));
|
||||
}
|
||||
else {
|
||||
fflush(stdin); /* is it really needed? */
|
||||
pid = rb_fork(&status, 0, 0, Qnil);
|
||||
if (pid == 0) { /* child */
|
||||
rb_thread_atfork();
|
||||
|
Loading…
x
Reference in New Issue
Block a user