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:08:29 2008 NAKAMURA Usaku <usa@ruby-lang.org>
2
+
3
+ * sprintf.c (rb_f_sprintf): fixed SEGV on win32 with "% 0e" % 1.0/0.0.
4
+
1
5
Sun Jun 15 23:06:49 2008 NAKAMURA Usaku <usa@ruby-lang.org>
2
6
3
7
* process.c (rb_f_system): set last_status when status == -1 because
Original file line number Diff line number Diff line change @@ -743,6 +743,8 @@ rb_f_sprintf(argc, argv)
743
743
need = strlen (expr );
744
744
if ((!isnan (fval ) && fval < 0.0 ) || (flags & FPLUS ))
745
745
need ++ ;
746
+ else if (flags & FSPACE )
747
+ need ++ ;
746
748
if ((flags & FWIDTH ) && need < width )
747
749
need = width ;
748
750
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 185
4
4
#define RUBY_RELEASE_CODE 20080615
5
- #define RUBY_PATCHLEVEL 210
5
+ #define RUBY_PATCHLEVEL 211
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