projects
/
oweals
/
musl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
47a8816
)
fix bogus pathconf result for file size bits
author
Rich Felker
<dalias@aerifal.cx>
Wed, 17 Aug 2011 03:18:30 +0000
(23:18 -0400)
committer
Rich Felker
<dalias@aerifal.cx>
Wed, 17 Aug 2011 03:18:30 +0000
(23:18 -0400)
src/conf/fpathconf.c
patch
|
blob
|
history
diff --git
a/src/conf/fpathconf.c
b/src/conf/fpathconf.c
index af7e4d3bb1db55a60f6cf56008d20c12bf23785a..f1bcc340cc377e4fd54d3f775414b1490cd09508 100644
(file)
--- 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,