diff options
author | ZyX <kp-pav@yandex.ru> | 2016-06-21 22:18:03 +0300 |
---|---|---|
committer | ZyX <kp-pav@yandex.ru> | 2016-06-23 21:17:51 +0300 |
commit | a8f3849bc04cee5d7166138a28cb1e7bbf300803 (patch) | |
tree | 640f647982f1745bf5b26d19e5896a92f00b87a7 /src/clint.py | |
parent | 2ac5f1138b5c4c5540479e26ca9b9755cf7b784d (diff) | |
download | rneovim-a8f3849bc04cee5d7166138a28cb1e7bbf300803.tar.gz rneovim-a8f3849bc04cee5d7166138a28cb1e7bbf300803.tar.bz2 rneovim-a8f3849bc04cee5d7166138a28cb1e7bbf300803.zip |
file: Use own constants, do not rely on fcntl.h
One of the reasons is that O_RDONLY is zero, which makes checking whether file
is opened read- or write-only harder. It is not guaranteed that on other system
O_WRONLY will not be zero (e.g. because file can only be opened in read-write
mode).
Diffstat (limited to 'src/clint.py')
0 files changed, 0 insertions, 0 deletions