diff options
author | shyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-08-05 06:30:11 +0000 |
---|---|---|
committer | shyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-08-05 06:30:11 +0000 |
commit | 66c9241789cd80fde9aa8731f4daa04f0c20b08d (patch) | |
tree | 2a6cfdd466bce5e957ca8e1211851b8fa3651221 | |
parent | f66f36d37189e9ede1c4050537e625becad21e78 (diff) |
merge revision(s) 24223:
* io.c (rb_io_flush): fsync() after buffer is flushed on win32.
backported from trunk. [ruby-core:20043]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@24406 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | io.c | 3 | ||||
-rw-r--r-- | version.h | 8 |
3 files changed, 13 insertions, 4 deletions
@@ -1,3 +1,9 @@ +Wed Aug 5 15:29:54 2009 NAKAMURA Usaku <usa@ruby-lang.org> + + * io.c (rb_io_flush): fsync() after buffer is flushed on win32. + backported from trunk. [ruby-core:20043] + + Tue Aug 4 11:00:30 2009 Nobuyoshi Nakada <nobu@ruby-lang.org> * re.h (RMATCH_REGS): added for compatibility. @@ -650,6 +650,9 @@ rb_io_flush(io) f = GetWriteFile(fptr); io_fflush(f, fptr); +#ifdef _WIN32 + fsync(fileno(f)); +#endif return io; } @@ -1,15 +1,15 @@ #define RUBY_VERSION "1.8.7" -#define RUBY_RELEASE_DATE "2009-08-04" +#define RUBY_RELEASE_DATE "2009-08-05" #define RUBY_VERSION_CODE 187 -#define RUBY_RELEASE_CODE 20090804 -#define RUBY_PATCHLEVEL 194 +#define RUBY_RELEASE_CODE 20090805 +#define RUBY_PATCHLEVEL 195 #define RUBY_VERSION_MAJOR 1 #define RUBY_VERSION_MINOR 8 #define RUBY_VERSION_TEENY 7 #define RUBY_RELEASE_YEAR 2009 #define RUBY_RELEASE_MONTH 8 -#define RUBY_RELEASE_DAY 4 +#define RUBY_RELEASE_DAY 5 #ifdef RUBY_EXTERN RUBY_EXTERN const char ruby_version[]; |