diff options
author | Rich Felker <dalias@aerifal.cx> | 2011-08-16 23:23:15 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2011-08-16 23:23:15 -0400 |
commit | c0f344160d22d889460573d003cf349626a38184 (patch) | |
tree | e973d980a09c7820056d8d5a629ed706042455b8 /src/conf | |
parent | 3e082df3cc4c287f659e9067b2b23c7db0855695 (diff) | |
download | musl-c0f344160d22d889460573d003cf349626a38184.tar.gz |
in pathconf, -1, not 0, means unsupported.. syncio presumably works, too.
Diffstat (limited to 'src/conf')
-rw-r--r-- | src/conf/fpathconf.c | 6 |
1 files changed, 3 insertions, 3 deletions
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, |