summaryrefslogtreecommitdiffstats
path: root/Source/cmCableData.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2001-03-16 16:04:35 (GMT)
committerBrad King <brad.king@kitware.com>2001-03-16 16:04:35 (GMT)
commit2d26d0be684b15e4f0a664093b45201cda665010 (patch)
treed0662ffb35c7969c48f7e0dfca3e94dbed1eda9a /Source/cmCableData.h
parentdf8a7ecafdd8a52b816a22df374744e9667e34c5 (diff)
downloadCMake-2d26d0be684b15e4f0a664093b45201cda665010.zip
CMake-2d26d0be684b15e4f0a664093b45201cda665010.tar.gz
CMake-2d26d0be684b15e4f0a664093b45201cda665010.tar.bz2
BUG: Rearranged cable config file open to do open in construction of m_OutputFile. Fixes problem on SGI with opening the file.
Diffstat (limited to 'Source/cmCableData.h')
-rw-r--r--Source/cmCableData.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/Source/cmCableData.h b/Source/cmCableData.h
index f3788d7..7dd5cc7 100644
--- a/Source/cmCableData.h
+++ b/Source/cmCableData.h
@@ -41,7 +41,7 @@ public:
std::ostream& GetOutputStream()
{ return m_OutputFile; }
- void OpenOutputFile(const std::string&);
+ void InitializeOutputFile();
void CloseOutputFile();
void WriteConfigurationHeader();
@@ -86,10 +86,15 @@ private:
Indentation m_Indentation;
/**
+ * The name of the output file opened as m_OutputFile.
+ */
+ std::string m_OutputFileName;
+
+ /**
* The output file to which the configuration is written.
*/
std::ofstream m_OutputFile;
-
+
/**
* The stack of namespaces.
*/