- Timestamp:
- Aug 2, 2014 12:03:12 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
vtkvis/trunk/RenderServer.cpp
r4366 r4615 224 224 int i; 225 225 char fileName[33]; 226 const char *path;227 226 md5_state_t state; 228 227 md5_byte_t digest[16]; … … 248 247 std::ostringstream oss; 249 248 oss << STATSDIR << "/" << fileName; 250 path = oss.str().c_str();251 252 g_statsFile = open(path , O_EXCL | O_CREAT | O_WRONLY, 0600);249 std::string pathStr = oss.str(); 250 251 g_statsFile = open(pathStr.c_str(), O_EXCL | O_CREAT | O_WRONLY, 0600); 253 252 if (g_statsFile < 0) { 254 ERROR("can't open \"%s\": %s", fileName, strerror(errno));253 ERROR("can't open \"%s\": %s", pathStr.c_str(), strerror(errno)); 255 254 return -1; 256 255 }
Note: See TracChangeset
for help on using the changeset viewer.