Phill Macey:
[ Charset UTF-8 unsupported, converting... ]
> On 14/05/2012 5:29 AM, "Wietse Venema" <[email protected]> wrote:
> >
> > >
> > > The fix is easy: report both the first and last line number.
> > >
> > > % postconf -c /tmp
> > > postconf: fatal: /tmp/main.cf, line 1:2: missing '=' after
> > > attribute name: "some random free text"
> >
>
> Dunno about everyone else but when I see 'line 1:2' I tend to think line 1
> character 2. Why not use 'line 1-2' to specify a range instead?
The patch as posted is suitable for a stable release. The "nice"
solution requires a proper line number formatting primitive, to
represent the most common case as a single number.
Wietse