summaryrefslogtreecommitdiffstats
path: root/perl-install/diskdrake
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2003-02-19 23:46:30 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2003-02-19 23:46:30 +0000
commit7a21da20c34db394abcde18f08d106edc47ae8c2 (patch)
tree4c01519c1bf85cf0c02c810d7607ee7eb7e30138 /perl-install/diskdrake
parentcf502e8f3908835c936e78eda0cbe437a9bbb585 (diff)
downloaddrakx-backup-do-not-use-7a21da20c34db394abcde18f08d106edc47ae8c2.tar
drakx-backup-do-not-use-7a21da20c34db394abcde18f08d106edc47ae8c2.tar.gz
drakx-backup-do-not-use-7a21da20c34db394abcde18f08d106edc47ae8c2.tar.bz2
drakx-backup-do-not-use-7a21da20c34db394abcde18f08d106edc47ae8c2.tar.xz
drakx-backup-do-not-use-7a21da20c34db394abcde18f08d106edc47ae8c2.zip
to workaround perl bug removing UTF8 flag when passing scalars to die's, pass
a scalar-ref. but we need to de-ref, so it might break many things :). let's make a prayer :).
Diffstat (limited to 'perl-install/diskdrake')
-rw-r--r--perl-install/diskdrake/hd_gtk.pm2
-rw-r--r--perl-install/diskdrake/interactive.pm2
2 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/diskdrake/hd_gtk.pm b/perl-install/diskdrake/hd_gtk.pm
index f6f23b22a..321682581 100644
--- a/perl-install/diskdrake/hd_gtk.pm
+++ b/perl-install/diskdrake/hd_gtk.pm
@@ -255,7 +255,7 @@ sub create_automatic_notebooks {
my $b = $_->{marked} or $notebook_widget->remove_page($::i);
$b;
} @notebook;
- @notebook or die N("No hard drives found");
+ @notebook or die \N("No hard drives found");
}
################################################################################
diff --git a/perl-install/diskdrake/interactive.pm b/perl-install/diskdrake/interactive.pm
index 5fdf71c82..3f0e7d30b 100644
--- a/perl-install/diskdrake/interactive.pm
+++ b/perl-install/diskdrake/interactive.pm
@@ -1050,7 +1050,7 @@ sub write_partitions {
if (!$::testing) {
partition_table::write($hd);
}
- $hd->{rebootNeeded} and die N("You'll need to reboot before the modification can take place");
+ $hd->{rebootNeeded} and die \N("You'll need to reboot before the modification can take place");
1;
}