summaryrefslogtreecommitdiffstats
path: root/x11/gnome-terminal
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2010-06-14 02:46:56 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2010-06-14 02:46:56 +0800
commit935df1b0438d2987a522fbee25f9b5fe793b2462 (patch)
treeb38b5cbe2c8f5ecff9bc0844351954a02386875f /x11/gnome-terminal
parent19bc5e2c9fff83000d944b2604f72406e92c2c05 (diff)
downloadmarcuscom-ports-935df1b0438d2987a522fbee25f9b5fe793b2462.tar
marcuscom-ports-935df1b0438d2987a522fbee25f9b5fe793b2462.tar.gz
marcuscom-ports-935df1b0438d2987a522fbee25f9b5fe793b2462.tar.bz2
marcuscom-ports-935df1b0438d2987a522fbee25f9b5fe793b2462.tar.lz
marcuscom-ports-935df1b0438d2987a522fbee25f9b5fe793b2462.tar.xz
marcuscom-ports-935df1b0438d2987a522fbee25f9b5fe793b2462.tar.zst
marcuscom-ports-935df1b0438d2987a522fbee25f9b5fe793b2462.zip
Sync with FreeBSD ports.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@14247 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'x11/gnome-terminal')
-rw-r--r--x11/gnome-terminal/files/patch-src_terminal-screen.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/x11/gnome-terminal/files/patch-src_terminal-screen.c b/x11/gnome-terminal/files/patch-src_terminal-screen.c
index 3af16e2e3..69c4aa802 100644
--- a/x11/gnome-terminal/files/patch-src_terminal-screen.c
+++ b/x11/gnome-terminal/files/patch-src_terminal-screen.c
@@ -59,12 +59,12 @@
+ name[3] = fgpid;
+
+ if (sysctl (name, 4, NULL, &len, NULL, 0) < 0)
-+ return g_strdup (priv->initial_working_directory);
++ return NULL;
+ freep = kif = g_malloc (len);
+ if (sysctl (name, 4, kif, &len, NULL, 0) < 0)
+ {
+ g_free (freep);
-+ return g_strdup (priv->initial_working_directory);
++ return NULL;
+ }
+#else
+ freep = kinfo_getfile (fgpid, &cnt);