﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc
14	KEIL does not work - src\kernel32\mmap.cpp line 725 - can this be changed? sideeffects?	andib		"Problem is, KEIL does not work cause it can not read it's tools.ini file. Hermann Ulrichskoetter found out where this fails and made a build about 3 years ago with this one line commented out. For me his build worked for years now. But we do not understand if there are any problems with this change. 

Here is the original post from Herman from 18.11.2007 at the odin.user group 

---------------------------------
This weekend I had some time to get deeper into this problem. I found that at line 725 in
src\kernel32\mmap.cpp

   (fdwAccess & FILE_MAP_READ) && !(mProtFlags & (PAGE_READWRITE|PAGE_READONLY))

becomes true and generates an error because fdwAccess==FILE_MAP_READ and
mProtFlags==PAGE_WRITECOPY.

I just commented that line and now TOOLS.INI can be read without problems. I have no idea wether
this modification can make problems because I don't understand what mProtFlags==PAGE_WRITECOPY means :-(

Anyway, now I can run KEIL 6.5 with PEC. That is not a problem because I don't use the IDE.


Hermann
---------------------------------"	defect	closed	minor	general enhancement	odin			fixed		
