adding O_RDWR flag in the open()
authorJiayuan Ren <renjiayuan1314@gmail.com>
Thu, 24 Oct 2019 22:31:56 +0000 (22:31 +0000)
committerSimon Ser <contact@emersion.fr>
Thu, 24 Oct 2019 22:31:56 +0000 (22:31 +0000)
commit8e0513410dd16a3f3b1d07745b613e5ae6141bd0
tree6ad6afab65426d3cd78b05e3d82acc5c110f512f
parent4162863c41a030b2a2058fda54c902ecbe3433e5
adding O_RDWR flag in the open()

According to the manual of open:
"The argument flags must include one of the following access modes:
O_RDONLY, O_WRONLY, or O_RDWR."
src/wayland-server.c