Found it. You can also have it in the same location as the sc executable. Also, not supported for Windows yet. hjh bool SC_LanguageClient::readDefaultLibraryConfig() { #ifndef SC_WIN32 const char* paths[3] = { ".sclang.cfg", "~/.sclang.cfg", "/etc/sclang.cfg" }; char ipath[PATH_MAX]; char opath[PATH_MAX]; for (int i=0; i < 3; i++) { snprintf(ipath, PATH_MAX, paths[i]); if (sc_StandardizePath(ipath, opath)) { bool success = readLibraryConfig(opath, ipath); if (success) return true; } } return false; #else // $$$todo rewrite for win32 (home folder ?) assert(0); return false; #endif } On Feb 9, 2008, at 3:33 PM, nescivi wrote:
: H. James Harkins : jamshark70@xxxxxxxxxxxxxxxxx : http://www.dewdrop-world.net .::!:.:.......:.::........:..!.::.::...:..:...:.:.:.:..: "Come said the Muse, Sing me a song no poet has yet chanted, Sing me the universal." -- Whitman |