This is the mail archive of the ecos-patches@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: FATFS bug


Andrew Lunn wrote:
> On Tue, May 13, 2008 at 02:02:58PM +0200, Savin Zlobec wrote:
>> I've only recently read your mail on ecos-devel about fatfs '.' and '..' bug.
>> Please find attached the fix.
> 
> Thanks for the fix. I have committed it.

[Patch in https://bugzilla.ecoscentric.com/show_bug.cgi?id=1000539 ]

Hi Savin,

I was looking at this patch. There's an aspect I'm unsure about. I admit I
haven't found any reason why it would go wrong (although that took a lot
head scratching!), but it seems to be a bit odd for a node for "." to be
added to the node cache where the parent cluster is actually that of a
subdirectory. Is this definitely the intended solution? I'm just worried
about unintended side-effects, given that you can then have multiple nodes
pointing to the same directory entry from different directions, so to speak.

Jifl
-- 
eCosCentric Limited      http://www.eCosCentric.com/     The eCos experts
Barnwell House, Barnwell Drive, Cambridge, UK.       Tel: +44 1223 245571
Registered in England and Wales: Reg No 4422071.
------["Si fractum non sit, noli id reficere"]------       Opinions==mine


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]