diff options
| author | Sutou Kouhei <kou@clear-code.com> | 2021-04-19 16:37:17 +0900 |
|---|---|---|
| committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2021-05-18 12:48:40 +0900 |
| commit | 71d4a493b890a21fdf3b302849d6d60c11ba1d9e (patch) | |
| tree | 76cb4bdf49d11ea385907efa30a3664f5fc6ed4b /spec/ruby/core/complex | |
| parent | 2579593a56fd96d9085daa7f11dfc2dd231cb70f (diff) | |
[ruby/fiddle] windows: add Fiddle.win32_last_socket_error{,=}
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!!!
https://github.com/ruby/fiddle/commit/76158db00a
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/4506
Diffstat (limited to 'spec/ruby/core/complex')
0 files changed, 0 insertions, 0 deletions
