Menu

#140 nowide::ifstream() doesn't support ios::ate

cppcms-v1.0.x
closed
nobody
None
1
2015-10-31
2015-04-12
Anonymous
No

std::ifstream() supports std::ios::ate as a filemode parameter. This options sets the stream position to the end of the file.
nowide's version of ifstream doesn't support this parameter, forcing us to specifically port code from std to nowide.
Fixing this should be easy as ios::ate is equivalent to calling std::fseek(file, 0, SEEK_END) after opening the file.

Discussion

  • Artyom Beilis

    Artyom Beilis - 2015-10-31
    • status: open --> closed
     
  • Artyom Beilis

    Artyom Beilis - 2015-10-31

    fixed in cs 2290 in trunk

     

Anonymous
Anonymous

Add attachments
Cancel





Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.