X Strike Force XFree86 SVN commit: rev 883 - branches/4.3.0/sid/debian/patches
Author: branden
Date: 2004-01-08 07:45:42 -0500 (Thu, 08 Jan 2004)
New Revision: 883
Modified:
branches/4.3.0/sid/debian/patches/001_kernel_version_in_banner.diff
Log:
Copyedit patch description.
Add authorship and upstream submission status.
Whitespace police.
Modified: branches/4.3.0/sid/debian/patches/001_kernel_version_in_banner.diff
===================================================================
--- branches/4.3.0/sid/debian/patches/001_kernel_version_in_banner.diff 2004-01-07 17:40:52 UTC (rev 882)
+++ branches/4.3.0/sid/debian/patches/001_kernel_version_in_banner.diff 2004-01-08 12:45:42 UTC (rev 883)
@@ -1,9 +1,14 @@
$Id$
-This patch puts the kernel version in the banner, on Linux, and also whether
-or not it's tainted (providing it's a sufficiently recent kernel). Thanks
-to Mike Harris for this patch (slightly altered to remove RH_CUSTOM, etc).
+This patch by Daniel Stone and Mike Harris.
+This patch prints the kernel version in the XFree86 X server's startup
+banner on Linux, and also indicates whether the kernel is tainted
+(providing it's a sufficiently recent kernel). Thanks to Mike Harris for
+this patch (slightly altered to remove RH_CUSTOM, etc).
+
+Not submitted upstream yet.
+
--- xc/programs/Xserver/hw/xfree86/common/Imakefile.orig Fri Jan 10 19:19:19 2003
+++ xc/programs/Xserver/hw/xfree86/common/Imakefile Fri Jan 10 19:21:34 2003
@@ -183,6 +183,9 @@
@@ -50,7 +55,7 @@
+ int tainted = -1;
+ char *buf;
+ FILE *infile;
-+
++
+ if ((buf = (char *) calloc(1, KVERMAXBUF)) != NULL)
+ {
+ if ((infile = fopen("/proc/sys/kernel/tainted", "r")) != NULL)
@@ -73,8 +78,8 @@
+ free(buf);
+}
+#endif
-+
+
++
static Bool
xf86CreateRootWindow(WindowPtr pWin)
{
Reply to: