mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-21 16:14:23 +01:00
Force the use of the POSIX C locale for all commands and their subprocesses
This commit is contained in:
committed by
Christian Decker
parent
52c243852e
commit
abf510740d
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user