diff options
author | Albert Cheng <acheng@hdfgroup.org> | 2001-05-11 14:16:53 (GMT) |
---|---|---|
committer | Albert Cheng <acheng@hdfgroup.org> | 2001-05-11 14:16:53 (GMT) |
commit | 87456c1137f27203be42691b839ee1c0d72e7d93 (patch) | |
tree | 36c99752fde59f3d599f037b2f3d4d6611ab6d01 | |
parent | 46eebaa438b0b79673d77d40cc5dc5c6e0cfd6de (diff) | |
download | hdf5-87456c1137f27203be42691b839ee1c0d72e7d93.zip hdf5-87456c1137f27203be42691b839ee1c0d72e7d93.tar.gz hdf5-87456c1137f27203be42691b839ee1c0d72e7d93.tar.bz2 |
[svn-r3912] Purpose:
Cosmetic adjustment
Description:
Changed Version information from just "HDF5 version ..."
to "HDF5 library version" since this is really about a
library implementation.
Platforms tested:
eirene (used "h5vers -s ..." to see the effect.)
-rwxr-xr-x | bin/h5vers | 6 | ||||
-rw-r--r-- | src/H5public.h | 2 |
2 files changed, 4 insertions, 4 deletions
@@ -79,7 +79,7 @@ sub setvers { $_[0] =~ s/^(\#\s*define\s+H5_VERS_RELEASE\s+)\d+/$1$vers[2]/m; $_[0] =~ s/^(\#\s*define\s+H5_VERS_SUBRELEASE\s+\")[^\"]*/$1$vers[3]/m; $_[0] =~ s/^(\#\s*define\s+H5_VERS_INFO\s+\")[^\"]*/ - sprintf("%shdf5 version: %d.%d.%d%s%s", $1, @vers[0,1,2], + sprintf("%sHDF5 library version: %d.%d.%d%s%s", $1, @vers[0,1,2], $vers[3]?"-":"", $vers[3])/me; } @@ -93,7 +93,7 @@ Usage: $prog [OPTS] [FILE] -s VERSION Set the version as specified. The version number can be embedded in some other string such as \"hdf5-1.1.0-pre1.tar.bz2\" or even - \"this is hdf5 version 1.1 release 0 (pre1)\" for convenience. + \"this is HDF5 library version 1.1 release 0 (pre1)\" for convenience. -v Instead of displaying only a dotted triple version number a line such as \"version 1.1 release 0 (pre1)\" will be printed. @@ -240,7 +240,7 @@ if ($RELEASE) { open FILE, $RELEASE or die "$RELEASE: $!\n"; my @contents = <FILE>; close FILE; - $contents[0] = sprintf("HDF5 version %d.%d.%d%s %s", + $contents[0] = sprintf("HDF5 library version %d.%d.%d%s %s", @newver[0,1,2], $newver[3] eq "" ? "" : "-".$newver[3], "currently under development\n"); diff --git a/src/H5public.h b/src/H5public.h index ae78cbb..8ef5b99 100644 --- a/src/H5public.h +++ b/src/H5public.h @@ -63,7 +63,7 @@ #define H5_VERS_RELEASE 1 /* For tweaks, bug-fixes, or development */ #define H5_VERS_SUBRELEASE "post2" /* For pre-releases like snap0 */ /* Empty string for real releases. */ -#define H5_VERS_INFO "hdf5 version: 1.4.1-post2" /* Full version string */ +#define H5_VERS_INFO "HDF5 library version: 1.4.1-post2" /* Full version string */ #define H5check() H5check_version(H5_VERS_MAJOR,H5_VERS_MINOR, \ H5_VERS_RELEASE) |