nmh-workers
[Top] [All Lists]

Re: [Nmh-workers] O_CLOEXEC

2014-11-12 11:50:28
Ken wrote:

You know, if I had my druthers I'd rather just write the code to use
the older but more widely supported fcntl() call to set FD_CLOEXEC;
that would avoid an autoconf test and make Lyndon happier :-) Also,
it looks like O_CLOEXEC is not actually part of POSIX?  There are
also a bunch of calls to fopen() and for that we'd need to use
fcntl() there.

Good points.  All the more reason to wrap the opens + fcntl().

David

_______________________________________________
Nmh-workers mailing list
Nmh-workers(_at_)nongnu(_dot_)org
https://lists.nongnu.org/mailman/listinfo/nmh-workers

<Prev in Thread] Current Thread [Next in Thread>