summaryrefslogtreecommitdiff
path: root/devel/gob2/files
diff options
context:
space:
mode:
authorJean-Yves Lefort <jylefort@FreeBSD.org>2005-12-20 19:33:05 +0000
committerJean-Yves Lefort <jylefort@FreeBSD.org>2005-12-20 19:33:05 +0000
commite90c21eb05faeeef5f4b33076c25262aaca6e217 (patch)
tree746e58eef889a93b1dce77eb6347b108651d3e2b /devel/gob2/files
parentFix the crux engine theme crash looks like this: (diff)
Fix a g_strconcat() without terminating NULL.
Notes
Notes: svn path=/head/; revision=151667
Diffstat (limited to 'devel/gob2/files')
-rw-r--r--devel/gob2/files/patch-src_main.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/devel/gob2/files/patch-src_main.c b/devel/gob2/files/patch-src_main.c
new file mode 100644
index 000000000000..db60968be43d
--- /dev/null
+++ b/devel/gob2/files/patch-src_main.c
@@ -0,0 +1,11 @@
+--- src/main.c.orig Tue Dec 20 20:28:09 2005
++++ src/main.c Tue Dec 20 20:28:55 2005
+@@ -3078,7 +3078,7 @@
+ outfilebase = g_strconcat (fullfilebase, for_cpp ? ".cc" : ".c", NULL);
+ outfile = g_strconcat(outfilebase, no_touch ? "#gob#" : "", NULL);
+
+- outfilehbase = g_strconcat (fullfilebase, ".h");
++ outfilehbase = g_strconcat (fullfilebase, ".h", NULL);
+ outfileh = g_strconcat(outfilehbase, no_touch_headers ? "#gob#" : "", NULL);
+
+ if ((privates > 0 || protecteds > 0 ||