Revision: 907 http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=907&view=rev Author: dmaphy Date: 2009-08-26 21:15:44 +0000 (Wed, 26 Aug 2009)
Log Message: ----------- Fix an issue where GeanyGDB did not load binarys correctly when path contained a space.
Modified Paths: -------------- trunk/geany-plugins/geanygdb/src/gdb-io-read.c trunk/geany-plugins/geanygdb/src/gdb-ui-main.c
Modified: trunk/geany-plugins/geanygdb/src/gdb-io-read.c =================================================================== --- trunk/geany-plugins/geanygdb/src/gdb-io-read.c 2009-08-25 22:02:37 UTC (rev 906) +++ trunk/geany-plugins/geanygdb/src/gdb-io-read.c 2009-08-26 21:15:44 UTC (rev 907) @@ -17,10 +17,7 @@ #include "gdb-io-priv.h" #include "support.h"
- - static GSList *source_files = NULL; - static gboolean starting = FALSE;
@@ -40,6 +37,7 @@ }
+ static void free_source_list() {
Modified: trunk/geany-plugins/geanygdb/src/gdb-ui-main.c =================================================================== --- trunk/geany-plugins/geanygdb/src/gdb-ui-main.c 2009-08-25 22:02:37 UTC (rev 906) +++ trunk/geany-plugins/geanygdb/src/gdb-ui-main.c 2009-08-26 21:15:44 UTC (rev 907) @@ -512,10 +512,7 @@ if (access(fn, X_OK) == 0) { gchar *base_path; - gchar *ldd = - g_strconcat("ldd ", - fn, - NULL); + gchar *ldd = g_strdup_printf("ldd "%s"", fn); FILE *fh = popen(ldd, "r"); if (fh) {
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.