[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    qt-copy
From:       Eray Ozkural <erayo () cs ! bilkent ! edu ! tr>
Date:       2003-02-13 3:55:20
[Download RAW message or body]

CVS commit by exa: 

* document glibc workaround


  M +4 -0      README.qt-copy   1.200
  M +2 -2      src/tools/qlibrary_unix.cpp   1.22


--- qt-copy/README.qt-copy  #1.199:1.200
@@ -39,4 +39,7 @@
 work.
 
+On current versions of glibc, a bug causes memory corruption when opening,
+closing and then opening dynamic libraries. This crashes kde designer
+plugins. A simple workaround is disabling dlopen() call in qlibrary_unix.cpp
 
 Please be aware of the fact that you need the original BSD version of yacc.

--- qt-copy/src/tools/qlibrary_unix.cpp  #1.21:1.22
@@ -142,5 +142,5 @@ bool QLibraryPrivate::freeLibrary()
         return TRUE;
 
-    if ( dlclose( pHnd ) ) {
+/*    if ( dlclose( pHnd ) ) {
 #if defined(QT_DEBUG) || defined(QT_DEBUG_COMPONENT)
         qWarning( "%s", dlerror() );
@@ -148,5 +148,5 @@ bool QLibraryPrivate::freeLibrary()
         return FALSE;
     }
-
+*/
     pHnd = 0;
     return TRUE;


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic