diff options
| author | 2016-08-09 12:10:56 +0100 | |
|---|---|---|
| committer | 2016-08-09 14:33:39 +0100 | |
| commit | b64decdc7361c6c93bd91fdd016a50971c8e537a (patch) | |
| tree | 66ce484619cabb75ccbc39e09a1f6a9307b21734 /compiler/optimizing/optimizing_compiler_stats.h | |
| parent | 51616fb233df2760fd6002a02dce692f24b93fb6 (diff) | |
Fix setting FdFile::ReadOnlyMode() flag
The Unix flag O_RDONLY is defined as zero and hence its presence
cannot be tested with '(flags & O_RDONLY) != 0'. This used to be
broken in FdFlag when setting its internal `read_only_mode_` flag.
Test: m test-art-host-gtest-fd_file_test
Change-Id: Ib48abfc908c7032f031450a1574130e06f6c3bab
Diffstat (limited to 'compiler/optimizing/optimizing_compiler_stats.h')
0 files changed, 0 insertions, 0 deletions