Changeset 1544 for trunk/dll/arccnrs.c
- Timestamp:
- Sep 30, 2010, 3:00:59 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dll/arccnrs.c
r1515 r1544 586 586 ULONG apptype; 587 587 APIRET rc; 588 CHAR *mode; 588 589 589 590 if (!arcname || !arcinfo) … … 653 654 } 654 655 else { 655 fp = xfopen(arctemp, "w", pszSrcFile, __LINE__); 656 mode = "w"; 657 fp = xfopen(arctemp, mode, pszSrcFile, __LINE__, FALSE); 656 658 if (!fp) { 657 659 xfree(arctemp, pszSrcFile, __LINE__); … … 695 697 696 698 DosError(FERR_DISABLEHARDERR); 697 fp = _fsopen(arctemp, "r", SH_DENYWR); 699 mode = "r"; 700 fp = xfsopen(arctemp, mode, SH_DENYWR, pszSrcFile, __LINE__, TRUE); 698 701 699 702 if (fp) { … … 2024 2027 2025 2028 FILE *fp; 2026 CHAR szTempFile[CCHMAXPATH]; 2029 CHAR szTempFile[CCHMAXPATH]; 2030 CHAR *modew = "w"; 2027 2031 2028 2032 BldFullPathName(szTempFile, pTmpDir, PCSZ_FM2PLAYTEMP); 2029 fp = xfopen(szTempFile, "w", pszSrcFile, __LINE__);2033 fp = xfopen(szTempFile, modew, pszSrcFile, __LINE__, FALSE); 2030 2034 if (fp) { 2031 2035 fprintf(fp, "%s", ";AV/2-built FM2Play listfile\n");
Note:
See TracChangeset
for help on using the changeset viewer.