Changeset 1920 for trunk/dll/init.c


Ignore:
Timestamp:
Dec 9, 2025, 11:14:06 PM (25 hours ago)
Author:
Gregg Young
Message:

Fix a case of no temp directory where the TEMP variable points to an unformatted drive

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/init.c

    r1897 r1920  
    852852  else
    853853    pTmpDir = xstrdup(pFM2SaveDirectory, pszSrcFile, __LINE__);
     854  if (!pTmpDir)
     855    pTmpDir = xstrdup(pFM2SaveDirectory, pszSrcFile, __LINE__);
    854856  // Check free space on TMP and FM2 Save drives
    855857#ifdef  FM4_NOWARN_DSPACE //Quiet FM/4 for AN main frame backup solution
Note: See TracChangeset for help on using the changeset viewer.