From: Yukihiro Matsumoto Date: 2010-11-03T07:42:43+09:00 Subject: [ruby-core:33021] Re: [Ruby 1.9-Feature#4015][Open] File::DIRECT Constant for O_DIRECT Hi, In message "Re: [ruby-core:33018] [Ruby 1.9-Feature#4015][Open] File::DIRECT Constant for O_DIRECT" on Wed, 3 Nov 2010 06:51:04 +0900, Run Paint Run Run writes: |A couple of the `open(2)` flags on Linux don't have corresponding File:: constants: | |* O_DIRECT |* O_DIRECTORY We haven't made up a policy for platform specific constants. Opinions are welcome. |* O_CLOEXEC Is this really needed? |* O_LARGEFILE | |We already handle large-file support automatically, so this can be ignored, too. Agreed. matz.