[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] gnash ChangeLog libbase/sharedlib.cpp
From: |
Markus Gothe |
Subject: |
[Gnash-commit] gnash ChangeLog libbase/sharedlib.cpp |
Date: |
Fri, 24 Nov 2006 19:07:14 +0000 |
CVSROOT: /sources/gnash
Module name: gnash
Changes by: Markus Gothe <nihilus> 06/11/24 19:07:14
Modified files:
. : ChangeLog
libbase : sharedlib.cpp
Log message:
* libbase/sharedlib.cpp: Fixed include for basename and casting to
const char *.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.1746&r2=1.1747
http://cvs.savannah.gnu.org/viewcvs/gnash/libbase/sharedlib.cpp?cvsroot=gnash&r1=1.6&r2=1.7
Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.1746
retrieving revision 1.1747
diff -u -b -r1.1746 -r1.1747
--- ChangeLog 24 Nov 2006 17:50:47 -0000 1.1746
+++ ChangeLog 24 Nov 2006 19:07:14 -0000 1.1747
@@ -1,3 +1,8 @@
+2006-11-24 Markus Gothe <address@hidden>
+
+ * libbase/sharedlib.cpp: Fixed include for basename and casting to
+ const char *.
+
2006-11-24 Sandro Santilli <address@hidden>
* server/vm/VM.{cpp,h}: added isInitialized() method.
Index: libbase/sharedlib.cpp
===================================================================
RCS file: /sources/gnash/gnash/libbase/sharedlib.cpp,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -b -r1.6 -r1.7
--- libbase/sharedlib.cpp 24 Nov 2006 14:41:39 -0000 1.6
+++ libbase/sharedlib.cpp 24 Nov 2006 19:07:14 -0000 1.7
@@ -14,7 +14,7 @@
// along with this program; if not, write to the Free Software
// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
-/* $Id: sharedlib.cpp,v 1.6 2006/11/24 14:41:39 alexeev Exp $ */
+/* $Id: sharedlib.cpp,v 1.7 2006/11/24 19:07:14 nihilus Exp $ */
#ifdef HAVE_CONFIG_H
#include "config.h"
@@ -28,6 +28,7 @@
#ifdef HAVE_DLFCN_H
#include <dlfcn.h>
#endif
+#include <libgen.h>
#if defined(_WIN32) || defined(WIN32)
# define lock(lib_mutex) ;
@@ -204,7 +205,7 @@
#ifdef WIN32
return NULL; //TODO, hack
#else
- return basename(_filespec);
+ return basename(const_cast<char *>(_filespec));
#endif
}