1
0
mirror of https://github.com/MariaDB/server.git synced 2025-12-01 17:39:21 +03:00
fix construct_full_name so that absolute windows paths do not get modified

git-svn-id: file:///svn/toku/tokudb.1032b@8019 c7de825b-a66e-492c-adef-691d508d4ae1
This commit is contained in:
Zardosht Kasheff
2013-04-16 23:57:29 -04:00
committed by Yoni Fogel
parent c5cdf8f895
commit ed472f23c8
5 changed files with 36 additions and 10 deletions

View File

@@ -163,3 +163,9 @@ toku_os_get_rss(int64_t *rss) {
fclose(f);
return r;
}
int
toku_os_is_absolute_name(const char* path) {
return path[0] == '/';
}