[svn-r1271] h5tools.c:

fixed a typo of pointer comparing with char.
h5tools.h:
    Removed ^M from the file.  SGI does not like them.
This commit is contained in:
Albert Cheng 1999-05-21 15:05:19 -05:00
parent fe3079f7e2
commit 5742d7fa04

View File

@ -509,7 +509,7 @@ h5dump_sprint(h5dump_str_t *str/*in,out*/, const h5dump_t *info,
} else if (H5T_STRING==H5Tget_class(type)) {
size = H5Tget_size(type);
quote = '\0';
if (str->s == '"') {
if (*(str->s) == '"') {
quote = 'a';
}
for (i=0; i<size && ((char*)vp)[i] != '\0'; i++) {
@ -1433,7 +1433,7 @@ static void display_numeric_data
hsize_t p_nelmts, hsize_t dim_n_size, hsize_t elmtno) {
hsize_t i;
//char p_buf[256];
/*char p_buf[256]; */
char out_buf[NCOLS];
struct h5dump_str_t tempstr;