FAT FS enhancements
David Brennan
eCos@brennanhome.com
Sat Oct 23 23:31:00 GMT 2004
Andrew Lunn wrote:
>>>Great. I've made a few minor changes:
>>>
>>>cyg/fs/fat/fatfs.h -> cyg/fs/fat.h
>>>
>>>
>>>
>>>
>>That was the directory you had told me to put it in. I did not think
>>that was correct. Just following directions.
>>
>>
>
>Check the email archive:
>
>http://ecos.sourceware.org/ml/ecos-patches/2004-10/msg00083.html
>
>
>
Ok, I cannot read. Yes you were correct. However the reason I picked
that path is I thought that was what my email said. My bad.
>>You did not change fileio1.c test-case to match this change.
>>
>>
>
>OK. missed that, i will apply your fix. Strange thing was i ran the
>test case and did not see an obvious failure. [ Goes and runs the test
>again]. Nope, the test does not fail! Could you see if you can find
>out why it does not fail? I will hold off applying the fix until it
>does fail.
>
> Andrew
>
>
>
I think I know what the problem is. the file system functions do not
actually return their error codes. They return -1, and set errno. EPERM
happens to be 1, which when I first ran this, I assumed that it was just
a sign problems, and reversed my signs in the checks. Attached is an
attempt at a patch. However, I still can't get my home target to access
the HD, so I cannot test it. I can test it on Monday and give you the
results.
David
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: fatfs2.patch
URL: <http://sourceware.org/pipermail/ecos-patches/attachments/20041023/b2663350/attachment.ksh>
More information about the Ecos-patches
mailing list