On 01/02/2013 02:38 PM, Peter Harris wrote:
Some tests segfault if XT_DISPLAY is set and XT_DISPLAYHOST is not.
Signed-off-by: Peter Harris <[email protected]>
Reviewed-by: Aaron Plattner <[email protected]>
Which test? I did set DISPLAY=localhost:1 and verified that
XT_DISPLAYHOST ends up set to 'localhost' so
Tested-by: Aaron Plattner <[email protected]>
--
Aaron
---
xts5/bin/xts-config.in | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/xts5/bin/xts-config.in b/xts5/bin/xts-config.in
index 9e30b5f..ce55618 100755
--- a/xts5/bin/xts-config.in
+++ b/xts5/bin/xts-config.in
@@ -99,6 +99,10 @@ BEGIN
}
else
{
+ $::vars{"XT_TCP"} = "Yes";
+ my @displayhost = split(/:/, $::vars{"DISPLAY"}, 2);
+ $::vars{"XT_DISPLAYHOST"} = $displayhost[0];
+
# Not a local display; admin is responsible for placing
# xtest fonts on the font path before running xts-config.
$::vars{"XT_FONTPATH"} = $::vars{"XT_FONTPATH_GOOD"};
_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel