diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2018-11-07 16:02:49 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2018-11-07 16:02:49 (GMT) |
commit | 40338b9e40b980eb4bb709e4f36661d7620d9a1f (patch) | |
tree | 8b9a61576033c5a121e548c78b13b507a2a43e50 /tools/test/h5jam/getub.c | |
parent | 1652a60fcbe9894d7c34a778fb24dce1979fb9a9 (diff) | |
parent | 4616c1e863ab756d22af696672ba9bc2fe0eea25 (diff) | |
download | hdf5-40338b9e40b980eb4bb709e4f36661d7620d9a1f.zip hdf5-40338b9e40b980eb4bb709e4f36661d7620d9a1f.tar.gz hdf5-40338b9e40b980eb4bb709e4f36661d7620d9a1f.tar.bz2 |
Merge pull request #1298 in HDFFV/hdf5 from ~BYRN/hdf5_adb:develop to develop
* commit '4616c1e863ab756d22af696672ba9bc2fe0eea25':
Add custom target to force wait on generated file
TRILAB-81 fix typo
TRILAB-82 fixed errors found in review
Update windows test machine info
TRILAB-81 Output error if filename length is greater then 255
TRILAB-81 check for func success before using value
TRILAB-81 Coverity fix
Move options to root CMakeLists.txt
TRILAB-34 fix required through testing
TRILAB-34 add batch option (also patch2 from 10633)
TRILAB-81 coverity fixes
Diffstat (limited to 'tools/test/h5jam/getub.c')
-rw-r--r-- | tools/test/h5jam/getub.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/test/h5jam/getub.c b/tools/test/h5jam/getub.c index 7cfde36..26a427d 100644 --- a/tools/test/h5jam/getub.c +++ b/tools/test/h5jam/getub.c @@ -148,7 +148,7 @@ main(int argc, const char *argv[]) error: if(buf) HDfree(buf); - if(fd > -1) + if(fd >= 0) HDclose(fd); return EXIT_FAILURE; } /* end main() */ |