Ignore:
Timestamp:
Jan 12, 2010, 7:38:34 PM (16 years ago)
Author:
Herwig Bauernfeind
Message:

Better fix for hardcoded \lib directory in 3.0.x

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/samba-3.0/source/lib/util_unistr.c

    r1 r366  
    9696                                               0x20000);
    9797        lowcase_table_use_unmap = ( lowcase_table != NULL );
     98       
    9899
    99100#ifdef HAVE_SETLOCALE
     
    113114           not available */
    114115        if (!upcase_table) {
     116#ifdef __OS2__
     117                DEBUG(1,("could not load %s",lib_path("upcase.dat")));
     118#endif         
    115119                DEBUG(1,("creating lame upcase table\n"));
     120
    116121                upcase_table = (smb_ucs2_t *)SMB_MALLOC(0x20000);
    117122                for (i=0;i<0x10000;i++) {
     
    128133
    129134        if (!lowcase_table) {
     135#ifdef __OS2__
     136                DEBUG(1,("could not load %s\n",lib_path("lowcase.dat")));
     137#endif
    130138                DEBUG(1,("creating lame lowcase table\n"));
     139
    131140                lowcase_table = (smb_ucs2_t *)SMB_MALLOC(0x20000);
    132141                for (i=0;i<0x10000;i++) {
     
    248257        /* use free rather than unmap */
    249258        valid_table_use_unmap = False;
    250 
    251         DEBUG(2,("creating default valid table\n"));
     259#ifdef __OS2__
     260        DEBUG(1,("could not load %s\n",lib_path("valid.dat")));
     261#endif 
     262        DEBUG(1,("creating default valid table\n"));
     263
    252264        valid_table = (uint8 *)SMB_MALLOC(0x10000);
    253265        for (i=0;i<128;i++) {
Note: See TracChangeset for help on using the changeset viewer.