From 2bf8f54273a45e770318d6a7b161ecc5dc9782a2 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Sun, 10 Jan 1999 22:26:56 +0000 Subject: Make ' work as string quote. svn path=/trunk/; revision=2352 --- NEWS | 8 ++++++++ rcfile_l.l | 8 ++++++++ 2 files changed, 16 insertions(+) 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 @@ -125,6 +125,14 @@ remote(folder)? { \"[^\"]*\" { char buf[MSGBUFSIZE]; + yytext[strlen(yytext)-1] = '\0'; + escapes(yytext+1, buf); + yylval.sval = (char *) xstrdup(buf); + return STRING; + } +\'[^\']*\' { + char buf[MSGBUFSIZE]; + yytext[strlen(yytext)-1] = '\0'; escapes(yytext+1, buf); yylval.sval = (char *) xstrdup(buf); -- cgit v1.2.3