public this repo is viewable by everyone
Description: Rubinius, the Ruby VM
Homepage: http://rubini.us
Clone URL: 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).
benstiglitz (author)
26 days ago
febuiles (committer)
24 days ago
commit  6e27619990054e2596c432722b1399ddc76c0c5f
tree    ebc1e11f502c29753663d6cffe973791b2848b05
parent  2b3a44158ae93ab5883da22e5f36df92485f3ad4
...
649
650
651
652
 
653
654
655
...
649
650
651
 
652
653
654
655
0
@@ -649,7 +649,7 @@ class ShotgunPrimitives
0
     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));

Comments

    No one has commented yet.