lynx-dev
[Top][All Lists]
Advanced

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

Re: lynx-dev lynx2.8.2dev.19 patch #9 (more comments)


From: Leonid Pauzner
Subject: Re: lynx-dev lynx2.8.2dev.19 patch #9 (more comments)
Date: Tue, 16 Mar 1999 14:58:27 +0300 (MSK)

diff -u old/lyoption.c ./lyoption.c
--- old/lyoption.c      Mon Mar 15 19:33:36 1999
+++ ./lyoption.c        Tue Mar 16 14:52:24 1999
@@ -3911,6 +3911,7 @@
     /*
      *  Exit: working around the previous document.
      */
+       CTRACE(tfp, "\nLYOptions.c/postoptions(): exiting...\n");

     /*  Options menu was pushed before postoptions(), so pop-up. */
     LYpop(newdoc);
@@ -3921,12 +3922,16 @@
     WWWDoc.isHEAD = newdoc->isHEAD;
     WWWDoc.safe = newdoc->safe;
     if (!HTLoadAbsolute(&WWWDoc))
-       /* HTLoadAbsolute seems redundant here but allow things work correctly 
*/
        return(NOT_FOUND);

+    /*** two HTLoadAbsolute() here allow things work correctly,
+     *** sorry for overhead (probably only seen in trace log).
+     ***/
+
     /*
      *  Return to previous doc, not to options menu!
-     *  Reload the document we had before the options menu:
+     *  Reload the document we had before the options menu
+     *  but uncache only when necessary (Hurrah, user!):
      */
     LYpop(newdoc);
     WWWDoc.address = newdoc->address;
@@ -3964,9 +3969,11 @@
        /*  update HText cache */
        HTuncache_current_document();
        LYpush(newdoc, FALSE);
+       CTRACE(tfp, "LYOptions.c/postoptions(): now really exit.\n\n");
        return(NULLFILE);
     } else {
        /*  no uncache, already loaded */
+       CTRACE(tfp, "LYOptions.c/postoptions(): now really exit.\n\n");
        return(NORMAL);
     }
 }
diff -u old/ucdomap.c ./ucdomap.c
--- old/ucdomap.c       Mon Mar 15 20:27:18 1999
+++ ./ucdomap.c Tue Mar 16 14:52:28 1999
@@ -2,6 +2,8 @@
  *  UCdomap.c
  *  =========
  *
+ * This is a Lynx chartrans engine, its external calls are in UCMap.h
+ *
  * Derived from code in the Linux kernel console driver.
  * The GNU Public Licence therefore applies, see
  * the file COPYING in the top-level directory



reply via email to

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