harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hinde...@apache.org
Subject svn commit: r588030 - /harmony/enhanced/jdktools/trunk/modules/jpda/src/main/native/jdwp/unix/agent/core/TransportManager_pd.cpp
Date Wed, 24 Oct 2007 21:15:08 GMT
Author: hindessm
Date: Wed Oct 24 14:15:07 2007
New Revision: 588030

URL: http://svn.apache.org/viewvc?rev=588030&view=rev
Log:
Fixing compile error on FreeBSD (where dlerror returns a const char*).

Modified:
    harmony/enhanced/jdktools/trunk/modules/jpda/src/main/native/jdwp/unix/agent/core/TransportManager_pd.cpp

Modified: harmony/enhanced/jdktools/trunk/modules/jpda/src/main/native/jdwp/unix/agent/core/TransportManager_pd.cpp
URL: http://svn.apache.org/viewvc/harmony/enhanced/jdktools/trunk/modules/jpda/src/main/native/jdwp/unix/agent/core/TransportManager_pd.cpp?rev=588030&r1=588029&r2=588030&view=diff
==============================================================================
--- harmony/enhanced/jdktools/trunk/modules/jpda/src/main/native/jdwp/unix/agent/core/TransportManager_pd.cpp
(original)
+++ harmony/enhanced/jdktools/trunk/modules/jpda/src/main/native/jdwp/unix/agent/core/TransportManager_pd.cpp
Wed Oct 24 14:15:07 2007
@@ -141,7 +141,7 @@
 
     dlerror();
     ProcPtr res = (ProcPtr)dlsym(libHandler, procName);
-    char* errorMessage = dlerror();
+    const char* errorMessage = dlerror();
     if (errorMessage) {
         JDWP_TRACE_PROG("FreeLibrary: getting library entry failed (error: " << errorMessage
<< ")");
     }



Mime
View raw message