Changeset 1375 for trunk/dll/valid.c


Ignore:
Timestamp:
Jan 4, 2009, 6:08:06 PM (17 years ago)
Author:
Gregg Young
Message:

Updated history; comments minor code cleanup for recent changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/valid.c

    r1372 r1375  
    2828  19 Jul 08 GKY Replace save_dir2(dir) with pFM2SaveDirectory
    2929  25 Dec 08 GKY Add code to allow write verify to be turned off on a per drive basis
     30  03 Jan 09 GKY Check for system that is protectonly to gray out Dos/Win command lines and prevent
     31                Dos/Win programs from being inserted into the execute dialog with message why.
     32  03 Jan 08 GKY Modify IsExecutable to prevent some text files from being treated as executable
     33                and prevent dlls from being loaded into execute dialog.
    3034
    3135***********************************************************************/
     
    611615         stricmp(p, ".CMD") &&
    612616         stricmp(p, ".BAT") &&
    613          stricmp(p, ".BMT"))))
     617         stricmp(p, ".BTM"))))
    614618      return FALSE;
    615619    if (!fProtectOnly) {
     
    625629                      FAPPTYP_32BIT |
    626630                      FAPPTYP_WINDOWSPROT31)))) ||
    627           (p && (!stricmp(p, ".CMD") || !stricmp(p, ".BAT") || !stricmp(p, ".BMT"))))
     631          (p && (!stricmp(p, ".CMD") || !stricmp(p, ".BAT") || !stricmp(p, ".BTM"))))
    628632        return TRUE;
    629633    }
     
    635639                         FAPPTYP_BOUND |
    636640                         FAPPTYP_32BIT)))) ||
    637              (p && (!stricmp(p, ".CMD") || !stricmp(p, ".BMT"))))
     641             (p && (!stricmp(p, ".CMD") || !stricmp(p, ".BTM"))))
    638642      return TRUE;
    639643    if (fProtectOnly && (apptype &
Note: See TracChangeset for help on using the changeset viewer.