io-event 1.4.3 → 1.4.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 48833d95b36913a471c49a15933705c021582488d4f0a83ab26b2cc08a39b092
4
- data.tar.gz: c2ad33420135a7a72315e71362b4663503bf6bc8c6561cf4416bfc8e42f5398c
3
+ metadata.gz: 63a99f0ea7e4724f1e54fba08e89c0724c62e5ba145458ce7633dd50ba24a6cc
4
+ data.tar.gz: eaa732bdf869288cc22a5b70d158dabe022c39cde249ede5859233eb08262c0e
5
5
  SHA512:
6
- metadata.gz: ebc42847281fc77b058ab6b66c582ea7b58889eb28739c0d25f252b76c037d6341d53b06695595eae413fe67b1f9d10f564c110f01b379ccd10cc628a92e309c
7
- data.tar.gz: a6d0dc1b314cc5c05e5284bfd5d981436ae932bc399355c4cd9d1e9f2ea033c794d4f526c23de64cfbb9f7df5f39058e2511b79fcaebaeec0365c1a5aca919f6
6
+ metadata.gz: 55a1d36a58b3182cc38a5043cfb53d2207a1810d848a3ab2d95830fd17b7925996d6a0de397fd15be56fcf6447cea7d40534b2241b902d0150e3d0553f98936f
7
+ data.tar.gz: 87d5ab721c535429ee5271c810715eb5685ec9acd57cc22a6ad98ca2fe91451bfee5bbcd06f3d6d50a6db6914013965d24cefd79122cebdb907e6de5951643f8
checksums.yaml.gz.sig CHANGED
Binary file
@@ -82,7 +82,7 @@ int IO_Event_Selector_nonblock_set(int file_descriptor)
82
82
  {
83
83
  #ifdef _WIN32
84
84
  u_long nonblock = 1;
85
- int result = ioctlsocket(file_descriptor, FIONBIO, &nonblock);
85
+ ioctlsocket(file_descriptor, FIONBIO, &nonblock);
86
86
  // Windows does not provide any way to know this, so we always restore it back to unset:
87
87
  return 0;
88
88
  #else
@@ -103,7 +103,7 @@ void IO_Event_Selector_nonblock_restore(int file_descriptor, int flags)
103
103
  #ifdef _WIN32
104
104
  // Yolo...
105
105
  u_long nonblock = flags;
106
- int result = ioctlsocket(file_descriptor, FIONBIO, &nonblock);
106
+ ioctlsocket(file_descriptor, FIONBIO, &nonblock);
107
107
  #else
108
108
  // The flags didn't have O_NONBLOCK set, so it would have been set, so we need to restore it:
109
109
  if (!(flags & O_NONBLOCK)) {
@@ -34,7 +34,9 @@
34
34
  #endif
35
35
 
36
36
  #include <time.h>
37
- #include <sys/wait.h>
37
+ #ifdef HAVE_RB_PROCESS_STATUS_WAIT
38
+ #include <sys/wait.h>
39
+ #endif
38
40
 
39
41
  enum IO_Event {
40
42
  IO_EVENT_READABLE = 1,
@@ -5,6 +5,6 @@
5
5
 
6
6
  class IO
7
7
  module Event
8
- VERSION = "1.4.3"
8
+ VERSION = "1.4.4"
9
9
  end
10
10
  end
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: io-event
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.3
4
+ version: 1.4.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Samuel Williams
@@ -42,7 +42,7 @@ cert_chain:
42
42
  Q2K9NVun/S785AP05vKkXZEFYxqG6EW012U4oLcFl5MySFajYXRYbuUpH6AY+HP8
43
43
  voD0MPg1DssDLKwXyt1eKD/+Fq0bFWhwVM/1XiAXL7lyYUyOq24KHgQ2Csg=
44
44
  -----END CERTIFICATE-----
45
- date: 2024-02-05 00:00:00.000000000 Z
45
+ date: 2024-02-16 00:00:00.000000000 Z
46
46
  dependencies: []
47
47
  description:
48
48
  email:
@@ -97,7 +97,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
97
97
  - !ruby/object:Gem::Version
98
98
  version: '0'
99
99
  requirements: []
100
- rubygems_version: 3.5.5
100
+ rubygems_version: 3.5.3
101
101
  signing_key:
102
102
  specification_version: 4
103
103
  summary: An event loop.
metadata.gz.sig CHANGED
Binary file