git clone git://github.com/evanphx/rubinius.git
Fixed mode of rhs fd in IO#pipe The second IO returned from IO#pipe now has an access mode of "w" instead of "r", as specified by pipe(2).
...649650651652 653654655
...649650651 652653654655
0@@ -649,7 +649,7 @@ class ShotgunPrimitives0 j = pipe(fds);0 if(!j) {0 io_wrap(state, t1, fds[0], "r");0- io_wrap(state, t2, fds[1], "r");0+ io_wrap(state, t2, fds[1], "w");0 }0 0 RET(I2N(j));
No one has commented yet.
Add a comment:
Comments
No one has commented yet.