Changeset 1554 for trunk/dll/systemf.c


Ignore:
Timestamp:
Nov 21, 2010, 12:35:35 AM (15 years ago)
Author:
Gregg Young
Message:

Check that pTmpDir IsValid and recreate if not found; Fixes hangs caused by temp file creation failures. (Ticket 440)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/systemf.c

    r1544 r1554  
    3535  17 JAN 10 GKY Add ENVIRONMENT_SIZE vaiable to replace multiple (often different hard coded sizes) set to 2048
    3636                (the largest value I found).
     37  20 Nov 10 GKY Check that pTmpDir IsValid and recreate if not found; Fixes hangs caused
     38                by temp file creation failures.
    3739
    3840***********************************************************************/
     
    254256            CHAR *modew = "w";
    255257
     258            if (pTmpDir && !IsValidDir(pTmpDir))
     259              DosCreateDir(pTmpDir, 0);
    256260            strcpy(listfile, pTmpDir ? pTmpDir : pFM2SaveDirectory);
    257261            MakeTempName(listfile, "$FM2LI$T", 2);
Note: See TracChangeset for help on using the changeset viewer.