|
From: Norman V. <nh...@ca...> - 2001-05-18 13:52:57
|
Mally writes: > >> system.fgfsrc is parsed fgfs/Main/options.cxx down around line #970. >> >The problem is due to the text file system.fgfsrc being opened in binary >mode, so the stream library functions cannot perform the required text-mode >translations which automatically cater for system-specific differences in >text file formats. I wish it were so simple :-( eg Some Win32 systems have 'binary mounted drives' >#if defined( WIN32 ) > if ( line[line.length()-1] == '\r' ) > line.resize(line.length()-1); >#endif !!!! I like this, "why didn't I think of it months ago" - DOH :-)) Cheers Norman |