anjuta r4168 - in trunk: . plugins/build-basic-autotools
- From: sgranjoux svn gnome org
- To: svn-commits-list gnome org
- Subject: anjuta r4168 - in trunk: . plugins/build-basic-autotools
- Date: Wed, 20 Aug 2008 15:41:55 +0000 (UTC)
Author: sgranjoux
Date: Wed Aug 20 15:41:55 2008
New Revision: 4168
URL: http://svn.gnome.org/viewvc/anjuta?rev=4168&view=rev
Log:
* plugins/build-basic-autotools/build-options.c:
#548622 â sun cc can not compile build-options.c
Modified:
trunk/ChangeLog
trunk/plugins/build-basic-autotools/build-options.c
Modified: trunk/plugins/build-basic-autotools/build-options.c
==============================================================================
--- trunk/plugins/build-basic-autotools/build-options.c (original)
+++ trunk/plugins/build-basic-autotools/build-options.c Wed Aug 20 15:41:55 2008
@@ -67,7 +67,7 @@
struct _BuildMissingDirectory
{
gsize exist;
- gchar* uri;
+ gchar uri[1];
};
@@ -178,7 +178,7 @@
gsize len;
len = strlen (uri);
- dir = (BuildMissingDirectory *)g_new (char, sizeof (BuildMissingDirectory) + len + 1);
+ dir = (BuildMissingDirectory *)g_new (char, sizeof (BuildMissingDirectory) + len);
memcpy (dir->uri, uri, len + 1);
last = g_file_get_uri (parent);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]