mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-04-06 17:20:42 +08:00
[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:
parent
c5741c15d2
commit
699b27ee4e
@ -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
10
configure
vendored
@ -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?
|
||||
##
|
||||
|
@ -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?
|
||||
##
|
||||
|
@ -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
|
||||
|
||||
|
@ -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 */
|
||||
|
@ -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"
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user