summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorRichard W.M. Jones <rjones@redhat.com>2012-04-09 16:53:04 +0100
committerRichard W.M. Jones <rjones@redhat.com>2012-04-09 17:36:56 +0100
commit8ae322e5a70e3d39ac9952f4bb15718f800e133a (patch)
tree58c32b27e4a6f8260837b2528d6bff03e5239e36 /configure.ac
parent669c0bd4075a1b61f61bf3a9dda7c80caca12f72 (diff)
downloadlibguestfs-8ae322e5a70e3d39ac9952f4bb15718f800e133a.tar.gz
libguestfs-8ae322e5a70e3d39ac9952f4bb15718f800e133a.tar.xz
libguestfs-8ae322e5a70e3d39ac9952f4bb15718f800e133a.zip
Use posix_fadvise when uploading or downloading files.
But ignore it if the call fails, since the file descriptor could be a non-file (eg. /dev/stdout).
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index bfa6e5d6..3f7123be 100644
--- a/configure.ac
+++ b/configure.ac
@@ -212,6 +212,7 @@ AC_CHECK_FUNCS([\
ntohl \
ntohs \
posix_fallocate \
+ posix_fadvise \
realpath \
removexattr \
setitimer \