Commit e2f39fe7 authored by Christopher J. Morrone's avatar Christopher J. Morrone
Browse files

A poll of a open file descriptor for /dev/null always returns a POLLERR

under AIX.  This work-around bypasses the eio handling of /dev/null and
instead directly makes pin[0] a file handle for /dev/null.

The only problem with this fix is that it is not obvious elsewhere in the
code that pin is not a pipe when using "srun --batch" and stdin is
/dev/null.
parent f1f8eee2
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment