From: Eric Wong Date: 2013-10-22T16:24:44+00:00 Subject: [ruby-core:57976] Re: [ruby-trunk - Bug #9040] Readline duplicate file descriptors but doesn't close them "akr (Akira Tanaka)" wrote: > Issue #9040 has been updated by akr (Akira Tanaka). > > File readline-release-gvl-4.patch added Fewer ifdefs, so good :> (haven't tested) Btw, on a separate note, it would be a good idea to check the return value of fileno() in case another extension accidentally fclose()