Force the use of the POSIX C locale for all commands and their subprocesses

This commit is contained in:
practicalswift
2018-04-25 12:55:34 +02:00
committed by Christian Decker
parent 52c243852e
commit abf510740d
38 changed files with 102 additions and 3 deletions

View File

@@ -83,8 +83,9 @@ ssize_t test_read(int fd UNUSED, void *buf, size_t len)
int main(int argc UNUSED, char *argv[])
{
char *fake_argv[] = { argv[0], "--lightning-dir=/tmp/", "test", NULL };
setup_locale();
char *fake_argv[] = { argv[0], "--lightning-dir=/tmp/", "test", NULL };
/* sizeof() is an overestimate, but we don't care. */
response = tal_arr(NULL, char,