diff options
author | David Kalnischkies <kalnischkies@gmail.com> | 2011-01-15 20:28:03 +0100 |
---|---|---|
committer | David Kalnischkies <kalnischkies@gmail.com> | 2011-01-15 20:28:03 +0100 |
commit | caffd4807f612e931ecca8f7d9b0c0c10de27ce6 (patch) | |
tree | bb6870985661a29d111c81bbf5fa07dc2dd80354 /apt-pkg/contrib | |
parent | 149daa16569b1763ab0ed76cc1fd80455980eddc (diff) |
* methods/rred.cc:
- operate optional on gzip compressed pdiffs
* apt-pkg/acquire-item.cc:
- don't uncompress downloaded pdiff files before feeding it to rred
Diffstat (limited to 'apt-pkg/contrib')
-rw-r--r-- | apt-pkg/contrib/fileutl.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apt-pkg/contrib/fileutl.h b/apt-pkg/contrib/fileutl.h index 146d917d8..cde288ad2 100644 --- a/apt-pkg/contrib/fileutl.h +++ b/apt-pkg/contrib/fileutl.h @@ -72,6 +72,7 @@ class FileFd // Simple manipulators inline int Fd() {return iFd;}; inline void Fd(int fd) {iFd = fd;}; + inline gzFile gzFd() {return gz;}; inline bool IsOpen() {return iFd >= 0;}; inline bool Failed() {return (Flags & Fail) == Fail;}; inline void EraseOnFailure() {Flags |= DelOnFail;}; |