aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1999-01-10 22:26:56 +0000
committerEric S. Raymond <esr@thyrsus.com>1999-01-10 22:26:56 +0000
commit2bf8f54273a45e770318d6a7b161ecc5dc9782a2 (patch)
tree73927d40dd60bf423ad9f86fa9e1ce2d75671b77
parent0d1602f81764904fbd0daca7af8bf0d0a0730d89 (diff)
downloadfetchmail-2bf8f54273a45e770318d6a7b161ecc5dc9782a2.tar.gz
fetchmail-2bf8f54273a45e770318d6a7b161ecc5dc9782a2.tar.bz2
fetchmail-2bf8f54273a45e770318d6a7b161ecc5dc9782a2.zip
Make ' work as string quote.
svn path=/trunk/; revision=2352
-rw-r--r--NEWS8
-rw-r--r--rcfile_l.l8
2 files changed, 16 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 0a44c25e..aa8604e0 100644
--- a/NEWS
+++ b/NEWS
@@ -1,8 +1,16 @@
+ To do:
+
+* Warn user that fetchmailconf autoprobe may take a while? (It can hang for
+ 10 or 12 minutes if it hits a firewall that drops SYN packets sent to denied
+ ports.)
Release Notes:
fetchmail-4.7.6 ():
* Henrik Storner's fix for mimedecode
+* ' now works as a string quote in. fetchmailrc syntax, just like ".
+
+There are 255 people on fetchmail-friends and 331 on fetchmail-announce.
fetchmail-4.7.5 (Sat Jan 9 17:01:13 EST 1999):
* Issue proper logout after running fetchmail -c
diff --git a/rcfile_l.l b/rcfile_l.l
index d1f1c36f..d86f790b 100644
--- a/rcfile_l.l
+++ b/rcfile_l.l
@@ -130,6 +130,14 @@ remote(folder)? {
yylval.sval = (char *) xstrdup(buf);
return STRING;
}
+\'[^\']*\' {
+ char buf[MSGBUFSIZE];
+
+ yytext[strlen(yytext)-1] = '\0';
+ escapes(yytext+1, buf);
+ yylval.sval = (char *) xstrdup(buf);
+ return STRING;
+ }
[^=;:, \t\r\n]+ {
char buf[MSGBUFSIZE];