cproc

Unnamed repository; edit this file 'description' to name the repository.
git clone git://git.nihaljere.xyz/cproc
Log | Files | Refs | Submodules | README | LICENSE

commit bca4edbf1b1112f36ba7093cdd15730e8eea253c
parent ba46d27318f9eae963634e6bf80e4f0290c37698
Author: Nihal Jere <nihal@nihaljere.xyz>
Date:   Fri, 26 Mar 2021 19:14:10 -0500

main.c: use system locale

Diffstat:
Mmain.c | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/main.c b/main.c @@ -1,3 +1,4 @@ +#include <locale.h> #include <stdbool.h> #include <stdint.h> #include <stdio.h> @@ -20,6 +21,7 @@ main(int argc, char *argv[]) bool pponly = false; char *output = NULL, *target = NULL; + setlocale(LC_ALL, ""); argv0 = progname(argv[0], "cproc-qbe"); ARGBEGIN { case 'E':