Changeset 1452 in Sophya
- Timestamp:
- Apr 7, 2001, 1:20:35 PM (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaLib/HiStats/xntuple.cc
r1405 r1452 697 697 698 698 699 //! Defines swap file path for XNTuple objects (Default=/tmp )699 //! Defines swap file path for XNTuple objects (Default=/tmp/) 700 700 void XNTuple::SetSwapPath(char* p) 701 701 { 702 if(!glob_swp) glob_swp = new char[MAXLEN+1] ; 703 strncpy(glob_swp, p, MAXLEN) ; 702 if(!glob_swp) glob_swp = new char[MAXLEN+2] ; 703 strncpy(glob_swp,p,MAXLEN); 704 if(glob_swp[strlen(glob_swp)] != '/') strcat(glob_swp,"/"); 704 705 } 705 706
Note:
See TracChangeset
for help on using the changeset viewer.