my_fileno: use FIX2INT instead of NUM2INT
commit184f664d0773ea41c56b9db8dcf69878b9713855
authorEric Wong <normalperson@yhbt.net>
Mon, 9 May 2011 20:18:42 +0000 (9 13:18 -0700)
committerEric Wong <normalperson@yhbt.net>
Mon, 9 May 2011 20:18:42 +0000 (9 13:18 -0700)
treec5125b732537a11cc636346ebcf56982dfbda425
parentaf9da960a4b2683d27c946c308ae105958abdd26
my_fileno: use FIX2INT instead of NUM2INT

No chance in hell a file descriptor can be a Bignum...
ext/io_splice/io_splice_ext.c