INN commit: branches/2.5 (doc/pod/inncheck.pod scripts/inncheck.in)

INN Commit rra at isc.org
Wed Aug 10 19:04:57 UTC 2011


    Date: Wednesday, August 10, 2011 @ 12:04:57
  Author: iulius
Revision: 9334

inncheck:  mention that the run-away quote warning may be a false positive

Note:
In cases where an option value spans more than two lines, i.e.  there is
at least one line that doesn't even contain a single double-quote, there
will also be an error messages about an invalid option name as well as
one about a missing colon...

Thanks to Jeffrey M. Vinocur and Florian Schlichting for this suggestion.

Modified:
  branches/2.5/doc/pod/inncheck.pod
  branches/2.5/scripts/inncheck.in

----------------------+
 doc/pod/inncheck.pod |    5 +++++
 scripts/inncheck.in  |    2 +-
 2 files changed, 6 insertions(+), 1 deletion(-)

Modified: doc/pod/inncheck.pod
===================================================================
--- doc/pod/inncheck.pod	2011-08-10 19:04:27 UTC (rev 9333)
+++ doc/pod/inncheck.pod	2011-08-10 19:04:57 UTC (rev 9334)
@@ -128,6 +128,11 @@
 some I<file> or I<file>B<=>I<path> arguments that refer to a file with
 a syntax problem, then the output will no longer be valid input for a shell.
 
+In most cases, B<inncheck> currently does not correctly understand option
+values spanning multiple lines.  If you get error messages about runaway
+quotes, you either have to ignore them and check the correctness of the
+relevant lines yourself, or merge the value into a single line.
+
 =head1 HISTORY
 
 Written by Brendan Kehoe <brendan at cygnus.com> and Rich Salz

Modified: scripts/inncheck.in
===================================================================
--- scripts/inncheck.in	2011-08-10 19:04:27 UTC (rev 9333)
+++ scripts/inncheck.in	2011-08-10 19:04:57 UTC (rev 9334)
@@ -148,7 +148,7 @@
                     if (!@res);
 
                 if (!@res) {
-                    eprint "$file:$line: malformed line (runaway quote / empty pair of quotes?)\n";
+                    eprint "$file:$line: possibly malformed line (runaway quote / empty pair of quotes?)\n";
                     last;
                 }
 




More information about the inn-committers mailing list