Skip to content

Commit

Permalink
Merge pull request #215 from haircommander/locale
Browse files Browse the repository at this point in the history
set locale to inherit environment
  • Loading branch information
rhatdan authored Jan 11, 2021
2 parents 5e42e54 + 9c55220 commit 7bc96c7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/conmon.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,11 @@

#include <sys/prctl.h>
#include <sys/stat.h>
#include <locale.h>

int main(int argc, char *argv[])
{
setlocale(LC_ALL, "");
_cleanup_gerror_ GError *err = NULL;
char buf[BUF_SIZE];
int num_read;
Expand Down

0 comments on commit 7bc96c7

Please sign in to comment.