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:
3e082df
)
in pathconf, -1, not 0, means unsupported.. syncio presumably works, too.
author
Rich Felker
<dalias@aerifal.cx>
Wed, 17 Aug 2011 03:23:15 +0000
(23:23 -0400)
committer
Rich Felker
<dalias@aerifal.cx>
Wed, 17 Aug 2011 03:23:15 +0000
(23:23 -0400)
src/conf/fpathconf.c
patch
|
blob
|
history
diff --git
a/src/conf/fpathconf.c
b/src/conf/fpathconf.c
index f1bcc340cc377e4fd54d3f775414b1490cd09508..bfbb27426755c328d4a712abbb924785c1b07e82 100644
(file)
--- 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,