use lutimes instead of utimes - see issue 44

git-svn-id: http://encfs.googlecode.com/svn/trunk@49 db9cf616-1c43-0410-9cb8-a902689de0d6
This commit is contained in:
Valient Gough 2009-11-23 05:59:08 +00:00
parent f6c5f0440a
commit 72cbe023d5

View File

@ -544,7 +544,7 @@ int _do_utimens(EncFS_Context *, const string &cyName,
tv[1].tv_sec = ts[1].tv_sec;
tv[1].tv_usec = ts[1].tv_nsec / 1000;
int res = utimes( cyName.c_str(), tv);
int res = lutimes( cyName.c_str(), tv);
return (res == -1) ? -errno : ESUCCESS;
}