--7XRROvuhdy+4nxsA
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Control: tags -1 + patch
On Tue, Jun 09, 2015 at 11:56:45AM +0200, Denis Briand wrote:
Always the same issue with 0.99-7
'r' key doesn't work.
But now, I haven't any stderr output.
Same here in 0.99-10 with no error output, just a silent crash.
The issue occurs whenever the services do not fit an exact number of screenfuls, in other words, almost always!
I have provided a patch which handles this scenario correctly.
--7XRROvuhdy+4nxsA
Content-Type: text/x-diff; charset=us-ascii
Content-Disposition: attachment; filename="fix-restore-action.patch" Content-Transfer-Encoding: quoted-printable
From 319c24d502cf948dc87df4e20a943f1928794d5f Mon Sep 17 00:00:00 2001
From: Andrew Bower <
andrew@bower.uk>
Date: Sat, 10 May 2025 14:26:48 +0100
Subject: [PATCH] Fix restore action in GUI. (Closes: #428300)
---
debian/patches/0003-Fix-restore-action.patch | 29 ++++++++++++++++++++
debian/patches/series | 1 +
2 files changed, 30 insertions(+)
create mode 100644 debian/patches/0003-Fix-restore-action.patch
diff --git a/debian/patches/0003-Fix-restore-action.patch b/debian/patches/0003-Fix-restore-action.patch
new file mode 100644
index 0000000..3af0c74
--- /dev/null
+++ b/debian/patches/0003-Fix-restore-action.patch
@@ -0,0 +1,29 @@
+From: Andrew Bower <
andrew@bower.uk>
+Date: Sat, 10 May 2025 14:17:27 +0100
+Subject: Fix restore action in GUI. (Closes: #428300)
+
+Avoid crashing without restoring links when services do not exactly fit into +whole screenfuls.
+
+---
+ sysv-rc-conf.pl | 6 ++++--
+ 1 file changed, 4 insertions(+), 2 deletions(-)
+
+diff --git a/sysv-rc-conf.pl b/sysv-rc-conf.pl
+index b464bb7..cfcbe65 100755
+--- a/sysv-rc-conf.pl
++++ b/sysv-rc-conf.pl
+@@ -248,9 +248,11 @@ sub revert_changes
+ for (my $i = 0; $i < max_services() ; $i