From 72cbe023d5c202c89ac230362674f94dfcd77b24 Mon Sep 17 00:00:00 2001 From: Valient Gough Date: Mon, 23 Nov 2009 05:59:08 +0000 Subject: [PATCH] use lutimes instead of utimes - see issue 44 git-svn-id: http://encfs.googlecode.com/svn/trunk@49 db9cf616-1c43-0410-9cb8-a902689de0d6 --- encfs/encfs.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/encfs/encfs.cpp b/encfs/encfs.cpp index f105f70..dac15bd 100644 --- a/encfs/encfs.cpp +++ b/encfs/encfs.cpp @@ -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; }