Skip to content

Commit

Permalink
Remove H5DEBUG() calls from H5Dmpio.c (HDFGroup#4103)
Browse files Browse the repository at this point in the history
Just use stdout when a stream is needed.
  • Loading branch information
derobins authored and lrknox committed Mar 21, 2024
1 parent ca2bb24 commit 2645401
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/H5Dmpio.c
Original file line number Diff line number Diff line change
Expand Up @@ -614,8 +614,7 @@ H5D__mpio_debug_init(void)
if (debug_str)
H5D__mpio_parse_debug_str(debug_str);

if (H5DEBUG(D))
debug_stream = H5DEBUG(D);
debug_stream = stdout;

H5D_mpio_debug_inited = true;

Expand Down Expand Up @@ -1412,7 +1411,7 @@ H5D__piece_io(H5D_io_info_t *io_info)
fprintf(debug_log_file, "##############\n\n");
if (EOF == fclose(debug_log_file))
HDONE_ERROR(H5E_IO, H5E_CLOSEERROR, FAIL, "couldn't close debugging log file");
debug_stream = H5DEBUG(D);
debug_stream = stdout;
}
#endif

Expand Down

0 comments on commit 2645401

Please sign in to comment.