Re: [PHP-DEV] FD_CLOEXEC issue

2004-10-04 Thread Derick Rethans
On Mon, 4 Oct 2004, Kamesh Jayachandran wrote: > Can I modify it to FD_CLOEXEC in stead of 1. Looks okay to me. Derick -- Derick Rethans http://derickrethans.nl | http://ez.no | http://xdebug.org -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.ne

Re: [PHP-DEV] FD_CLOEXEC issue

2004-10-04 Thread Sascha Schumann
Can I modify it to FD_CLOEXEC in stead of 1. Absolutely. - Sascha -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] FD_CLOEXEC issue

2004-10-04 Thread Kamesh Jayachandran
Hi All, I could see in ps_files_open function of ext/session/mod_files.c having fcntl call. Call looks like the following, fcntl(data->fd, F_SETFD, 1); And this change has happened on 2 years and 5 months back(version 1.73 of mod_files.c). The comment has the following, "Set the close-on-exec flag