From: Rich Felker Date: Wed, 17 Aug 2011 03:18:30 +0000 (-0400) Subject: fix bogus pathconf result for file size bits X-Git-Url: http://nsz.repo.hu/git/?p=musl;a=commitdiff_plain;h=3e082df3cc4c287f659e9067b2b23c7db0855695 fix bogus pathconf result for file size bits --- 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,