* Martin Spott -- Saturday 15 November 2003 22:54: > which separator _is_supposed_ to be the right one ? Does the behaviour > differ on Windows and Unix ?
Yes, and Mac is yet another flavor. :-) See simgear/misc/sg_path.cxx: | #if defined( macintosh ) | static const char sgDirPathSep = ':'; | static const char sgDirPathSepBad = '/'; | #else | static const char sgDirPathSep = '/'; | static const char sgDirPathSepBad = ':'; <-- IMHO a bug | #endif | | #if defined( WIN32 ) | static const char sgSearchPathSep = ';'; | #else | static const char sgSearchPathSep = ':'; | #endif | | // If Unix, replace all ":" with "/". If MacOS, replace all "/" with | // ":" it should go without saying that neither of these characters | // should be used in file or directory names. In windoze, allow the | // second character to be a ":" for things like c:\foo\bar m. _______________________________________________ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel
