OpenImageIO/oiio — pull request #245 by darkhorse64 (2012-03-08 20:31:32+00:00)
Title: Fix ill-formed default output name for maketx

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.