[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [dpkg] 23/23: perl: Split overlong regexes into multiline extended regexes


On Wed, 2015-09-16 at 17:29:10 +0200, Sven Joachim wrote:
> This has lead to a dpkg-shlibdeps failure:
> ,----
> | Use of uninitialized value $shlibs_re in regexp compilation at /usr/bin/dpkg-shlibdeps line 701, <$shlibs_fh> line 1.
> `----
> I don't know all the details of Perl's lexical scoping wrt subroutines
> (and the perlsub manpage did not help either), but I suppose the
> definition of $shlibs_re needs to be moved up before the first call of
> extract_from_shlibs, or put inside the extract_from_shlibs routine.

Indeed, noticed and locally fixed this yesterday, it's queued for my
next push for later today or so. Thanks for the notice anyway!


Reply to: