[macruby-changes] [MacRuby/MacRuby] f1a158: raises an exception if passed non-socket descripto...
noreply at github.com
noreply at github.com
Mon Dec 12 08:07:46 PST 2011
Branch: refs/heads/master
Home: https://github.com/MacRuby/MacRuby
Commit: f1a158a7e4e7d33d5bb11ad618bbebdceb1e4d57
https://github.com/MacRuby/MacRuby/commit/f1a158a7e4e7d33d5bb11ad618bbebdceb1e4d57
Author: Watson <watson1978 at 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) }
More information about the macruby-changes
mailing list