Hi Charles!
On So, 03 Jun 2012, Charles wrote:
> In lalloc function, when allocating memory, mch_avail_mem is called
> for getting the free memory size.
> This function is prone with overflow. At least I'm pretty sure that I
> have been getting random
> memory allocation error from vim because this function sometimes
> overflows in windows.
>
> Wouldn't it be possible to replace it with malloc-ing a temporary
> memory. For example
[…]
Wouldn't it than be better, to replace the GlobalMemoryStatus Function
with the GlobalMemoryStatusEx function, as you suggested earlier?
regards,
Christian
--
Ich betrachte die Religion als Krankheit, als Quelle unnennbaren
Elends für die menschliche Rasse.
-- Bertrand A. W. Russell
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php