Changeset 1554 for trunk/dll/arccnrs.c
- Timestamp:
- Nov 21, 2010, 12:35:35 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dll/arccnrs.c
r1545 r1554 84 84 15 Apr 10 JBS Ticket 422: Stop hang when open archive gets deleted or moved 85 85 23 Oct 10 GKY Add ForwardslashToBackslash function to streamline code 86 20 Nov 10 GKY Check that pTmpDir IsValid and recreate if not found; Fixes hangs caused 87 by temp file creation failures. 86 88 87 89 ***********************************************************************/ … … 2021 2023 CHAR *modew = "w"; 2022 2024 2025 if (pTmpDir && !IsValidDir(pTmpDir)) 2026 DosCreateDir(pTmpDir, 0); 2023 2027 BldFullPathName(szTempFile, pTmpDir, PCSZ_FM2PLAYTEMP); 2024 2028 fp = xfopen(szTempFile, modew, pszSrcFile, __LINE__, FALSE); … … 3650 3654 dcd->id = id; 3651 3655 dcd->type = ARC_FRAME; 3652 if (!pTmpDir)3653 strcpy(dcd->workdir, pFM2SaveDirectory);3656 if (pTmpDir && !IsValidDir(pTmpDir)) 3657 DosCreateDir(pTmpDir, 0); 3654 3658 MakeTempName(dcd->workdir, ArcTempRoot, 2); 3655 3659 strcpy(dcd->arcname, fullname);
Note:
See TracChangeset
for help on using the changeset viewer.