aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjozan <jozan@noemail.net>2020-11-08 17:53:35 +0000
committerjozan <jozan@noemail.net>2020-11-08 17:53:35 +0000
commit328ea857d4e653daddd2a9921054246c8be10d50 (patch)
tree8a535ca5e8eb194ee0c6f42a866311f744a6ab06
parentI can use unicode now! (diff)
downloadunixize-328ea857d4e653daddd2a9921054246c8be10d50.tar.gz
unixize-328ea857d4e653daddd2a9921054246c8be10d50.tar.bz2
unixize-328ea857d4e653daddd2a9921054246c8be10d50.tar.xz
unixize-328ea857d4e653daddd2a9921054246c8be10d50.tar.zst
unixize-328ea857d4e653daddd2a9921054246c8be10d50.zip
rename
FossilOrigin-Name: dc80c03feabd1c62a87bd33a64d48cb796163aec13664f96848f5ccfe5af66bf
-rw-r--r--src/c_subst.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/c_subst.c b/src/c_subst.c
index 95595ea..54a241a 100644
--- a/src/c_subst.c
+++ b/src/c_subst.c
@@ -60,7 +60,7 @@
#include <unistd.h>
static void
-c_subst_normal
+c_classic_subst
(char filename[],
const bool_t hyphen)
{
@@ -76,11 +76,11 @@ c_subst_normal
(strlen(p + 1) + 1) * sizeof(char)
);
*p = 'd';
- c_subst_normal(filename, hyphen);
+ c_classic_subst(filename, hyphen);
}
if (u_ischarset(*p, " -") == TRUE) {
*p = (hyphen == FALSE) ? ('_') : ('-');
- c_subst_normal(filename, hyphen);
+ c_classic_subst(filename, hyphen);
}
p++;
}
@@ -100,7 +100,9 @@ c_subst_current
*p = tolower(*p);
p++;
}
- c_subst_normal(new_fname, hyphen);
+ /* c_unicode_subst(new_fname, hyphen); */
+ /* c_exascii_subst(new_fname, hyphen); */
+ c_classic_subst(new_fname, hyphen);
}
struct lfiles_s*