summaryrefslogtreecommitdiffstats
path: root/Utilities
diff options
context:
space:
mode:
authorDavid Cole <david.cole@kitware.com>2009-11-18 16:22:38 (GMT)
committerDavid Cole <david.cole@kitware.com>2009-11-18 16:22:38 (GMT)
commitba216220485e16d4fb4fbb073462a57b16f87e54 (patch)
tree7c118b75534e55301415fcc4beba10eb7acc8951 /Utilities
parent5fbefd66dcb28c3b835130ca226d041e53a62f2c (diff)
downloadCMake-ba216220485e16d4fb4fbb073462a57b16f87e54.zip
CMake-ba216220485e16d4fb4fbb073462a57b16f87e54.tar.gz
CMake-ba216220485e16d4fb4fbb073462a57b16f87e54.tar.bz2
Fix bogus calls to GetMemoryStatus and GetMemoryStatusEx: need to set the dwLength member of the struct prior to calling. Otherwise it's just a garbage value from the stack. Also, pay attention to return value of GetMemoryStatusEx: if it indicates failure then just return 0 without using any of the other data the call returns.
Diffstat (limited to 'Utilities')
0 files changed, 0 insertions, 0 deletions