Changeset 1554 for trunk/dll/dirsize.c
- Timestamp:
- Nov 21, 2010, 12:35:35 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dll/dirsize.c
r1544 r1554 51 51 aren't user settable; realappname should be used for setting applicable to 52 52 one or more miniapp but not to FM/2 53 17 JAN 10 GKY Changes to get working with Watcom 1.9 Beta (1/16/10). Mostly cast CHAR CONSTANT * as CHAR *. 53 17 JAN 10 GKY Changes to get working with Watcom 1.9 Beta (1/16/10). 54 Mostly cast CHAR CONSTANT * as CHAR *. 55 20 Nov 10 GKY Check that pTmpDir IsValid and recreate if not found; Fixes hangs caused 56 by temp file creation failures. 54 57 55 58 ***********************************************************************/ … … 957 960 CHAR *modea = "a+"; 958 961 959 if (pTmpDir) 960 strcpy(szFileName, pTmpDir); 961 else 962 if (pTmpDir && !IsValidDir(pTmpDir)) 963 DosCreateDir(pTmpDir, 0); 964 //if (pTmpDir) 965 // strcpy(szFileName, pTmpDir); 966 else if (!pTmpDir) 962 967 strcpy(szFileName, pFM2SaveDirectory); 963 968 sprintf(&szFileName[strlen(szFileName)], "%s%csizes.Rpt", PCSZ_BACKSLASH,
Note:
See TracChangeset
for help on using the changeset viewer.