Ignore:
Timestamp:
06/09/2007 23:39:48 (5 years ago)
Author:
chris
Message:

No need to print syslog() messages any more, now that we have a logging
framework.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • box/chris/general/lib/win32/emu.cpp

    r1745 r1814  
    510510                return tmpStr; 
    511511        } 
    512          
    513         if (filename.length() >= 1 && filename[0] == '\\') 
     512 
     513        if (filename.length() > 2 && filename[0] == '\\' && 
     514                filename[1] == '\\') 
     515        { 
     516                tmpStr += "UNC\\"; 
     517                filename.replace(0, 2, ""); 
     518                // \\?\UNC\<server>\<share> 
     519                // see http://msdn2.microsoft.com/en-us/library/aa365247.aspx 
     520        } 
     521        else if (filename.length() >= 1 && filename[0] == '\\') 
    514522        { 
    515523                // root directory of current drive. 
     
    15211529        } 
    15221530 
    1523         printf("%s\r\n", buffer); 
    1524         fflush(stdout); 
     1531        // printf("%s\r\n", buffer); 
     1532        // fflush(stdout); 
    15251533} 
    15261534 
Note: See TracChangeset for help on using the changeset viewer.