mirror of
https://github.com/neovim/neovim.git
synced 2025-09-24 20:18:32 +00:00
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
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user