]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/contrib/configuration.cc
and last but not least: convert pt_BR to po4a
[apt.git] / apt-pkg / contrib / configuration.cc
index b83ece3e47935d0f1213ea872e8a3bc6c092fcde..4e8586e8341733c5ab2bc943485cf11fb5b24ade 100644 (file)
@@ -601,9 +601,11 @@ bool ReadConfigFile(Configuration &Conf,const string &FName,bool AsSectional,
            InQuote = !InQuote;
         if (InQuote == true)
            continue;
-        
-        if ((*I == '/' && I + 1 != End && I[1] == '/') || *I == '#')
-         {
+
+        if ((*I == '/' && I + 1 != End && I[1] == '/') ||
+            (*I == '#' && strcmp(string(I,I+6).c_str(),"#clear") != 0 &&
+             strcmp(string(I,I+8).c_str(),"#include") != 0))
+        {
            End = I;
            break;
         }