summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2009-11-02 14:20:53 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2009-11-02 14:20:53 (GMT)
commitd4b8945301b52acf9f64cdd6f75757588fc223a0 (patch)
treee0c917e1849801c57a87a5dede4bcfd315bf9b16 /Source
parent2b071aeb07e05903346d929539290cd91d1b6524 (diff)
downloadCMake-d4b8945301b52acf9f64cdd6f75757588fc223a0.zip
CMake-d4b8945301b52acf9f64cdd6f75757588fc223a0.tar.gz
CMake-d4b8945301b52acf9f64cdd6f75757588fc223a0.tar.bz2
Fix for hpux...
Diffstat (limited to 'Source')
-rw-r--r--Source/CPack/cmCPackArchiveGenerator.cxx2
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))