File tree Expand file tree Collapse file tree 3 files changed +7
-1
lines changed Expand file tree Collapse file tree 3 files changed +7
-1
lines changed Original file line number Diff line number Diff line change
1
+ Sun Jun 15 23:19:53 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
2
+
3
+ * object.c (rb_cstr_to_dbl): should clear errno before calling
4
+ strtod(3). [ruby-dev:34834]
5
+
1
6
Sun Jun 15 23:18:15 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
2
7
3
8
* marshal.c (marshal_load): should initialize arg.data used for
Original file line number Diff line number Diff line change @@ -2281,6 +2281,7 @@ rb_cstr_to_dbl(p, badcheck)
2281
2281
else {
2282
2282
while (ISSPACE (* p ) || * p == '_' ) p ++ ;
2283
2283
}
2284
+ errno = 0 ;
2284
2285
d = strtod (p , & end );
2285
2286
if (errno == ERANGE ) {
2286
2287
OutOfRange ();
Original file line number Diff line number Diff line change 2
2
#define RUBY_RELEASE_DATE "2008-06-15"
3
3
#define RUBY_VERSION_CODE 186
4
4
#define RUBY_RELEASE_CODE 20080615
5
- #define RUBY_PATCHLEVEL 215
5
+ #define RUBY_PATCHLEVEL 216
6
6
7
7
#define RUBY_VERSION_MAJOR 1
8
8
#define RUBY_VERSION_MINOR 8
You can’t perform that action at this time.
0 commit comments