Disabled debug in ld-acess.so/loadlib
[tpg/acess2.git] / Usermode / Libraries / ld-acess.so_src / loadlib.c
index 54d4c47..25fcc1a 100644 (file)
@@ -70,16 +70,17 @@ Uint LoadLibrary(char *filename, char *SearchDir, char **envp)
 Uint IsFileLoaded(char *file)\r
 {\r
         int    i;\r
-       DEBUGS("IsFileLoaded: (file='%s')\n", file);\r
+       DEBUGS("IsFileLoaded: (file='%s')", file);\r
        for( i = 0; i < MAX_LOADED_LIBRARIES; i++ )\r
        {\r
                if(gLoadedLibraries[i].Base == 0)       break;  // Last entry has Base set to NULL\r
+               DEBUGS(" strcmp('%s', '%s')", gLoadedLibraries[i].Name, file);\r
                if(strcmp(gLoadedLibraries[i].Name, file) == 0) {\r
-                       DEBUGS("IsFileLoaded: Found %i (0x%x)\n", i, gLoadedLibraries[i].Base);\r
+                       DEBUGS("IsFileLoaded: Found %i (0x%x)", i, gLoadedLibraries[i].Base);\r
                        return gLoadedLibraries[i].Base;\r
                }\r
        }\r
-       DEBUGS("IsFileLoaded: Not Found\n");\r
+       DEBUGS("IsFileLoaded: Not Found");\r
        return 0;\r
 }\r
 \r

UCC git Repository :: git.ucc.asn.au