Legend:
- Unmodified
- Added
- Removed
-
trunk/dll/arccnrs.c
r1741 r1749 93 93 09 Feb 14 GKY Fix trap on opening a file without an extention 94 94 22 Feb 14 GKY Fix warn readonly yes don't ask to work when recursing directories. 95 28 Apr 14 JBS Ticket #522: Ensure use of wrapper functions where needed 95 96 96 97 ***********************************************************************/ … … 572 573 HFILE oldstdout; 573 574 HFILE newstdout; 574 CHAR s[CCHMAXPATH * 2],lonename[CCHMAXPATH + 2],575 CHAR lonename[CCHMAXPATH + 2], 575 576 *nsize, *osize, *fdate, *fname, *p, *pp, *arctemp; 577 // Change the DosQueryAppType call below to xDosQueryAppType if "s" is no longer in low memory 578 CHAR s[CCHMAXPATH * 2]; 576 579 BOOL gotstart; 577 580 BOOL gotend; -
trunk/dll/cmdline.c
r1673 r1749 29 29 17 JAN 10 GKY Changes to get working with Watcom 1.9 Beta (1/16/10). Mostly cast CHAR CONSTANT * as CHAR *. 30 30 23 Oct 10 GKY Changes to populate and utilize a HELPTABLE for context specific help 31 28 Apr 14 JBS Ticket #522: Ensure use of wrapper functions where needed 31 32 32 33 ***********************************************************************/ … … 404 405 { 405 406 ULONG apptype = 0L; 407 // Change DosQueryAppType to xDosQueryAppType if "executable"is no longer local 406 408 CHAR executable[CCHMAXPATH], commandline[1001], *p; 407 409 -
trunk/dll/info.c
r1687 r1749 38 38 20 Apr 13 GKY Double click on directory in Info listbox opens directory object instead of 39 39 causing an error message from DefaultView 40 28 Apr 14 JBS Ticket #522: Ensure use of wrapper functions where needed 40 41 41 42 ***********************************************************************/ … … 764 765 WinCheckButton(hwnd, FLE_SYSTEM, ((fs.attrFile & FILE_SYSTEM) != 0)); 765 766 DosError(FERR_DISABLEHARDERR); 766 if (! DosQueryAppType(pfs->szFileName, &apptype)) {767 if (!xDosQueryAppType(pfs->szFileName, &apptype)) { 767 768 WinEnableWindow(WinWindowFromID(hwnd, FLE_OS2FS), TRUE); 768 769 WinEnableWindow(WinWindowFromID(hwnd, FLE_OS2WIN), TRUE); -
trunk/dll/systemf.c
r1742 r1749 44 44 23 Feb 14 GKY Undated one of the error messages in runemf2 to provide the calling line 45 45 and file. 46 28 Apr 14 JBS Ticket #522: Ensure use of wrapper functions where needed 46 47 47 48 ***********************************************************************/ … … 81 82 static PSZ pszSrcFile = __FILE__; 82 83 83 84 84 85 //static HAPP Exec(HWND hwndNotify, BOOL child, char *startdir, char *env, 85 86 // PROGTYPE * progt, ULONG fl, char *formatstring, ...); … … 886 887 switch_to(pszDirectory); 887 888 } 888 rc = DosQueryAppType(pszPgm,&ulAppType);889 rc = xDosQueryAppType(pszPgm, &ulAppType); 889 890 if (!strchr(pszPgm, '\\') && 890 891 !strchr(pszPgm, ':') && … … 1036 1037 switch_to(pszDirectory); 1037 1038 } 1038 rc = DosQueryAppType(pszPgm,&ulAppType);1039 rc = xDosQueryAppType(pszPgm, &ulAppType); 1039 1040 if (!strchr(pszPgm, '\\') && 1040 1041 !strchr(pszPgm, ':') && -
trunk/dll/valid.c
r1691 r1749 43 43 26 Aug 11 GKY Add a low mem version of xDosAlloc* wrappers; move error checking into all the 44 44 xDosAlloc* wrappers. 45 28 Apr 14 JBS Ticket #522: Ensure use of wrapper functions where needed 45 46 46 47 ***********************************************************************/ … … 275 276 ULONG clDataBytes; 276 277 HFILE hDev; 277 EASIZEBUF easize = {0};278 ULONG ulDataLen = sizeof(EASIZEBUF);279 ULONG ulParmLen = 0;278 EASIZEBUF easize = {0}; 279 ULONG ulDataLen = sizeof(EASIZEBUF); 280 ULONG ulParmLen = 0; 280 281 281 282 # pragma pack(1) … … 352 353 *pulType |= DRIVE_RAMDISK; 353 354 } 354 if (((PFSQBUFFER2) pvBuffer)->iType == FSAT_REMOTEDRV) { 355 if (((PFSQBUFFER2) pvBuffer)->iType == FSAT_REMOTEDRV) { 355 356 if (pulType) 356 357 *pulType |= DRIVE_REMOTE; … … 612 613 p = strrchr(filename, '.'); 613 614 if (p) 614 ret = DosQueryAppType(filename, &apptype);615 ret = xDosQueryAppType(filename, &apptype); 615 616 else { 616 617 … … 619 620 strcpy(fname, filename); 620 621 strcat(fname, "."); 621 ret = DosQueryAppType(fname, &apptype);622 ret = xDosQueryAppType(fname, &apptype); 622 623 } 623 624 if (apptype & (FAPPTYP_DLL | … … 738 739 { 739 740 INT removable; 740 CHAR szDrive[] = " :\\"; 741 CHAR szDrive[] = " :\\"; 741 742 ULONG drvtype; 742 743 … … 760 761 } 761 762 volserl; 762 763 763 764 DosError(FERR_DISABLEHARDERR); 764 765 if (!DosQueryFSInfo((ULONG) x + 1, FSIL_VOLSER, &volserl, sizeof(volserl)))
Note:
See TracChangeset
for help on using the changeset viewer.
