diff options
author | James Laird <jlaird@hdfgroup.org> | 2007-01-23 17:29:45 (GMT) |
---|---|---|
committer | James Laird <jlaird@hdfgroup.org> | 2007-01-23 17:29:45 (GMT) |
commit | 59eccdaf699634dfb16419200549268623ac4e9b (patch) | |
tree | af72080ab1b7c00749713e9382b5fc8aa868b18c /src/H5FD.c | |
parent | f83826852bc9d1ef530c4d292279396fce77d626 (diff) | |
download | hdf5-59eccdaf699634dfb16419200549268623ac4e9b.zip hdf5-59eccdaf699634dfb16419200549268623ac4e9b.tar.gz hdf5-59eccdaf699634dfb16419200549268623ac4e9b.tar.bz2 |
[svn-r13181] Added a configure check to prevent a failure on Cygwin.
It seems that while Cygwin supports the time command, it has trouble with
the syntax
srcdir="../../hdf5/test" time ./testhdf5
and complains.
The solution is to test the above case in configure and not to use the time
command if it fails; Cygwin is fine with
srcdir="../../hdf5/test" ./testhdf5
Tested on Cygwin and kagiso. This feature shouldn't be a major compatibility
problem since every platform but Cygwin is already fine with the current
syntax.
Diffstat (limited to 'src/H5FD.c')
-rw-r--r-- | src/H5FD.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -2847,7 +2847,7 @@ H5FDget_eoa(H5FD_t *file, H5FD_mem_t type) haddr_t ret_value; FUNC_ENTER_API(H5FDget_eoa, HADDR_UNDEF) - H5TRACE1("a", "x", file); + H5TRACE2("a", "xMt", file, type); /* Check args */ if(!file || !file->cls) @@ -2936,7 +2936,7 @@ H5FDset_eoa(H5FD_t *file, H5FD_mem_t type, haddr_t addr) herr_t ret_value=SUCCEED; /* Return value */ FUNC_ENTER_API(H5FDset_eoa, FAIL) - H5TRACE2("e", "xa", file, addr); + H5TRACE3("e", "xMta", file, type, addr); /* Check args */ if(!file || !file->cls) |