diff options
author | Andrew Bartlett <abartlet@samba.org> | 2011-02-16 16:44:41 +1100 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2011-02-18 15:09:47 +1100 |
commit | 13f287fbc2ce4d92c9c2da328250bb38e9266ad7 (patch) | |
tree | 6b890f3468351b295fe98daeb1811de4c37ab5bc /lib | |
parent | a47120ae93b3a8f99edf9453b596fb4bb7bb30b4 (diff) | |
download | samba-13f287fbc2ce4d92c9c2da328250bb38e9266ad7.tar.gz samba-13f287fbc2ce4d92c9c2da328250bb38e9266ad7.tar.bz2 samba-13f287fbc2ce4d92c9c2da328250bb38e9266ad7.zip |
lib/util/charset use get_dyn_CODEPAGEDIR(), which is in common
This is provided by the s3 and s4 dynconfig implementations.
Andrew Bartlett
Diffstat (limited to 'lib')
-rw-r--r-- | lib/util/charset/codepoints.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/util/charset/codepoints.c b/lib/util/charset/codepoints.c index 5e02935694..5dc76143e2 100644 --- a/lib/util/charset/codepoints.c +++ b/lib/util/charset/codepoints.c @@ -44,8 +44,8 @@ void load_case_tables(void) if (!mem_ctx) { smb_panic("No memory for case_tables"); } - upcase_table = map_file(talloc_asprintf(mem_ctx, "%s/upcase.dat", dyn_CODEPAGEDIR), 0x20000); - lowcase_table = map_file(talloc_asprintf(mem_ctx, "%s/lowcase.dat", dyn_CODEPAGEDIR), 0x20000); + upcase_table = map_file(talloc_asprintf(mem_ctx, "%s/upcase.dat", get_dyn_CODEPAGEDIR()), 0x20000); + lowcase_table = map_file(talloc_asprintf(mem_ctx, "%s/lowcase.dat", get_dyn_CODEPAGEDIR()), 0x20000); talloc_free(mem_ctx); if (upcase_table == NULL) { upcase_table = (void *)-1; |