12 Dec
2011
12 Dec
'11
4:07 p.m.
Branch: refs/heads/master Home: https://github.com/MacRuby/MacRuby Commit: f1a158a7e4e7d33d5bb11ad618bbebdceb1e4d57 https://github.com/MacRuby/MacRuby/commit/f1a158a7e4e7d33d5bb11ad618bbebdceb... Author: Watson <watson1978@gmail.com> Date: 2011-12-12 (Mon, 12 Dec 2011) Changed paths: M ext/socket/socket.c Log Message: ----------- raises an exception if passed non-socket descriptor. Test Script: ---- require 'socket' require 'test/unit/assertions.rb' include Test::Unit::Assertions assert_raise(ArgumentError){ BasicSocket.for_fd(2) }