a962c90b30f36575d01162b64471fa77473237a0
Previously, SGPath::pathListSep was a char in static memory, that could be followed by anything (often '\0', as it seems... but not always). This is (was) dangerous, because it is then tempting to take its address and pass it to functions expecting a char * corresponding to a null-terminated string (C-style). SGPath::pathListSep is now a static array of two const chars: the path list separator followed by a '\0'. This implies that &SGPath::pathListSep can now be reliably interpreted as a C-style string of length 1 (not counting the null terminator), containing only the path list separator.
SimGear - Simulator Construction Tools ====================================== http://www.flightgear.org SimGear is a set of open-source libraries designed to be used as building blocks for quickly assembling 3d simulations, games, and visualization applications. SimGear is developed by the FlightGear project and also provides the base for the FlightGear Flight Simulator. Source code for SimGear is released under the GNU Library General Public License (LGPL) - see COPYING for license details. See INSTALL file for help on building SimGear.
Description
Languages
C++
85.5%
C
13.1%
CMake
1.4%