daemon: Fix utimens so it doesn't hang on named pipes (RHBZ#761460).
authorRichard W.M. Jones <rjones@redhat.com>
Thu, 8 Dec 2011 11:39:58 +0000 (11:39 +0000)
committerRichard W.M. Jones <rjones@redhat.com>
Fri, 9 Dec 2011 15:35:40 +0000 (15:35 +0000)
commit87e972e69487564f44b20ea5dcfc3eadf5b34c74
tree1295c0a03d8839df435525e5ae855de5216b8aec
parent289645e80aebef0378ce69db5b0e847e8d6a28c6
daemon: Fix utimens so it doesn't hang on named pipes (RHBZ#761460).

This also adds comprehensive tests for utimens on regular files,
directories (RHBZ#761451), named pipes (RHBZ#761460), symbolic links,
block and char devices.

Note that there is a small change in the (previously undefined)
semantics of this call: It now sets the time on a symbolic link
itself, not on what the symbolic link points to.
(cherry picked from commit 19e2f5aa4fd4ed70b505661d918b5575616ad441)
daemon/utimens.c
generator/generator_actions.ml