aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2009-11-15 13:06:39 +0200
committerSergey Poznyakoff <gray@gnu.org.ua>2009-11-15 13:06:39 +0200
commitb1f6f2326b6cb1e65be78e1e8c19906b3a835dfc (patch)
treedf72267f555067d4f8d6af90083086726fcb47fe
parent5de529e15d800e1c47aafe4525c280c839cf1830 (diff)
downloadmailfromd-b1f6f2326b6cb1e65be78e1e8c19906b3a835dfc.tar.gz
mailfromd-b1f6f2326b6cb1e65be78e1e8c19906b3a835dfc.tar.bz2
Minor change
* mfd/lex.l (print_parse_message): Use dot as a separator between line and column numbers. * doc/mailfromd.texi: Document this.
-rw-r--r--doc/mailfromd.texi2
-rw-r--r--mfd/lex.l2
2 files changed, 2 insertions, 2 deletions
diff --git a/doc/mailfromd.texi b/doc/mailfromd.texi
index 6d0e9adf..6c9fe6f0 100644
--- a/doc/mailfromd.texi
+++ b/doc/mailfromd.texi
@@ -2846,7 +2846,7 @@ error message may look like:
@smallexample
@group
-mailfromd: /etc/mailfromd.mf:39:12 syntax error, unexpected reject
+mailfromd: /etc/mailfromd.mf:39.12 syntax error, unexpected reject
@end group
@end smallexample
diff --git a/mfd/lex.l b/mfd/lex.l
index adc7a054..39afefeb 100644
--- a/mfd/lex.l
+++ b/mfd/lex.l
@@ -1078,7 +1078,7 @@ print_parse_message(const struct locus *locus,
if (locus && locus->file) {
if (location_column_option)
- n = snprintf(buf, sizeof buf, "%s:%lu:%lu: ",
+ n = snprintf(buf, sizeof buf, "%s:%lu.%lu: ",
locus->file, (unsigned long) locus->line,
(unsigned long)locus->point);
else

Return to:

Send suggestions and report system problems to the System administrator.