Changeset 11064
- Timestamp:
- 06/18/11 18:12:38 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/Configuration.cc
r11039 r11064 1052 1052 fname = fname.substr(3); 1053 1053 1054 if (pname ==".libs")1054 if (pname.empty() || pname==".libs") 1055 1055 return fname; 1056 1056 1057 const size_t pos = pname.length()-6; 1058 if (pname.substr(pos)=="/.libs") 1059 pname = pname.substr(0, pos); 1057 if (pname.length()>=6) 1058 { 1059 const size_t pos = pname.length()-6; 1060 if (pname.substr(pos)=="/.libs") 1061 pname = pname.substr(0, pos); 1062 } 1060 1063 1061 1064 return pname+'/'+fname;
Note:
See TracChangeset
for help on using the changeset viewer.