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 21:16:52 +0000 (15:16 -0600)
commit7280a913a12ebfe33e8cad1b217b84944bbd3681
treee5492e485e56314c073cff40b99b34c3ea88a305
parent7ff00ca82f134880b2aa751de96756b46a895ae1
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