darshan-util: remove return(-1) from void function#18504
darshan-util: remove return(-1) from void function#18504adamjstewart merged 3 commits intospack:developfrom
Conversation
adamjstewart
left a comment
There was a problem hiding this comment.
Has this patch been submitted upstream? @shanedsnyder @carns can you review this?
|
This bug is already fixed in latest code. So upstream is not needed. |
| depends_on('zlib') | ||
| depends_on('bzip2', when="+bzip2", type=("build", "link", "run")) | ||
|
|
||
| patch('retvoid.patch') |
There was a problem hiding this comment.
In that case you want something like this:
| patch('retvoid.patch') | |
| patch('retvoid.patch', when='@:3.2.1') |
There was a problem hiding this comment.
Thank you for your kind suggestion.
There was a problem hiding this comment.
This sounds good to me, especially with the version qualifier on the patch.
There was a problem hiding this comment.
This return value bug should only affect versions 3.2.0 and 3.2.1, and we'll have it fixed in the next release. So, probably just when='@3.2.0:3.2.1' -- I imagine the patch would fail on previous versions.
Otherwise, looks good to me! Thanks!
Co-authored-by: Adam J. Stewart <[email protected]>
Co-authored-by: Adam J. Stewart <[email protected]>
return(-1);in void function causes error in Fujitsu C compiler.So I fixed to
return;.