mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-01-18 15:15:56 +08:00
[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:
parent
fe3079f7e2
commit
5742d7fa04
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user