|
a/src/internfile/internfile.cpp |
|
b/src/internfile/internfile.cpp |
|
... |
|
... |
122 |
}
|
122 |
}
|
123 |
make_udi(url_gpath(eurl), eipath, udi);
|
123 |
make_udi(url_gpath(eurl), eipath, udi);
|
124 |
|
124 |
|
125 |
LOGDEB(("FileInterner::getEnclosing() after: [%s]\n", eipath.c_str()));
|
125 |
LOGDEB(("FileInterner::getEnclosing() after: [%s]\n", eipath.c_str()));
|
126 |
return true;
|
126 |
return true;
|
|
|
127 |
}
|
|
|
128 |
|
|
|
129 |
string FileInterner::getLastIpathElt(const string& ipath)
|
|
|
130 |
{
|
|
|
131 |
string::size_type sep;
|
|
|
132 |
if ((sep = ipath.find_last_of(cstr_isep)) != string::npos) {
|
|
|
133 |
return ipath.substr(sep + 1);
|
|
|
134 |
} else {
|
|
|
135 |
return ipath;
|
|
|
136 |
}
|
127 |
}
|
137 |
}
|
128 |
|
138 |
|
129 |
// Uncompress input file into a temporary one, by executing the appropriate
|
139 |
// Uncompress input file into a temporary one, by executing the appropriate
|
130 |
// script.
|
140 |
// script.
|
131 |
static bool uncompressfile(RclConfig *conf, const string& ifn,
|
141 |
static bool uncompressfile(RclConfig *conf, const string& ifn,
|