]> granicus.if.org Git - apache/commit
Instead of checking device ids, try rename first and in case of EXDEV,
authorStefan Fritsch <sf@apache.org>
Mon, 9 Nov 2009 11:17:01 +0000 (11:17 +0000)
committerStefan Fritsch <sf@apache.org>
Mon, 9 Nov 2009 11:17:01 +0000 (11:17 +0000)
commit734abfb1fac5a215de1b74aa76c76b8c0454ba00
treeb1190d28fb68e13f8ebb0ab039919dee05260de6
parent16f79b1337ca0b015d2c1e5b2b10122522379c49
Instead of checking device ids, try rename first and in case of EXDEV,
fallback to copy.

From rename(2) on Linux: Linux permits a file system to be mounted at multiple
points, but  rename()  does  not  work  across  different  mount points, even
if the same file system is mounted on both.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@834019 13f79535-47bb-0310-9956-ffa450edef68
modules/dav/fs/repos.c