From 935df1b0438d2987a522fbee25f9b5fe793b2462 Mon Sep 17 00:00:00 2001 From: marcus Date: Sun, 13 Jun 2010 18:46:56 +0000 Subject: Sync with FreeBSD ports. git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@14247 df743ca5-7f9a-e211-a948-0013205c9059 --- x11/gnome-terminal/files/patch-src_terminal-screen.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'x11/gnome-terminal/files') 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); -- cgit v1.2.3