OpenImageIO/oiio — pull request #253 by darkhorse64 (2012-03-14 23:24:05+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" builds a "foo..tx" file. The proposed change greatly simplifies the code and does the right thing.

Notes for Larry:
* The filesystem.{cpp,h} changes compile with boost::filesystem v2 and v3.
* The replace_extension() method used by the wrapper is available in Boost 1.40 (and in prior versions)