cybrid_api_organization_ruby 0.71.64 → 0.71.65
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +2 -2
- data/README.md +5 -5
- data/cybrid_api_organization_ruby.gemspec +1 -1
- data/lib/cybrid_api_organization_ruby/api/organizations_organization_api.rb +1 -1
- data/lib/cybrid_api_organization_ruby/api_client.rb +1 -1
- data/lib/cybrid_api_organization_ruby/api_error.rb +1 -1
- data/lib/cybrid_api_organization_ruby/configuration.rb +1 -1
- data/lib/cybrid_api_organization_ruby/models/error_response_organization_model.rb +1 -1
- data/lib/cybrid_api_organization_ruby/models/organization_organization_model.rb +1 -1
- data/lib/cybrid_api_organization_ruby/models/patch_organization_organization_model.rb +1 -1
- data/lib/cybrid_api_organization_ruby/version.rb +2 -2
- data/lib/cybrid_api_organization_ruby.rb +1 -1
- data/spec/api/organizations_organization_api_spec.rb +1 -1
- data/spec/api_client_spec.rb +1 -1
- data/spec/configuration_spec.rb +1 -1
- data/spec/models/error_response_organization_model_spec.rb +1 -1
- data/spec/models/organization_organization_model_spec.rb +1 -1
- data/spec/models/patch_organization_organization_model_spec.rb +1 -1
- data/spec/spec_helper.rb +1 -1
- data/vendor/bundle/ruby/3.2.0/cache/stringio-3.0.7.gem +0 -0
- data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/byebug-11.1.3/gem_make.out +5 -5
- data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/ffi-1.15.5/gem_make.out +5 -5
- data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/jaro_winkler-1.5.6/gem_make.out +5 -5
- data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/psych-5.1.0/gem_make.out +5 -5
- data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/{stringio-3.0.6 → stringio-3.0.7}/gem_make.out +18 -19
- data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/stringio-3.0.7/stringio.so +0 -0
- data/vendor/bundle/ruby/3.2.0/gems/{stringio-3.0.6 → stringio-3.0.7}/ext/stringio/Makefile +1 -1
- data/vendor/bundle/ruby/3.2.0/gems/{stringio-3.0.6 → stringio-3.0.7}/ext/stringio/extconf.rb +0 -1
- data/vendor/bundle/ruby/3.2.0/gems/{stringio-3.0.6 → stringio-3.0.7}/ext/stringio/stringio.c +10 -86
- data/vendor/bundle/ruby/3.2.0/gems/stringio-3.0.7/lib/stringio.so +0 -0
- data/vendor/bundle/ruby/3.2.0/specifications/{stringio-3.0.6.gemspec → stringio-3.0.7.gemspec} +5 -5
- metadata +12 -13
- data/vendor/bundle/ruby/3.2.0/cache/stringio-3.0.6.gem +0 -0
- data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/stringio-3.0.6/mkmf.log +0 -36
- data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/stringio-3.0.6/stringio.so +0 -0
- data/vendor/bundle/ruby/3.2.0/gems/stringio-3.0.6/lib/stringio.so +0 -0
- /data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/{stringio-3.0.6 → stringio-3.0.7}/gem.build_complete +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{stringio-3.0.6 → stringio-3.0.7}/README.md +0 -0
data/vendor/bundle/ruby/3.2.0/gems/{stringio-3.0.6 → stringio-3.0.7}/ext/stringio/stringio.c
RENAMED
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
|
|
13
13
|
**********************************************************************/
|
|
14
14
|
|
|
15
|
-
#define STRINGIO_VERSION "3.0.
|
|
15
|
+
#define STRINGIO_VERSION "3.0.7"
|
|
16
16
|
|
|
17
17
|
#include "ruby.h"
|
|
18
18
|
#include "ruby/io.h"
|
|
@@ -32,86 +32,6 @@
|
|
|
32
32
|
# define rb_class_new_instance_kw(argc, argv, klass, kw_splat) rb_class_new_instance(argc, argv, klass)
|
|
33
33
|
#endif
|
|
34
34
|
|
|
35
|
-
#ifndef HAVE_RB_IO_EXTRACT_MODEENC
|
|
36
|
-
#define rb_io_extract_modeenc strio_extract_modeenc
|
|
37
|
-
static void
|
|
38
|
-
strio_extract_modeenc(VALUE *vmode_p, VALUE *vperm_p, VALUE opthash,
|
|
39
|
-
int *oflags_p, int *fmode_p, struct rb_io_enc_t *convconfig_p)
|
|
40
|
-
{
|
|
41
|
-
VALUE mode = *vmode_p;
|
|
42
|
-
VALUE intmode;
|
|
43
|
-
int fmode;
|
|
44
|
-
int has_enc = 0, has_vmode = 0;
|
|
45
|
-
|
|
46
|
-
convconfig_p->enc = convconfig_p->enc2 = 0;
|
|
47
|
-
|
|
48
|
-
vmode_handle:
|
|
49
|
-
if (NIL_P(mode)) {
|
|
50
|
-
fmode = FMODE_READABLE;
|
|
51
|
-
}
|
|
52
|
-
else if (!NIL_P(intmode = rb_check_to_integer(mode, "to_int"))) {
|
|
53
|
-
int flags = NUM2INT(intmode);
|
|
54
|
-
fmode = rb_io_oflags_fmode(flags);
|
|
55
|
-
}
|
|
56
|
-
else {
|
|
57
|
-
const char *m = StringValueCStr(mode), *n, *e;
|
|
58
|
-
fmode = rb_io_modestr_fmode(m);
|
|
59
|
-
n = strchr(m, ':');
|
|
60
|
-
if (n) {
|
|
61
|
-
long len;
|
|
62
|
-
char encname[ENCODING_MAXNAMELEN+1];
|
|
63
|
-
has_enc = 1;
|
|
64
|
-
if (fmode & FMODE_SETENC_BY_BOM) {
|
|
65
|
-
n = strchr(n, '|');
|
|
66
|
-
}
|
|
67
|
-
e = strchr(++n, ':');
|
|
68
|
-
len = e ? e - n : (long)strlen(n);
|
|
69
|
-
if (len > 0 && len <= ENCODING_MAXNAMELEN) {
|
|
70
|
-
rb_encoding *enc;
|
|
71
|
-
if (e) {
|
|
72
|
-
memcpy(encname, n, len);
|
|
73
|
-
encname[len] = '\0';
|
|
74
|
-
n = encname;
|
|
75
|
-
}
|
|
76
|
-
enc = rb_enc_find(n);
|
|
77
|
-
if (e)
|
|
78
|
-
convconfig_p->enc2 = enc;
|
|
79
|
-
else
|
|
80
|
-
convconfig_p->enc = enc;
|
|
81
|
-
}
|
|
82
|
-
if (e && (len = strlen(++e)) > 0 && len <= ENCODING_MAXNAMELEN) {
|
|
83
|
-
convconfig_p->enc = rb_enc_find(e);
|
|
84
|
-
}
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
if (!NIL_P(opthash)) {
|
|
89
|
-
rb_encoding *extenc = 0, *intenc = 0;
|
|
90
|
-
VALUE v;
|
|
91
|
-
if (!has_vmode) {
|
|
92
|
-
ID id_mode;
|
|
93
|
-
CONST_ID(id_mode, "mode");
|
|
94
|
-
v = rb_hash_aref(opthash, ID2SYM(id_mode));
|
|
95
|
-
if (!NIL_P(v)) {
|
|
96
|
-
if (!NIL_P(mode)) {
|
|
97
|
-
rb_raise(rb_eArgError, "mode specified twice");
|
|
98
|
-
}
|
|
99
|
-
has_vmode = 1;
|
|
100
|
-
mode = v;
|
|
101
|
-
goto vmode_handle;
|
|
102
|
-
}
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
if (rb_io_extract_encoding_option(opthash, &extenc, &intenc, &fmode)) {
|
|
106
|
-
if (has_enc) {
|
|
107
|
-
rb_raise(rb_eArgError, "encoding specified twice");
|
|
108
|
-
}
|
|
109
|
-
}
|
|
110
|
-
}
|
|
111
|
-
*fmode_p = fmode;
|
|
112
|
-
}
|
|
113
|
-
#endif
|
|
114
|
-
|
|
115
35
|
struct StringIO {
|
|
116
36
|
VALUE string;
|
|
117
37
|
rb_encoding *enc;
|
|
@@ -356,7 +276,7 @@ strio_init(int argc, VALUE *argv, struct StringIO *ptr, VALUE self)
|
|
|
356
276
|
{
|
|
357
277
|
VALUE string, vmode, opt;
|
|
358
278
|
int oflags;
|
|
359
|
-
|
|
279
|
+
rb_io_enc_t convconfig;
|
|
360
280
|
|
|
361
281
|
argc = rb_scan_args(argc, argv, "02:", &string, &vmode, &opt);
|
|
362
282
|
rb_io_extract_modeenc(&vmode, 0, opt, &oflags, &ptr->flags, &convconfig);
|
|
@@ -698,15 +618,19 @@ strio_eof(VALUE self)
|
|
|
698
618
|
static VALUE
|
|
699
619
|
strio_copy(VALUE copy, VALUE orig)
|
|
700
620
|
{
|
|
701
|
-
struct StringIO *ptr;
|
|
621
|
+
struct StringIO *ptr, *old_ptr;
|
|
622
|
+
VALUE old_string = Qundef;
|
|
702
623
|
|
|
703
624
|
orig = rb_convert_type(orig, T_DATA, "StringIO", "to_strio");
|
|
704
625
|
if (copy == orig) return copy;
|
|
705
626
|
ptr = StringIO(orig);
|
|
706
|
-
|
|
707
|
-
|
|
627
|
+
old_ptr = check_strio(copy);
|
|
628
|
+
if (old_ptr) {
|
|
629
|
+
old_string = old_ptr->string;
|
|
630
|
+
strio_free(old_ptr);
|
|
708
631
|
}
|
|
709
632
|
DATA_PTR(copy) = ptr;
|
|
633
|
+
RB_OBJ_WRITTEN(copy, old_string, ptr->string);
|
|
710
634
|
RBASIC(copy)->flags &= ~STRIO_READWRITE;
|
|
711
635
|
RBASIC(copy)->flags |= RBASIC(orig)->flags & STRIO_READWRITE;
|
|
712
636
|
++ptr->count;
|
|
@@ -1819,7 +1743,7 @@ strio_set_encoding(int argc, VALUE *argv, VALUE self)
|
|
|
1819
1743
|
else {
|
|
1820
1744
|
enc = rb_find_encoding(ext_enc);
|
|
1821
1745
|
if (!enc) {
|
|
1822
|
-
|
|
1746
|
+
rb_io_enc_t convconfig;
|
|
1823
1747
|
int oflags, fmode;
|
|
1824
1748
|
VALUE vmode = rb_str_append(rb_str_new_cstr("r:"), ext_enc);
|
|
1825
1749
|
rb_io_extract_modeenc(&vmode, 0, Qnil, &oflags, &fmode, &convconfig);
|
|
Binary file
|
data/vendor/bundle/ruby/3.2.0/specifications/{stringio-3.0.6.gemspec → stringio-3.0.7.gemspec}
RENAMED
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
# -*- encoding: utf-8 -*-
|
|
2
|
-
# stub: stringio 3.0.
|
|
2
|
+
# stub: stringio 3.0.7 ruby lib
|
|
3
3
|
# stub: ext/stringio/extconf.rb
|
|
4
4
|
|
|
5
5
|
Gem::Specification.new do |s|
|
|
6
6
|
s.name = "stringio".freeze
|
|
7
|
-
s.version = "3.0.
|
|
7
|
+
s.version = "3.0.7"
|
|
8
8
|
|
|
9
|
-
s.required_rubygems_version = Gem::Requirement.new(">=
|
|
9
|
+
s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
|
|
10
10
|
s.require_paths = ["lib".freeze]
|
|
11
11
|
s.authors = ["Nobu Nakada".freeze, "Charles Oliver Nutter".freeze]
|
|
12
|
-
s.date = "2023-
|
|
12
|
+
s.date = "2023-06-02"
|
|
13
13
|
s.description = "Pseudo `IO` class from/to `String`.".freeze
|
|
14
14
|
s.email = ["nobu@ruby-lang.org".freeze, "headius@headius.com".freeze]
|
|
15
15
|
s.extensions = ["ext/stringio/extconf.rb".freeze]
|
|
16
16
|
s.files = ["ext/stringio/extconf.rb".freeze]
|
|
17
17
|
s.homepage = "https://github.com/ruby/stringio".freeze
|
|
18
18
|
s.licenses = ["Ruby".freeze, "BSD-2-Clause".freeze]
|
|
19
|
-
s.required_ruby_version = Gem::Requirement.new(">= 2.
|
|
19
|
+
s.required_ruby_version = Gem::Requirement.new(">= 2.7".freeze)
|
|
20
20
|
s.rubygems_version = "3.4.12".freeze
|
|
21
21
|
s.summary = "Pseudo IO on String".freeze
|
|
22
22
|
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: cybrid_api_organization_ruby
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.71.
|
|
4
|
+
version: 0.71.65
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Cybrid
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2023-06-
|
|
11
|
+
date: 2023-06-02 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: typhoeus
|
|
@@ -115,7 +115,7 @@ files:
|
|
|
115
115
|
- vendor/bundle/ruby/3.2.0/cache/rspec-support-3.12.0.gem
|
|
116
116
|
- vendor/bundle/ruby/3.2.0/cache/rubocop-0.66.0.gem
|
|
117
117
|
- vendor/bundle/ruby/3.2.0/cache/ruby-progressbar-1.13.0.gem
|
|
118
|
-
- vendor/bundle/ruby/3.2.0/cache/stringio-3.0.
|
|
118
|
+
- vendor/bundle/ruby/3.2.0/cache/stringio-3.0.7.gem
|
|
119
119
|
- vendor/bundle/ruby/3.2.0/cache/typhoeus-1.4.0.gem
|
|
120
120
|
- vendor/bundle/ruby/3.2.0/cache/unicode-display_width-1.5.0.gem
|
|
121
121
|
- vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/byebug-11.1.3/byebug/byebug.so
|
|
@@ -132,10 +132,9 @@ files:
|
|
|
132
132
|
- vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/psych-5.1.0/gem_make.out
|
|
133
133
|
- vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/psych-5.1.0/mkmf.log
|
|
134
134
|
- vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/psych-5.1.0/psych.so
|
|
135
|
-
- vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/stringio-3.0.
|
|
136
|
-
- vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/stringio-3.0.
|
|
137
|
-
- vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/stringio-3.0.
|
|
138
|
-
- vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/stringio-3.0.6/stringio.so
|
|
135
|
+
- vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/stringio-3.0.7/gem.build_complete
|
|
136
|
+
- vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/stringio-3.0.7/gem_make.out
|
|
137
|
+
- vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/stringio-3.0.7/stringio.so
|
|
139
138
|
- vendor/bundle/ruby/3.2.0/gems/ast-2.4.2/LICENSE.MIT
|
|
140
139
|
- vendor/bundle/ruby/3.2.0/gems/ast-2.4.2/README.YARD.md
|
|
141
140
|
- vendor/bundle/ruby/3.2.0/gems/ast-2.4.2/lib/ast.rb
|
|
@@ -2391,11 +2390,11 @@ files:
|
|
|
2391
2390
|
- vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/time.rb
|
|
2392
2391
|
- vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/timer.rb
|
|
2393
2392
|
- vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/version.rb
|
|
2394
|
-
- vendor/bundle/ruby/3.2.0/gems/stringio-3.0.
|
|
2395
|
-
- vendor/bundle/ruby/3.2.0/gems/stringio-3.0.
|
|
2396
|
-
- vendor/bundle/ruby/3.2.0/gems/stringio-3.0.
|
|
2397
|
-
- vendor/bundle/ruby/3.2.0/gems/stringio-3.0.
|
|
2398
|
-
- vendor/bundle/ruby/3.2.0/gems/stringio-3.0.
|
|
2393
|
+
- vendor/bundle/ruby/3.2.0/gems/stringio-3.0.7/README.md
|
|
2394
|
+
- vendor/bundle/ruby/3.2.0/gems/stringio-3.0.7/ext/stringio/Makefile
|
|
2395
|
+
- vendor/bundle/ruby/3.2.0/gems/stringio-3.0.7/ext/stringio/extconf.rb
|
|
2396
|
+
- vendor/bundle/ruby/3.2.0/gems/stringio-3.0.7/ext/stringio/stringio.c
|
|
2397
|
+
- vendor/bundle/ruby/3.2.0/gems/stringio-3.0.7/lib/stringio.so
|
|
2399
2398
|
- vendor/bundle/ruby/3.2.0/gems/typhoeus-1.4.0/.gitignore
|
|
2400
2399
|
- vendor/bundle/ruby/3.2.0/gems/typhoeus-1.4.0/.rspec
|
|
2401
2400
|
- vendor/bundle/ruby/3.2.0/gems/typhoeus-1.4.0/.travis.yml
|
|
@@ -2523,7 +2522,7 @@ files:
|
|
|
2523
2522
|
- vendor/bundle/ruby/3.2.0/specifications/rspec-support-3.12.0.gemspec
|
|
2524
2523
|
- vendor/bundle/ruby/3.2.0/specifications/rubocop-0.66.0.gemspec
|
|
2525
2524
|
- vendor/bundle/ruby/3.2.0/specifications/ruby-progressbar-1.13.0.gemspec
|
|
2526
|
-
- vendor/bundle/ruby/3.2.0/specifications/stringio-3.0.
|
|
2525
|
+
- vendor/bundle/ruby/3.2.0/specifications/stringio-3.0.7.gemspec
|
|
2527
2526
|
- vendor/bundle/ruby/3.2.0/specifications/typhoeus-1.4.0.gemspec
|
|
2528
2527
|
- vendor/bundle/ruby/3.2.0/specifications/unicode-display_width-1.5.0.gemspec
|
|
2529
2528
|
homepage: https://github.com/Cybrid-app/cybrid-api-organization-ruby/
|
|
Binary file
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
have_func: checking for rb_io_extract_modeenc() in ruby/io.h... -------------------- yes
|
|
2
|
-
|
|
3
|
-
LD_LIBRARY_PATH=.:/usr/local/lib "gcc -o conftest -I/usr/local/include/ruby-3.2.0/x86_64-linux -I/usr/local/include/ruby-3.2.0/ruby/backward -I/usr/local/include/ruby-3.2.0 -I. -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wdiv-by-zero -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wwrite-strings -Wold-style-definition -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable -Wundef -fPIC conftest.c -L. -L/usr/local/lib -Wl,-rpath,/usr/local/lib -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic -Wl,--no-as-needed -Wl,-rpath,/usr/local/lib -L/usr/local/lib -lruby -lm -lpthread -lc"
|
|
4
|
-
checked program was:
|
|
5
|
-
/* begin */
|
|
6
|
-
1: #include "ruby.h"
|
|
7
|
-
2:
|
|
8
|
-
3: int main(int argc, char **argv)
|
|
9
|
-
4: {
|
|
10
|
-
5: return !!argv[argc];
|
|
11
|
-
6: }
|
|
12
|
-
/* end */
|
|
13
|
-
|
|
14
|
-
LD_LIBRARY_PATH=.:/usr/local/lib "gcc -o conftest -I/usr/local/include/ruby-3.2.0/x86_64-linux -I/usr/local/include/ruby-3.2.0/ruby/backward -I/usr/local/include/ruby-3.2.0 -I. -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wdiv-by-zero -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wwrite-strings -Wold-style-definition -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable -Wundef -fPIC conftest.c -L. -L/usr/local/lib -Wl,-rpath,/usr/local/lib -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic -Wl,--no-as-needed -Wl,-rpath,/usr/local/lib -L/usr/local/lib -lruby -lm -lpthread -lc"
|
|
15
|
-
checked program was:
|
|
16
|
-
/* begin */
|
|
17
|
-
1: #include "ruby.h"
|
|
18
|
-
2:
|
|
19
|
-
3: #include <ruby/io.h>
|
|
20
|
-
4:
|
|
21
|
-
5: /*top*/
|
|
22
|
-
6: extern int t(void);
|
|
23
|
-
7: int main(int argc, char **argv)
|
|
24
|
-
8: {
|
|
25
|
-
9: if (argc > 1000000) {
|
|
26
|
-
10: int (* volatile tp)(void)=(int (*)(void))&t;
|
|
27
|
-
11: printf("%d", (*tp)());
|
|
28
|
-
12: }
|
|
29
|
-
13:
|
|
30
|
-
14: return !!argv[argc];
|
|
31
|
-
15: }
|
|
32
|
-
16: int t(void) { void ((*volatile p)()); p = (void ((*)()))rb_io_extract_modeenc; return !p; }
|
|
33
|
-
/* end */
|
|
34
|
-
|
|
35
|
-
--------------------
|
|
36
|
-
|
|
Binary file
|
|
Binary file
|
|
File without changes
|
|
File without changes
|