Bug#832368: Using of the meaningless fcntl()

2016-07-24 Thread Hitoshi Ozeki
fcntl(fd, F_SETFD, (long) 1); [correct] fcntl(fd, F_SETFD, 0); -- Hitoshi Ozeki hts.ozeki (at) gmail.com

Bug#832368: Using of the meaningless fcntl()

2016-07-24 Thread Hitoshi Ozeki
OEXEC); break; end of citation [wrong] fcntl(fd, F_SETFD, (long) 1); [correct] fcntl(fd, F_SETFD, FD_CLOEXEC); -- Hitoshi Ozeki hts.ozeki (at) gmail.com