[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [E-devel] eet crashes in a directory without write permission



Carsten Haitzler (The Rasterman) schrieb:

>On Mon, 28 Aug 2006 16:17:41 +0200 Peter Wehrfritz <peter.wehrfritz@web.de>
>babbled:
>
>  
>
>>Hi all,
>>
>>I'm using eet for the highscore support in elitaire, but eet crashes 
>>while writing into a file that is in a directory, for that the user 
>>hasn't got write permission, altough he has write permission for the 
>>file itself.
>>
>>To reproduce this:
>>
>>- first compile the attached test app and then make a directory called tmp
>>- execute the the test app once or twice (or oftener)
>>- chmod 555 tmp
>>- then execute it again and it will crash
>>
>>Attached you will find the test app and the backtrace
>>    
>>
>
>fixed :) subtle mmap and close() of the fd to the mmaped region bug :)
>
>  
>
thanks a lot. It works now.

peter