Skip to content
Snippets Groups Projects
Commit b76c0267 authored by Moe Jette's avatar Moe Jette
Browse files

Port 0.3.8 bug fixes to 0.4:

Don't strip binaries to avoid breaking TotalView
Fix Munge error retry logic bug
Change srun interrupt handling to work with TotalView
parent e3bea2a7
No related branches found
No related tags found
No related merge requests found
......@@ -228,15 +228,15 @@ _sig_thr(void *arg)
sigset_t set;
time_t last_intr = 0;
time_t last_intr_sent = 0;
int signo;
int signo, err;
while (!_sig_thr_done(job)) {
xsignal_sigset_create(srun_sigarray, &set);
if (sigwait(&set, &signo) < 0) {
if (errno != EINTR)
error ("sigwait: %m");
if ((err = sigwait(&set, &signo)) != 0) {
if (err != EINTR)
error ("sigwait: %s", slurm_strerror (err));
continue;
}
......
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