Skip to content
Snippets Groups Projects
Commit 641c38e1 authored by Morris Jette's avatar Morris Jette
Browse files

SLURMSTEPD_MEMCHECK fix

This modifies code added in Slurm version 16.05 so that it works
properly with a change made in version 15.08 with respect to the
definition of SLURMSTEPD_MEMCHECK, see commit
c4d0d306
parent 3bbbc128
No related branches found
No related tags found
No related merge requests found
...@@ -379,7 +379,7 @@ _got_ack_from_slurmd(int sock) ...@@ -379,7 +379,7 @@ _got_ack_from_slurmd(int sock)
{ {
/* If running under valgrind/memcheck, this pipe doesn't work correctly /* If running under valgrind/memcheck, this pipe doesn't work correctly
* so just skip it. */ * so just skip it. */
#ifndef SLURMSTEPD_MEMCHECK #if (SLURMSTEPD_MEMCHECK == 0)
int ok; int ok;
safe_read(sock, &ok, sizeof(int)); safe_read(sock, &ok, sizeof(int));
return; return;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment