summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick Lu <ptlu@hawkwind.ncsa.uiuc.edu>1999-06-04 14:40:15 (GMT)
committerPatrick Lu <ptlu@hawkwind.ncsa.uiuc.edu>1999-06-04 14:40:15 (GMT)
commit58b40b848ceb2ba1aadbdfc17610a96b45723dac (patch)
tree341c1cbc92501f58dd40092998ba3be2d2d4c1d2
parent2d8200355654f34484f0c4d7b3f6eb744c6f4e94 (diff)
downloadhdf5-58b40b848ceb2ba1aadbdfc17610a96b45723dac.zip
hdf5-58b40b848ceb2ba1aadbdfc17610a96b45723dac.tar.gz
hdf5-58b40b848ceb2ba1aadbdfc17610a96b45723dac.tar.bz2
[svn-r1297]
removed the c++ style comments and added a new line at the end of the file
-rw-r--r--tools/h5tools.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/tools/h5tools.c b/tools/h5tools.c
index 1360aeb..2a54aff 100644
--- a/tools/h5tools.c
+++ b/tools/h5tools.c
@@ -1626,14 +1626,11 @@ static void display_string
} else {
indentation(indent+COL);
printf("%s\"", out_buf);
- // strncpy(out_buf, tempstr.s, x);
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);
x = temp;
-// out_buf[0] = '\"';
-// strncpy(out_buf+1, tempstr.s + temp, tempstr.len - temp);
}
}
@@ -1708,7 +1705,6 @@ static void display_string
if ((int)strlen(out_buf) < (NCOLS-indent-COL)) strcat(out_buf, " ");
} else {
strcpy(out_buf, "\"");
-// strcat(out_buf, "\"");
strcat (out_buf, tempstr.s+x+j*y);
strcat(out_buf, "\",");
if ((int)strlen(out_buf) < (NCOLS-indent-COL)) strcat(out_buf, " ");
@@ -2139,4 +2135,5 @@ int copy_atomic_char(char* output, char* input, int numchar, int freespace){
if (x == 0) x = FAIL;
return(x);
-} \ No newline at end of file
+}
+