]> git.ipfire.org Git - thirdparty/coreutils.git/commit
copy: allow symlink timestamp preservation on more systems
authorEric Blake <ebb9@byu.net>
Thu, 8 Oct 2009 21:57:06 +0000 (15:57 -0600)
committerEric Blake <ebb9@byu.net>
Sat, 10 Oct 2009 15:14:35 +0000 (09:14 -0600)
commit82e344ca09dbc3f168ee598749e751373161ce30
treefa5497649b0847e3ef8d1ca42a2129c25e2036ae
parent2cd157755422a0317564af844e1886742cd2d4e7
copy: allow symlink timestamp preservation on more systems

* src/copy.c (utimens_symlink): Simplify by using lutimens.
* m4/jm-macros.m4 (coreutils_MACROS): Drop utimensat; gnulib does
this for us.
* tests/cp/preserve-slink-time: Recognize lutimes support.
m4/jm-macros.m4
src/copy.c
tests/cp/preserve-slink-time