You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's not possible to open a Poco::FileStream with std::ios::in flags only, as the constructor always applies std::ios::in | std::ios::out. This can be an issue when opening files that are not writable.
The text was updated successfully, but these errors were encountered:
The changes to the openmode defaults and the failure of specifying std::ios::binary should be listed as one of the breaking changes in the Poco 1.13.0 release notes (among the other breaking changes).
The FileStream documentation still shows a constructor which defaults to an openmode of std::ios::out | std::ios::in --
It seems this openmode default value is no longer this way since this issue (#4170) was resolved. if that is the case the documentation for FileStream should be revised accordingly.
The Description in the FileStream documentation still says that binary mode is always enabled even if not specified. I assume that still applies to FileStream in Poco 1.13.
It's not possible to open a
Poco::FileStream
withstd::ios::in
flags only, as the constructor always appliesstd::ios::in | std::ios::out
. This can be an issue when opening files that are not writable.The text was updated successfully, but these errors were encountered: