diff options
-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)) |