lynx-dev
[Top][All Lists]
Advanced

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

Re: lynx-dev inconsistent persistence


From: Leonid Pauzner
Subject: Re: lynx-dev inconsistent persistence
Date: Thu, 10 Jun 1999 22:40:28 +0400 (MSD)

8-Jun-99 15:46 Klaus Weide wrote:
> The check is

>    #ifdef EXP_PERSISTENT_COOKIES

> nearly everywhere, but in reload_read_cfg() it is

>    #ifdef PERSISTENT_COOKIES

> If anything it should be the other way 'round, since reload_read_cfg()
> seems highly experimental...

>    Klaus

You are right (my fault).



diff -u old/lymain.c ./lymain.c
--- old/lymain.c        Tue Jun  1 06:22:18 1999
+++ ./lymain.c  Mon Jun  7 11:10:52 1999
@@ -1809,7 +1809,7 @@
        if (persistent_cookies)
            LYStoreCookies(LYCookieFile);
 #endif /* EXP_PERSISTENT_COOKIES */
-       cleanup_files();
+       cleanup_files();  /* if someone start with LYNXfoo: page */
        exit_immediately(status);
     } else {
        /*
@@ -1876,7 +1876,7 @@

     {
        /* set few safe flags: */
-#ifdef PERSISTENT_COOKIES
+#ifdef EXP_PERSISTENT_COOKIES
        BOOLEAN persistent_cookies_flag = persistent_cookies;
        char * LYCookieFile_flag = LYCookieFile;
 #endif
@@ -1914,7 +1914,7 @@
                 * a major problem: file paths
                 * like lynx_save_space, LYCookieFile etc.
                 */
-#ifdef PERSISTENT_COOKIES
+#ifdef EXP_PERSISTENT_COOKIES
        /* restore old settings */
         if (persistent_cookies != persistent_cookies_flag) {
             persistent_cookies = persistent_cookies_flag;




reply via email to

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