Changeset 2906 for trunk/src/lib/maybe_con_fwrite.c
- Timestamp:
- Sep 10, 2016, 12:15:57 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/maybe_con_fwrite.c
r2900 r2906 88 88 if (cwcToWrite > 0) 89 89 { 90 int rc; 91 pawcTmp[cwcToWrite] = '\0'; 92 90 93 /* Let the CRT do the rest. At least the Visual C++ 2010 CRT 91 94 sources indicates _cputws will do the right thing we want. */ 92 pawcTmp[cwcToWrite] = '\0';93 95 fflush(pFile); 94 if (_cputws(pawcTmp) >= 0) 96 rc = _cputws(pawcTmp); 97 free(pawcTmp); 98 if (rc >= 0) 95 99 return cUnits; 96 100 return 0; 97 101 } 102 free(pawcTmp); 98 103 } 99 104 }
Note:
See TracChangeset
for help on using the changeset viewer.