fcntl 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/ext/fcntl/fcntl.c +14 -0
- metadata +8 -50
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: b7988a10f0d6202b7f7a2518fba8522800529c1c6cc84081d1d66542593a24ab
|
4
|
+
data.tar.gz: fd4a2e5ef518b89e0fc3f88cee99f5360dc0deceb2e9ac3a262508c57246cae4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4d63be385cae9b541bf9891e4c3d307ad4fcbb3169851b12714da5ece34b0ecf81cc1032d1cc4229bba3e2ec70c115f537f514e6c62f484fbef718a46c7995f2
|
7
|
+
data.tar.gz: '02208356284e6642cf5c8f48b67d513c8329bc754ba4824930cd132a40606db6ae53da61511066ef92a6411139b505a2e439fa7f360b849718b0f8c4ba244cec'
|
data/ext/fcntl/fcntl.c
CHANGED
@@ -159,6 +159,20 @@ Init_fcntl(void)
|
|
159
159
|
*/
|
160
160
|
rb_define_const(mFcntl, "F_WRLCK", INT2NUM(F_WRLCK));
|
161
161
|
#endif
|
162
|
+
#ifdef F_SETPIPE_SZ
|
163
|
+
/* Document-const: F_SETPIPE_SZ
|
164
|
+
*
|
165
|
+
* Change the capacity of the pipe referred to by fd to be at least arg bytes.
|
166
|
+
*/
|
167
|
+
rb_define_const(mFcntl, "F_SETPIPE_SZ", INT2NUM(F_SETPIPE_SZ));
|
168
|
+
#endif
|
169
|
+
#ifdef F_GETPIPE_SZ
|
170
|
+
/* Document-const: F_GETPIPE_SZ
|
171
|
+
*
|
172
|
+
* Return (as the function result) the capacity of the pipe referred to by fd.
|
173
|
+
*/
|
174
|
+
rb_define_const(mFcntl, "F_GETPIPE_SZ", INT2NUM(F_GETPIPE_SZ));
|
175
|
+
#endif
|
162
176
|
#ifdef O_CREAT
|
163
177
|
/* Document-const: O_CREAT
|
164
178
|
*
|
metadata
CHANGED
@@ -1,57 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fcntl
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Yukihiro Matsumoto
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
12
|
-
dependencies:
|
13
|
-
- !ruby/object:Gem::Dependency
|
14
|
-
name: bundler
|
15
|
-
requirement: !ruby/object:Gem::Requirement
|
16
|
-
requirements:
|
17
|
-
- - "~>"
|
18
|
-
- !ruby/object:Gem::Version
|
19
|
-
version: '1.14'
|
20
|
-
type: :development
|
21
|
-
prerelease: false
|
22
|
-
version_requirements: !ruby/object:Gem::Requirement
|
23
|
-
requirements:
|
24
|
-
- - "~>"
|
25
|
-
- !ruby/object:Gem::Version
|
26
|
-
version: '1.14'
|
27
|
-
- !ruby/object:Gem::Dependency
|
28
|
-
name: rake
|
29
|
-
requirement: !ruby/object:Gem::Requirement
|
30
|
-
requirements:
|
31
|
-
- - "~>"
|
32
|
-
- !ruby/object:Gem::Version
|
33
|
-
version: '12'
|
34
|
-
type: :development
|
35
|
-
prerelease: false
|
36
|
-
version_requirements: !ruby/object:Gem::Requirement
|
37
|
-
requirements:
|
38
|
-
- - "~>"
|
39
|
-
- !ruby/object:Gem::Version
|
40
|
-
version: '12'
|
41
|
-
- !ruby/object:Gem::Dependency
|
42
|
-
name: rake-compiler
|
43
|
-
requirement: !ruby/object:Gem::Requirement
|
44
|
-
requirements:
|
45
|
-
- - ">="
|
46
|
-
- !ruby/object:Gem::Version
|
47
|
-
version: '0'
|
48
|
-
type: :development
|
49
|
-
prerelease: false
|
50
|
-
version_requirements: !ruby/object:Gem::Requirement
|
51
|
-
requirements:
|
52
|
-
- - ">="
|
53
|
-
- !ruby/object:Gem::Version
|
54
|
-
version: '0'
|
11
|
+
date: 2021-10-14 00:00:00.000000000 Z
|
12
|
+
dependencies: []
|
55
13
|
description: Loads constants defined in the OS fcntl.h C header file
|
56
14
|
email:
|
57
15
|
- matz@ruby-lang.org
|
@@ -64,9 +22,10 @@ files:
|
|
64
22
|
- ext/fcntl/fcntl.c
|
65
23
|
homepage: https://github.com/ruby/fcntl
|
66
24
|
licenses:
|
25
|
+
- Ruby
|
67
26
|
- BSD-2-Clause
|
68
27
|
metadata: {}
|
69
|
-
post_install_message:
|
28
|
+
post_install_message:
|
70
29
|
rdoc_options: []
|
71
30
|
require_paths:
|
72
31
|
- lib
|
@@ -81,9 +40,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
81
40
|
- !ruby/object:Gem::Version
|
82
41
|
version: '0'
|
83
42
|
requirements: []
|
84
|
-
|
85
|
-
|
86
|
-
signing_key:
|
43
|
+
rubygems_version: 3.3.0.dev
|
44
|
+
signing_key:
|
87
45
|
specification_version: 4
|
88
46
|
summary: Loads constants defined in the OS fcntl.h C header file
|
89
47
|
test_files: []
|