Re: PATCH: Syntax error in main.cf

2012-05-14 Thread Phill Macey
On 14/05/2012 5:29 AM, Wietse Venema wie...@porcupine.org 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

Re: PATCH: Syntax error in main.cf

2012-05-14 Thread Wietse Venema
Phill Macey: [ Charset UTF-8 unsupported, converting... ] On 14/05/2012 5:29 AM, Wietse Venema wie...@porcupine.org 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

Re: PATCH: Syntax error in main.cf

2012-05-14 Thread Viktor Dukhovni
On Mon, May 14, 2012 at 11:16:27PM +1000, Phill Macey wrote: On 14/05/2012 5:29 AM, Wietse Venema wie...@porcupine.org 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

PATCH: Syntax error in main.cf

2012-05-13 Thread Wietse Venema
Wietse Venema: postconf reports the last line number of multi-line text, for example: % cat -n /tmp/main.cf 1 some random free text 2other free text 3 name = value % postconf -c /tmp postconf: fatal: /tmp/main.cf, line 2: missing '=' after