[Ohrrpgce] SVN: teeemcee/10730 Add OPENFILE OR_ERROR flag
subversion at HamsterRepublic.com
subversion at HamsterRepublic.com
Sun Sep 30 20:59:38 PDT 2018
teeemcee
2018-09-30 20:59:38 -0700 (Sun, 30 Sep 2018)
361
Add OPENFILE OR_ERROR flag
The nice thing about using this is that it reports the errno message which
is more informative than just "Couldn't open file".
So always prefer to use OR_ERROR to manually reporting errors.
(If you don't use OR_ERROR and the reason the file couldn't be opened isn't
simply that it's missing, OPENFILE already prints a message anyway)
---
U wip/filelayer.cpp
U wip/filelayer.hpp
U wip/lumpfile.bi
More information about the Ohrrpgce
mailing list