Small bug in code page directory handling

David Collier-Brown David.Collier-Brown at canada.sun.com
Fri Jan 12 14:21:25 GMT 2001


  There's now a variable (lp_codepagedir) to store the directory
name in, but the code in load_unicode_map still refers to the
compiled-in constant, not the variable.


C symbol: CODEPAGEDIR                                  

  File          Function         Line
1 util_unistr.c load_unicode_map  550 if (strlen(CODEPAGEDIR) + 13 +
                                      strlen(codepage) >
                                      sizeof(unicode_map_file_name)) {
2 util_unistr.c load_unicode_map  555 pstrcpy(unicode_map_file_name,
                                      CODEPAGEDIR);
3 loadparm.c    init_globals     1192
string_set(&Globals.szCodePageDir,
                                      CODEPAGEDIR);

--dave
-- 
David Collier-Brown,           | Always do right. This will gratify 
Performance & Engineering Team | some people and astonish the rest.
Americas Customer Engineering  |                      -- Mark Twain
(905) 415-2849                 | davecb at canada.sun.com




More information about the samba-technical mailing list