module.c (dcc6e752) | module.c (336e7b3a) |
---|---|
1/************************************************************************* 2 * 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 * 5 * Copyright 2000, 2010 Oracle and/or its affiliates. 6 * 7 * OpenOffice.org - a multi-platform office productivity suite 8 * --- 85 unchanged lines hidden (view full) --- 94 // so dll is loaded from LIBPATH 95 if (drive[0] == 0 && dir[0] == '\\' && dir[1] == '\\') { 96 while( dir[0] == '\\') 97 strcpy( dir, dir+1); 98 } 99 _makepath( buffer, drive, dir, fname, ext); 100 101#if OSL_DEBUG_LEVEL>0 | 1/************************************************************************* 2 * 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 * 5 * Copyright 2000, 2010 Oracle and/or its affiliates. 6 * 7 * OpenOffice.org - a multi-platform office productivity suite 8 * --- 85 unchanged lines hidden (view full) --- 94 // so dll is loaded from LIBPATH 95 if (drive[0] == 0 && dir[0] == '\\' && dir[1] == '\\') { 96 while( dir[0] == '\\') 97 strcpy( dir, dir+1); 98 } 99 _makepath( buffer, drive, dir, fname, ext); 100 101#if OSL_DEBUG_LEVEL>0 |
102 debug_printf("osl_loadModule module %s\n", buffer); | 102 debug_printf("osl_loadModule module %s", buffer); |
103#endif 104 //rc = _DosLoadModule( szErrorMessage, sizeof( szErrorMessage), (PCSZ)buffer, &hModule); 105 //if (rc == NO_ERROR ) 106 hModule = dlopen( buffer, RTLD_LOCAL); 107 if (hModule != NULL ) 108 pModule = (oslModule)hModule; 109 else 110 { --- 177 unchanged lines hidden --- | 103#endif 104 //rc = _DosLoadModule( szErrorMessage, sizeof( szErrorMessage), (PCSZ)buffer, &hModule); 105 //if (rc == NO_ERROR ) 106 hModule = dlopen( buffer, RTLD_LOCAL); 107 if (hModule != NULL ) 108 pModule = (oslModule)hModule; 109 else 110 { --- 177 unchanged lines hidden --- |