]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/indexcopy.h
tests: don't do boundless string compares with data()
[apt.git] / apt-pkg / indexcopy.h
index 316672e1de47587e6a7a35c2ea419b71c8251844..dc3b985a285deb488d8d9d2ee9d644ed2ca7674d 100644 (file)
 #define INDEXCOPY_H
 
 #include <vector>
 #define INDEXCOPY_H
 
 #include <vector>
+#ifndef APT_11_CLEAN_HEADERS
 #include <string>
 #include <stdio.h>
 #include <string>
 #include <stdio.h>
+#endif
 
 #include <apt-pkg/macros.h>
 
 
 #include <apt-pkg/macros.h>
 
@@ -114,9 +116,9 @@ class SigVerify                                                             /*{{{*/
    bool CopyAndVerify(std::string CDROM,std::string Name,std::vector<std::string> &SigList,
                      std::vector<std::string> PkgList,std::vector<std::string> SrcList);
 
    bool CopyAndVerify(std::string CDROM,std::string Name,std::vector<std::string> &SigList,
                      std::vector<std::string> PkgList,std::vector<std::string> SrcList);
 
-   APT_DEPRECATED static bool RunGPGV(std::string const &File, std::string const &FileOut,
+   APT_DEPRECATED_MSG("Use ExecGPGV instead") static bool RunGPGV(std::string const &File, std::string const &FileOut,
                       int const &statusfd, int fd[2]);
                       int const &statusfd, int fd[2]);
-   APT_DEPRECATED static bool RunGPGV(std::string const &File, std::string const &FileOut,
+   APT_DEPRECATED_MSG("Use ExecGPGV instead") static bool RunGPGV(std::string const &File, std::string const &FileOut,
                              int const &statusfd = -1);
 
    SigVerify();
                              int const &statusfd = -1);
 
    SigVerify();