On 18.11.2011 07:50, James Turner wrote:
> Except, my expectation when adding the new version was, since the
> version check exists in older FG versions, we'd get a better error
> message, eg 'incompatible BTG version' or similar - from the code, I
> would not expect to see the 'We detected an error while reading the
> file.', unless it's really used for every single error:(

I don't know where exactly the BTG loading code starts. But at least the 
function generating the mentioned "We detected an error" message 
(SGBinObject::read_bin) doesn't have a version check. It does read the 
version and then makes version-dependent decisions on how to interpret 
data (i.e. "if (version >= 7) ....) - but there is no such thing as a 
check for a maximum version. And guess what error you get when 
reading/parsing the data area goes wrong.

:->

cheers,
Thorsten

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to