Ignore:
Timestamp:
Oct 30, 2010, 5:23:18 PM (14 years ago)
Author:
Yuri Dario
Message:

clamav: applied os2 patches.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified clamav/trunk/clamscan/manager.c

    r189 r191  
    118118    }
    119119    info.rblocks += fsize / CL_COUNT_PRECISION;
    120 #ifndef _WIN32
     120#if !defined(_WIN32) && !defined(C_OS2)
    121121    if(geteuid())
    122122        if(checkaccess(filename, NULL, R_OK) != 1) {
     
    617617                ret = 2;
    618618            } 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
    619623                for(i = strlen(file) - 1; i > 0; i--) {
    620624                    if(file[i] == *PATHSEP)
Note: See TracChangeset for help on using the changeset viewer.