[osg-users] Bug in osgDB::findFileInDirectory

Riccardo Corsi riccardo.corsi at kairos3d.it
Wed Mar 28 05:46:57 PDT 2018


​Thanks Robert​

*Riccardo Corsi*  sw engineering & co-founder
*Kairos3D srl*  Via Agostino da Montefeltro 2, 10134 Torino Italy
*T* +390113157111  *M* +393288522785
*Check out our ground-breaking 3D CAD-to-VR toolchain: www.kairos3d.it
<http://www.kairos3d.it>*

On Wed, Mar 28, 2018 at 12:50 PM, Robert Osfield <robert.osfield at gmail.com>
wrote:

> Hi Ricardo,
>
> On 27 March 2018 at 19:42, Robert Osfield <robert.osfield at gmail.com>
> wrote:
> > ./test --dir ~/OpenSceneGraph/include/osg/ --file version
> > Result with findFileInDirectory(): 0
> > Result with fileExists(): 0
> > concatenated=/home/robert/OpenSceneGraph/include/osg/version
> >
> > Which confirms your suggestion that the trailing slash isn't handled
> > by findFileInDirectory().
>
> I have checked in a catch for users passing in directories with a
> trailing / or \.  This fix is checked into OSG master and the 3.6
> branch.
>
> Robert
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20180328/324d45d8/attachment.html>


More information about the osg-users mailing list