[En-Nut-Discussion] Strange behavior with files using file attributes '+' or 'a'

Harald Kipp harald.kipp at egnite.de
Wed Feb 27 20:20:21 CET 2008


Michael Bieri wrote:
> 
> This problem probably could be caused in PhatFileWrite(...) on line 650 
> in phatfs.c. Is it correct, that the filesize is increased in every 
> case? I think, it should only be increased if one writes at the end of a 
> file.

Definitely not. It's a long time ago I wrote all this PHAT stuff. This 
and the AVR multi master TWI drivers were among the most confusing code 
I ever got trapped in and both were done in a great hurry. Sigh! I'll 
probably need more time to get into it again.

Harald




More information about the En-Nut-Discussion mailing list