There's no SOCK_CLOEXEC symbol on my system or it is not included.

On 30 March 2015 at 12:38, Alex Peshkoff <peshk...@mail.ru> wrote:
> On 03/30/15 12:23, Michal Kubecek wrote:
>> On Mon, Mar 30, 2015 at 11:37:42AM +0300, Egor Pugin wrote:
>>> On 30 March 2015 at 11:26, Michal Kubecek <m...@mk-sys.cz> wrote:
>>>> According to my socket(2), it should be SOCK_CLOEXEC rather than
>>>> O_CLOEXEC (but these constants seem to be equal on most architectures).
>>>>
>>> I built 64-bit version of Firebird (OS X 10.10, AppleClang 6.0.0, Xcode 
>>> 6.2).
>>> The symbol O_CLOEXEC is present, but as you see it has negative effect
>>> on socket() call.
>> As I said, it should be SOCK_CLOEXEC, not O_CLOEXEC. But even then it
>> might be possible that the symbol is defined but the flag is not really
>> supported by kernel.
>>
>
> I've committed correct flag name.
>
>
> ------------------------------------------------------------------------------
> Dive into the World of Parallel Programming The Go Parallel Website, sponsored
> by Intel and developed in partnership with Slashdot Media, is your hub for all
> things parallel software development, from weekly thought leadership blogs to
> news, videos, case studies, tutorials and more. Take a look and join the
> conversation now. http://goparallel.sourceforge.net/
> Firebird-Devel mailing list, web interface at 
> https://lists.sourceforge.net/lists/listinfo/firebird-devel



-- 
Egor Pugin

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to