summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--hl/tools/gif2h5/gif2hdf.c2
-rw-r--r--hl/tools/gif2h5/writehdf.c2
-rw-r--r--tools/gifconv/gif2hdf.c2
-rw-r--r--tools/gifconv/writehdf.c2
4 files changed, 4 insertions, 4 deletions
diff --git a/hl/tools/gif2h5/gif2hdf.c b/hl/tools/gif2h5/gif2hdf.c
index 89edb5f..ecbb748 100644
--- a/hl/tools/gif2h5/gif2hdf.c
+++ b/hl/tools/gif2h5/gif2hdf.c
@@ -39,7 +39,7 @@ main(int argv , char *argc[])
GifMemoryStruct.GifCommentExtension = NULL;
if (argv < 3) {
- printf("\n\nWrong Usage. Use:\ngif2hdf <GIFFILE> <HDFFILE>\n\n");
+ printf("\n\nWrong Usage. Use:\ngif2h5 <GIFFILE> <HDFFILE>\n\n");
return(-1);
}
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);
diff --git a/tools/gifconv/gif2hdf.c b/tools/gifconv/gif2hdf.c
index 89edb5f..ecbb748 100644
--- a/tools/gifconv/gif2hdf.c
+++ b/tools/gifconv/gif2hdf.c
@@ -39,7 +39,7 @@ main(int argv , char *argc[])
GifMemoryStruct.GifCommentExtension = NULL;
if (argv < 3) {
- printf("\n\nWrong Usage. Use:\ngif2hdf <GIFFILE> <HDFFILE>\n\n");
+ printf("\n\nWrong Usage. Use:\ngif2h5 <GIFFILE> <HDFFILE>\n\n");
return(-1);
}
diff --git a/tools/gifconv/writehdf.c b/tools/gifconv/writehdf.c
index 3a6831a..86415a4 100644
--- a/tools/gifconv/writehdf.c
+++ b/tools/gifconv/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);