diff options
author | Robert E. McGrath <mcgrath@ncsa.uiuc.edu> | 2005-02-02 21:43:15 (GMT) |
---|---|---|
committer | Robert E. McGrath <mcgrath@ncsa.uiuc.edu> | 2005-02-02 21:43:15 (GMT) |
commit | d0ced67f526acb4491269e8e66799e9fb81115ac (patch) | |
tree | 47bb99bab0ff6db45a5f5bf19075c268e19effad /tools/gifconv/hdf2gif.c | |
parent | c9c1277401eefcee99cd39ce77bb70c7c4643bf3 (diff) | |
download | hdf5-d0ced67f526acb4491269e8e66799e9fb81115ac.zip hdf5-d0ced67f526acb4491269e8e66799e9fb81115ac.tar.gz hdf5-d0ced67f526acb4491269e8e66799e9fb81115ac.tar.bz2 |
[svn-r9924] Purpose:
Bug fix (#56)
Description:
h52gif creash for data > 1 byt
Solution:
check datatype and return with error message if not 1 byte int
Platforms tested:
shanti,verbena
Misc. update:
Diffstat (limited to 'tools/gifconv/hdf2gif.c')
-rw-r--r-- | tools/gifconv/hdf2gif.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/gifconv/hdf2gif.c b/tools/gifconv/hdf2gif.c index ef82090..51ec144 100644 --- a/tools/gifconv/hdf2gif.c +++ b/tools/gifconv/hdf2gif.c @@ -211,7 +211,7 @@ int main(int argc , char **argv) */ if (ReadHDF(&Image, GlobalPalette, dim_sizes, HDFName, image_name_arr[idx], pal_name_arr[idx]) < 0) { - fprintf(stderr , "Unable to read HDF file\n"); + fprintf(stderr , "Unable to read image %s from HDF file %s\n",image_name_arr[idx],HDFName); return -1; } |