From ed2a64b0d27586f4e3ab8e42f535a97a220843d5 Mon Sep 17 00:00:00 2001 From: Matthias Andree Date: Wed, 24 Feb 2010 23:03:22 +0100 Subject: Bugfix: recognize local as shorthand for localdomains. --- NEWS | 5 +++++ rcfile_l.l | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/NEWS b/NEWS index 7ae09a7d..a62a9efd 100644 --- a/NEWS +++ b/NEWS @@ -55,6 +55,11 @@ fetchmail 6.3.15 (not yet released): will pass messages with bad headers on. This has been rejected for a long time, and the right behaviour was disputed for too long. +# BUG FIXES +* In the rcfile, recognize "local" as abbreviation for "localdomains", as + documented. The short form has not ever worked since this feature was added in + January 1997. Reported by Frédéric Marchal. + # CHANGES * The repository has been converted and moved from the Subversion (SVN) format kindly hosted by Graham Wilson over the past years to Git format hosted on diff --git a/rcfile_l.l b/rcfile_l.l index 679a5b4e..146219a7 100644 --- a/rcfile_l.l +++ b/rcfile_l.l @@ -88,7 +88,7 @@ poll { return POLL; } skip { return SKIP; } via { return VIA; } aka { return AKA; } -local(domains) { return LOCALDOMAINS; } +local(domains)? { return LOCALDOMAINS; } proto(col)? { return PROTOCOL; } service { return SERVICE; } port { return PORT; } -- cgit v1.2.3