Jilles Tjoelker 93a65e1b5f 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.
2014-04-21 17:40:23 +00:00
..
2013-04-23 14:36:44 +00:00
2013-04-23 14:36:44 +00:00
2013-04-23 14:36:44 +00:00
2013-04-23 14:36:44 +00:00
2013-02-09 07:01:05 +00:00
2013-04-23 14:36:44 +00:00
2013-04-23 14:36:44 +00:00
2013-04-23 14:36:44 +00:00
2013-04-23 14:36:44 +00:00
2013-04-23 14:36:44 +00:00
2013-04-23 14:36:44 +00:00
2013-04-23 14:36:44 +00:00
2013-07-12 17:37:05 +00:00
2013-04-23 14:36:44 +00:00
2013-04-23 14:36:44 +00:00
2013-08-09 17:24:23 +00:00
2013-08-09 17:24:23 +00:00
2013-02-27 20:09:25 +00:00
2013-04-23 14:36:44 +00:00
2013-04-23 14:36:44 +00:00
2013-04-23 14:36:44 +00:00
2013-04-23 14:36:44 +00:00
2013-04-23 14:36:44 +00:00
2012-05-12 20:27:13 +00:00
2013-04-23 14:36:44 +00:00
2013-08-09 17:24:23 +00:00
2013-04-23 14:36:44 +00:00
2013-04-23 14:36:44 +00:00
2013-04-23 14:36:44 +00:00
2012-05-12 20:27:13 +00:00
2013-04-23 14:36:44 +00:00