File::clear()

Lukáš Lalinský lalinsky at gmail.com
Sun May 29 12:07:05 CEST 2011


2011/5/29 Nick Shaforostoff <shafff at ukr.net>:
>> Hi Scott,
>>
>> Do you remember why it was necessary to add the clear() method to
>> TagLib::File? From what I can see, it is only used in situations where
>> something reads past the EOF and it wants to make sure that future
>> reads after a seek will be successful. However, fseek should reset the
>> flag automatically, so I think it's not really needed. Any ideas?
>
> non-linux system bahave well as well?

Given that this was added before you could actually use TagLib on
Windows, I guess that's not the case. :) As far as I know, fseek
clearing the EOF indicator is a ANSI C feature.

Lukas


More information about the taglib-devel mailing list