[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#189866: Please allow '#' comments in /etc/apt/preferences



ReadPinFile() uses the common routines used for other RFC 822-style files such 
as Packages and Sources. In fact, there is no comment handling at all - it 
simply ignores unrecognised lines. So, a section is a section even if all its 
lines begin with '#', and thus ReadPinFile() complains that there is no 
Package: line. 

Can tagfile.cc be modified to ignore lines beginning with #, or would that 
cause breakage among applications that expect certain lines to do that?

-- 
Magnus Holmgren        holmgren@lysator.liu.se

Attachment: pgp7P548dSieR.pgp
Description: PGP signature


Reply to: