ALT Linux Bugzilla
– Attachment 7270 Details for
Bug 34187
Учитывает регистр
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
[patch]
Case-insensitive search for packages and files
patch.patch (text/plain), 637 bytes, created by
Олег Соловьев
on 2017-11-14 10:36:40 MSK
(
hide
)
Description:
Case-insensitive search for packages and files
Filename:
MIME Type:
Creator:
Олег Соловьев
Created:
2017-11-14 10:36:40 MSK
Size:
637 bytes
patch
obsolete
>diff --git a/apf b/apf >index c39e4ac..7bb6b07 100644 >--- a/apf >+++ b/apf >@@ -94,7 +94,7 @@ if ($command =~ /^(f|se)/i) > { > chomp; > ($file, $package) = split /\t/; >- next unless $file =~ /$pattern/; >+ next unless $file =~ /$pattern/i; > # output each package name only once > next if grep(/$package/, @pkglist); > push @pkglist, $package; >@@ -114,7 +114,7 @@ elsif ($command =~ /^(l|sh)/i) > { > chomp; > ($file, $package) = split /\t/; >- next unless $package =~ /$pattern/; >+ next unless $package =~ /$pattern/i; > print "$package:\t$file\n"; > } > close INDEX;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 34187
:
7269
| 7270