summaryrefslogtreecommitdiff
path: root/mmap/unix
diff options
context:
space:
mode:
authorrbb <rbb@13f79535-47bb-0310-9956-ffa450edef68>2000-04-06 23:25:07 +0000
committerrbb <rbb@13f79535-47bb-0310-9956-ffa450edef68>2000-04-06 23:25:07 +0000
commitb5495f6e59da38e88501e0cb5813a4b7328b8457 (patch)
tree63300cd79a1d4b6ac50cfd4d371b8ff2cb9485aa /mmap/unix
parent3988798535f9b52fadd81d786e1b8ee41d8f7717 (diff)
downloadlibapr-b5495f6e59da38e88501e0cb5813a4b7328b8457.tar.gz
Remove all the buffered I/O code from APR. APR supports buffered I/O only
on platforms that only support FILE *'s, not ints. Of course, this is only true on POSIX systems. Other systems can do what they want. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59808 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'mmap/unix')
-rw-r--r--mmap/unix/mmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mmap/unix/mmap.c b/mmap/unix/mmap.c
index 8ac7abdc0..05b3e2223 100644
--- a/mmap/unix/mmap.c
+++ b/mmap/unix/mmap.c
@@ -90,7 +90,7 @@ ap_status_t ap_mmap_create(ap_mmap_t **new, ap_file_t *file, ap_off_t offset,
{
caddr_t mm;
- if (file == NULL || file->buffered || file->filedes == -1)
+ if (file == NULL || file->filedes == -1)
return APR_EBADF;
(*new) = (ap_mmap_t *)ap_palloc(cont, sizeof(ap_mmap_t));