<div dir="ltr"><div class="gmail_default" style="font-family:tahoma,sans-serif">​Thanks Robert​</div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div style="font-size:12.8px"><div><span style="color:rgb(153,153,153);font-size:small;font-family:arial,helvetica,sans-serif"><b>Riccardo Corsi</b>  sw e</span><span style="color:rgb(153,153,153);font-family:arial,helvetica,sans-serif;font-size:small">ngineering & co-founder</span></div><div><span style="font-family:arial,helvetica,sans-serif"><font size="2" color="#999999"><b>Kairos3D srl</b>  </font></span><span style="color:rgb(153,153,153);font-size:small;font-family:arial,helvetica,sans-serif">Via Agostino da Montefeltro 2, 10134 Torino Italy</span></div></div><div style="font-size:12.8px"><font size="2" color="#999999"><b style="font-family:arial,helvetica,sans-serif">T</b><font face="arial, helvetica, sans-serif"> +390113157111  </font><b style="font-family:arial,helvetica,sans-serif">M</b><font face="arial, helvetica, sans-serif"> +393288522785</font></font></div><div><span style="font-family:arial,helvetica,sans-serif"><i><font size="2"><font color="#999999">Check out our </font><font color="#0000ff">ground-breaking 3D CAD-to-VR toolchain: <b><a href="http://www.kairos3d.it" target="_blank">www.kairos3d.it</a></b></font></font></i></span></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>
<br><div class="gmail_quote">On Wed, Mar 28, 2018 at 12:50 PM, Robert Osfield <span dir="ltr"><<a href="mailto:robert.osfield@gmail.com" target="_blank">robert.osfield@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Ricardo,<br>
<span class=""><br>
On 27 March 2018 at 19:42, Robert Osfield <<a href="mailto:robert.osfield@gmail.com">robert.osfield@gmail.com</a>> wrote:<br>
> ./test --dir ~/OpenSceneGraph/include/osg/ --file version<br>
> Result with findFileInDirectory(): 0<br>
> Result with fileExists(): 0<br>
> concatenated=/home/robert/<wbr>OpenSceneGraph/include/osg/<wbr>version<br>
><br>
> Which confirms your suggestion that the trailing slash isn't handled<br>
> by findFileInDirectory().<br>
<br>
</span>I have checked in a catch for users passing in directories with a<br>
trailing / or \.  This fix is checked into OSG master and the 3.6<br>
branch.<br>
<span class="HOEnZb"><font color="#888888"><br>
Robert<br>
</font></span><div class="HOEnZb"><div class="h5">______________________________<wbr>_________________<br>
osg-users mailing list<br>
<a href="mailto:osg-users@lists.openscenegraph.org">osg-users@lists.<wbr>openscenegraph.org</a><br>
<a href="http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org" rel="noreferrer" target="_blank">http://lists.openscenegraph.<wbr>org/listinfo.cgi/osg-users-<wbr>openscenegraph.org</a><br>
</div></div></blockquote></div><br></div>