Make relocate_{path,gdb_directory} return std::string
[deliverable/binutils-gdb.git] / gdb / python / python.c
index 9c49151db38655b54e56ec387faffc2d04e178dd..9c8c635f72b60a6c632d9d18a482aba7926cfd72 100644 (file)
@@ -1608,7 +1608,7 @@ do_start_initialization ()
      /foo/lib/pythonX.Y/...
      This must be done before calling Py_Initialize.  */
   gdb::unique_xmalloc_ptr<char> progname
-    (concat (ldirname (python_libdir).c_str (), SLASH_STRING, "bin",
+    (concat (ldirname (python_libdir.c_str ()).c_str (), SLASH_STRING, "bin",
              SLASH_STRING, "python", (char *) NULL));
 #ifdef IS_PY3K
   std::string oldloc = setlocale (LC_ALL, NULL);
This page took 0.024817 seconds and 4 git commands to generate.