Changeset 1439 for trunk/dll/pathutil.c
- Timestamp:
- Jul 12, 2009, 11:57:04 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dll/pathutil.c
r1438 r1439 14 14 15 Oct 08 GKY Fix NormalizeCmdLine to check all 5 executible extensions when no extension provided; 15 15 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 17 19 18 20 ***********************************************************************/ … … 197 199 } 198 200 else 199 ret = DosQueryAppType(szCmdLine, &ulAppType);201 ret = xDosQueryAppType(szCmdLine, &ulAppType); 200 202 BldQuotedFileName(pszNewCmdLine, szCmdLine); 201 203 if (ret) { … … 229 231 while (strchr(szCmdLine, '\"')) 230 232 remove_first_occurence_of_character("\"", szCmdLine); 231 ret = DosQueryAppType(szCmdLine, &ulAppType); // exe automatically appended233 ret = xDosQueryAppType(szCmdLine, &ulAppType); // exe automatically appended 232 234 if (!ret) 233 235 strcat(szCmdLine, PCSZ_DOTEXE); 234 236 else { 235 237 strcat(szCmdLine, PCSZ_DOTCOM); 236 ret = DosQueryAppType(szCmdLine, &ulAppType);238 ret = xDosQueryAppType(szCmdLine, &ulAppType); 237 239 if (ret) { 238 240 offset = strrchr(szCmdLine, '.' ); … … 266 268 if (*pszChar == ' ') { //test at every space for the end of the filename 267 269 *pszChar = '\0'; 268 ret = DosQueryAppType(szCmdLine, &ulAppType);270 ret = xDosQueryAppType(szCmdLine, &ulAppType); 269 271 if (!ret) { 270 272 strcat(szCmdLine, PCSZ_DOTEXE); … … 273 275 else { 274 276 strcat(szCmdLine, PCSZ_DOTCOM); 275 ret = DosQueryAppType(szCmdLine, &ulAppType);277 ret = xDosQueryAppType(szCmdLine, &ulAppType); 276 278 if (ret) { 277 279 offset = strrchr(szCmdLine, '.' );
Note:
See TracChangeset
for help on using the changeset viewer.