[OE-core] [PATCH 1/1] apr: set flag of inheriting O_NONBLOCK as no

Rongqing Li rongqing.li at windriver.com
Thu Nov 29 08:43:30 UTC 2012



On 2012年11月29日 15:08, Ross Burton wrote:
> On Thursday, 29 November 2012 at 06:36, rongqing.li at windriver.com wrote:
>> The flag ac_cv_o_nonblock_inherited is always set to yes in cross compiling
>> environment. This flag is intended to think the socket, returned from
>> accept(), inherit file status flags such as O_NONBLOCK from the listening
>> socket, but socket never inherits file status from the listening socket on
>> Linux (more information to man accept).
>
> meta/site/powerpc32-linux already sets this to no, so if this Linux-wide behaviour it should be moved to site/common-linux instead of being specific to apr.
>
> Ross

You reminds me, powerpc does not have this bug, but other arch have.

 From man accept(), this is a Linux-wide behaviour, and it should be
put to sit/common-linux.

-Roy

>
>

-- 
Best Reagrds,
Roy | RongQing Li






More information about the Openembedded-core mailing list