On Wed, Apr 13, 2011 at 11:10 PM, Joerg Sonnenberger <[email protected]> wrote: > On Wed, Apr 13, 2011 at 10:18:27PM +0200, Cedric BAIL wrote: >> On Wed, Apr 13, 2011 at 8:36 PM, Vincent Torri <[email protected]> wrote: >> > On Wed, 13 Apr 2011, Vincent Torri wrote: >> >> are you sure that O_CLOEXEC and ACCESSPERMS are portable ? >> >> I hope they are. It's a pretty basic feature, being able to >> automatically close a fd on exec. As for ACCESSPERMS it's just a macro >> that should be provided by any unix system (would only means something >> on them, but not much in the considered case). > > Neither is portable. O_CLEXEC is a mostly Linux specific short-cut for > fcntl. Unless you really want to save a system call for all cost, just > go with the portable appracoh. > >> > and that MAP_POPULATE does not need a too recent linux kernel ? > > This should be just conditionalized.
Agreed. Both should be conditionalized with configure detection. -- Cedric BAIL ------------------------------------------------------------------------------ Benefiting from Server Virtualization: Beyond Initial Workload Consolidation -- Increasing the use of server virtualization is a top priority.Virtualization can reduce costs, simplify management, and improve application availability and disaster protection. Learn more about boosting the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev _______________________________________________ enlightenment-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
