aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/ex_cmds2.c
diff options
context:
space:
mode:
authorScott Prager <splinterofchaos@gmail.com>2014-09-04 23:44:24 -0400
committerScott Prager <splinterofchaos@gmail.com>2014-09-30 19:35:46 -0400
commit566ce93135c5762f5a2708dccf8a8b573f42438c (patch)
tree5352aaaa5453b72f7e941d9f0b1f82728775aecc /src/nvim/ex_cmds2.c
parentd3cd3d2b8f84f87d9f6bc32d085fb5741771857b (diff)
downloadrneovim-566ce93135c5762f5a2708dccf8a8b573f42438c.tar.gz
rneovim-566ce93135c5762f5a2708dccf8a8b573f42438c.tar.bz2
rneovim-566ce93135c5762f5a2708dccf8a8b573f42438c.zip
vim-patch:7.4.248
Problem: Cannot distinguish between NL and NUL in output of system(). Solution: Add systemlist(). (ZyX) https://code.google.com/p/vim/source/detail?r=v7-4-248
Diffstat (limited to 'src/nvim/ex_cmds2.c')
-rw-r--r--src/nvim/ex_cmds2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/ex_cmds2.c b/src/nvim/ex_cmds2.c
index 0703c76b8a..056a101d47 100644
--- a/src/nvim/ex_cmds2.c
+++ b/src/nvim/ex_cmds2.c
@@ -3181,8 +3181,8 @@ static char_u **find_locales(void)
/* Find all available locales by running command "locale -a". If this
* doesn't work we won't have completion. */
- char_u *locale_a = get_cmd_output((char_u *)"locale -a",
- NULL, kShellOptSilent);
+ char_u *locale_a = get_cmd_output((char_u *)"locale -a", NULL,
+ kShellOptSilent, NULL);
if (locale_a == NULL)
return NULL;
ga_init(&locales_ga, sizeof(char_u *), 20);