VirtualBox

Changeset 2375 in kBuild for trunk/src/kObjCache


Ignore:
Timestamp:
Jan 12, 2010 11:42:19 PM (15 years ago)
Author:
bird
Message:

kObjCache.c: Attempt at fixing trailing null char in large precompiled files. Fixes #91.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kObjCache/kObjCache.c

    r2243 r2375  
    19631963        {
    19641964            size_t off = psz - pEntry->New.pszCppMapping;
    1965             cbLeft = 4*1024*1024;
    1966             cbAlloc += cbLeft;
     1965            cbLeft  += 4*1024*1024;
     1966            cbAlloc += 4*1024*1024;
    19671967            pEntry->New.pszCppMapping = xrealloc(pEntry->New.pszCppMapping, cbAlloc);
    19681968            psz = pEntry->New.pszCppMapping + off;
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette