]> code.ossystems Code Review - openembedded-core.git/commit
unfs3: Fix utime for symlink in attr.c
authorRui Wang <rui.wang@windriver.com>
Fri, 12 Oct 2018 02:51:36 +0000 (10:51 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 12 Oct 2018 07:44:09 +0000 (08:44 +0100)
commit244a5be0eab31310b8717ab6b713c2902def4e0c
tree7f2bc34a5b9d600a06ef8147a0282682ae6a3af7
parent6f8b2a9e03f4e54befe4df0fcfca24e676aef7b5
unfs3: Fix utime for symlink in attr.c

unfs3 has an old defect that it can not change the timestamps of a
symlink file because it only uses utime(), which will follow the
symlink. This will not cause an error if the symlink points to an
existent file but can be triggered with rpm workflows.

Making unfs3 support lutimes() addresses this problem.

Signed-off-by: Rui Wang <rui.wang@windriver.com>
Signed-off-by: Joe Slater <joe.slater@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/unfs3/unfs3/0001-attr-fix-utime-for-symlink.patch [new file with mode: 0644]
meta/recipes-devtools/unfs3/unfs3_0.9.22.r497.bb