[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Lynx-dev] LYMain.c fails to compile if USE_PERSISTENT_COOKIES is un

From: Juan Manuel Guerrero
Subject: Re: [Lynx-dev] LYMain.c fails to compile if USE_PERSISTENT_COOKIES is undefined.
Date: Sat, 14 Jul 2018 16:29:16 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; de; rv: Gecko/20101206 SUSE/3.1.7 Thunderbird/3.1.7

Am 11.07.2018 22:17, schrieb Thorsten Glaser:
Also, consider something like this:

    if (LYCookieFile != 0&&  LYCookieSaveFile != 0)
    if (0)

If we assume that "if (0)" is the right choice instead of omitting the 
then it has the consecuence that the if-block is not executed at all in the 
case that
the macro USE_PERSISTENT_COOKIES is undefined.  In that case it would be 
clearner to
enclose the complete if-block with a #idef USE_PERSISTENT_COOKIES / #endif pair 
to remove all those occurrence of #idef USE_PERSISTENT_COOKIES / #endif pairs 
the if-block.  But in the end it is the maintainer must decide how he wants to 
this issue.  I have solved the problem to fit my own purposes.

Juan M. Guerrero

reply via email to

[Prev in Thread] Current Thread [Next in Thread]