{"action":"opened","issue":{"url":"https://api.github.com/repos/djberg96/win32-file/issues/5","labels_url":"https://api.github.com/repos/djberg96/win32-file/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/djberg96/win32-file/issues/5/comments","events_url":"https://api.github.com/repos/djberg96/win32-file/issues/5/events","html_url":"https://github.com/djberg96/win32-file/issues/5","id":114832520,"number":5,"title":"SystemCallError when requiring win32/file and win32/daemon","user":{"login":"ferfebles","id":362413,"avatar_url":"https://avatars.githubusercontent.com/u/362413?v=3","gravatar_id":"","url":"https://api.github.com/users/ferfebles","html_url":"https://github.com/ferfebles","followers_url":"https://api.github.com/users/ferfebles/followers","following_url":"https://api.github.com/users/ferfebles/following{/other_user}","gists_url":"https://api.github.com/users/ferfebles/gists{/gist_id}","starred_url":"https://api.github.com/users/ferfebles/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ferfebles/subscriptions","organizations_url":"https://api.github.com/users/ferfebles/orgs","repos_url":"https://api.github.com/users/ferfebles/repos","events_url":"https://api.github.com/users/ferfebles/events{/privacy}","received_events_url":"https://api.github.com/users/ferfebles/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-11-03T14:47:31Z","updated_at":"2015-11-03T14:47:31Z","closed_at":null,"body":"I found an error after installing win32-file when requiring win32/file and win32/daemon\r\nTested in Windows 8.1, ruby 2.0.0p451 (2014-02-24) [i386-mingw32]\r\n\r\n```\r\nC:\\>irb\r\nDL is deprecated, please use Fiddle\r\nirb(main):001:0> require 'win32/file'\r\n=> true\r\nirb(main):002:0> require 'win32/daemon'\r\nSystemCallError: The data area passed to a system call is too small - GetTokenInformation\r\n        from C:/Ruby200/lib/ruby/gems/2.0.0/gems/win32-file-stat-1.5.2/lib/win32/file/stat.rb:827:in `get_current_process_sid'\r\n        from C:/Ruby200/lib/ruby/gems/2.0.0/gems/win32-file-stat-1.5.2/lib/win32/file/stat.rb:81:in `initialize'\r\n        from C:/Ruby200/lib/ruby/gems/2.0.0/gems/win32-file-0.8.0/lib/win32/file.rb:426:in `new'\r\n        from C:/Ruby200/lib/ruby/gems/2.0.0/gems/win32-file-0.8.0/lib/win32/file.rb:426:in `file?'\r\n        from C:/Ruby200/lib/ruby/site_ruby/2.0.0/rubygems/basic_specification.rb:76:in `block (2 levels) in contains_requirable_file?'\r\n        from C:/Ruby200/lib/ruby/site_ruby/2.0.0/rubygems/basic_specification.rb:76:in `each'\r\n        from C:/Ruby200/lib/ruby/site_ruby/2.0.0/rubygems/basic_specification.rb:76:in `any?'\r\n        from C:/Ruby200/lib/ruby/site_ruby/2.0.0/rubygems/basic_specification.rb:76:in `block in contains_requirable_file?'\r\n        from C:/Ruby200/lib/ruby/site_ruby/2.0.0/rubygems/basic_specification.rb:74:in `each'\r\n        from C:/Ruby200/lib/ruby/site_ruby/2.0.0/rubygems/basic_specification.rb:74:in `any?'\r\n        from C:/Ruby200/lib/ruby/site_ruby/2.0.0/rubygems/basic_specification.rb:74:in `contains_requirable_file?'\r\n        from C:/Ruby200/lib/ruby/site_ruby/2.0.0/rubygems/specification.rb:943:in `block in find_inactive_by_path'\r\n        from C:/Ruby200/lib/ruby/site_ruby/2.0.0/rubygems/specification.rb:942:in `each'\r\n        from C:/Ruby200/lib/ruby/site_ruby/2.0.0/rubygems/specification.rb:942:in `find'\r\n        from C:/Ruby200/lib/ruby/site_ruby/2.0.0/rubygems/specification.rb:942:in `find_inactive_by_path'\r\n        from C:/Ruby200/lib/ruby/site_ruby/2.0.0/rubygems.rb:185:in `try_activate'\r\n        from C:/Ruby200/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:132:in `rescue in require'\r\n        from C:/Ruby200/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:144:in `require'\r\n        from (irb):2\r\n        from C:/Ruby200/bin/irb:12:in `<main>'irb(main):003:0>\r\n```"}}