From c0f344160d22d889460573d003cf349626a38184 Mon Sep 17 00:00:00 2001
From: Rich Felker <dalias@aerifal.cx>
Date: Tue, 16 Aug 2011 23:23:15 -0400
Subject: in pathconf, -1, not 0, means unsupported.. syncio presumably works,
 too.

---
 src/conf/fpathconf.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

(limited to 'src/conf')

diff --git a/src/conf/fpathconf.c b/src/conf/fpathconf.c
index f1bcc340..bfbb2742 100644
--- a/src/conf/fpathconf.c
+++ b/src/conf/fpathconf.c
@@ -14,9 +14,9 @@ long fpathconf(int fd, int name)
 		[_PC_CHOWN_RESTRICTED] = 1,
 		[_PC_NO_TRUNC] = 1,
 		[_PC_VDISABLE] = 0,
-		[_PC_SYNC_IO] = 0,
-		[_PC_ASYNC_IO] = 0,
-		[_PC_PRIO_IO] = 0,
+		[_PC_SYNC_IO] = 1,
+		[_PC_ASYNC_IO] = -1,
+		[_PC_PRIO_IO] = -1,
 		[_PC_SOCK_MAXBUF] = -1,
 		[_PC_FILESIZEBITS] = FILESIZEBITS,
 		[_PC_REC_INCR_XFER_SIZE] = PAGE_SIZE,
-- 
cgit v1.2.3-70-g09d2