efl_exe: check the calls to pipe(2)
authorJean Guyomarc'h <jean@guyomarch.bzh>
Sun, 25 Feb 2018 09:38:57 +0000 (10:38 +0100)
committerWonki Kim <wonki_.kim@samsung.com>
Tue, 10 Apr 2018 11:10:38 +0000 (20:10 +0900)
commit46b722731ce7f5d30eaf2411c6934b607bb10368
tree4275ccb64d4aa3a00cc1a0e23e5e9571f8d287b2
parentd3d2b3051f5542b16e1ff79971b246abf75208b4
efl_exe: check the calls to pipe(2)

Some glibc versions declare pipe(2) with a warn unused result attribute,
leading to compile-time warnings when pipe(2)'s return value is not
checked.

If pipe(2) fails, we now print an error and make the calling function
fail.
src/lib/ecore/efl_exe.c