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

@@ -8,6 +8,7 @@
#include <ccan/tal/str/str.h>
#include <common/configdir.h>
#include <common/json.h>
#include <common/utils.h>
#include <common/version.h>
#include <stdio.h>
#include <sys/socket.h>
@@ -167,6 +168,8 @@ static void add_input(char **cmd, const char *input,
int main(int argc, char *argv[])
{
setup_locale();
int fd, i, off;
const char *method;
char *cmd, *resp, *idstr, *rpc_filename;