!3 fix error condition of while loop in 0001-bypass-wrong-output-when-enabled-selinux.patch.
Merge pull request !3 from shijieluo/master
This commit is contained in:
commit
3f03eea585
@ -35,7 +35,7 @@ index 4b1f8d0..5c017cc 100755
|
||||
- (!$use_re && $result->[$n] ne $out->[$n]) ||
|
||||
- ( $use_re && $result->[$n] !~ /^$out->[$n]/)) {
|
||||
- push @good, ($use_re ? '!~' : '!=');
|
||||
+ while ($m < $mmax-1 &&
|
||||
+ while ($m < $mmax &&
|
||||
+ (!$use_re && $result->[$m] ne $out->[$n]) ||
|
||||
+ ( $use_re && $result->[$m] !~ /^$out->[$n]/)) {
|
||||
+ $m++;
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
%{!?_licensedir:%global license %%doc}
|
||||
Name: attr
|
||||
Version: 2.4.48
|
||||
Release: 6
|
||||
Release: 7
|
||||
Summary: Commands for Manipulating Filesystem Extended Attributes
|
||||
License: GPLv2+ AND LGPLv2+
|
||||
URL: https://savannah.nongnu.org/projects/attr
|
||||
@ -93,6 +93,13 @@ make %{?_smp_mflags} check
|
||||
%{_mandir}/man3/*
|
||||
|
||||
%changelog
|
||||
* Mon Mar 16 2020 Shijie Luo<luoshijie1@huawei.com> - 2.4.48-7
|
||||
- Type:bugfix
|
||||
- ID:NA
|
||||
- SUG:restart
|
||||
- DESC:fix error condition of while loop
|
||||
in 0001-bypass-wrong-output-when-enabled-selinux.patch.
|
||||
|
||||
* Mon Mar 16 2020 Shijie Luo<luoshijie1@huawei.com> - 2.4.48-6
|
||||
- Type:bugfix
|
||||
- ID:NA
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user