[Darshan-commits] [Git][darshan/darshan][dev-modular] bug fix in bzip2 init in darshan logutils

Shane Snyder xgitlab at cels.anl.gov
Tue Dec 8 11:56:08 CST 2015


Shane Snyder pushed to branch dev-modular at darshan / darshan


Commits:
26c4ff22 by Shane Snyder at 2015-12-08T11:55:49Z
bug fix in bzip2 init in darshan logutils

- - - - -


1 changed file:

- darshan-util/darshan-logutils.c


Changes:

=====================================
darshan-util/darshan-logutils.c
=====================================
--- a/darshan-util/darshan-logutils.c
+++ b/darshan-util/darshan-logutils.c
@@ -1051,7 +1051,7 @@ static int darshan_log_dzinit(struct darshan_fd_int_state *state)
             tmp_bzstrm->avail_in = 0;
             tmp_bzstrm->next_in = Z_NULL;
 
-            if(state->creat_flag)
+            if(!(state->creat_flag))
             {
                 /* read only file, init decompress algorithm */
                 ret = BZ2_bzDecompressInit(tmp_bzstrm, 1, 0);



View it on GitLab: https://xgitlab.cels.anl.gov/darshan/darshan/commit/26c4ff222cc88cc4fa526cc7a25d494454735975
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/darshan-commits/attachments/20151208/8ad19cd1/attachment.html>


More information about the Darshan-commits mailing list