http://bugs.winehq.org/show_bug.cgi?id=8744
------- Additional Comments From mikolaj.zalewski@gmail.com 2007-09-07 10:56 ------- Created an attachment (id=7073) --> (http://bugs.winehq.org/attachment.cgi?id=7073&action=view) patch
If someone wants to test, this patch worked for me to run a Win16 program with noexec protection. The code in global16.c/local16.c is supposed to be correct, while adding execute permissions to DOS area is not what Windows XP does. I added it because winedos/himem.c puts some 16-bit PM code in UMB. I'll need to look into it.