Filesystem::file_extension() does not return the '.' in the extension string whereas boost::file_system::extension() does. This little difference went unnoticed in a previous commit. The result is that "maketx foo.tif" buiilds a "foo..tx" file. The proposed change greatly simplifies the code and does the right thing.
You can merge this Pull Request by running: git pull https://github.com/darkhorse64/oiio master Or you can view, comment on it, or merge it online at: https://github.com/OpenImageIO/oiio/pull/245 -- Commit Summary -- * Fix ill-formed default output name for maketx -- File Changes -- M src/maketx/maketx.cpp (9) -- Patch Links -- https://github.com/OpenImageIO/oiio/pull/245.patch https://github.com/OpenImageIO/oiio/pull/245.diff --- Reply to this email directly or view it on GitHub: https://github.com/OpenImageIO/oiio/pull/245 _______________________________________________ Oiio-dev mailing list [email protected] http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org
