summaryrefslogtreecommitdiff
path: root/sys/lib/python/idlelib
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2014-05-03 00:51:45 +0200
committercinap_lenrek <cinap_lenrek@felloff.net>2014-05-03 00:51:45 +0200
commit4c639475ce8cf0aec59632b6f7537169f1537f13 (patch)
treebc8aedcf42c1527d7ee62a43c5d73c923c24bcad /sys/lib/python/idlelib
parent72e4d850a4c2b334b3442dd39aa973650e5d5ba4 (diff)
cwfs: fix 1GB memsize limitation
the malloc pool allocator is limited in its allocation size. as almost all data structures in cwfs are never freed, use brk() in ialloc() instead of mallocalign(). this means memory returned by ialloc() cannot be freed! to make sure we do not call free by accident, remove the #define malloc(n) ialloc(n, 0) macro and use ialloc() directly as in the original code to show the intend of permanent allocations.
Diffstat (limited to 'sys/lib/python/idlelib')
0 files changed, 0 insertions, 0 deletions