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

job_submit/pbs: add more debugging

parent 4d15b0e5
No related branches found
No related tags found
No related merge requests found
......@@ -129,6 +129,10 @@ static void _xlate_dependency(struct job_descriptor *job_desc)
if (!job_desc->dependency)
return;
#if _DEBUG
info("dependency in:%s", job_desc->dependency);
#endif
tok = strtok_r(job_desc->dependency, ",", &last_ptr);
while (tok) {
if (!strncmp(tok, "after", 5) ||
......@@ -143,6 +147,9 @@ static void _xlate_dependency(struct job_descriptor *job_desc)
}
tok = strtok_r(NULL, ",", &last_ptr);
}
#if _DEBUG
info("dependency out:%s", result);
#endif
xfree(job_desc->dependency);
job_desc->dependency = result;
}
......
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