On 21 Jul 2010, at 11:40, Alan Teeder wrote:

> and the result was:
> 
> fgFindAircraftInDir: no such path:C:/Flightgear/fgdata/Aircraft
> 
> Single stepping the debugger showed that fopen in simgear SGPath::exists() 
> failed.

Interesting - I only discovered this morning that SGPath::exists() uses fopen() 
to check existence; I am planning to change it to use stat() on Unix - and now, 
I shall make the change on Windows too.

Clearly there's some broken path handling going on too. I'll fix these issues 
this evening, and post here when I need people to test.

James


------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to