diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2001-06-11 23:13:24 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2001-06-11 23:13:24 +0000 |
commit | 0405309dde44eb8c66d4f4612860a93e267e6c84 (patch) | |
tree | 68d07becbf309d7b0195e65807c7adff01a3116d /perl-install/bootloader.pm | |
parent | f0797699d8777c03d97e8b21d49b4c2455149603 (diff) | |
download | drakx-0405309dde44eb8c66d4f4612860a93e267e6c84.tar drakx-0405309dde44eb8c66d4f4612860a93e267e6c84.tar.gz drakx-0405309dde44eb8c66d4f4612860a93e267e6c84.tar.bz2 drakx-0405309dde44eb8c66d4f4612860a93e267e6c84.tar.xz drakx-0405309dde44eb8c66d4f4612860a93e267e6c84.zip |
- enhance perl2fcalls (which now handle /xxx(...)/ as a regexp in more cases)
- remove the use of /xxx (...)/x by /xxx(...)/ as perl2fcalls is getting smart
=> make gc happy which is very important, what would we be without him?
Diffstat (limited to 'perl-install/bootloader.pm')
-rw-r--r-- | perl-install/bootloader.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/bootloader.pm b/perl-install/bootloader.pm index a7758e897..1be6dfd73 100644 --- a/perl-install/bootloader.pm +++ b/perl-install/bootloader.pm @@ -136,7 +136,7 @@ sub add_entry($$) { my ($entries, $v) = @_; my (%usedold, $freeold); - do { $usedold{$1 || 0} = 1 if $_->{label} =~ /^old ([^_]*)_/x } foreach @$entries; + do { $usedold{$1 || 0} = 1 if $_->{label} =~ /^old([^_]*)_/ } foreach @$entries; foreach (0..scalar keys %usedold) { exists $usedold{$_} or $freeold = $_ || '', last } foreach (@$entries) { |