Bug#692816: unblock: apt-move/4.2.27-3
Paul Gevers wrote (09 Nov 2012 11:41:49 GMT) :
> Perl 5.12 removed the use of implicit calls to split. apt-move was
> using that in the script to copy files. The result is that the cache
> build by apt-get is removed instead of moved.
This patch looks good on the Perl side of things (as in: it's the
shortest path to code that behaves the same as it used to, but is
accepted by a recent Perl interpreter).
[Release team might want to stop here.]
I think the code would be a bit more robust / future-proof if it
localized @_ before assigning to it. Paul, what do you think?
Cheers,
--
intrigeri
| GnuPG key @ https://gaffer.ptitcanardnoir.org/intrigeri/intrigeri.asc
| OTR fingerprint @ https://gaffer.ptitcanardnoir.org/intrigeri/otr.asc
Reply to: