Changeset 1439 for trunk/dll/pathutil.c


Ignore:
Timestamp:
Jul 12, 2009, 11:57:04 PM (16 years ago)
Author:
Gregg Young
Message:

Changes to allow high mem loading of dll; Refactor .LONGNAME and .SUBJECT EA fetch to FetchCommonEAs. Add szFSType to FillInRecordFromFSA use to bypass EA scan and size formatting for tree container; Fix labels/FS type to work on scan on NOPRESCAN Drives; Fixed dbl directory names on restore of dir cnrs; (Tickets 47, 339, 363, 368, 369, 370)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/pathutil.c

    r1438 r1439  
    1414  15 Oct 08 GKY Fix NormalizeCmdLine to check all 5 executible extensions when no extension provided;
    1515                use searchapath to check for existance of file types not checked by DosQAppType;
    16                 close DosFind.
     16                close DosFind.
     17  28 Jun 09 GKY Added AddBackslashToPath() to remove repeatative code
     18  12 Jul 09 GKY Add xDosQueryAppType and xDoxAlloc... to allow FM/2 to load in high memory
    1719
    1820***********************************************************************/
     
    197199      }
    198200      else
    199         ret = DosQueryAppType(szCmdLine, &ulAppType);
     201        ret = xDosQueryAppType(szCmdLine, &ulAppType);
    200202      BldQuotedFileName(pszNewCmdLine, szCmdLine);
    201203      if (ret) {
     
    229231        while (strchr(szCmdLine, '\"'))
    230232          remove_first_occurence_of_character("\"", szCmdLine);
    231         ret = DosQueryAppType(szCmdLine, &ulAppType); // exe automatically appended
     233        ret = xDosQueryAppType(szCmdLine, &ulAppType); // exe automatically appended
    232234        if (!ret)
    233235          strcat(szCmdLine, PCSZ_DOTEXE);
    234236        else {
    235237          strcat(szCmdLine, PCSZ_DOTCOM);
    236           ret = DosQueryAppType(szCmdLine, &ulAppType);
     238          ret = xDosQueryAppType(szCmdLine, &ulAppType);
    237239          if (ret) {
    238240            offset = strrchr(szCmdLine, '.' );
     
    266268          if (*pszChar == ' ') { //test at every space for the end of the filename
    267269            *pszChar = '\0';
    268             ret = DosQueryAppType(szCmdLine, &ulAppType);
     270            ret = xDosQueryAppType(szCmdLine, &ulAppType);
    269271            if (!ret) {
    270272              strcat(szCmdLine, PCSZ_DOTEXE);
     
    273275            else {
    274276              strcat(szCmdLine, PCSZ_DOTCOM);
    275               ret = DosQueryAppType(szCmdLine, &ulAppType);
     277              ret = xDosQueryAppType(szCmdLine, &ulAppType);
    276278              if (ret) {
    277279                offset = strrchr(szCmdLine, '.' );
Note: See TracChangeset for help on using the changeset viewer.