Fix #4596: Failed to build on MSVC 2015 Update 3, problem with file encoding

This ellipsis character is causing compiling issue on Windows 10 system in Chinese language.
This commit is contained in:
王少东 authored and Ted John committed 2016-10-14 16:43:37 +01:00
1 parent 41dfbed6aa
commit 5fa5f29fc4
1 file changed
+1 -1
+1 -1
View File
@@ -246,7 +246,7 @@ static void execute_cmd(char *command, int *exit_value, char *buf, size_t *buf_s
if (buf && buf_size) {
n_chars = fread(buf, 1, *buf_size, f);
// some commands may return a new-line terminated result, trim that…
// some commands may return a new-line terminated result, trim that
if (n_chars > 0 && buf[n_chars - 1] == '\n') {
buf[n_chars - 1] = '\0';
}