diff options
author | lrknox <lrknox> | 2017-03-21 16:40:11 (GMT) |
---|---|---|
committer | lrknox <lrknox> | 2017-03-21 16:40:11 (GMT) |
commit | fa5ca5272d7aa6f25656541b72a24697b36dd52b (patch) | |
tree | aaacae8b1bad787d0e340772ced6839fc612b935 | |
parent | 7cf8d092ed32c40488ce1aca28a705d78d69e23a (diff) | |
download | hdf5-fa5ca5272d7aa6f25656541b72a24697b36dd52b.zip hdf5-fa5ca5272d7aa6f25656541b72a24697b36dd52b.tar.gz hdf5-fa5ca5272d7aa6f25656541b72a24697b36dd52b.tar.bz2 |
Remove extra space added by h5vers to version string in H5.java, which
then failed to match the pattern after the first run.
-rwxr-xr-x | bin/h5vers | 2 | ||||
-rw-r--r-- | java/src/hdf/hdf5lib/H5.java | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -379,7 +379,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); } diff --git a/java/src/hdf/hdf5lib/H5.java b/java/src/hdf/hdf5lib/H5.java index 168e507..a1099d8 100644 --- a/java/src/hdf/hdf5lib/H5.java +++ b/java/src/hdf/hdf5lib/H5.java @@ -239,7 +239,7 @@ public class H5 implements java.io.Serializable { * * Make sure to update the versions number when a different library is used. */ - public final static int LIB_VERSION[] = { 1, 10, 1 }; + public final static int LIB_VERSION[] = { 1, 11, 0 }; public final static String H5PATH_PROPERTY_KEY = "hdf.hdf5lib.H5.hdf5lib"; |