Changeset 31935 in vbox for trunk/src/VBox/Runtime
- Timestamp:
- Aug 24, 2010 4:17:35 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r3/solaris/coredumper-solaris.cpp
r31914 r31935 239 239 { "/proc/%d/lstatus", 0, 0, 0 }, 240 240 { "/proc/%d/ldt", 0, 0, 0 }, 241 { "/proc/%d/cred", sizeof(prcred_t), sizeof(gid_t), 1},242 { "/proc/%d/priv", sizeof(prpriv_t), sizeof(priv_chunk_t), 1},241 { "/proc/%d/cred", sizeof(prcred_t), sizeof(gid_t), 0 }, 242 { "/proc/%d/priv", sizeof(prpriv_t), sizeof(priv_chunk_t), 0 }, 243 243 }; 244 244 … … 251 251 cb += cbFile; 252 252 if ( cbFile > 0 253 && aPreAllocTable[i].cbEntry > 0 254 && aPreAllocTable[i].cbAccounting > 0)255 {256 cb += ((cbFile - aPreAllocTable[i].cbHeader) / aPreAllocTable[i].cbEntry) * aPreAllocTable[i].cbAccounting;253 && aPreAllocTable[i].cbEntry > 0) 254 { 255 cb += ((cbFile - aPreAllocTable[i].cbHeader) / aPreAllocTable[i].cbEntry) * (aPreAllocTable[i].cbAccounting > 0 ? 256 aPreAllocTable[i].cbAccounting : 1); 257 257 cb += aPreAllocTable[i].cbHeader; 258 258 }
Note:
See TracChangeset
for help on using the changeset viewer.