1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
|
Description: remove check on patch version
hopefully changes in that number always are compatible.
Without this every bugfix update would require a full transition as it will
abort when the version does not match exactly.
The version check will be executed with compile time values on every file
access see e.g. H5F_ACC_RDONLY in src/H5Fpublic.h
Author: Julian Taylor <jtaylor@ubuntu.com>
Bug-Debian: http://bugs.debian.org/693610
Index: hdf5/src/H5.c
===================================================================
--- hdf5.orig/src/H5.c
+++ hdf5/src/H5.c
@@ -778,8 +778,7 @@ H5check_version(unsigned majnum, unsigne
disable_version_check = (unsigned int)HDstrtol (s, NULL, 0);
}
- if (H5_VERS_MAJOR!=majnum || H5_VERS_MINOR!=minnum ||
- H5_VERS_RELEASE!=relnum) {
+ if (H5_VERS_MAJOR!=majnum || H5_VERS_MINOR!=minnum) {
switch (disable_version_check) {
case 0:
HDfprintf(stderr, "%s%s", version_mismatch_warning,
|