Changeset 191 for clamav/trunk/clamscan/manager.c
- Timestamp:
- Oct 30, 2010, 5:23:18 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified clamav/trunk/clamscan/manager.c ¶
r189 r191 118 118 } 119 119 info.rblocks += fsize / CL_COUNT_PRECISION; 120 #if ndef _WIN32120 #if !defined(_WIN32) && !defined(C_OS2) 121 121 if(geteuid()) 122 122 if(checkaccess(filename, NULL, R_OK) != 1) { … … 617 617 ret = 2; 618 618 } else { 619 #if defined(C_OS2) || defined(_WIN32) 620 // YD skip if 'x:\' pattern is found 621 if (!(strlen(file)==3 && file[1]==':' && file[2]==*PATHSEP)) 622 #endif 619 623 for(i = strlen(file) - 1; i > 0; i--) { 620 624 if(file[i] == *PATHSEP)
Note:
See TracChangeset
for help on using the changeset viewer.