Skip to content
Snippets Groups Projects
Commit 3be800fa authored by Martin Nilsson's avatar Martin Nilsson
Browse files

Fix for new location of normalize function.

Rev: tools/release_checks.pike:1.12
parent 986aa6e8
Branches
Tags
No related merge requests found
...@@ -85,7 +85,13 @@ int test_charset_table(string t) { ...@@ -85,7 +85,13 @@ int test_charset_table(string t) {
names += ({ name }); names += ({ name });
} }
string code = Stdio.read_file("src/modules/_Charset/module.pmod.in"); constant path = "lib/modules/Locale.pmod/Charset.pmod/module.pmod";
string code = Stdio.read_file(path);
if(!code)
{
write("Can't load %O\n", path);
return 0;
}
sscanf(code, "%*sstring normalize(%s return out;\n}", code); sscanf(code, "%*sstring normalize(%s return out;\n}", code);
code = "string normalize("+code+" return out;\n}\n"; code = "string normalize("+code+" return out;\n}\n";
function normalize = compile_string(code)()->normalize; function normalize = compile_string(code)()->normalize;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment