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>
Thu, 8 Dec 2011 11:39:58 +0000 (11:39 +0000)
commit19e2f5aa4fd4ed70b505661d918b5575616ad441
treebc44d725ef7bae6ecd8593607f0f2a5e50279a7d
parent31fba8d8033216f8a288e75fe3f575b73b9ef925
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.
daemon/utimens.c
generator/generator_actions.ml