diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2006-01-02 07:53:05 -0500 |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2006-01-02 07:53:05 -0500 |
commit | c9f3ad1e23a9ed6d17ab4224e0fe6ab4e8629c30 (patch) | |
tree | 412004fda7dbb0f004d04e5af94807c239fef69c /Source/CPack/cmCPackTGZGenerator.h | |
parent | b7ba65ed684a663be0085ae96dca3768ebdd3325 (diff) | |
download | cmake-c9f3ad1e23a9ed6d17ab4224e0fe6ab4e8629c30.tar.gz |
ENH: Use libtar
Diffstat (limited to 'Source/CPack/cmCPackTGZGenerator.h')
-rw-r--r-- | Source/CPack/cmCPackTGZGenerator.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/CPack/cmCPackTGZGenerator.h b/Source/CPack/cmCPackTGZGenerator.h index 1dd86082e9..c536a8e239 100644 --- a/Source/CPack/cmCPackTGZGenerator.h +++ b/Source/CPack/cmCPackTGZGenerator.h @@ -50,9 +50,9 @@ public: virtual ~cmCPackTGZGenerator(); protected: - static int TGZ_Open(struct archive *a, void *client_data); - static ssize_t TGZ_Write(struct archive *a, void *client_data, void *buff, size_t n); - static int TGZ_Close(struct archive *a, void *client_data); + static int TGZ_Open(void *client_data, const char* name, int oflags, mode_t mode); + static ssize_t TGZ_Write(void *client_data, void *buff, size_t n); + static int TGZ_Close(void *client_data); int CompressFiles(const char* outFileName, const char* toplevel, const std::vector<std::string>& files); |