8 #define SCARAB_API_EXPORTS 15 using boost::filesystem::absolute;
21 string t_exp_path( a_path );
24 wordexp_t t_expansion_result;
25 wordexp( a_path.c_str(), &t_expansion_result, 0 );
26 if( t_expansion_result.we_wordc > 0 )
28 t_exp_path = string( t_expansion_result.we_wordv[0] );
31 wordfree( &t_expansion_result );
34 return absolute( t_exp_path );
path SCARAB_API expand_path(const string &a_path)