[Xfce4-commits] r23227 - xarchiver/branches/xarchiver-psybsd/libxarchiver

Stephan Arts stephan at xfce.org
Thu Sep 28 12:14:14 UTC 2006


Author: stephan
Date: 2006-09-28 12:14:14 +0000 (Thu, 28 Sep 2006)
New Revision: 23227

Modified:
   xarchiver/branches/xarchiver-psybsd/libxarchiver/internals.c
Log:
really fixed extract.


Modified: xarchiver/branches/xarchiver-psybsd/libxarchiver/internals.c
===================================================================
--- xarchiver/branches/xarchiver-psybsd/libxarchiver/internals.c	2006-09-28 11:50:37 UTC (rev 23226)
+++ xarchiver/branches/xarchiver-psybsd/libxarchiver/internals.c	2006-09-28 12:14:14 UTC (rev 23227)
@@ -119,18 +119,16 @@
 lxa_concat_filenames(GSList *filenames)
 {
 	GSList *_filenames = filenames;
-	gchar *concat_str = " ";
+	gchar *concat_str = " ", *_concat_str;
 
 	while(_filenames)
 	{
-		if(g_file_test(_filenames->data, G_FILE_TEST_EXISTS))
-		{
-			concat_str = g_strconcat(concat_str, " ", _filenames->data,  NULL);
-		}
+		_concat_str  = concat_str;
+		concat_str = g_strconcat(concat_str, " ", _filenames->data,  NULL);
 		_filenames = _filenames->next;
+		g_free(_concat_str);
 	}
 	if(!filenames)
 		return NULL;
 	return concat_str;
 }
-



More information about the Xfce4-commits mailing list