[Pkg-xfce-commits] r5929 - goodies/trunk/lightdm/debian/patches

Yves-Alexis Perez corsac at alioth.debian.org
Tue Aug 9 07:41:59 UTC 2011


Author: corsac
Date: 2011-08-09 19:41:59 +0000 (Tue, 09 Aug 2011)
New Revision: 5929

Removed:
   goodies/trunk/lightdm/debian/patches/05_enforce-min-vt.patch
Log:
drop spurious, unused patch file


Deleted: goodies/trunk/lightdm/debian/patches/05_enforce-min-vt.patch
===================================================================
--- goodies/trunk/lightdm/debian/patches/05_enforce-min-vt.patch	2011-08-09 19:41:35 UTC (rev 5928)
+++ goodies/trunk/lightdm/debian/patches/05_enforce-min-vt.patch	2011-08-09 19:41:59 UTC (rev 5929)
@@ -1,29 +0,0 @@
-Author: Yves-Alexis Perez <corsac at debian.org>
-Author: Lionel Le Folgoc <mrpouit at gmail.com>
-Description: enforce minimum vt configuration
-Even if plymouth is running and has an active vt, when minimum-vt is defined
-enforce it.
-Bug: https://bugs.launchpad.net/lightdm/+bug/801880
-diff --git a/src/vt.c b/src/vt.c
-index 66f4802..b461bc2 100644
---- a/src/vt.c
-+++ b/src/vt.c
-@@ -40,6 +40,7 @@ vt_get_active (void)
- #ifdef __linux__
-     gint console_fd;
-     gint active = -1;
-+    gint min = 1;
- 
-     console_fd = open_console ();
-     if (console_fd >= 0)
-@@ -52,6 +53,10 @@ vt_get_active (void)
-         close (console_fd);
-     }
- 
-+    min = vt_get_min ();
-+    if (active < min)
-+      active = min;
-+
-     return active;
- #else
-     return -1;




More information about the Pkg-xfce-commits mailing list