On 29 Oct 2010, at 08:29, Frederic Bouvier wrote:

>> Vivian has basically confirmed this hypothesis - simgear::Dir::exists
>> is not working right on Win32. I won't be able to dig into this until
>> much later this evening, if anyone else fancies setting some
>> breakpoints in the code and seeing where the logic is borked, that
>> would be much appreciated.
>> 
>> James
> 
> stat returns an error when directory path ends with a / (sg_path.cxx, line 
> 215)

Just saw you fix for this, thanks for identifying the cause.

Now we know the issue, we could clean all SGPaths passed to simgear::Dir's 
constructor, to remove trailing separators. That's fractionally neater than 
doing it before the stat(), I guess.

James


------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to