From f3293b3cdcea9b233607450ebec1fe7a0167f886 Mon Sep 17 00:00:00 2001 From: Quincey Koziol Date: Thu, 25 Mar 2010 07:50:49 -0500 Subject: [svn-r18453] Description: Revert Mac-related change (to disable aio_fsync() calls). Tested on: None - eyeballed only, too minor to require testing --- config/gnu-flags | 4 ++-- src/H5Cjournal.c | 2 +- 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; -- cgit v0.12