0
0
mirror of https://github.com/vim/vim.git synced 2025-09-24 03:44:06 -04:00

updated for version 7.4.248

Problem:    Cannot distinguish between NL and NUL in output of system().
Solution:   Add systemlist(). (ZyX)
This commit is contained in:
Bram Moolenaar
2014-04-05 19:44:40 +02:00
parent 57ebe6e2f9
commit 39c29ed511
6 changed files with 139 additions and 40 deletions

View File

@@ -4341,7 +4341,7 @@ find_locales()
/* 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, SHELL_SILENT);
NULL, SHELL_SILENT, NULL);
if (locale_a == NULL)
return NULL;
ga_init2(&locales_ga, sizeof(char_u *), 20);