This request is superseded by
request 888942
(Show diff)
Overview
Request 885502 superseded
Extend reproducible.patch to sort file lists (boo#1041090)
- Created by bmwiedemann
- In state superseded
- Superseded by 888942
- Open review for devel:languages:perl / perl-Alien-SDL
- Open review for openSUSE:Backports:SLE-15-SP3:Staging:adi:19
Loading...
Request History
bmwiedemann created request
Extend reproducible.patch to sort file lists (boo#1041090)
licensedigger accepted review
ok
bigironman added as a reviewer
Being evaluated by staging project "openSUSE:Backports:SLE-15-SP3:Staging:adi:19"
bigironman accepted review
Picked "openSUSE:Backports:SLE-15-SP3:Staging:adi:19"
bmwiedemann superseded request
superseded by 888942
Note that using sort as a return value of a function can be harmful. sort in scalar context is undefined, so if you have a sub like this:
and call it in scalar context, you will get back undef and not the number of elements. In the case of this patch I don't know if the function find_file is called in scalar context anywhere, I just wanted to note that one should avoid doing a sort on return directly and rather do something like:
I don't know how to prevent "at-sign letter" being interpreted as a link to a user, sorry.
I extended the patch to enforce list context: https://build.opensuse.org/request/show/886980
@computersalat, @coolo, @dstoecker, @lrupp, @rjschwei, @smithfarm, @tinita: review reminder