summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLarry Knox <lrknox@hdfgroup.org>2017-10-26 22:02:58 (GMT)
committerLarry Knox <lrknox@hdfgroup.org>2017-10-26 22:02:58 (GMT)
commitddb830d67321643f14a06b33a2dd3c2ae6d27b1b (patch)
treed95b949564ca16fec85e9b1fceb3df72ca8ab0f3
parent6bb11677739f360ed2b03b452860357b3c85eb87 (diff)
parent6a52c26162f45e85b88aa6ddab5e5d861aaba7b8 (diff)
downloadhdf5-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-xbin/h5vers8
1 files changed, 4 insertions, 4 deletions
diff --git a/bin/h5vers b/bin/h5vers
index 5466d13..a00beb7 100755
--- a/bin/h5vers
+++ b/bin/h5vers
@@ -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