aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1997-10-08 17:53:08 +0000
committerEric S. Raymond <esr@thyrsus.com>1997-10-08 17:53:08 +0000
commit8189282e30abc8e82edafa0031b236ff654f08d9 (patch)
treea597fed8899d30dc80db976cf7a1d78650091b71
parentcca409b5ce0ad4b08fa36e80feb77aa8727c08a1 (diff)
downloadfetchmail-8189282e30abc8e82edafa0031b236ff654f08d9.tar.gz
fetchmail-8189282e30abc8e82edafa0031b236ff654f08d9.tar.bz2
fetchmail-8189282e30abc8e82edafa0031b236ff654f08d9.zip
= now optional.
svn path=/trunk/; revision=1491
-rw-r--r--NEWS3
-rw-r--r--fetchmail.man2
-rw-r--r--rcfile_y.y8
3 files changed, 8 insertions, 5 deletions
diff --git a/NEWS b/NEWS
index 16b03285..b2690f5f 100644
--- a/NEWS
+++ b/NEWS
@@ -14,8 +14,9 @@
fetchmail-4.3.1 ()
* Minor portation fixes for early AIX version and NextSTEP.
* Fixed a bad interaction between --limit and the repoll feature.
+* = is now optional in global options.
-There are 280 people on fetchmail-friends and 8 on fetchmail-announce.
+There are 276 people on fetchmail-friends and 20 on fetchmail-announce.
------------------------------------------------------------------------------
fetchmail-4.3.0 (Mon Oct 6 16:44:38 EDT 1997)
diff --git a/fetchmail.man b/fetchmail.man
index 1e304f01..638f7f02 100644
--- a/fetchmail.man
+++ b/fetchmail.man
@@ -1046,7 +1046,7 @@ string as the password.
Specifying `kpop' sets POP3 protocol over port 1109 with Kerberos V4
preauthentication. These defaults may be overridden by later options.
.PP
-There are currently three global option statements; `set logfile = '
+There are currently three global option statements; `set logfile'
followed by a string sets the same global specified by --logfile. A
command-line --logfile option will override this. Also, `set daemon'
sets the poll interval as --daemon does. This can be overridden by
diff --git a/rcfile_y.y b/rcfile_y.y
index 69813a0e..c3e5f51f 100644
--- a/rcfile_y.y
+++ b/rcfile_y.y
@@ -77,9 +77,11 @@ statement_list : statement
| statement_list statement
;
-/* future global options should also have the form SET <name> <value> */
-statement : SET LOGFILE MAP STRING {logfile = xstrdup($4);}
- | SET DAEMON NUMBER {poll_interval = $3;}
+optmap : MAP | /* EMPTY */;
+
+/* future global options should also have the form SET <name> optmap <value> */
+statement : SET LOGFILE optmap STRING {logfile = xstrdup($4);}
+ | SET DAEMON optmap NUMBER {poll_interval = $4;}
| SET SYSLOG {use_syslog = TRUE;}
/*