[NaCl SDK] nacl_io: Fix utime() on directories.
It was previously failing with EISDIR. This is because utime() internally acquires the node as O_WRONLY in order to call the Futimens method. This was failing because the check for opening a directory for write was done in Open() rather than CanOpen(). Review URL: https://codereview.chromium.org/660353003 Cr-Commit-Position: refs/heads/master@{#300313}
Showing
Please register or sign in to comment