This is the mail archive of the ecos-bugs@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]

[Issue 1000539] fatfs chdir("..") broken


http://bugzilla.ecoscentric.com/show_bug.cgi?id=1000539





--- Comment #2 from Nick Garnett <nickg@ecoscentric.com>  2008-04-03 15:24:40 ---
I'm not sure I can be much help here. The eCosCentric version of FATFS has
changed considerably from the anoncvs version as I have added improved
concurrency, long file names and unicode support. The first of these in
particular has resulted in lots of changes to reference counting, caching and
node handling.

The ".." entry of a directory should contain the cluster number of the parent
directory. chdir uses the same path following code as all other functions, so
it is probably a generic problem. One possibility is that things are matching
incorrectly in the node cache and the wrong ".." node is being picked up.
Perhaps because reference counts are wrong. Alternatively, perhaps something is
genuinely wrong in the directory entry and ".." really has the wrong cluster
number in it. A disk dump would be necessary to discover that.


-- 
Configure issuemail: http://bugzilla.ecoscentric.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the issue.


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