[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[sysvinit-devel] [PATCH 3/5] init.c: add return tests for fcntl() in mak

From: Michał Kulling
Subject: [sysvinit-devel] [PATCH 3/5] init.c: add return tests for fcntl() in make_pipe().
Date: Mon, 10 Feb 2014 21:49:48 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0

Currently in make_pipe() is use fcntl() function without return code validation. I added return check - if fcntl() return -1, then put into initlog message and return -1 from make_pipe().

I'm not sure here, but if fcntl() doesn't exit with success return code, so something is wrong here?

Michal Kulling

Attachment: init.c_patch3_10022014.patch
Description: Text Data

reply via email to

[Prev in Thread] Current Thread [Next in Thread]