lynx-dev
[Top][All Lists]
Advanced

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

Re: lynx-dev PATCH for ENABLE_RC


From: Doug Kaufman
Subject: Re: lynx-dev PATCH for ENABLE_RC
Date: Sun, 15 Jun 2003 17:23:22 -0700 (PDT)

On Sun, 15 Jun 2003, Thomas Dickey wrote:

> The "(!)" is automatically generated though (based on the actual setting
> of ENABLE_RC).  Perhaps there's some missing logic to handle certain cases
> (a bug to investigate/fix).

Here is a fix for the bookmark files and execution links. Both errors
were due to not testing the actual name used in LYrcFile.c. Note that
there are two settings for execution links in LYrcFile.c, so that with
the patch attached, it will show "(!)" or not depending on the setting
of only one. Thus the other setting (local execution) may or may not be
set regardless of the presence of "(!)" on the options page.
                              Doug

--- lynx2-8-5/src/LYOptions.c.ori       2003-06-01 17:16:28.000000000 -0800
+++ lynx2-8-5/src/LYOptions.c   2003-06-15 17:04:12.000000000 -0800
@@ -2128,7 +2128,7 @@
 #define EXEC_ALWAYS 2
 #define EXEC_LOCAL  1
 #define EXEC_NEVER  0
-static char * exec_links_string                = "exec_options";
+static char * exec_links_string                = RC_RUN_ALL_EXECUTION_LINKS;
 static OptValues exec_links_values[]   = {
        { EXEC_NEVER,   "ALWAYS OFF",           "ALWAYS OFF" },
        { EXEC_LOCAL,   "FOR LOCAL FILES ONLY", "FOR LOCAL FILES ONLY" },
@@ -2243,7 +2243,7 @@
        { MBM_ADVANCED,         "ADVANCED",             "ADVANCED" },
        { 0, 0, 0 }};
 
-static char * single_bookmark_string   = "single_bookmark_name";
+static char * single_bookmark_string   = RC_BOOKMARK_FILE;
 
 /*
  * Character Set Options
-- 
Doug Kaufman
Internet: address@hidden


; To UNSUBSCRIBE: Send "unsubscribe lynx-dev" to address@hidden

reply via email to

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