K 10 svn:author V 6 jilles K 8 svn:date V 27 2014-04-21T17:40:23.214976Z K 7 svn:log V 337 libc/stdio: Fail fdopen() on an execute-only fd. An execute-only fd (opened with O_EXEC) allows neither read() nor write() and is therefore incompatible with all stdio modes. Therefore, the [EINVAL] error applies. Also adjust the similar check in freopen() with a NULL path, even though this checks an fd which is already from a FILE. END