[Xfce4-commits] [apps/xfce4-terminal] 01/01: Don't copy working directory to $PWD for vte >= 0.51.90
noreply at xfce.org
noreply at xfce.org
Thu Feb 8 21:07:13 CET 2018
This is an automated email from the git hooks/post-receive script.
f 2 4 0 4 p u s h e d a c o m m i t t o b r a n c h m a s t e r
in repository apps/xfce4-terminal.
commit 429c53ece2e1140952f2e7de8cf5dfcaf0d87b99
Author: Igor <f2404 at yandex.ru>
Date: Thu Feb 8 14:53:04 2018 -0500
Don't copy working directory to $PWD for vte >= 0.51.90
See https://bugzilla.gnome.org/show_bug.cgi?id=758452
---
terminal/terminal-screen.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/terminal/terminal-screen.c b/terminal/terminal-screen.c
index 2fcf42c..bff96f2 100644
--- a/terminal/terminal-screen.c
+++ b/terminal/terminal-screen.c
@@ -842,6 +842,7 @@ terminal_screen_get_child_environment (TerminalScreen *screen)
|| strcmp (*p, "TERM") == 0)
continue;
+#if !VTE_CHECK_VERSION (0, 51, 90)
/* copy working directory to $PWD, to preserve symlinks
* see https://bugzilla.gnome.org/show_bug.cgi?id=758452 */
if (strcmp (*p, "PWD") == 0)
@@ -849,6 +850,7 @@ terminal_screen_get_child_environment (TerminalScreen *screen)
result[n++] = g_strconcat (*p, "=", screen->working_directory, NULL);
continue;
}
+#endif
/* copy the variable */
value = g_getenv (*p);
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list