Blame xserver-1.12-os-print-newline-after-printing-display-name.patch
|
Peter Hutterer |
1966a11 |
From 014ad46f1b353a95e2c4289443ee857cfbabb3ae Mon Sep 17 00:00:00 2001
|
|
Peter Hutterer |
beaa276 |
From: Peter Hutterer <peter.hutterer@who-t.net>
|
|
Peter Hutterer |
beaa276 |
Date: Thu, 21 Jun 2012 14:26:15 +1000
|
|
Peter Hutterer |
beaa276 |
Subject: [PATCH] os: print newline after printing display name
|
|
Peter Hutterer |
beaa276 |
|
|
Peter Hutterer |
beaa276 |
Much easier for scripts that try to read the display value off the file
|
|
Peter Hutterer |
beaa276 |
descriptor. Plus, this restores the behaviour we had for this patch in
|
|
Peter Hutterer |
beaa276 |
Fedora since server 1.6 (April 2009).
|
|
Peter Hutterer |
beaa276 |
|
|
Peter Hutterer |
beaa276 |
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
Peter Hutterer |
1966a11 |
Reviewed-by: Dave Airlie <airlied@redhat.com>
|
|
Peter Hutterer |
1966a11 |
Reviewed-by: Chase Douglas <chase.douglas@canonical.com>
|
|
Peter Hutterer |
beaa276 |
---
|
|
Peter Hutterer |
1966a11 |
os/connection.c | 1 +
|
|
Peter Hutterer |
1966a11 |
1 file changed, 1 insertion(+)
|
|
Peter Hutterer |
beaa276 |
|
|
Peter Hutterer |
beaa276 |
diff --git a/os/connection.c b/os/connection.c
|
|
Peter Hutterer |
1966a11 |
index 039942f..3441472 100644
|
|
Peter Hutterer |
beaa276 |
--- a/os/connection.c
|
|
Peter Hutterer |
beaa276 |
+++ b/os/connection.c
|
|
Peter Hutterer |
1966a11 |
@@ -353,6 +353,7 @@ NotifyParentProcess(void)
|
|
Peter Hutterer |
1966a11 |
#if !defined(WIN32)
|
|
Peter Hutterer |
1966a11 |
if (dynamic_display[0]) {
|
|
Peter Hutterer |
1966a11 |
write(displayfd, dynamic_display, strlen(dynamic_display));
|
|
Peter Hutterer |
1966a11 |
+ write(displayfd, "\n", 1);
|
|
Peter Hutterer |
1966a11 |
close(displayfd);
|
|
Peter Hutterer |
beaa276 |
}
|
|
Peter Hutterer |
1966a11 |
if (RunFromSmartParent) {
|
|
Peter Hutterer |
beaa276 |
--
|
|
Peter Hutterer |
1966a11 |
1.7.11.2
|
|
Peter Hutterer |
beaa276 |
|