From 3e082df3cc4c287f659e9067b2b23c7db0855695 Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Tue, 16 Aug 2011 23:18:30 -0400 Subject: fix bogus pathconf result for file size bits --- src/conf/fpathconf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/conf/fpathconf.c b/src/conf/fpathconf.c index af7e4d3b..f1bcc340 100644 --- a/src/conf/fpathconf.c +++ b/src/conf/fpathconf.c @@ -18,7 +18,7 @@ long fpathconf(int fd, int name) [_PC_ASYNC_IO] = 0, [_PC_PRIO_IO] = 0, [_PC_SOCK_MAXBUF] = -1, - [_PC_FILESIZEBITS] = sizeof(off_t), + [_PC_FILESIZEBITS] = FILESIZEBITS, [_PC_REC_INCR_XFER_SIZE] = PAGE_SIZE, [_PC_REC_MAX_XFER_SIZE] = PAGE_SIZE, [_PC_REC_MIN_XFER_SIZE] = PAGE_SIZE, -- cgit v1.2.1