Changeset 6193 for trunk/src


Ignore:
Timestamp:
Jul 7, 2001, 6:39:57 AM (24 years ago)
Author:
bird
Message:

Logging and strcmp -> memcmp.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/win32k/ldr/myldrCheckInternalName.cpp

    r6188 r6193  
    1 /* $Id: myldrCheckInternalName.cpp,v 1.4 2001-07-06 19:22:35 bird Exp $
     1/* $Id: myldrCheckInternalName.cpp,v 1.5 2001-07-07 04:39:57 bird Exp $
    22 *
    33 * ldrCheckInternalName - ldrCheckInternalName replacement with support for
     
    6666        #ifdef DEBUG
    6767        APIRET  rc = ldrCheckInternalName(pMTE);
    68         kprintf(("ldrCheckInternalName: pMTE=0x%08x intname=%.*s path=%s rc=%d (original)\n",
     68        kprintf(("myldrCheckInternalName: pMTE=0x%08x intname=%.*s path=%s rc=%d\n", /* (original)\",*/
    6969                 pMTE, *(PCHAR)pMTE->mte_swapmte->smte_restab, (PCHAR)pMTE->mte_swapmte->smte_restab + 1, ldrpFileNameBuf, rc));
    7070        return rc;
     
    105105    if (   (cchName > 8 && *pachResName > 8)
    106106        || (   (pMTE->mte_flags1 & CLASS_MASK) == CLASS_GLOBAL
    107             && (cchExt != 3 || strcmp(pachExt, "DLL"))  /* Extention != DLL. */
     107            && (cchExt != 3 || memcmp(pachExt, "DLL", 3))  /* Extention != DLL. */
    108108            )
    109109        )
Note: See TracChangeset for help on using the changeset viewer.