Changeset 3572 in Sophya for trunk/SophyaPI/ProgPI/piapp.cc
- Timestamp:
- Feb 7, 2009, 10:50:34 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaPI/ProgPI/piapp.cc
r3410 r3572 13 13 #include "timing.h" 14 14 #include "skyinit.h" 15 16 #include "xntuple.h" // Pour faire le SetTmpDir()17 15 18 16 … … 177 175 } 178 176 179 c har* tmpde = getenv("TMPDIR");177 const char* tmpde = getenv("TMPDIR"); 180 178 char tmpdname[32]; 181 179 if (tmpde == NULL) tmpde = "./"; … … 198 196 } 199 197 200 cout << " NamedObjMgr::SetTmpDir() +XNTuple::SetSwapPath()" << tmpdir << endl;198 cout << " NamedObjMgr::SetTmpDir() " << tmpdir << endl; 201 199 app->ObjMgr()->SetTmpDir(tmpdir); 202 XNTuple::SetSwapPath(const_cast<char *>(tmpdir.c_str()));203 200 204 201 // Gestion de redirection stdout/err et Signaux
Note:
See TracChangeset
for help on using the changeset viewer.