mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
GitHub: fix GH-72
Users can't use WSAGetLastError() with Ruby 3.0 or later because
rb_funcall() resets the last socket error internally.
Users can get the last socket error by Fiddle.win32_last_socket_error.
Reported by Kentaro Hayashi. Thanks!!!
|
||
|---|---|---|
| .. | ||
| fiddle | ||
| fiddle.rb | ||