mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
merge revision(s) 44790: [Backport #9472]
* io.c (rb_io_syswrite): add RB_GC_GUARD [Bug #9472][ruby-core:60407] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@44821 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
b2a2fa4296
commit
13848d6048
3 changed files with 7 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
Sun Feb 2 05:48:42 2014 Eric Wong <e@80x24.org>
|
||||
|
||||
* io.c (rb_io_syswrite): add RB_GC_GUARD
|
||||
[Bug #9472][ruby-core:60407]
|
||||
|
||||
Wed Feb 5 11:36:30 2014 NARUSE, Yui <naruse@ruby-lang.org>
|
||||
|
||||
* configure.in (opt-dir): don't use non portable flag -E of sed.
|
||||
|
|
1
io.c
1
io.c
|
@ -4213,6 +4213,7 @@ rb_io_syswrite(VALUE io, VALUE str)
|
|||
}
|
||||
|
||||
n = rb_write_internal(fptr->fd, RSTRING_PTR(str), RSTRING_LEN(str));
|
||||
RB_GC_GUARD(str);
|
||||
|
||||
if (n == -1) rb_sys_fail_path(fptr->pathv);
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#define RUBY_VERSION "1.9.3"
|
||||
#define RUBY_PATCHLEVEL 512
|
||||
#define RUBY_PATCHLEVEL 513
|
||||
|
||||
#define RUBY_RELEASE_DATE "2014-02-05"
|
||||
#define RUBY_RELEASE_YEAR 2014
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue