From 7a21da20c34db394abcde18f08d106edc47ae8c2 Mon Sep 17 00:00:00 2001 From: Guillaume Cottenceau Date: Wed, 19 Feb 2003 23:46:30 +0000 Subject: 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 :). --- perl-install/partition_table/raw.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install/partition_table') diff --git a/perl-install/partition_table/raw.pm b/perl-install/partition_table/raw.pm index 0b06848ac..c25127cdc 100644 --- a/perl-install/partition_table/raw.pm +++ b/perl-install/partition_table/raw.pm @@ -190,7 +190,7 @@ sub test_for_bad_drives { my $tmp2; &$seek; sysread $F, $tmp2, $SECTORSIZE or die "test_for_bad_drives: can't even read again ($!)"; $tmp eq $tmp2 or die -N("Something bad is happening on your drive. +\N("Something bad is happening on your drive. A test to check the integrity of data has failed. It means writing anything on the disk will end up with random, corrupted data."); } -- cgit v1.2.1