lynx-dev
[Top][All Lists]
Advanced

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

lynx-dev Re: Error compiling dev.10 without EXP_PERSISTENT_COOKIES


From: Klaus Weide
Subject: lynx-dev Re: Error compiling dev.10 without EXP_PERSISTENT_COOKIES
Date: Thu, 17 Dec 1998 04:40:12 -0600 (CST)

On Wed, 16 Dec 1998 address@hidden wrote:

> gcc -DHAVE_CONFIG_H  -DLOCALEDIR=\"/pub/unsup/test/share/locale\" -I. -I.. 
> -Ichrtrans -I../../lynx2-8-2/src/chrtrans -I../../lynx2-8-2 
> -I../../lynx2-8-2/intl -I../../lynx2-8-2/src 
> -I../../lynx2-8-2/WWW/Library/Implementation  -O2  -c 
> ../../lynx2-8-2/src/LYCookie.c
> ../../lynx2-8-2/src/LYCookie.c: In function `store_cookie':
> ../../lynx2-8-2/src/LYCookie.c:527: `persistent_cookies' undeclared (first 
> use in this function)
> ../../lynx2-8-2/src/LYCookie.c:527: (Each undeclared identifier is reported 
> only once
> ../../lynx2-8-2/src/LYCookie.c:527: for each function it appears in.)
> gmake[1]: *** [LYCookie.o] Error 1
> gmake[1]: Target `all' not remade because of errors.
> gmake[1]: Leaving directory `/pub/unsup/src/lynx/lynx2.8.2dev.10/Solaris/src'
> gmake: *** [all] Error 1

Sorry, my mistake.

The offending line should be changed from

    } else if ((persistent_cookies && (co->flags & COOKIE_FLAG_FROM_FILE))

to just

    } else if ((co->flags & COOKIE_FLAG_FROM_FILE)

(The COOKIE_FLAG_FROM_FILE flag can only have been set if
persistent_cookies was true, so checking the value of persistent_cookies
here is unnecessary.)

     Klaus


reply via email to

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