diff options
author | Larry Knox <lrknox@hdfgroup.org> | 2017-10-26 22:02:58 (GMT) |
---|---|---|
committer | Larry Knox <lrknox@hdfgroup.org> | 2017-10-26 22:02:58 (GMT) |
commit | ddb830d67321643f14a06b33a2dd3c2ae6d27b1b (patch) | |
tree | d95b949564ca16fec85e9b1fceb3df72ca8ab0f3 | |
parent | 6bb11677739f360ed2b03b452860357b3c85eb87 (diff) | |
parent | 6a52c26162f45e85b88aa6ddab5e5d861aaba7b8 (diff) | |
download | hdf5-ddb830d67321643f14a06b33a2dd3c2ae6d27b1b.zip hdf5-ddb830d67321643f14a06b33a2dd3c2ae6d27b1b.tar.gz hdf5-ddb830d67321643f14a06b33a2dd3c2ae6d27b1b.tar.bz2 |
Merge pull request #733 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:develop to develop
* commit '6a52c26162f45e85b88aa6ddab5e5d861aaba7b8':
Revert "Fix for HDFFFV-10308. Initialize hid_ts in function check_objects and"
Remove extra spaces and 1 "currently under development" to match hdf5_1_10 version.
Fix for HDFFFV-10308. Initialize hid_ts in function check_objects and check for id > -1 before calling close functions.
-rwxr-xr-x | bin/h5vers | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -354,7 +354,7 @@ if ($HDF5CONFIGCMAKE) { my $sub_rel_ver_str = ( $newver[3] eq "" ? sprintf("\"%s\"", "") - : sprintf("\"%s\"", "-".$newver[3].", currently under development") + : sprintf("\"%s\"", "-".$newver[3]) ); my $version_string = sprintf("\"%d.%d.%d\"", @newver[0,1,2]); @@ -377,7 +377,7 @@ if ($H5_JAVA) { my $version_string2 = sprintf("%d, %d, %d", @newver[0,1,2]); $data =~ s/\@version HDF5 .* <BR>/\@version HDF5 $version_string1 <BR>/; - $data =~ s/ public final static int LIB_VERSION\[\] = { \d*, \d*, \d* };/ public final static int LIB_VERSION[] = { $version_string2 };/; + $data =~ s/ public final static int LIB_VERSION\[\] = { \d*, \d*, \d* };/ public final static int LIB_VERSION[] = { $version_string2 };/; write_file($H5_JAVA, $data); } @@ -395,7 +395,7 @@ if ($TESTH5_JAVA) { my $version_string2 = sprintf("int majnum = %d, minnum = %d, relnum = %d", @newver[0,1,2]); $data =~ s/ int libversion\[\] = { .* };/ int libversion\[\] = { $version_string1 };/; - $data =~ s/ int majnum = \d*, minnum = \d*, relnum = \d*;/ $version_string2;/; + $data =~ s/ int majnum = \d*, minnum = \d*, relnum = \d*;/ $version_string2;/; write_file($TESTH5_JAVA, $data); } @@ -410,7 +410,7 @@ if ($REPACK_LAYOUT_PLUGIN_VERSION) { write_file($REPACK_LAYOUT_PLUGIN_VERSION, $data); } -# helper function to read the file for updating c++/src/cpp_doc_config, +# helper function to read the file for updating c++/src/cpp_doc_config, # config/cmake/scripts/HDF5Config.cmake, and java files. # The version string in that file is not at the top, so the string replacement # is not for the first line, and reading/writing the entire file as one string |