[ros-dev] Re: [ros-svn] [hbirr] 13570: - Started the rewriting
of the cache manger.
Hartmut Birr
hartmut.birr at gmx.de
Sat Feb 19 11:16:06 CET 2005
Filip Navara schrieb:
> Filip Navara wrote:
>
>> Hartmut Birr wrote:
>>
>>>> [cc02.diff] Don't try to map data past the end of file in VFAT.
>>>
>>>
>>> I think that this patch isn't necessary, because the real problem is
>>> in pin.c.
>>
>>
>> At first I did the same thing as you did in the attached patch. Then
>> I actually followed it by some testing on Windows and _it is possible
>> to map data past the end of file_ with CcMapData. I haven't tried to
>> access the mapped memory though...
>
>
> I did more testing and the result is the attached patch (comment
> inside). Does it look ok?
>
> Regards,
> Filip
>
I think that we must add more checks and that the change is at the wrong
position. The zero pages at the end of the file should be mapped like
the image sections with segments whose raw length is shorter than the
real length. What should we do if pages past the end of the file are
modified and the section object is deleted?
- Hartmut
More information about the Ros-dev
mailing list