aboutsummaryrefslogtreecommitdiff
path: root/scripts/stripdecls.py
diff options
context:
space:
mode:
authorZyX <kp-pav@yandex.ru>2015-07-25 13:34:57 +0300
committerZyX <kp-pav@yandex.ru>2015-10-08 22:00:14 +0300
commitfa8e3f3f20f2f2dc5d160fb70b747568a7b4f1cf (patch)
tree37885721a15670e3aec133c898868208bd86d586 /scripts/stripdecls.py
parent40bbaa757e5a0c9c3989871be4ad81fd2a71b39b (diff)
downloadrneovim-fa8e3f3f20f2f2dc5d160fb70b747568a7b4f1cf.tar.gz
rneovim-fa8e3f3f20f2f2dc5d160fb70b747568a7b4f1cf.tar.bz2
rneovim-fa8e3f3f20f2f2dc5d160fb70b747568a7b4f1cf.zip
shada: Only check errno if read/write returned -1
According to the manual (POSIX) this is the only case when errno is set by these functions. This is needed because some functions (e.g. buflist_new) leave errno set to non-zero value under some conditions (e.g. when opening non-existing files).
Diffstat (limited to 'scripts/stripdecls.py')
0 files changed, 0 insertions, 0 deletions