Changeset 1387


Ignore:
Timestamp:
Jan 5, 2009, 10:12:14 PM (17 years ago)
Author:
Gregg Young
Message:

Comments and cleanup for CS 1386

Location:
trunk/dll
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/defview.c

    r1386 r1387  
    2020  25 Aug 08 GKY Check TMP directory space warn if lee than 5 MiB prevent archiver from opening if
    2121                less than 10 KiB (It hangs and can't be closed)
     22  05 Jan 09 GKY Use TestBinary so that text veiwer isn't used for hex files by default
    2223
    2324***********************************************************************/
  • trunk/dll/valid.c

    r1386 r1387  
    77
    88  Copyright (c) 1993, 1998 M. Kimes
    9   Copyright (c) 2002, 2008 Steven H.Levine
     9  Copyright (c) 2002, 2009 Steven H.Levine
    1010
    1111  23 Nov 02 SHL RootName: rework for sanity
     
    3030  03 Jan 09 GKY Check for system that is protectonly to gray out Dos/Win command lines and prevent
    3131                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
     32  03 Jan 09 GKY Modify IsExecutable to prevent some text files from being treated as executable
    3333                and prevent dlls from being loaded into execute dialog.
     34  05 Jan 09 GKY Fix IsBinary to recognize values above \xc4 (maybe lower) as positive.
     35                When these high codes were it text files they showed as hex in new view.
    3436
    3537***********************************************************************/
     
    991993          && str[x] != '\x1b' && str[x] != '\x1a' && str[x] != '\x07'
    992994          && str[x] != '\x0c') {
    993         //DbgMsg(pszSrcFile, __LINE__, "IsBinary str %x x %x len %x", str[x], x, len);
    994995        return TRUE;
    995996      }
Note: See TracChangeset for help on using the changeset viewer.