joyent/node — comment on commit 99757cbeb22d34c8365637988e16db07fc380ec8
File:  line 0
By igorzi:

@bnoordhuis sorry for the delay.. on Windows futimes is implemented using SetFileTime, which requires the file handle to be opened with FILE_WRITE_ATTRIBUTES access right. 'r' maps to O_RDONLY, which doesn't get FILE_WRITE_ATTRIBUTES right. 'r+' maps to O_RDWR, which does get FILE_WRITE_ATTRIBUTES right. Are there any Unices that require 'r+' for futimes?