From a9648d1e58260d35438d759dccf81cc45be9b45e Mon Sep 17 00:00:00 2001 From: akr Date: Sat, 29 Oct 2011 11:58:30 +0000 Subject: [PATCH] add a comment. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33554 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- io.c | 1 + 1 file changed, 1 insertion(+) diff --git a/io.c b/io.c index ddc89cc67e..bde6ff4a36 100644 --- a/io.c +++ b/io.c @@ -192,6 +192,7 @@ rb_cloexec_open(const char *pathname, int flags, mode_t mode) { int ret; #ifdef O_CLOEXEC + /* O_CLOEXEC is available since Linux 2.6.23. Linux 2.6.18 silently ignore it. */ flags |= O_CLOEXEC; #endif ret = open(pathname, flags, mode);