Skip to content

Commit aac2d82

Browse files
committed
merge revision(s) 45130: [Backport ruby#9554]
* ext/io/console/console.c (console_dev): need read access for conout$ because some functions need it. [Bug#9554] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@45139 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
1 parent 0025fef commit aac2d82

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+
Sat Feb 22 22:26:43 2014 NAKAMURA Usaku <[email protected]>
2+
3+
* ext/io/console/console.c (console_dev): need read access for conout$
4+
because some functions need it. [Bug#9554]
5+
16
Sat Feb 22 21:56:26 2014 Nobuyoshi Nakada <[email protected]>
27

38
* compile.c (iseq_set_arguments): set arg_keyword_check from

ext/io/console/console.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -710,7 +710,7 @@ console_dev(VALUE klass)
710710
int fd;
711711

712712
#ifdef CONSOLE_DEVICE_FOR_WRITING
713-
fd = rb_cloexec_open(CONSOLE_DEVICE_FOR_WRITING, O_WRONLY, 0);
713+
fd = rb_cloexec_open(CONSOLE_DEVICE_FOR_WRITING, O_RDWR, 0);
714714
if (fd < 0) return Qnil;
715715
rb_update_max_fd(fd);
716716
args[1] = INT2FIX(O_WRONLY);

version.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#define RUBY_VERSION "2.1.1"
22
#define RUBY_RELEASE_DATE "2014-02-22"
3-
#define RUBY_PATCHLEVEL 74
3+
#define RUBY_PATCHLEVEL 75
44

55
#define RUBY_RELEASE_YEAR 2014
66
#define RUBY_RELEASE_MONTH 2

0 commit comments

Comments
 (0)