mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Backport #776 [ruby-core:20043]; Added an #ifdef _WIN32 to rb_io_flush in io.c to fsync on windows to ensure that a flush took place.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@28003 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
91b056e10d
commit
1da4e3b919
3 changed files with 14 additions and 6 deletions
14
ChangeLog
14
ChangeLog
|
|
@ -1,12 +1,18 @@
|
|||
Mon May 24 06:26:00 2010 Kirk haines <khaines@ruby-lang.org>
|
||||
Mon May 25 06:59:00 2010 Kirk Haines <khaines@ruby-lang.org>
|
||||
|
||||
* ext/openssl/ossl_config.c: Backport #484 [ruby-core:18377]; OpenSSL::Config now freezes correctly, preventing further modification.
|
||||
* ChangeLog: Changed dates on the last commit records, because I didn't shift the day when I shifted timezones to JST.
|
||||
|
||||
Mon May 24 05:25:00 2010 Kirk haines <khaines@ruby-lang.org>
|
||||
* io.c: Backport #776 [ruby-core:20043]; added an ifdef _#WIN32 to rb_io_flush to do an fsync on windows.
|
||||
|
||||
Mon May 25 06:26:00 2010 Kirk haines <khaines@ruby-lang.org>
|
||||
|
||||
* ext/openssl/ossl_config.c: Backport #484 [ruby-core:18377]; OpenSSL::Config now freezes correctly, preventing further modification. r28002
|
||||
|
||||
Mon May 25 05:25:00 2010 Kirk haines <khaines@ruby-lang.org>
|
||||
|
||||
* lib/fileutils.rb: Backport #1700 [ruby-core:24078]; stringify group argument in #fu_get_gid before making regexp match. r28001
|
||||
|
||||
Mon May 24 05:15:00 2010 Kirk Haines <khaines@ruby-lang.org>
|
||||
Mon May 25 05:15:00 2010 Kirk Haines <khaines@ruby-lang.org>
|
||||
|
||||
* configure.in: Bug #2553 [ruby-core:27380]; Add a --disable-ucontext option, for use with --enable-pthreads, to avoid performance loss from --enable-pthreads and the oodles of sigprocmask calls that normally brings. r27999
|
||||
|
||||
|
|
|
|||
4
io.c
4
io.c
|
|
@ -643,7 +643,9 @@ rb_io_flush(io)
|
|||
f = GetWriteFile(fptr);
|
||||
|
||||
io_fflush(f, fptr);
|
||||
|
||||
#ifdef _WIN32
|
||||
fsync(fileno(f));
|
||||
#endif
|
||||
return io;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
#define RUBY_RELEASE_DATE "2010-05-25"
|
||||
#define RUBY_VERSION_CODE 186
|
||||
#define RUBY_RELEASE_CODE 20100525
|
||||
#define RUBY_PATCHLEVEL 401
|
||||
#define RUBY_PATCHLEVEL 402
|
||||
|
||||
#define RUBY_VERSION_MAJOR 1
|
||||
#define RUBY_VERSION_MINOR 8
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue