Wrc question

Gérard Patel <gerard.patel@asi.fr> @s5.asi.fr Gérard Patel <gerard.patel@asi.fr> at s5.asi.fr
Fri Apr 6 05:18:24 CDT 2001

I have looked at wrc code and there is a strange 100K limit on the size of
mem allocation :
     assert(size > 0);
     assert(size < 102400);
     res = malloc(size);
     if(res == NULL)

Baffling code - hardcoded limit hidden in a C file :-/

I removed the assert and wrc was able to handle a 1 megabyte bitmap.

Anyone has an idea about the meaning of this limit ?


More information about the wine-devel mailing list