diff options
author | Rui Abreu Ferreira <raf-ep@gmx.com> | 2015-05-14 09:38:25 +0100 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2015-08-04 19:15:17 -0400 |
commit | 2e1a80563b56ecfee0306bf724b264115ca751a1 (patch) | |
tree | 9ecbf6cfe6eae1bd64327321c695f65d0cd105c3 /test/functional/eval/msgpack_functions_spec.lua | |
parent | 8f3eb69207b7135d66cd44f0ac50100367bc78b4 (diff) | |
download | rneovim-2e1a80563b56ecfee0306bf724b264115ca751a1.tar.gz rneovim-2e1a80563b56ecfee0306bf724b264115ca751a1.tar.bz2 rneovim-2e1a80563b56ecfee0306bf724b264115ca751a1.zip |
os_get_user_name() for non UNIX system #2729
os_get_user_name() requires getuid(), which is only available in UNIX. Return
FAIL for non UNIX systems.
On FAIL os_get_user_name() fills the buffer with the uid. In Windows libuv
uses 0 for uid in stat structs, so 0 is used here too.
Diffstat (limited to 'test/functional/eval/msgpack_functions_spec.lua')
0 files changed, 0 insertions, 0 deletions