pjd 39a9779535 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.
2007-01-07 17:32:16 +00:00
..
2007-01-06 21:50:04 +00:00
2006-12-15 20:59:55 +00:00
2006-12-15 20:59:55 +00:00
2006-10-13 16:11:12 +00:00
2006-12-15 20:59:55 +00:00
2006-09-17 21:27:35 +00:00
2006-12-19 20:20:39 +00:00
2006-08-22 08:03:01 +00:00