]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
.so cleanup: no .so ext to GetLibraries()
authordberzano <dario.berzano@cern.ch>
Fri, 12 Dec 2014 10:24:21 +0000 (11:24 +0100)
committeragrigora <alina.grigoras@cern.ch>
Mon, 15 Dec 2014 12:52:11 +0000 (13:52 +0100)
46 files changed:
ANALYSIS/PROOF-INF.TENDERSupplies/SETUP.C
ANALYSIS/macros/AODtrain.C
ANALYSIS/macros/AODtrainsim.C
ANALYSIS/macros/AnalysisTrainFilterMC.C
ANALYSIS/macros/AnalysisTrainNew.C
ANALYSIS/macros/AnalysisTrainNewFilterAOD.C
ANALYSIS/macros/AnalysisTrainNewFilterAODMC.C
ANALYSIS/macros/MakePIDqaReport.C
HMPID/AnalysisTrainHMPID.C
MFT/AODtrain.C
PWG/PROOF-INF.PWGmuon/SETUP.C
PWG/PROOF-INF.PWGmuondep/SETUP.C
PWG/muon/AnalysisTrainFromESDToAOD.C
PWG/muondep/AccEffTemplates/AODtrain.C
PWGCF/PROOF-INF.PWGCFCorrelationsBase/SETUP.C
PWGCF/PROOF-INF.PWGCFCorrelationsDPhi/SETUP.C
PWGCF/PROOF-INF.PWGCFebye/SETUP.C
PWGCF/PROOF-INF.PWGCFfemtoscopy/SETUP.C
PWGCF/PROOF-INF.PWGCFfemtoscopyUser/SETUP.C
PWGCF/PROOF-INF.PWGCFunicor/SETUP.C
PWGDQ/PROOF-INF.PWGDQbase/SETUP.C
PWGDQ/PROOF-INF.PWGDQdielectron/SETUP.C
PWGGA/GammaConv/macros/AddTask_GammaConvV1.C
PWGGA/GammaConv/macros/AddTask_GammaConvV1AOD.C
PWGHF/PROOF-INF.PWGHFbase/SETUP.C
PWGHF/PROOF-INF.PWGHFcorrelationHF/SETUP.C
PWGHF/PROOF-INF.PWGHFvertexingHF/SETUP.C
PWGHF/centraltrain/AnalysisTrainPWG3.C
PWGHF/centraltrain/AnalysisTrainPWG3AOD.C
PWGJE/macros/AnalysisTrainPWGJets.C
PWGLF/FORWARD/analysis2/sim/AOD.C
PWGLF/FORWARD/analysis2/sim/BaseConfig.C
PWGLF/PROOF-INF.PWGLFSTRANGENESS/SETUP.C
PWGLF/PROOF-INF.PWGLFforward2/SETUP.C
PWGLF/PROOF-INF.PWGLFforwardhit/SETUP.C
PWGLF/PROOF-INF.PWGLFresonances/SETUP.C
PWGLF/SPECTRA/ChargedHadrons/dNdPt/macros/GenerateCorrMatr.C
PWGLF/SPECTRA/ChargedHadrons/dNdPt/macros/GenerateCorrMatr_PbPb.C
PWGLF/SPECTRA/ChargedHadrons/dNdPt/macros/GenerateCorrMatr_pp.C
PWGLF/SPECTRA/ChargedHadrons/dNdPt/macros/LoadMyLibs.C
PWGLF/SPECTRA/PiKaPr/HMPID/AnalysisTrainHMPID.C
PWGPP/PROOF-INF.PWGPPevchar/SETUP.C
PWGPP/TPC/macros/LoadMyLibs.C
PWGUD/PROOF-INF.PWGUDbase/SETUP.C
PWGUD/PROOF-INF.PWGUDdep/SETUP.C
TTherminator/PROOF-INF.TTherminator/SETUP.C

index 222366c1c16bef94824dc1bdf8f301b456f540e2..10c2e20018b21bb63f522c3d718c0f659f75bf2c 100644 (file)
@@ -40,7 +40,7 @@ Int_t CheckLoadLibrary(const char* library)
 {
   // checks if a library is already loaded, if not loads the library
   
-  if (strlen(gSystem->GetLibraries(Form("%s.so", library), "", kFALSE)) > 0)
+  if (strlen(gSystem->GetLibraries(library, "", kFALSE)) > 0)
     return 1;
   
   return gSystem->Load(library);
index b708fdd6100354d3dec24e9af06d4b7748c2f794..49fbd16c1911583ae2082bf200b094ebefcc262b 100644 (file)
@@ -450,7 +450,7 @@ Bool_t LoadLibrary(const char *module)
       return kTRUE;
    } 
    // Check if the library is already loaded
-   if (strlen(gSystem->GetLibraries(Form("%s.so", module), "", kFALSE)) > 0) return kTRUE;    
+   if (strlen(gSystem->GetLibraries(module, "", kFALSE)) > 0) return kTRUE;    
    result = gSystem->Load(Form("lib%s", module));
    if (result < 0) {
       ::Error("AnalysisTrainNew.C::LoadLibrary", "Could not load module %s", module);
index 38b14d4a0efd7a9148946791cd0695ed5365d9fd..a66b0452798f21dc122a3ae655569c840e08750c 100644 (file)
@@ -418,7 +418,7 @@ Bool_t LoadLibrary(const char *module)
       return kTRUE;
    } 
    // Check if the library is already loaded
-   if (strlen(gSystem->GetLibraries(Form("%s.so", module), "", kFALSE)) > 0) return kTRUE;    
+   if (strlen(gSystem->GetLibraries(module, "", kFALSE)) > 0) return kTRUE;    
    result = gSystem->Load(Form("lib%s", module));
    if (result < 0) {
       ::Error("AnalysisTrainNew.C::LoadLibrary", "Could not load module %s", module);
index 9cf12cfd3e1eb69cad084ef54f923aa17365c90e..85213721c185274bb4096fc28f934778910ef440 100644 (file)
@@ -1196,7 +1196,7 @@ Bool_t LoadLibrary(const char *module, const char *mode, Bool_t rec=kFALSE)
       return kTRUE;
    } 
    // Check if the library is already loaded
-   if (strlen(gSystem->GetLibraries(Form("%s.so", module), "", kFALSE)) > 0)
+   if (strlen(gSystem->GetLibraries(module, "", kFALSE)) > 0)
       return kTRUE;    
    switch (imode) {
       case 0:
index 40d848436498042b37d512fd69d4667e78ed81e4..ea13e80205a0e90cf520060b2ded424f5d426080 100644 (file)
@@ -1046,7 +1046,7 @@ Bool_t LoadLibrary(const char *module, const char *mode, Bool_t rec=kFALSE)
       return kTRUE;
    } 
    // Check if the library is already loaded
-   if (strlen(gSystem->GetLibraries(Form("%s.so", module), "", kFALSE)) > 0)
+   if (strlen(gSystem->GetLibraries(module, "", kFALSE)) > 0)
       return kTRUE;    
    switch (imode) {
       case 0:
index 9d0891dca63f5d64c4528c9b91201bf54d4058b7..41eb3c5a9e742d79306be4a86eba58660787b7a9 100644 (file)
@@ -1080,7 +1080,7 @@ Bool_t LoadLibrary(const char *module, const char *mode, Bool_t rec=kFALSE)
       return kTRUE;
    } 
    // Check if the library is already loaded
-   if (strlen(gSystem->GetLibraries(Form("%s.so", module), "", kFALSE)) > 0)
+   if (strlen(gSystem->GetLibraries(module, "", kFALSE)) > 0)
       return kTRUE;    
    switch (imode) {
       case 0:
index 668d86c4347fe6f01b1aea0edf6340179f9d1acf..eb1e7b4d8b0c1fddff0c8fc78daa728394a91b28 100644 (file)
@@ -1072,7 +1072,7 @@ Bool_t LoadLibrary(const char *module, const char *mode, Bool_t rec=kFALSE)
       return kTRUE;
    } 
    // Check if the library is already loaded
-   if (strlen(gSystem->GetLibraries(Form("%s.so", module), "", kFALSE)) > 0)
+   if (strlen(gSystem->GetLibraries(module, "", kFALSE)) > 0)
       return kTRUE;    
    switch (imode) {
       case 0:
index b1623946dba639d41f4a3fb08870d3f17e38d0ea..715c6c7b788bcfd9ee574cc3000859bd6eba36cc 100644 (file)
@@ -349,7 +349,7 @@ Int_t CheckLoadLibrary(const char* library)
 {
   // checks if a library is already loaded, if not loads the library
   
-  if (strlen(gSystem->GetLibraries(Form("%s.so", library), "", kFALSE)) > 0)
+  if (strlen(gSystem->GetLibraries(library, "", kFALSE)) > 0)
     return 1;
   
   return gSystem->Load(library);
index 0fa0f5103ed5687164f40e7202e2d5b6a40a5718..2beb40691aced963f1fe0bb2a32c0b91cfe8d507 100644 (file)
@@ -674,7 +674,7 @@ Bool_t LoadLibrary(const char *module, const char *mode, Bool_t rec=kFALSE)
       return kTRUE;
    } 
    // Check if the library is already loaded
-   if (strlen(gSystem->GetLibraries(Form("%s.so", module), "", kFALSE)) > 0)
+   if (strlen(gSystem->GetLibraries(module, "", kFALSE)) > 0)
       return kTRUE;    
    switch (imode) {
       case 0:
index 1cd7b1ba622351d02d5d2373cb04e8e5e9e68f04..1d1393833606d156688beb917719a9d4b591340f 100644 (file)
@@ -393,7 +393,7 @@ Bool_t LoadLibrary(const char *module)
       return kTRUE;
    } 
    // Check if the library is already loaded
-   if (strlen(gSystem->GetLibraries(Form("%s.so", module), "", kFALSE)) > 0) return kTRUE;    
+   if (strlen(gSystem->GetLibraries(module, "", kFALSE)) > 0) return kTRUE;    
    result = gSystem->Load(Form("lib%s", module));
    if (result < 0) {
       ::Error("AnalysisTrainNew.C::LoadLibrary", "Could not load module %s", module);
index 77151bb1e69a29942334211aca319393a6aef96b..3b7b9b646ae0fcc562658aa683ba641b58a6a45e 100644 (file)
@@ -25,7 +25,7 @@ Int_t CheckLoadLibrary(const char* library)
 {
   // checks if a library is already loaded, if not loads the library
 
-  if (strlen(gSystem->GetLibraries(Form("%s.so", library), "", kFALSE)) > 0)
+  if (strlen(gSystem->GetLibraries(library, "", kFALSE)) > 0)
     return 1;
 
   return gSystem->Load(library);
index 19ffdff89d53e34136be73ad2958ddca2bae7582..acc8986e7150b7a7b424a6739581fbbe73d233a3 100644 (file)
@@ -44,7 +44,7 @@ Int_t CheckLoadLibrary(const char* library)
 {
   // checks if a library is already loaded, if not loads the library
 
-  if (strlen(gSystem->GetLibraries(Form("%s.so", library), "", kFALSE)) > 0)
+  if (strlen(gSystem->GetLibraries(library, "", kFALSE)) > 0)
     return 1;
 
   return gSystem->Load(library);
index 49664b559f992b4315843ac5f70c7c6b546c7258..8c80fdf81c26ea5add0aaf9f1265c6df8dece0b7 100644 (file)
@@ -255,7 +255,7 @@ Bool_t LoadLibrary(const char *module, const char *mode, Bool_t rec=kFALSE)
       return kTRUE;
    } 
    // Check if the library is already loaded
-   if (strlen(gSystem->GetLibraries(Form("%s.so", module), "", kFALSE)) > 0)
+   if (strlen(gSystem->GetLibraries(module, "", kFALSE)) > 0)
       return kTRUE;    
    switch (imode) {
       case 0:
index 78d616f5bed7fd555cd1217e51fe4d6a1c91c98d..3d3f4b6821254b394be13706012c7e7b60c10458 100644 (file)
@@ -412,7 +412,7 @@ Bool_t LoadLibrary(const char *module)
     return kTRUE;
   } 
   // Check if the library is already loaded
-  if (strlen(gSystem->GetLibraries(Form("%s.so", module), "", kFALSE)) > 0) return kTRUE;    
+  if (strlen(gSystem->GetLibraries(module, "", kFALSE)) > 0) return kTRUE;    
   result = gSystem->Load(Form("lib%s", module));
   if (result < 0) {
     ::Error("AnalysisTrainNew.C::LoadLibrary", "Could not load module %s", module);
index 62251b962472355989e724273450c7cc58d05ee5..377feb9e01dea9a933bf23d3228038c847772d39 100644 (file)
@@ -11,7 +11,7 @@ void SETUP() {
 Int_t CheckLoadLibrary(const char* library) {
   // checks if a library is already loaded, if not loads the library
 
-  if (strlen(gSystem->GetLibraries(Form("%s.so", library), "", kFALSE)) > 0)
+  if (strlen(gSystem->GetLibraries(library, "", kFALSE)) > 0)
     return 1;
   
   return gSystem->Load(library);
index b49ab46270e77a3098c4ea195b9adda51dfae0a5..c6c4edc82eb1497c31b315ad276dd2ed1ff6e289 100644 (file)
@@ -11,7 +11,7 @@ void SETUP() {
 Int_t CheckLoadLibrary(const char* library) {
   // checks if a library is already loaded, if not loads the library
 
-  if (strlen(gSystem->GetLibraries(Form("%s.so", library), "", kFALSE)) > 0)
+  if (strlen(gSystem->GetLibraries(library, "", kFALSE)) > 0)
     return 1;
   
   return gSystem->Load(library);
index 4d562e40c975c29ed06959d8e392ad96a0da5d4f..d884129abdb1c655c67ee9abea3f47b05b6d3b1e 100644 (file)
@@ -14,7 +14,7 @@ void SETUP() {
 Int_t CheckLoadLibrary(const char* library) {
   // checks if a library is already loaded, if not loads the library
 
-  if (strlen(gSystem->GetLibraries(Form("%s.so", library), "", kFALSE)) > 0)
+  if (strlen(gSystem->GetLibraries(library, "", kFALSE)) > 0)
     return 1;
   
   return gSystem->Load(library);
index ba499d5b9aa3936de5e6db3c2bc3cb51c9ffa501..a6d993981fbd6747f379460359b5c63eabd67a3b 100644 (file)
@@ -11,7 +11,7 @@ void SETUP() {
 Int_t CheckLoadLibrary(const char* library) {
   // checks if a library is already loaded, if not loads the library
 
-  if (strlen(gSystem->GetLibraries(Form("%s.so", library), "", kFALSE)) > 0)
+  if (strlen(gSystem->GetLibraries(library, "", kFALSE)) > 0)
     return 1;
   
   return gSystem->Load(library);
index 76a0fc11125900d47667cdc77828af621c42309d..444ac6defca53d97b35c57e04c31c3c6f5e29633 100644 (file)
@@ -11,7 +11,7 @@ void SETUP() {
 Int_t CheckLoadLibrary(const char* library) {
   // checks if a library is already loaded, if not loads the library
 
-  if (strlen(gSystem->GetLibraries(Form("%s.so", library), "", kFALSE)) > 0)
+  if (strlen(gSystem->GetLibraries(library, "", kFALSE)) > 0)
     return 1;
   
   return gSystem->Load(library);
index 21417ea0879d49edf3eafa73294ee2014503065f..a887fe3558de999348a92f9a56d5a48a7e64f983 100644 (file)
@@ -18,7 +18,7 @@ Int_t CheckLoadLibrary(const char* library) {
 
   // load library if not yet done
 
-  if (strlen(gSystem->GetLibraries(Form("%s.so", library), "", kFALSE)) > 0) return 1;  
+  if (strlen(gSystem->GetLibraries(library, "", kFALSE)) > 0) return 1;  
   return gSystem->Load(library);
 }
 //=============================================================================
index 72d0f728fcca9102cd18ac74fe3cbba09e7ef1c4..6378f3189d255d01e17d611fc9028b4dd364e850 100644 (file)
@@ -25,7 +25,7 @@ Int_t CheckLoadLibrary(const char* library)
 {
   // checks if a library is already loaded, if not loads the library
 
-  if (strlen(gSystem->GetLibraries(Form("%s.so", library), "", kFALSE)) > 0)
+  if (strlen(gSystem->GetLibraries(library, "", kFALSE)) > 0)
     return 1;
 
   return gSystem->Load(library);
index 00d6c05fff092cc50a3f7ec539ac5f8426416dfa..6ca21068c4dd4f1d4331f7835ee34809277fa69d 100644 (file)
@@ -31,7 +31,7 @@ Int_t CheckLoadLibrary(const char* library)
 {
   // checks if a library is already loaded, if not loads the library
   
-  if (strlen(gSystem->GetLibraries(Form("%s.so", library), "", kFALSE)) > 0)
+  if (strlen(gSystem->GetLibraries(library, "", kFALSE)) > 0)
     return 1;
   
   return gSystem->Load(library);
index 578708d026a10a9b8d57b18ee40a98d09b185117..82e084603b00aacc185b04f67043ae94cea8b426 100644 (file)
@@ -150,7 +150,7 @@ Int_t CheckLoadLibrary(const char* library)
 {                                                                                                                                                  
    // checks if a library is already loaded, if not loads the library                                                                               
                                                                                                                                                    
-   if (strlen(gSystem->GetLibraries(Form("%s.so", library), "", kFALSE)) > 0)                                                                       
+   if (strlen(gSystem->GetLibraries(library, "", kFALSE)) > 0)                                                                       
       return 1;                                                                                                                                      
                                                                                                                                                    
    return gSystem->Load(library);                                                                                                                   
index d3b85f9052fe39adfc6e8903f29e4ac8bcf108a4..0e85fd99a434323291d54dd43f753af887e5f957 100644 (file)
@@ -135,7 +135,7 @@ Int_t CheckLoadLibrary(const char* library)
 {                                                                                                                                                  
    // checks if a library is already loaded, if not loads the library                                                                               
                                                                                                                                                    
-   if (strlen(gSystem->GetLibraries(Form("%s.so", library), "", kFALSE)) > 0)                                                                       
+   if (strlen(gSystem->GetLibraries(library, "", kFALSE)) > 0)                                                                       
       return 1;                                                                                                                                      
                                                                                                                                                    
    return gSystem->Load(library);                                                                                                                   
index 02851f3ad5ae7d0e8da8f2ce6546a0c566fa191a..9cf638d3554400e5539e6ff5a9749e80f67ed84b 100644 (file)
@@ -25,7 +25,7 @@ Int_t CheckLoadLibrary(const char* library)
 {
   // checks if a library is already loaded, if not loads the library
 
-  if (strlen(gSystem->GetLibraries(Form("%s.so", library), "", kFALSE)) > 0)
+  if (strlen(gSystem->GetLibraries(library, "", kFALSE)) > 0)
     return 1;
 
   return gSystem->Load(library);
index bf178bd7124887bced74d72a3f32681f0a2e71bd..2d516b01e9064aabbc6f3450507b0819de56c529 100644 (file)
@@ -29,7 +29,7 @@ Int_t CheckLoadLibrary(const char* library)
 {
   // checks if a library is already loaded, if not loads the library
 
-  if (strlen(gSystem->GetLibraries(Form("%s.so", library), "", kFALSE)) > 0)
+  if (strlen(gSystem->GetLibraries(library, "", kFALSE)) > 0)
     return 1;
 
   return gSystem->Load(library);
index 6508b60982c84293632587cec86064d6d86b119d..732765886e5b32271de3a4a3befb03ad5da15f60 100644 (file)
@@ -29,7 +29,7 @@ Int_t CheckLoadLibrary(const char* library)
 {
   // checks if a library is already loaded, if not loads the library
 
-  if (strlen(gSystem->GetLibraries(Form("%s.so", library), "", kFALSE)) > 0)
+  if (strlen(gSystem->GetLibraries(library, "", kFALSE)) > 0)
     return 1;
 
   return gSystem->Load(library);
index fed5812dd44839f2ded1f348e75bc4a7b7bfc81b..2ac4919b79df86fe5e36336f89f25ae40dabd10e 100644 (file)
@@ -600,7 +600,7 @@ Bool_t LoadLibrary(const char *module, const char *mode, Bool_t rec=kFALSE)
       return kTRUE;
    } 
    // Check if the library is already loaded
-   if (strlen(gSystem->GetLibraries(Form("%s.so", module), "", kFALSE)) > 0)
+   if (strlen(gSystem->GetLibraries(module, "", kFALSE)) > 0)
       return kTRUE;    
    switch (imode) {
       case 0:
index 3a7dcd086c56f28b9c6c0506acc1352f9f9a7d3d..edbaa324fa56cd10e4806ba3f78663c57a4ba963 100644 (file)
@@ -608,7 +608,7 @@ Bool_t LoadLibrary(const char *module, const char *mode, Bool_t rec=kFALSE)
       return kTRUE;
    } 
    // Check if the library is already loaded
-   if (strlen(gSystem->GetLibraries(Form("%s.so", module), "", kFALSE)) > 0)
+   if (strlen(gSystem->GetLibraries(module, "", kFALSE)) > 0)
       return kTRUE;    
    switch (imode) {
       case 0:
index 9fd5419115088c0167c0fb192ebc4d9c54633352..d0b61d6eb91eaa2f2eab5fe7367dc931504208b4 100644 (file)
@@ -1878,7 +1878,7 @@ Bool_t LoadLibrary(const char *module, const char *mode, Bool_t rec=kFALSE)
       return kTRUE;
    } 
    // Check if the library is already loaded
-   if (strlen(gSystem->GetLibraries(Form("%s.so", module), "", kFALSE)) > 0)
+   if (strlen(gSystem->GetLibraries(module, "", kFALSE)) > 0)
       return kTRUE;    
    switch (imode) {
       case 0:
index ba9a8fd29416c4f7bfb46a26da5d80c9b7174e6c..0dff97ff0fcf85efa0ff52a659dcaa03c3d202eb 100644 (file)
@@ -168,7 +168,7 @@ Bool_t LoadLibrary(const char *module)
     return (result >= 0);
   }
   // Check if the library is already loaded
-  if (strlen(gSystem->GetLibraries(Form("%s.so", module), "", kFALSE)) > 0) {
+  if (strlen(gSystem->GetLibraries(module, "", kFALSE)) > 0) {
     ::Info("LoadLibrary", "Module %s.so already loaded", module);
     gROOT->DecreaseDirLevel();      
     return kTRUE;
index f9e855835a31226fdd104074ac406bdbc726f2be..313e5b33c8cc9d3dfe65f87ee16d0bd94444ccda 100644 (file)
@@ -549,7 +549,7 @@ struct VirtualTrain
       return (result >= 0);
     }
     // Check if the library is already loaded
-    if (strlen(gSystem->GetLibraries(Form("%s.so", module), "", kFALSE)) > 0) {
+    if (strlen(gSystem->GetLibraries(module, "", kFALSE)) > 0) {
       ::Info("LoadLibrary", "Module %s.so already loaded", module);
       gROOT->DecreaseDirLevel();      
       return kTRUE;
index 7c28cd25bb693923caae9e75c60355e61ed73c24..7ca83bba82e32d3f54d74588ce3112a9fc0a2ffb 100644 (file)
@@ -12,7 +12,7 @@ void SETUP() {
 Int_t CheckLoadLibrary(const char* library) {
   // checks if a library is already loaded, if not loads the library
 
-  if (strlen(gSystem->GetLibraries(Form("%s.so", library), "", kFALSE)) > 0)
+  if (strlen(gSystem->GetLibraries(library, "", kFALSE)) > 0)
     return 1;
   
   return gSystem->Load(library);
index 60cd17c0d3a5bf70b82ec812b3e988f68aef6607..473823e0092fc1ef38716e26ec45655718353153 100644 (file)
@@ -11,7 +11,7 @@ void SETUP() {
 Int_t CheckLoadLibrary(const char* library) {
   // checks if a library is already loaded, if not loads the library
 
-  if (strlen(gSystem->GetLibraries(Form("%s.so", library), "", kFALSE)) > 0)
+  if (strlen(gSystem->GetLibraries(library, "", kFALSE)) > 0)
     return 1;
   // Make sure current directory is in the load path so we load the right 
   // library in case the target library already exist on the system (ProofLite)
index 479c423c1acfbd8764a7f98e730952278721aec5..c51851f7b59da7ae9ea31c0b7df2cbcc5190648c 100644 (file)
@@ -15,7 +15,7 @@ void SETUP() {
 Int_t CheckLoadLibrary(const char* library) {
   // checks if a library is already loaded, if not loads the library
 
-  if (strlen(gSystem->GetLibraries(Form("%s.so", library), "", kFALSE)) > 0)
+  if (strlen(gSystem->GetLibraries(library, "", kFALSE)) > 0)
     return 1;
   
   return gSystem->Load(library);
index 5dd4e0e92d9511257ca94f20d1fb5164ad9882fb..bf9946a527b3d1c777e69a46c3b7c645b4fa2a4b 100644 (file)
@@ -15,7 +15,7 @@ Int_t CheckLoadLibrary(const char* library)
 {
    // checks if a library is already loaded, if not loads the library
 
-   if (strlen(gSystem->GetLibraries(Form("%s.so", library), "", kFALSE)) > 0)
+   if (strlen(gSystem->GetLibraries(library, "", kFALSE)) > 0)
       return 1;
 
    return gSystem->Load(library);
index fb94b036fafe9cf15f5070afceff1069a2fd27fb..89a0ec0a5e9f0aed27ac0969cd24a91081e52999 100644 (file)
@@ -481,7 +481,7 @@ Int_t CheckLoadLibrary(const char* library)
 {
   // checks if a library is already loaded, if not loads the library
 
-  if (strlen(gSystem->GetLibraries(Form("%s.so", library), "", kFALSE)) > 0)
+  if (strlen(gSystem->GetLibraries(library, "", kFALSE)) > 0)
     return 1;
 
   return gSystem->Load(library);
index d0b019a1ecd9df48eae5764b65a6375d04930c52..2474fd975c7ae8ece234073f68cde02ee71dcfab 100644 (file)
@@ -618,7 +618,7 @@ Int_t CheckLoadLibrary(const char* library)
 {
   // checks if a library is already loaded, if not loads the library
 
-  if (strlen(gSystem->GetLibraries(Form("%s.so", library), "", kFALSE)) > 0)
+  if (strlen(gSystem->GetLibraries(library, "", kFALSE)) > 0)
     return 1;
 
   return gSystem->Load(library);
index 7b0c7fadd7b63f21f98d46904711e41b2b6aec4a..a9405771dff8ba62ea85b3cadc4aa388a5cfdc35 100644 (file)
@@ -691,7 +691,7 @@ Int_t CheckLoadLibrary(const char* library)
 {
   // checks if a library is already loaded, if not loads the library
 
-  if (strlen(gSystem->GetLibraries(Form("%s.so", library), "", kFALSE)) > 0)
+  if (strlen(gSystem->GetLibraries(library, "", kFALSE)) > 0)
     return 1;
 
   return gSystem->Load(library);
index 9ef5fa252520abd01ff2145c5dbbf83542605e82..22302098c3bec3191bdf6b162db966e08d294275 100644 (file)
@@ -38,7 +38,7 @@ void LoadMyLibs() {
 
 Int_t CheckLoadLibrary(const char* library) {
   // checks if a library is already loaded, if not library is loaded
-  if (strlen(gSystem->GetLibraries(Form("%s.so", library), "", kFALSE)) > 0)
+  if (strlen(gSystem->GetLibraries(library, "", kFALSE)) > 0)
     return 1;
   return gSystem->Load(library);
 }
index a84a8f2419ee6cec58c64c8ad0664782069ee4a6..114152fbd5c9834eaac5862c67bd11845f2add38 100644 (file)
@@ -581,7 +581,7 @@ Bool_t LoadLibrary(const char *module, const char *mode, Bool_t rec=kFALSE)
       return kTRUE;
    } 
    // Check if the library is already loaded
-   if (strlen(gSystem->GetLibraries(Form("%s.so", module), "", kFALSE)) > 0)
+   if (strlen(gSystem->GetLibraries(module, "", kFALSE)) > 0)
       return kTRUE;    
    switch (imode) {
       case 0:
index 096ca0f7f388ae548d5f47275a57e63a7d5da04f..bc4e8aad228771388831b03681996724302f5f87 100644 (file)
@@ -11,7 +11,7 @@ void SETUP() {
 Int_t CheckLoadLibrary(const char* library) {
   // checks if a library is already loaded, if not loads the library
 
-  if (strlen(gSystem->GetLibraries(Form("%s.so", library), "", kFALSE)) > 0)
+  if (strlen(gSystem->GetLibraries(library, "", kFALSE)) > 0)
     return 1;
   
   return gSystem->Load(library);
index e13695bcd8044140accf5d9e4e88da631da2c6d3..27d7ca4d06a49eba79daf13a0fb52ade7d77837c 100644 (file)
@@ -67,7 +67,7 @@ void LoadMyLibs() {
 
 Int_t CheckLoadLibrary(const char* library) {
   // checks if a library is already loaded, if not loads the library
-  if (strlen(gSystem->GetLibraries(Form("%s.so", library), "", kFALSE)) > 0)
+  if (strlen(gSystem->GetLibraries(library, "", kFALSE)) > 0)
     return 1;
   return gSystem->Load(library);
 }
index 0a0bacc3c51a93235c5472db7212f97c3e331f17..f7760158320f40f8a3f139356763ee3f0421f040 100644 (file)
@@ -24,7 +24,7 @@ Int_t CheckLoadLibrary(const char* library)
 {
   // checks if a library is already loaded, if not loads the library
 
-  if (strlen(gSystem->GetLibraries(Form("%s.so", library), "", kFALSE)) > 0)
+  if (strlen(gSystem->GetLibraries(library, "", kFALSE)) > 0)
     return 1;
 
   return gSystem->Load(library);
index 25003c4925687759c39f18aa2649e0415174a87b..8dd7c90d6e18304160707f184cac609a474fc465 100644 (file)
@@ -28,7 +28,7 @@ Int_t CheckLoadLibrary(const char* library)
 {
   // checks if a library is already loaded, if not loads the library
 
-  if (strlen(gSystem->GetLibraries(Form("%s.so", library), "", kFALSE)) > 0)
+  if (strlen(gSystem->GetLibraries(library, "", kFALSE)) > 0)
     return 1;
 
   return gSystem->Load(library);
index 769b6673bb5f64d0167fecd71e398ec541d7e234..bd770caa3346e2ad5438e8051af655a4895ce998 100644 (file)
@@ -12,7 +12,7 @@ void SETUP() {
 Int_t CheckLoadLibrary(const char* library) {
   // checks if a library is already loaded, if not loads the library
 
-  if (strlen(gSystem->GetLibraries(Form("%s.so", library), "", kFALSE)) > 0)
+  if (strlen(gSystem->GetLibraries(library, "", kFALSE)) > 0)
     return 1;
   
   return gSystem->Load(library);