Guillem Jover <[email protected]> writes: > On Mon, 2009-02-02 at 08:39:38 -0800, Russ Allbery wrote:
>> I suspect that we should restrict it to debian/control, since I believe >> dpkg-* will strip out the comments and they may otherwise give other >> tools heartburn. Might be good to ask the dpkg developers for a sure >> response. > > All dpkg programs using the C parsing code do not handle # as a comment, > and will happily take it as part of the field name if it contains a > colon (as in «#Foo: bar»), otherwise it will barf about an invalid > field. > > The dpkg perl programs that use the Dpkg::Control or Dpkg::Cdata modules > do supprort comments. Are there any dpkg programs using C parsing that read debian/control, or is that only read by Perl programs and therefore can definitely have comments? -- Russ Allbery ([email protected]) <http://www.eyrie.org/~eagle/> -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

