Skip to content
Snippets Groups Projects
Commit ba00e69d authored by Henrik (Grubba) Grubbström's avatar Henrik (Grubba) Grubbström
Browse files

Debug.memory_usage(): Added kludge for Linux libc.

The fields in struct mallinfo in Linux libc (as of glibc 2.20) are
declared as int, and will thus overflow into negative when the values
get larger than 0x3fffffff. This commit interprets negative mallinfo
values as 32-bit unsigned values.
parent b99c7525
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment