[En-Nut-Discussion] Strange behavior with files using file attributes '+' or 'a'
Harald Kipp
harald.kipp at egnite.de
Wed Feb 27 19:49:25 CET 2008
Michael Bieri wrote:
>
> For the problem with the '+' attribute: It seems, that there's something
> wrong with the file attributes, in _fmode(...), a '+' does set the
> attribute _O_TRUNC, this attribute then clears the file in PhatFileOpen(...)
Confirmed. Case '+' works for "r+" and "w+", but requires special
handling for "a+".
Harald
More information about the En-Nut-Discussion
mailing list