summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2010-03-25 12:50:49 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2010-03-25 12:50:49 (GMT)
commitf3293b3cdcea9b233607450ebec1fe7a0167f886 (patch)
tree833a20d2153ac67101fae5efbdcf32397e01d53e
parent49826ea52c056858a0ec1aac6188dcbce15b7798 (diff)
downloadhdf5-f3293b3cdcea9b233607450ebec1fe7a0167f886.zip
hdf5-f3293b3cdcea9b233607450ebec1fe7a0167f886.tar.gz
hdf5-f3293b3cdcea9b233607450ebec1fe7a0167f886.tar.bz2
[svn-r18453] Description:
Revert Mac-related change (to disable aio_fsync() calls). Tested on: None - eyeballed only, too minor to require testing
-rw-r--r--config/gnu-flags4
-rw-r--r--src/H5Cjournal.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/config/gnu-flags b/config/gnu-flags
index d12e502..0eded2b 100644
--- a/config/gnu-flags
+++ b/config/gnu-flags
@@ -140,8 +140,8 @@ case "$cc_vendor-$cc_version" in
esac
# General
- #H5_CFLAGS="$H5_CFLAGS $arch -D_POSIX_C_SOURCE=199309L -ansi -pedantic -Wall -W -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wconversion -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs -Winline"
- H5_CFLAGS="$H5_CFLAGS $arch -ansi -pedantic -Wall -W -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wconversion -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs -Winline"
+ H5_CFLAGS="$H5_CFLAGS $arch -D_POSIX_C_SOURCE=199309L -ansi -pedantic -Wall -W -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wconversion -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs -Winline"
+ #H5_CFLAGS="$H5_CFLAGS $arch -ansi -pedantic -Wall -W -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wconversion -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs -Winline"
# Production
case "$cc_vendor-$cc_version" in
diff --git a/src/H5Cjournal.c b/src/H5Cjournal.c
index 028f485..239339a 100644
--- a/src/H5Cjournal.c
+++ b/src/H5Cjournal.c
@@ -7308,7 +7308,7 @@ H5C_jb__init(H5C_jbrb_t * struct_ptr,
struct_ptr->aio_ctl_blks = NULL;
struct_ptr->aio_next_buf_offset = (off_t)0;
/* Comment this out to work on the Mac, currently */
-#if 0
+#if 1
struct_ptr->use_aio_fsync = use_aio;
#else
struct_ptr->use_aio_fsync = FALSE;