Bug:
init_readymsg prints -1 as an error message instead of the desired pipe error message
|
result = pipe(ready_pipe); |
|
if (result == -1) { |
|
error = result; |
|
fprintf(stderr, "Could not create ready pipe for spindle session: %s\n", strerror(error)); |
|
return -1; |
|
} |
Fix:
result = pipe(ready_pipe);
if (result == -1) {
error = errno;
Bug:
init_readymsgprints-1as an error message instead of the desired pipe error messageSpindle/src/flux/procmgr.c
Lines 97 to 102 in 585dacf
Fix: