Applied downs' latest Phobos patch

This commit is contained in:
Tomas Lindquist Olsen
2008-10-06 21:40:33 +02:00
parent 0bd282113b
commit 1fe1354a8a
18 changed files with 2479 additions and 2445 deletions

View File

@@ -1820,7 +1820,7 @@ int trymatch(int pc, int pcend)
if (!psave && count < m)
{
//version (Win32)
psave = cast(regmatch_t *)alloca((re_nsub + 1) * regmatch_t.sizeof);
psave = cast(regmatch_t *)/*alloca*/malloc((re_nsub + 1) * regmatch_t.sizeof);
//else
//psave = new regmatch_t[re_nsub + 1];
}