Commit 5a46a18f authored by George Burgess IV's avatar George Burgess IV
Browse files

Remove useless open mode

Open modes are ignored if the user doesn't want the file to be crated:
http://man7.org/linux/man-pages/man2/open.2.html

Since it's somewhat misleading/potentially indicative of a missing
O_CREAT/O_TMPFILE, we plan to issue a warning on open calls with useless
mode bits in the near future. Since -Werror is used in this project
(thank you!), we need to either make the mode useful, or remove it.

Bug: 64132680
Test: mma. New warning no longer appears.
Change-Id: I2ef32732956e2ef7ee46af2f8575b3bc7c0c5655
parent 41555205
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment