summaryrefslogtreecommitdiffstats
path: root/tools/h5tools.c
diff options
context:
space:
mode:
authorPatrick Lu <ptlu@hawkwind.ncsa.uiuc.edu>1999-06-07 19:57:10 (GMT)
committerPatrick Lu <ptlu@hawkwind.ncsa.uiuc.edu>1999-06-07 19:57:10 (GMT)
commit8532eb342ec94f6f7c92c73108c37228c91ee31c (patch)
treef7428c50e804d09f890fe2201ddfcedd2dc1947d /tools/h5tools.c
parent6881c423a13ae1e7dbf73f1b6fc02d91c71e5947 (diff)
downloadhdf5-8532eb342ec94f6f7c92c73108c37228c91ee31c.zip
hdf5-8532eb342ec94f6f7c92c73108c37228c91ee31c.tar.gz
hdf5-8532eb342ec94f6f7c92c73108c37228c91ee31c.tar.bz2
[svn-r1310]
removed the '//' from display_string and put a macro for it in h5dump.h
Diffstat (limited to 'tools/h5tools.c')
-rw-r--r--tools/h5tools.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/tools/h5tools.c b/tools/h5tools.c
index 226b036..fdc544d 100644
--- a/tools/h5tools.c
+++ b/tools/h5tools.c
@@ -1159,7 +1159,7 @@ h5dump_simple_data(FILE *stream, const h5dump_t *info, hid_t container,
* Modifications:
*
*-------------------------------------------------------------------------
- */
+ */
static int
h5dump_simple_dset(FILE *stream, const h5dump_t *info, hid_t dset,
hid_t p_type, int obj_data)
@@ -1908,7 +1908,7 @@ static void display_string
printf("%s\"", out_buf);
strncpy(out_buf, tempstr.s, x);
out_buf[x] = '\0';
- printf("%s\" //\n", out_buf);
+ printf("%s\" CONCATENATOR\n", out_buf);
first_row = 0;
out_buf[0] = '\0';
} else {
@@ -1917,7 +1917,7 @@ static void display_string
memset(out_buf, '\0', nCols);
temp = copy_atomic_char(out_buf,tempstr.s,tempstr.len,x);
out_buf[x] = '\0';
- printf("%s\" //\n", out_buf);
+ printf("%s\" CONCATENATOR\n", out_buf);
x = temp;
}
}
@@ -1933,7 +1933,7 @@ static void display_string
indentation(indent+COL);
strncpy(out_buf, tempstr.s+x+j*y, y);
out_buf[y] = '\0';
- printf("\"%s\" //\n", out_buf);
+ printf("\"%s\" CONCATENATOR\n", out_buf);
}
if ((elmtno+i+1) == p_nelmts) { /* last element */
@@ -1941,7 +1941,7 @@ static void display_string
indentation(indent+COL);
strncpy(out_buf, tempstr.s+x+j*y, y);
out_buf[y] = '\0';
- printf("\"%s\" //\n", out_buf);
+ printf("\"%s\" CONCATENATOR\n", out_buf);
indentation(indent+COL);
printf("\"%s\"", tempstr.s+x+m*y);
if (compound_data) {
@@ -1970,7 +1970,7 @@ static void display_string
indentation(indent+COL);
strncpy(out_buf, tempstr.s+x+j*y, y);
out_buf[y] = '\0';
- printf("\"%s\" //\n", out_buf);
+ printf("\"%s\" CONCATENATOR\n", out_buf);
indentation(indent+COL);
printf("\"%s\",\n", tempstr.s+x+m*y);
} else {
@@ -1986,7 +1986,7 @@ static void display_string
indentation(indent+COL);
strncpy(out_buf, tempstr.s+x+j*y, y);
out_buf[y] = '\0';
- printf("\"%s\" //\n", out_buf);
+ printf("\"%s\" CONCATENATOR\n", out_buf);
strcpy(out_buf, "\"");
strcat(out_buf, tempstr.s+x+m*y);
strcat(out_buf, "\",");