Changeset 893 for trunk/dll/systemf.c
- Timestamp:
- Dec 29, 2007, 12:16:41 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dll/systemf.c
r889 r893 636 636 BOOL useTermQ = FALSE; 637 637 char szTempdir[CCHMAXPATH]; 638 char szTempPgm[CCHMAXPATH], tempcom[2048], temparg[2048], buf[10] = " &|<>";639 char *offset, *offsetexe, *offsetcom, *offsetcmd, *offsetbtm, *offsetbat;640 UINT offsetquote;638 //char szTempPgm[CCHMAXPATH], tempcom[2048], temparg[2048], buf[10] = " &|<>"; 639 //char *offset, *offsetexe, *offsetcom, *offsetcmd, *offsetbtm, *offsetbat; 640 //UINT offsetquote; 641 641 642 642 typedef struct { … … 685 685 parguments); 686 686 va_end(parguments); 687 offsetexe = strstr(strlwr(pszPgm), ".exe");687 /*offsetexe = strstr(strlwr(pszPgm), ".exe"); 688 688 offsetcmd = strstr(strlwr(pszPgm), ".cmd"); 689 689 offsetcom = strstr(strlwr(pszPgm), ".com"); … … 701 701 offset = offsetbat; 702 702 else { 703 Dos_Error(MB_CANCEL,rc,hwnd,pszSrcFile,__LINE__,GetPString(IDS_NOTDIRECTEXETEXT)); 704 return -1; 703 offset = pszPgm; 705 704 } 706 705 offsetquote = strcspn(pszPgm, buf); … … 718 717 //printf("%s\n %s\n%s %s\n %d %d", 719 718 // pszPgm, szTempPgm, tempcom, temparg, offset, offsetquote); fflush(stdout); 720 } 719 } */ 721 720 if (pszEnvironment) { 722 721 p = &pszEnvironment[strlen(pszEnvironment)] + 1;
Note:
See TracChangeset
for help on using the changeset viewer.