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

@@ -33,10 +33,11 @@ class OutOfMemoryException : Exception
extern (C) void _d_OutOfMemory()
{
assert(0);
/*throw cast(OutOfMemoryException)
printf("Out of memory!\n");
*(cast(int*) 0) = 0;
throw cast(OutOfMemoryException)
cast(void *)
OutOfMemoryException.classinfo.init;*/
OutOfMemoryException.classinfo.init;
}
static this()