diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2009-11-02 14:20:53 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2009-11-02 14:20:53 (GMT) |
commit | d4b8945301b52acf9f64cdd6f75757588fc223a0 (patch) | |
tree | e0c917e1849801c57a87a5dede4bcfd315bf9b16 /Source/CPack/cmCPackArchiveGenerator.cxx | |
parent | 2b071aeb07e05903346d929539290cd91d1b6524 (diff) | |
download | CMake-d4b8945301b52acf9f64cdd6f75757588fc223a0.zip CMake-d4b8945301b52acf9f64cdd6f75757588fc223a0.tar.gz CMake-d4b8945301b52acf9f64cdd6f75757588fc223a0.tar.bz2 |
Fix for hpux...
Diffstat (limited to 'Source/CPack/cmCPackArchiveGenerator.cxx')
-rw-r--r-- | Source/CPack/cmCPackArchiveGenerator.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/CPack/cmCPackArchiveGenerator.cxx b/Source/CPack/cmCPackArchiveGenerator.cxx index b11670c..ef4fff9 100644 --- a/Source/CPack/cmCPackArchiveGenerator.cxx +++ b/Source/CPack/cmCPackArchiveGenerator.cxx @@ -111,7 +111,7 @@ int OpenArchive(struct archive *a, void *client_data) { struct StreamData *data = (StreamData*)client_data; if(data->GeneratedFileStream && - data->GeneratedFileStream->is_open()) + *data->GeneratedFileStream) { if(data->Generator-> GenerateHeader(data->GeneratedFileStream)) |