James Turner wrote

> Sent: 29 October 2010 08:38
> To: FlightGear developers discussions
> Subject: Re: [Flightgear-devel] [BUG] Nearly all aircrafts suddenly broken
> with latest GIT by nasal error
> 
> 
> 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

That fixes the Nasal bug, but now exposes another one - the view runs to the
zenith and cannot be moved.

This happens here with Fred's latest binary, and with a locally produced
binary including today's FG/SG fixes. It does not happen with Fred's
previous binary, not with an earlier version produced locally.

Vivian



------------------------------------------------------------------------------
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