Skip to content

Commit 69883b3

Browse files
committed
merge revision(s) 33611:
* lib/webrick/utils.rb: fix fcntl call. * lib/drb/unix.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@35939 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
1 parent c869f69 commit 69883b3

File tree

4 files changed

+13
-7
lines changed

4 files changed

+13
-7
lines changed

ChangeLog

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
Wed Jun 6 14:06:02 2012 Tanaka Akira <akr@fsij.org>
2+
3+
* lib/webrick/utils.rb: fix fcntl call.
4+
5+
* lib/drb/unix.rb: ditto.
6+
17
Mon May 21 16:29:47 2012 Akinori MUSHA <knu@iDaemons.org>
28

39
* ext/syslog/syslog.c (mSyslog_inspect): Make sure self is a

lib/drb/unix.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ def accept
100100
end
101101

102102
def set_sockopt(soc)
103-
soc.fcntl(Fcntl::F_SETFL, Fcntl::FD_CLOEXEC) if defined? Fcntl::FD_CLOEXEC
103+
soc.fcntl(Fcntl::F_SETFD, Fcntl::FD_CLOEXEC) if defined? Fcntl::FD_CLOEXEC
104104
end
105105
end
106106

lib/webrick/utils.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ def set_non_blocking(io)
2929

3030
def set_close_on_exec(io)
3131
if defined?(Fcntl::FD_CLOEXEC)
32-
io.fcntl(Fcntl::FD_CLOEXEC, 1)
32+
io.fcntl(Fcntl::F_SETFD, Fcntl::FD_CLOEXEC)
3333
end
3434
end
3535
module_function :set_close_on_exec

version.h

Lines changed: 5 additions & 5 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 "2012-05-21"
2+
#define RUBY_RELEASE_DATE "2012-06-06"
33
#define RUBY_VERSION_CODE 187
4-
#define RUBY_RELEASE_CODE 20120521
5-
#define RUBY_PATCHLEVEL 362
4+
#define RUBY_RELEASE_CODE 20120606
5+
#define RUBY_PATCHLEVEL 363
66

77
#define RUBY_VERSION_MAJOR 1
88
#define RUBY_VERSION_MINOR 8
99
#define RUBY_VERSION_TEENY 7
1010
#define RUBY_RELEASE_YEAR 2012
11-
#define RUBY_RELEASE_MONTH 5
12-
#define RUBY_RELEASE_DAY 21
11+
#define RUBY_RELEASE_MONTH 6
12+
#define RUBY_RELEASE_DAY 6
1313

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

0 commit comments

Comments
 (0)