Bug#756629: libfile-fcntllock-perl: File::FcntlLock no longer exports the required constants

Jens Thoms Toerring jt at toerring.de
Thu Jul 31 20:21:03 UTC 2014


Hi Raphaël,

On Thu, Jul 31, 2014 at 04:00:17PM +0200, Raphaël Hertzog wrote:
> Package: libfile-fcntllock-perl
> Version: 0.20-1
> Severity: important
> 
> The problem is that the constants are exported by File::FcntlLock::Core
> but no longer by File::FcntlLock itself.
> 
> Here's a tentative patch:
> $ diff -u lib/File/FcntlLock.pm /usr/lib/perl5/File/FcntlLock.pm
> --- lib/File/FcntlLock.pm	2014-05-27 16:38:47.000000000 +0200
> +++ /usr/lib/perl5/File/FcntlLock.pm	2014-07-31 15:50:19.454997932 +0200
> @@ -22,6 +22,7 @@
>  
>  bootstrap File::FcntlLock $VERSION;
>  
> +our @EXPORT = @File::FcntlLock::Core::EXPORT;

Thank you very much for the patch! I applied it (and made some more
small changes to the XS, Pure and Inline modules which also need to
export these constants). The new version 0.22 (don't use the 0.21
version, it's still missing the corrections for the XS/Pure/Inline
modules) has just been uploaded to PAUSE. Please complain loudly if
you find any further issues;-)

                    Thank you and best regards, Jens
-- 
  \   Jens Thoms Toerring  ________      jt at toerring.de
   \_______________________________      http://toerring.de



More information about the pkg-perl-maintainers mailing list