aboutsummaryrefslogtreecommitdiff
path: root/src/clint.py
diff options
context:
space:
mode:
authorZyX <kp-pav@yandex.ru>2016-06-21 22:18:03 +0300
committerZyX <kp-pav@yandex.ru>2016-06-23 21:17:51 +0300
commita8f3849bc04cee5d7166138a28cb1e7bbf300803 (patch)
tree640f647982f1745bf5b26d19e5896a92f00b87a7 /src/clint.py
parent2ac5f1138b5c4c5540479e26ca9b9755cf7b784d (diff)
downloadrneovim-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