diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2017-11-16 01:00:47 +0100 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2017-11-17 23:26:51 +0100 |
commit | bf3f0efb3a98afbcc15020cc3399c71db8f831e7 (patch) | |
tree | 46eef2688e2cb34988719cb16080174cef5fd98d /test/unit/viml/expressions/parser_spec.lua | |
parent | d135ba99b2945ca18fe3246cbb89a0920868ccf6 (diff) | |
download | rneovim-bf3f0efb3a98afbcc15020cc3399c71db8f831e7.tar.gz rneovim-bf3f0efb3a98afbcc15020cc3399c71db8f831e7.tar.bz2 rneovim-bf3f0efb3a98afbcc15020cc3399c71db8f831e7.zip |
os_nodetype: rework
Make the Windows impl closer to Vim os_win32.c, and the Unix impl closer
to Vim os_unix.c.
Outcomes:
- Do not send negative fd to close(). ref #4806 #4772 #6860
- Fallback return-value is now correct in (hopefully) all cases.
- unix: check S_ISXXX instead of relying on os_open (which can fail for
irrelevant reasons). buf_write() expects NODE_WRITABLE for character
devices such as /dev/stderr. 96f834a8424e
Diffstat (limited to 'test/unit/viml/expressions/parser_spec.lua')
0 files changed, 0 insertions, 0 deletions