From: Yukihiro Matsumoto Date: 2010-12-08T09:40:42+09:00 Subject: [ruby-core:33629] Re: [Ruby 1.8-Bug#4132][Open] Socket.close attempting to close the socket twice Hi, In message "Re: [ruby-core:33628] [Ruby 1.8-Bug#4132][Open] Socket.close attempting to close the socket twice" on Wed, 8 Dec 2010 07:57:58 +0900, Claudio Villalobos writes: |Bug #4132: Socket.close attempting to close the socket twice |http://redmine.ruby-lang.org/issues/show/4132 | |Author: Claudio Villalobos |Status: Open, Priority: Normal |Category: ext |ruby -v: ruby 1.8.7 (2010-01-10 patchlevel 249) [i486-linux] | |Socket.close calls shutdown twice on the same file descriptor Ruby 1.8 creates two FILE* streams on a socket to implement bidirectional communication. Two calls to close(2) is a side effect. Since it shouldn't do any harm, we don't consider it a bug. Tell us if it would cause any trouble (other than one useless system call, and a failure in strace log). matz.