On July 25, 2016 1:35:29 PM GMT+08:00, Hitoshi Ozeki
wrote:
>On Mon, 25 Jul 2016 03:33:14 +0900 I wrote:
>> [wrong] fcntl(fd, F_SETFD, (long) 1);
>> [correct] fcntl(fd, F_SETFD, FD_CLOEXEC);
>
>This "fcntl()" is used to clear the "close-on-exec flag."
>I think that we should stop using t
On Mon, 25 Jul 2016 03:33:14 +0900 I wrote:
[wrong] fcntl(fd, F_SETFD, (long) 1);
[correct] fcntl(fd, F_SETFD, FD_CLOEXEC);
This "fcntl()" is used to clear the "close-on-exec flag."
I think that we should stop using the meaningless "value 1".
[wrong] fcntl(fd, F_SETFD, (long) 1);
[co
Package: at
Version: 3.1.20-1
Severity: important
Dear Maintainer,
Please see this code.
This is a part of daemon_setup() function in "daemon.c".
daemon.c: line 204
/* We do NOT close fd, since we want to keep the lock. However, we
don't
* want to keep the
3 matches
Mail list logo