Commit 1980d236 authored by Shane Snyder's avatar Shane Snyder

add another comment for more details

parent b4ec5840
...@@ -100,6 +100,7 @@ static int darshan_log_get_posix_file(darshan_fd fd, void** posix_buf_p) ...@@ -100,6 +100,7 @@ static int darshan_log_get_posix_file(darshan_fd fd, void** posix_buf_p)
fopen_counter = (int64_t*)dest_p; fopen_counter = (int64_t*)dest_p;
do do
{ {
/* pull POSIX records until we find one that doesn't have STDIO data */
ret = darshan_log_get_mod(fd, DARSHAN_POSIX_MOD, scratch, rec_len); ret = darshan_log_get_mod(fd, DARSHAN_POSIX_MOD, scratch, rec_len);
} while(ret == rec_len && *fopen_counter > 0); } while(ret == rec_len && *fopen_counter > 0);
if(ret != rec_len) if(ret != rec_len)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment