[Pkg-sysvinit-commits] r357 - sysvinit/trunk/debian/patches

Thomas Hood jdthood-guest at costa.debian.org
Fri Dec 2 15:22:27 UTC 2005


Author: jdthood-guest
Date: 2005-12-02 15:22:25 +0000 (Fri, 02 Dec 2005)
New Revision: 357

Added:
   sysvinit/trunk/debian/patches/63_init_longer_procname.dpatch
Modified:
   sysvinit/trunk/debian/patches/00list
Log:
Add 63_init_longer_procname.dpatch

Modified: sysvinit/trunk/debian/patches/00list
===================================================================
--- sysvinit/trunk/debian/patches/00list	2005-12-02 13:29:22 UTC (rev 356)
+++ sysvinit/trunk/debian/patches/00list	2005-12-02 15:22:25 UTC (rev 357)
@@ -14,6 +14,7 @@
 60_init_race
 61_init_msg
 62_init_freebsdterm
+63_init_longer_procname
 70_wall_ttyname
 71_wall_hostname
 80_killall_sched

Added: sysvinit/trunk/debian/patches/63_init_longer_procname.dpatch
===================================================================
--- sysvinit/trunk/debian/patches/63_init_longer_procname.dpatch	2005-12-02 13:29:22 UTC (rev 356)
+++ sysvinit/trunk/debian/patches/63_init_longer_procname.dpatch	2005-12-02 15:22:25 UTC (rev 357)
@@ -0,0 +1,19 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 63_init_longer_procname.dpatch by Kir Kolyshkin
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Allow process name to be one character longer
+
+ at DPATCH@
+Index: sysvinit/src/init.c
+--- sysvinit/src/init.c_ORIG	2005-12-02 17:18:16.000000000 +0100
++++ sysvinit/src/init.c	2005-12-02 17:18:40.000000000 +0100
+@@ -617,7 +617,7 @@
+ 
+ 	if (maxproclen > 2) {
+ 		memset(argv0, 0, maxproclen);
+-		strncpy(argv0, buf, maxproclen - 2);
++		strncpy(argv0, buf, maxproclen - 1);
+ 	}
+ 
+ 	return len;


Property changes on: sysvinit/trunk/debian/patches/63_init_longer_procname.dpatch
___________________________________________________________________
Name: svn:executable
   + *




More information about the Pkg-sysvinit-commits mailing list