updated for version 7.4.248
Problem: Cannot distinguish between NL and NUL in output of system().
Solution: Add systemlist(). (ZyX)
diff --git a/src/ex_cmds2.c b/src/ex_cmds2.c
index e66d4c5..c502ff8 100644
--- a/src/ex_cmds2.c
+++ b/src/ex_cmds2.c
@@ -4341,7 +4341,7 @@
/* 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);