hpricot 0.8.3-i386-mswin32 → 0.8.4-i386-mswin32
Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG
CHANGED
@@ -6811,8 +6811,14 @@ void hstruct_mark(void* ptr) {
|
|
6811
6811
|
struct hpricot_struct* st = (struct hpricot_struct*)ptr;
|
6812
6812
|
int i;
|
6813
6813
|
|
6814
|
-
|
6815
|
-
|
6814
|
+
/* it's likely to hit GC when allocating st->ptr.
|
6815
|
+
* that should be checked to avoid segfault.
|
6816
|
+
* and simply ignore it.
|
6817
|
+
*/
|
6818
|
+
if (st->ptr) {
|
6819
|
+
for(i = 0; i < st->len; i++) {
|
6820
|
+
rb_gc_mark(st->ptr[i]);
|
6821
|
+
}
|
6816
6822
|
}
|
6817
6823
|
}
|
6818
6824
|
|
@@ -668,8 +668,14 @@ void hstruct_mark(void* ptr) {
|
|
668
668
|
struct hpricot_struct* st = (struct hpricot_struct*)ptr;
|
669
669
|
int i;
|
670
670
|
|
671
|
-
|
672
|
-
|
671
|
+
/* it's likely to hit GC when allocating st->ptr.
|
672
|
+
* that should be checked to avoid segfault.
|
673
|
+
* and simply ignore it.
|
674
|
+
*/
|
675
|
+
if (st->ptr) {
|
676
|
+
for(i = 0; i < st->len; i++) {
|
677
|
+
rb_gc_mark(st->ptr[i]);
|
678
|
+
}
|
673
679
|
}
|
674
680
|
}
|
675
681
|
|
data/lib/fast_xs/1.8/fast_xs.so
CHANGED
Binary file
|
data/lib/fast_xs/1.9/fast_xs.so
CHANGED
Binary file
|
Binary file
|
Binary file
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hpricot
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 55
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 8
|
9
|
-
-
|
10
|
-
version: 0.8.
|
9
|
+
- 4
|
10
|
+
version: 0.8.4
|
11
11
|
platform: i386-mswin32
|
12
12
|
authors:
|
13
13
|
- why the lucky stiff
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date:
|
18
|
+
date: 2011-02-28 00:00:00 -06:00
|
19
19
|
default_executable:
|
20
20
|
dependencies: []
|
21
21
|
|