summaryrefslogtreecommitdiff
path: root/test/utils/python/generate_java_main.py
diff options
context:
space:
mode:
authorDavid Brazdil <dbrazdil@google.com>2016-08-09 12:10:56 +0100
committerDavid Brazdil <dbrazdil@google.com>2016-08-09 14:33:39 +0100
commitb64decdc7361c6c93bd91fdd016a50971c8e537a (patch)
tree66ce484619cabb75ccbc39e09a1f6a9307b21734 /test/utils/python/generate_java_main.py
parent51616fb233df2760fd6002a02dce692f24b93fb6 (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 'test/utils/python/generate_java_main.py')
0 files changed, 0 insertions, 0 deletions