From: Run Paint Run Run Date: 2010-11-03T19:05:51+09:00 Subject: [ruby-core:33034] Re: [Ruby 1.9-Feature#4015] File::DIRECT Constant for O_DIRECT On Wed, Nov 3, 2010 at 8:13 AM, Nikolai Weibull wrote: > On Wed, Nov 3, 2010 at 00:19, Run Paint Run Run wrote: > >> * Prefix the constant name with the platform name, e.g. File::LINUX_DIRECT, so as to clearly indicate that the code is not portable. > > What happens when, for example, FreeBSD implements it? According to http://goo.gl/Y6wF9 it already does, actually; OpenBSD (http://goo.gl/5pXnR), Mac (http://goo.gl/Ru57H), and Solaris (http://goo.gl/6QNsl) don't.