Skip to content

Commit b3afdd1

Browse files
committed
merge revision(s) 17642:
* ext/win32ole/win32ole.c (date2time_str): fix the overflow in some situation. [ruby-bugs-20793] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@17795 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
1 parent 7c26006 commit b3afdd1

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

ChangeLog

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
Wed Jul 2 18:13:30 2008 Masaki Suketa <masaki.suketa@nifty.ne.jp>
2+
3+
* ext/win32ole/win32ole.c (date2time_str): fix the overflow in
4+
some situation. [ruby-bugs-20793]
5+
16
Wed Jul 2 17:38:01 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
27

38
* ext/iconv/iconv.c (iconv_iconv): fixed backport miss.

ext/win32ole/win32ole.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -459,7 +459,7 @@ date2time_str(date)
459459
double date;
460460
{
461461
int y, m, d, hh, mm, ss;
462-
char szTime[20];
462+
char szTime[40];
463463
double2time(date, &y, &m, &d, &hh, &mm, &ss);
464464
sprintf(szTime,
465465
"%4.4d/%02.2d/%02.2d %02.2d:%02.2d:%02.2d",

version.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
#define RUBY_RELEASE_DATE "2008-07-02"
33
#define RUBY_VERSION_CODE 186
44
#define RUBY_RELEASE_CODE 20080702
5-
#define RUBY_PATCHLEVEL 258
5+
#define RUBY_PATCHLEVEL 259
66

77
#define RUBY_VERSION_MAJOR 1
88
#define RUBY_VERSION_MINOR 8

0 commit comments

Comments
 (0)