Welcome! Log In Create A New Profile

Advanced

Re: [PATCH] Fix typo

XiaoBing Jiang
September 28, 2014 09:40PM
I'm a newbie for c programming. I want to know the usage of macro in nginx.

thanks for explain this to me!

On Mon, Sep 29, 2014 at 7:03 AM, Valentin V. Bartenev <vbart@nginx.com> wrote:
> On Sunday 28 September 2014 12:00:45 XiaoBing Jiang wrote:
>> I grep the '#if 0', find many in code.
>>
>> why this don't using '#if 0'? I feel using '#if (NGX_THREADS0)' is
>> more confused.
>
> This one is about threads, so it combines #if (NGX_THREADS) and #if 0,
> or just a shorter way to write #if (NGX_THREADS && 0).
>
> For example, you can also find "#if (NGX_DEBUG0)".
>
> Why actually do you care? That's a dead code anyway.
>
> wbr, Valentin V. Bartenev
>
> _______________________________________________
> nginx-devel mailing list
> nginx-devel@nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx-devel

_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

[PATCH] Fix typo

XiaoBing Jiang 666 September 22, 2014 10:02PM

Re: [PATCH] Fix typo

Valentin V. Bartenev 313 September 23, 2014 04:06AM

Re: [PATCH] Fix typo

XiaoBing Jiang 290 September 26, 2014 05:22AM

Re: [PATCH] Fix typo

Valentin V. Bartenev 265 September 26, 2014 06:56AM

Re: [PATCH] Fix typo

XiaoBing Jiang 275 September 26, 2014 07:48PM

Re: [PATCH] Fix typo

Valentin V. Bartenev 311 September 27, 2014 12:14AM

Re: [PATCH] Fix typo

XiaoBing Jiang 268 September 28, 2014 12:02AM

Re: [PATCH] Fix typo

Valentin V. Bartenev 338 September 28, 2014 07:04PM

Re: [PATCH] Fix typo

XiaoBing Jiang 343 September 28, 2014 09:40PM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 181
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready