git.annexia.org
/
libguestfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Version 1.10.10.
[libguestfs.git]
/
daemon
/
utimens.c
diff --git
a/daemon/utimens.c
b/daemon/utimens.c
index
2d0e3bf
..
1da2169
100644
(file)
--- a/
daemon/utimens.c
+++ b/
daemon/utimens.c
@@
-24,7
+24,7
@@
#include <unistd.h>
#include <sys/stat.h>
#include <unistd.h>
#include <sys/stat.h>
-#include "
../src/
guestfs_protocol.h"
+#include "guestfs_protocol.h"
#include "daemon.h"
#include "actions.h"
#include "daemon.h"
#include "actions.h"
@@
-33,10
+33,6
@@
do_utimens (const char *path,
int64_t atsecs, int64_t atnsecs,
int64_t mtsecs, int64_t mtnsecs)
{
int64_t atsecs, int64_t atnsecs,
int64_t mtsecs, int64_t mtnsecs)
{
-#ifndef HAVE_FUTIMENS
- reply_with_error ("utimens: not supported in this appliance");
- return -1;
-#else
int fd;
int r;
int fd;
int r;
@@
-77,5
+73,4
@@
do_utimens (const char *path,
}
return 0;
}
return 0;
-#endif /* HAVE_FUTIMENS */
}
}