Skip to content

Commit fade72e

Browse files
committed
merge revision(s) 19514:
* lib/tmpdir.rb: setup buffer with nul characters instead of spaces. fixed [ruby-dev:36493] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@21776 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
1 parent 20178fc commit fade72e

File tree

3 files changed

+10
-5
lines changed

3 files changed

+10
-5
lines changed

ChangeLog

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
Mon Jan 26 11:12:03 2009 NAKAMURA Usaku <usa@ruby-lang.org>
2+
3+
* lib/tmpdir.rb: setup buffer with nul characters instead of spaces.
4+
fixed [ruby-dev:36493]
5+
16
Sun Jan 25 00:07:23 2009 Yukihiro Matsumoto <matz@ruby-lang.org>
27

38
* lib/rexml/formatters/pretty.rb (REXML::Formatters::Pretty#wrap):

lib/tmpdir.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ class Dir
1414
require 'Win32API'
1515
CSIDL_LOCAL_APPDATA = 0x001c
1616
max_pathlen = 260
17-
windir = ' '*(max_pathlen+1)
17+
windir = "\0"*(max_pathlen+1)
1818
begin
1919
getdir = Win32API.new('shell32', 'SHGetFolderPath', 'LLLLP', 'L')
2020
raise RuntimeError if getdir.call(0, CSIDL_LOCAL_APPDATA, 0, 0, windir) != 0

version.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
#define RUBY_VERSION "1.8.7"
2-
#define RUBY_RELEASE_DATE "2009-01-25"
2+
#define RUBY_RELEASE_DATE "2009-01-26"
33
#define RUBY_VERSION_CODE 187
4-
#define RUBY_RELEASE_CODE 20090125
5-
#define RUBY_PATCHLEVEL 95
4+
#define RUBY_RELEASE_CODE 20090126
5+
#define RUBY_PATCHLEVEL 96
66

77
#define RUBY_VERSION_MAJOR 1
88
#define RUBY_VERSION_MINOR 8
99
#define RUBY_VERSION_TEENY 7
1010
#define RUBY_RELEASE_YEAR 2009
1111
#define RUBY_RELEASE_MONTH 1
12-
#define RUBY_RELEASE_DAY 25
12+
#define RUBY_RELEASE_DAY 26
1313

1414
#ifdef RUBY_EXTERN
1515
RUBY_EXTERN const char ruby_version[];

0 commit comments

Comments
 (0)