[svn-r26028] Removed code from configure.ac that #defined (H5)_NO_SHARED_WRITING under

CodeWarrior as a work-around to broken open() functionality (it's not clear
which version). The only effect of this #define was to cause test_file_close()
in test/tfile.c to be skipped.

Fixes HDFFV-9080

Tested on: jam

We don't have CodeWarrior, so I just ensured the deletion didn't adversely
affect a typical build.
This commit is contained in:
Dana Robinson 2015-01-26 05:06:53 -05:00
parent c5741c15d2
commit 699b27ee4e
6 changed files with 0 additions and 30 deletions

View File

@ -540,9 +540,6 @@
/* Define if deprecated public API symbols are disabled */
#cmakedefine H5_NO_DEPRECATED_SYMBOLS @H5_NO_DEPRECATED_SYMBOLS@
/* Define if shared writing must be disabled (CodeWarrior only) */
#cmakedefine H5_NO_SHARED_WRITING @H5_NO_SHARED_WRITING@
/* Name of package */
#define H5_PACKAGE "@HDF5_PACKAGE@"

10
configure vendored
View File

@ -29303,16 +29303,6 @@ $as_echo "#define HAVE_FILTER_SCALEOFFSET 1" >>confdefs.h
done
fi
## ----------------------------------------------------------------------
## This is defined only when we're using CodeWarrior, since it has a
## broken "open()" call.
#
if test 1 = 2; then
$as_echo "#define NO_SHARED_WRITING 1" >>confdefs.h
fi
## --------------------------------------------------------------------------
## Should the Default Virtual File Driver be compiled?
##

View File

@ -2966,15 +2966,6 @@ if test -n "$FILTERS"; then
done
fi
## ----------------------------------------------------------------------
## This is defined only when we're using CodeWarrior, since it has a
## broken "open()" call.
#
if test 1 = 2; then
AC_DEFINE([NO_SHARED_WRITING], [1],
[Define if shared writing must be disabled (CodeWarrior only)])
fi
## --------------------------------------------------------------------------
## Should the Default Virtual File Driver be compiled?
##

View File

@ -482,9 +482,6 @@
/* Define if deprecated public API symbols are disabled */
#undef NO_DEPRECATED_SYMBOLS
/* Define if shared writing must be disabled (CodeWarrior only) */
#undef NO_SHARED_WRITING
/* Name of package */
#undef PACKAGE

View File

@ -3652,9 +3652,7 @@ test_file(void)
test_file_create(); /* Test file creation(also creation templates)*/
test_file_open(); /* Test file opening */
#ifndef H5_NO_SHARED_WRITING
test_file_close(); /* Test file close behavior */
#endif /* H5_NO_SHARED_WRITING */
test_get_file_id(); /* Test H5Iget_file_id */
test_get_obj_ids(); /* Test H5Fget_obj_ids for Jira Issue 8528 */
test_file_perm(); /* Test file access permissions */

View File

@ -488,9 +488,6 @@
/* Define if deprecated public API symbols are disabled */
/* #undef H5_NO_DEPRECATED_SYMBOLS */
/* Define if shared writing must be disabled (CodeWarrior only) */
#define H5_NO_SHARED_WRITING 1
/* Name of package */
#define H5_PACKAGE "hdf5"