Project

General

Profile

« Previous | Next » 

Revision 7e2f0491

Added by kosaki (Motohiro KOSAKI) over 12 years ago

  • io.c (ioctl_req_t): Type of req argument of ioctl() depend on platform.
    Moreover almost all linux ioctl can't be represented by 32bit integer
    (i.e. MSB is 1). We need wrap ioctl argument type.
    [Bug #5429] [ruby-dev:44589]
  • io.c (struct ioctl_arg): ditto.
  • io.c (rb_ioctl): ditto.
  • test/ruby/test_io.rb (test_ioctl_linux): add a testcase for ioctl

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33716 b2dd03c8-39d4-4d8f-98ff-823fe69b080e