From ed993cd7c1d87215a93df5e262e4fba3ce57c442 Mon Sep 17 00:00:00 2001 From: jozan Date: Thu, 12 Nov 2020 18:28:47 +0000 Subject: In progress FossilOrigin-Name: 67a34a272b1dbb5370844efe2378b87c51c0e56c856cf7554993367bab6bfa47 --- src/c_unixize.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/c_unixize.c') diff --git a/src/c_unixize.c b/src/c_unixize.c index 324d358..eac2eb3 100644 --- a/src/c_unixize.c +++ b/src/c_unixize.c @@ -49,6 +49,7 @@ #include #include +#include #include #include #include @@ -74,6 +75,7 @@ main char** nargv; static char subpath[MAXPATHLEN] = ""; + setlocale(LC_ALL, ""); if (c_get_opts(&opts, argc, argv) == FALSE) { return (0); } @@ -94,7 +96,7 @@ main if (og_files == NULL) { return (0); } - new_files = c_subst_filenames(og_files, opts.hyphen, opts.cxx); + new_files = c_subst_filenames(og_files, opts.hyphen, opts.preserve, opts.cxx); if (new_files == NULL) { c_lfiles_clear(&og_files); return (1); -- cgit v1.2.3