On 10 Feb 2013, at 12:37, Geoff McLane <ubu...@geoffair.info> wrote:

> Ok, found the abort almost immediately ;=))

That's what I hoped :)

> 
> in options.cxx, void Options::init(...)
> 
> Simple -
> std::string homedir(getenv("HOME"));
> is a NO NO...
> 
> In windows getenv("HOME") will yield a null = (0),
> and it is a logic error to do -
> std::string homedir(0);
> 
> Changed that to -
> std::string homedir;
> char *hd = getenv("HOME");
> if (hd)
>    homedir = hd;
> 
> And I am up and flying...

Excellent. But my intention was to use %APPDATA% for this on Windows i think? 
Or maybe this is a vestigial remnant of cygwin support on Windows? Hmmm.

I'm in the middle of some demolition work at home, once that's done I'll push a 
proper fix, thanks for looking into this.

James

------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to