From b84de669d425a56ce0643159be9142ac16914934 Mon Sep 17 00:00:00 2001 From: jozan Date: Sat, 14 Nov 2020 18:39:01 +0000 Subject: Good retval, no leak, everything seems fine. Now documentation FossilOrigin-Name: dfd778e91b7a2771ff8a366602ca5f8ca06eb7a4a243de84cc3d7de96b3b9125 --- src/c_unixize.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/c_unixize.c b/src/c_unixize.c index 0f41bd3..b444ec3 100644 --- a/src/c_unixize.c +++ b/src/c_unixize.c @@ -76,7 +76,6 @@ main static int ret = 0; static char subpath[MAXPATHLEN] = ""; - setlocale(LC_ALL, ""); if (c_get_opts(&opts, argc, argv) == FALSE) { return (0); } @@ -127,7 +126,7 @@ main while (argv[nargc + 1] != NULL) { nargc++; } - main(nargc, (const char**)nargv); + ret = main(nargc, (const char**)nargv); u_del_nargv(nargv); } chdir("../"); -- cgit v1.2.3