Author: kelmo-guest
Date: Mon Jul 28 09:10:38 2008
New Revision: 822
URL: http://svn.debian.org/wsvn/initscripts-ng/?sc=1&rev=822
Log:
Add 70_lvl2str_runlevel_S_offbyone.dpatch to fix off-by-one error
stopping lvl2str function from considering last runlevel in
runlevel_locations[] array.
Added:
trunk/src/insserv/debian/patches/70_lvl2str_runlevel_S_offbyone.dpatch
Modified:
trunk/src/insserv/debian/changelog
trunk/src/insserv/debian/patches/00list
Modified: trunk/src/insserv/debian/changelog
URL:
http://svn.debian.org/wsvn/initscripts-ng/trunk/src/insserv/debian/changelog?rev=822&op=diff
==============================================================================
--- trunk/src/insserv/debian/changelog (original)
+++ trunk/src/insserv/debian/changelog Mon Jul 28 09:10:38 2008
@@ -55,8 +55,11 @@
* Now we have no overrides to install by default, but we may in future,
modify debian/rules to only install overrides from ./debian/overrides/* if
they are present, but not fail otherwise.
-
- -- Kel Modderman <[EMAIL PROTECTED]> Sun, 27 Jul 2008 16:04:07 +1000
+ * Add 70_lvl2str_runlevel_S_offbyone.dpatch to fix off-by-one error
+ stopping lvl2str function from considering last runlevel in
+ runlevel_locations[] array.
+
+ -- Kel Modderman <[EMAIL PROTECTED]> Mon, 28 Jul 2008 19:01:56 +1000
insserv (1.11.0-9) unstable; urgency=low
Modified: trunk/src/insserv/debian/patches/00list
URL:
http://svn.debian.org/wsvn/initscripts-ng/trunk/src/insserv/debian/patches/00list?rev=822&op=diff
==============================================================================
--- trunk/src/insserv/debian/patches/00list (original)
+++ trunk/src/insserv/debian/patches/00list Mon Jul 28 09:10:38 2008
@@ -1,4 +1,5 @@
10_nosuse
31_debian_conf
+70_lvl2str_runlevel_S_offbyone
81_debian_default_start_stop_warnings
90_fix_bashism_in_makefile
Added: trunk/src/insserv/debian/patches/70_lvl2str_runlevel_S_offbyone.dpatch
URL:
http://svn.debian.org/wsvn/initscripts-ng/trunk/src/insserv/debian/patches/70_lvl2str_runlevel_S_offbyone.dpatch?rev=822&op=file
==============================================================================
--- trunk/src/insserv/debian/patches/70_lvl2str_runlevel_S_offbyone.dpatch
(added)
+++ trunk/src/insserv/debian/patches/70_lvl2str_runlevel_S_offbyone.dpatch Mon
Jul 28 09:10:38 2008
@@ -1,0 +1,19 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 70_lvl2str_runlevel_S_offbyone.dpatch by Kel Modderman <[EMAIL PROTECTED]>
+##
+## DP: Purpose: Fix lvl2str so that it considers the last runlevel in
+## DP: RUNLEVELES for conversion.
+## DP: Status: Submitted upstream.
+
[EMAIL PROTECTED]@
+--- a/insserv.c
++++ b/insserv.c
+@@ -1605,7 +1605,7 @@
+
+ last = ptr = &str[0];
+ memset(ptr, '\0', sizeof(str));
+- for (num = 0; num < RUNLEVLES; num++) {
++ for (num = 0; num <= RUNLEVLES; num++) {
+ if (bit & lvl) {
+ if (ptr > last)
+ *ptr++ = ' ';
_______________________________________________
Initscripts-ng-commits mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/initscripts-ng-commits