Mercurial > projects > ldc
diff lphobos/std/regexp.d @ 662:88e23f8c2354
Applied downs' latest Phobos patch
author | Tomas Lindquist Olsen <tomas.l.olsen@gmail.com> |
---|---|
date | Mon, 06 Oct 2008 21:40:33 +0200 |
parents | 373489eeaf90 |
children |
line wrap: on
line diff
--- a/lphobos/std/regexp.d Mon Oct 06 21:27:29 2008 +0200 +++ b/lphobos/std/regexp.d Mon Oct 06 21:40:33 2008 +0200 @@ -1820,7 +1820,7 @@ 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]; }