incubator-ooo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From yda...@apache.org
Subject svn commit: r1354048 - /incubator/ooo/trunk/main/sal/osl/os2/module.c
Date Tue, 26 Jun 2012 15:03:52 GMT
Author: ydario
Date: Tue Jun 26 15:03:51 2012
New Revision: 1354048

URL: http://svn.apache.org/viewvc?rev=1354048&view=rev
Log:
i118923 - OS/2 port: reference debug_printf() also in release builds, so linker does not strip
it.

Modified:
    incubator/ooo/trunk/main/sal/osl/os2/module.c

Modified: incubator/ooo/trunk/main/sal/osl/os2/module.c
URL: http://svn.apache.org/viewvc/incubator/ooo/trunk/main/sal/osl/os2/module.c?rev=1354048&r1=1354047&r2=1354048&view=diff
==============================================================================
--- incubator/ooo/trunk/main/sal/osl/os2/module.c (original)
+++ incubator/ooo/trunk/main/sal/osl/os2/module.c Tue Jun 26 15:03:51 2012
@@ -103,7 +103,7 @@ oslModule SAL_CALL osl_loadModule(rtl_uS
 			}
 			_makepath( buffer, drive, dir, fname, ext);
 
-#if OSL_DEBUG_LEVEL>0
+#if OSL_DEBUG_LEVEL>10
 			debug_printf("osl_loadModule module %s", buffer);
 #endif
             //rc = _DosLoadModule( szErrorMessage, sizeof( szErrorMessage), (PCSZ)buffer,
&hModule);
@@ -124,7 +124,8 @@ oslModule SAL_CALL osl_loadModule(rtl_uS
 #if OSL_DEBUG_LEVEL>0
 					fprintf( stderr, szError);
 #endif
-					//OSL_TRACE(szError);
+					debug_printf("osl_loadModule error %s", szError);
+
 #ifndef OSL_DEBUG_LEVEL
 					WinMessageBox(HWND_DESKTOP,HWND_DESKTOP,
 						szError, "Critical error: DosLoadModule failed",



Mime
View raw message