]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/contrib/fileutl.h
tests: don't do boundless string compares with data()
[apt.git] / apt-pkg / contrib / fileutl.h
index c13613171e96e60fe52a059915609a1295d87543..4a1676dc21867f95294a1c14e6ae9d01b0f93851 100644 (file)
@@ -86,6 +86,7 @@ class FileFd
       return Read(To,Size);
    }   
    bool Read(void *To,unsigned long long Size,unsigned long long *Actual = 0);
+   bool static Read(int const Fd, void *To, unsigned long long Size, unsigned long long * const Actual = 0);
    char* ReadLine(char *To, unsigned long long const Size);
    bool Flush();
    bool Write(const void *From,unsigned long long Size);