lynx-dev
[Top][All Lists]
Advanced

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

lynx-dev RMDIR_PATH effects nothing


From: patakuti
Subject: lynx-dev RMDIR_PATH effects nothing
Date: Tue, 17 Feb 2004 22:26:59 +0900 (JST)

I recieved a report that RMDIR_PATH in lynx.cfg effects nothing.
So I tried to write an ad hoc patch which make it effects.

Please review it because I'm not sure it's correct or not.
--
Takeshi Hataguchi
E-mail: address@hidden

diff -ru orig/lynx2-8-5/src/LYReadCFG.c lynx2-8-5/src/LYReadCFG.c
--- orig/lynx2-8-5/src/LYReadCFG.c      Thu Jan 29 04:30:38 2004
+++ lynx2-8-5/src/LYReadCFG.c   Tue Feb 17 00:40:18 2004
@@ -1450,6 +1450,7 @@
 #endif
      PARSE_SET(RC_REUSE_TEMPFILES,      LYReuseTempfiles),
      PARSE_PRG(RC_RLOGIN_PATH,          ppRLOGIN),
+     PARSE_PRG(RC_RMDIR_PATH,              ppRMDIR),
      PARSE_PRG(RC_RM_PATH,              ppRM),
 #ifndef NO_RULES
      PARSE_FUN(RC_RULE,                 HTSetConfiguration),
@@ -1885,6 +1886,7 @@
                : tbl->type) {
        case CONF_BOOL:
        case CONF_FUN:
+       case CONF_PRG:
        case CONF_TIME:
        case CONF_ENUM:
        case CONF_INT:
diff -ru orig/lynx2-8-5/src/LYrcFile.h lynx2-8-5/src/LYrcFile.h
--- orig/lynx2-8-5/src/LYrcFile.h       Thu Jan 29 04:30:38 2004
+++ lynx2-8-5/src/LYrcFile.h    Tue Feb 17 00:40:20 2004
@@ -167,6 +167,7 @@
 #define RC_REPLAYSECS                   "replaysecs"
 #define RC_REUSE_TEMPFILES              "reuse_tempfiles"
 #define RC_RLOGIN_PATH                  "rlogin_path"
+#define RC_RMDIR_PATH                      "rmdir_path"
 #define RC_RM_PATH                      "rm_path"
 #define RC_RULE                         "rule"
 #define RC_RULESFILE                    "rulesfile"

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

reply via email to

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