From 1258c22bb07a37b44b1fa9c533fa5c39c166e888 Mon Sep 17 00:00:00 2001 From: Elena Pourmal Date: Wed, 19 Nov 2008 11:24:35 -0500 Subject: [svn-r16101] Maintenance: Library version number in vms/src/h5pubconf.h was not updated automatically and therefore was always outdated. Modified h5vers script to update the version for the VMS configuration file as we do for the similar windows file. Platforms tested: kagiso with bin/h5vers --- bin/h5vers | 9 +++++++-- vms/src/h5pubconf.h | 6 +++--- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/bin/h5vers b/bin/h5vers index 1b41d0f..1cb2072 100755 --- a/bin/h5vers +++ b/bin/h5vers @@ -160,8 +160,9 @@ die "mutually exclusive options given\n" if $set && $inc; # Determine file to use as H5public.h, README.txt, # release_docs/RELEASE.txt, configure.in, windows/src/H5pubconf.h, -# and config/lt_vers.am. The README.txt, release_docs/RELEASE.txt, -# configure.in, windows/src/H5pubconf.h, and config/lt_vers.am +# vms/src/h5pubconf.h and config/lt_vers.am. +# The README.txt, release_docs/RELEASE.txt, configure.in, +# vms/src/h5pubconf.h, windows/src/H5pubconf.h, and config/lt_vers.am # files are always in the directory above H5public.h unless ($file) { for (@files) { @@ -190,6 +191,10 @@ die "unable to read file: $CONFIGURE\n" unless -r $file; my $H5PUBCONF = $file; $H5PUBCONF =~ s/[^\/]*$/..\/windows\/src\/H5pubconf.h/; die "unable to read file: $H5PUBCONF\n" unless -r $file; +# vms/src/h5pubconf.h +my $H5PUBCONF = $file; +$H5PUBCONF =~ s/[^\/]*$/..\/vms\/src\/h5pubconf.h/; +die "unable to read file: $H5PUBCONF\n" unless -r $file; # Get the current version number. open FILE, $file or die "unable to open $file: $!\n"; diff --git a/vms/src/h5pubconf.h b/vms/src/h5pubconf.h index 72c1322..3179f21 100644 --- a/vms/src/h5pubconf.h +++ b/vms/src/h5pubconf.h @@ -391,13 +391,13 @@ #define H5_PACKAGE_NAME "HDF5" /* Define to the full name and version of this package. */ -#define H5_PACKAGE_STRING "HDF5 1.8.1-snap6" +#define H5_PACKAGE_STRING "HDF5 1.8.2-snap0" /* Define to the one symbol short name of this package. */ #define H5_PACKAGE_TARNAME "hdf5" /* Define to the version of this package. */ -#define H5_PACKAGE_VERSION "1.8.1-snap6" +#define H5_PACKAGE_VERSION "1.8.2-snap0" /* Width for printf() for type `long long' or `__int64', use `ll' */ #define H5_PRINTF_LL_WIDTH "ll" @@ -551,7 +551,7 @@ #define H5_ULLONG_TO_LDOUBLE_PRECISION 1 /* Version number of package */ -#define H5_VERSION "1.8.1-snap6" +#define H5_VERSION "1.8.2-snap0" /* Define if vsnprintf() returns the correct value for formatted strings that don't fit into size allowed */ -- cgit v0.12