K 10 svn:author V 3 pjd K 8 svn:date V 27 2007-01-07T17:32:16.000000Z K 7 svn:log V 481 Prefer "to be modified" over "to be opened for writing". This is quite tricky situation, because we allow to open a file with O_RDONLY|O_TRUNC. O_TRUNC modifies a file, but we actually don't open it for writing. EISDIR is also returned when we try to open a directory O_RDONLY|O_TRUNC, which is correct. POSIX says that "The result of using O_TRUNC with O_RDONLY is undefined.", we choose to accept it (Solaris did the same), that's why "to be modified" seems more accurate to me. END