summaryrefslogtreecommitdiffstats
path: root/sysutils/gnome-system-tools/files/patch-backends_replace.pl.in
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/gnome-system-tools/files/patch-backends_replace.pl.in')
-rw-r--r--sysutils/gnome-system-tools/files/patch-backends_replace.pl.in33
1 files changed, 14 insertions, 19 deletions
diff --git a/sysutils/gnome-system-tools/files/patch-backends_replace.pl.in b/sysutils/gnome-system-tools/files/patch-backends_replace.pl.in
index 7f7cce28e..812682458 100644
--- a/sysutils/gnome-system-tools/files/patch-backends_replace.pl.in
+++ b/sysutils/gnome-system-tools/files/patch-backends_replace.pl.in
@@ -1,29 +1,24 @@
---- backends/replace.pl.in.orig Fri Oct 22 02:41:56 2004
-+++ backends/replace.pl.in Fri Oct 22 02:42:48 2004
-@@ -1113,19 +1113,19 @@
+--- backends/replace.pl.in.orig Tue Dec 21 11:17:14 2004
++++ backends/replace.pl.in Thu Dec 23 13:14:41 2004
+@@ -1128,7 +1128,7 @@
- return -1 if (!&gst_replace_interfaces_iface_stanza_locate ($buff, \$line_no, $iface));
-
-- delete $$buff[$line_no];
-+ splice @{$buff},$line_no,1;
- $line_no ++;
-
- while (&gst_replace_interfaces_get_next_option ($buff, \$line_no) != -1)
+ while ($line_no < $line_end)
{
- delete $$buff[$line_no];
+ splice @{$buff},$line_no,1;
- $line_no ++;
+ $line_no++;
}
+
+@@ -1140,7 +1140,7 @@
- $line_no = 0;
- if (&gst_replace_interfaces_auto_stanza_locate ($buff, \$line_no, $iface))
- {
-- delete $$buff[$line_no];
-+ splice @{$buff},$line_no,1;
+ while ($line_no < $line_end)
+ {
+- delete $$buff[$line_no];
++ splice @{$buff},$line_no,1;
+ $line_no++;
+ }
}
-
- &gst_file_buffer_clean ($buff);
-@@ -1663,7 +1663,7 @@
+@@ -1680,7 +1680,7 @@
}
else
{