summaryrefslogtreecommitdiffstats
path: root/hl/tools/gif2h5/writehdf.c
diff options
context:
space:
mode:
authorRobert E. McGrath <mcgrath@ncsa.uiuc.edu>2002-10-24 14:48:19 (GMT)
committerRobert E. McGrath <mcgrath@ncsa.uiuc.edu>2002-10-24 14:48:19 (GMT)
commitda647e353762770d41e3fdec808ba9d53e448048 (patch)
treef1895e5d13545e91eca93383564e9c3a83527b87 /hl/tools/gif2h5/writehdf.c
parentd77d7e04c55aee4669b21b2a8c62a743380a9feb (diff)
downloadhdf5-da647e353762770d41e3fdec808ba9d53e448048.zip
hdf5-da647e353762770d41e3fdec808ba9d53e448048.tar.gz
hdf5-da647e353762770d41e3fdec808ba9d53e448048.tar.bz2
[svn-r6031] Purpose:
Fixes bug #836. Also fixes the 'usage' message. Description: Solution: Platforms tested: Misc. update:
Diffstat (limited to 'hl/tools/gif2h5/writehdf.c')
-rw-r--r--hl/tools/gif2h5/writehdf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hl/tools/gif2h5/writehdf.c b/hl/tools/gif2h5/writehdf.c
index 3a6831a..86415a4 100644
--- a/hl/tools/gif2h5/writehdf.c
+++ b/hl/tools/gif2h5/writehdf.c
@@ -26,7 +26,7 @@ static int write_text_attribute(hid_t dataset_id , const char *attr_name,
return -1;
/* figure out size of the data */
- attr_dims_size = strlen(attr_value) + 1;
+ attr_dims_size = 1;
/* set the type to string */
attr_type_id = H5Tcopy(H5T_C_S1);