From d4b8945301b52acf9f64cdd6f75757588fc223a0 Mon Sep 17 00:00:00 2001 From: Bill Hoffman Date: Mon, 2 Nov 2009 09:20:53 -0500 Subject: [PATCH] Fix for hpux... --- Source/CPack/cmCPackArchiveGenerator.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/CPack/cmCPackArchiveGenerator.cxx b/Source/CPack/cmCPackArchiveGenerator.cxx index b11670c46..ef4fff9fa 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))