git.annexia.org
/
libguestfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
daemon/Win32: Windows replacement for umask.
[libguestfs.git]
/
daemon
/
file.c
diff --git
a/daemon/file.c
b/daemon/file.c
index
252c02c
..
0b50eeb
100644
(file)
--- a/
daemon/file.c
+++ b/
daemon/file.c
@@
-44,11
+44,7
@@
do_touch (const char *path)
return -1;
}
return -1;
}
-#ifdef HAVE_FUTIMENS
r = futimens (fd, NULL);
r = futimens (fd, NULL);
-#else
- r = futimes (fd, NULL);
-#endif
if (r == -1) {
reply_with_perror ("futimens: %s", path);
close (fd);
if (r == -1) {
reply_with_perror ("futimens: %s", path);
close (fd);