model_server/project_pdf/src/path.h.cxx
// Any routine calls this, should free the returned space.
Any routine calls this, should free the returned space.
Any routine calls this should free the returned space .
void combine_dir_and_sub_dir(char const *cur_dir, char const *sub_dir, 
                             genString &ret)
{
    Initialize(combine_dir_and_sub_dir);
    if (leading_char (sub_dir, '/'))
        {
            ret = sub_dir;
            return;
        }
    ret = cur_dir;
    if (sub_dir && *sub_dir)
        {
            if (!trailing_char(ret, '/'))
                ret += "/";
            ret += sub_dir;
        }
}
void combine_dir_and_sub_dir ( char const * cur_dir , char const * sub_dir , genString & ret ) { Initialize ( combine_dir_and_sub_dir ) ; if ( leading_char ( sub_dir , ' ' ) ) { ret = sub_dir ; return ; } ret = cur_dir ; if ( sub_dir && * sub_dir ) { if ( ! trailing_char ( ret , ' ' ) ) ret += " " ; ret += sub_dir ; } }
Any routine calls this, should free the returned space.
Any routine calls this should free the returned space .
// append subdirectory with slash if necessary