Changeset 2828 for trunk/kLdr/kLdrRdrFile.c
- Timestamp:
- Oct 22, 2006, 8:21:04 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kLdr/kLdrRdrFile.c
r2826 r2828 352 352 if ((uintptr_t)pszFilename >= 0x20000000) 353 353 { 354 char *psz = (char *)kLdr AllocA(cchFilename + 1);355 kLdr MemCopy(psz, pszFilename, cchFilename + 1);354 char *psz = (char *)kLdrHlpAllocA(cchFilename + 1); 355 kLdrHlpMemCopy(psz, pszFilename, cchFilename + 1); 356 356 pszFilename = psz; 357 357 } … … 404 404 * Allocate the reader instance. 405 405 */ 406 cchFilename = kLdr StrLen(pszFilename);406 cchFilename = kLdrHlpStrLen(pszFilename); 407 407 pRdrFile = (PKLDRRDRFILE)kldrHlpAlloc(sizeof(*pRdrFile) + cchFilename); 408 408 if (!pRdrFile) … … 427 427 pRdrFile->File = File; 428 428 pRdrFile->off = 0; 429 kLdr MemCopy(&pRdrFile->szFilename[0], pszFilename, cchFilename + 1);429 kLdrHlpMemCopy(&pRdrFile->szFilename[0], pszFilename, cchFilename + 1); 430 430 431 431 *ppRdr = &pRdrFile->Core;
Note:
See TracChangeset
for help on using the changeset viewer.