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

Bug#764592: biber: Bug in /usr/share/perl5/Biber/LaTeX/Recode.pm



Package: biber
Version: 1.9-1
Severity: normal
Tags: patch upstream

Hi,

The following message was generated for each *.tex compilation
involving biber on my system:

Possible precedence issue with control flow operator at /usr/share/perl5/Biber/LaTeX/Recode.pm line 395.

The attached patch should fix the problem.

-- Sebastian

-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable'), (100, 'unstable'), (50, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
armhf

Kernel: Linux 3.16-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages biber depends on:
ii  dpkg                                    1.17.13
ii  libautovivification-perl                0.12-1+b1
ii  libbusiness-isbn-perl                   2.07-1
ii  libbusiness-ismn-perl                   1.11-1
ii  libbusiness-issn-perl                   0.91-2
ii  libdata-compare-perl                    1.23-0.1
ii  libdata-dump-perl                       1.22-1
ii  libdate-simple-perl                     3.0300-1+b1
ii  libencode-eucjpms-perl                  0.07-3+b2
ii  libencode-hanextra-perl                 0.23-3+b1
ii  libencode-jis2k-perl                    0.02-2+b1
ii  libfile-slurp-unicode-perl              0.7.1-1
ii  libipc-run3-perl                        0.048-1
ii  liblist-allutils-perl                   0.08-1
ii  liblist-moreutils-perl                  0.33-2+b1
ii  liblog-log4perl-perl                    1.44-1
ii  liblwp-protocol-https-perl              6.06-2
ii  libreadonly-perl                        2.000-1
ii  libregexp-common-perl                   2013031301-1
ii  libtext-bibtex-perl                     0.69-1+b1
ii  libunicode-collate-perl                 1.07-1+b1
ii  libunicode-linebreak-perl               0.0.20140601-2
ii  liburi-perl                             1.64-1
ii  libwww-perl                             6.08-1
ii  libxml-libxml-simple-perl               0.94-1
ii  libxml-libxslt-perl                     1.92-1+b1
ii  libxml-writer-perl                      0.625-1
ii  perl                                    5.20.1-1
ii  perl-modules [libunicode-collate-perl]  5.20.1-1
ii  tex-common                              5.02

Versions of packages biber recommends:
ii  texlive-bibtex-extra  2014.20140927-1

biber suggests no packages.

-- no debconf information

-- debsums errors found:
debsums: changed file /usr/share/perl5/Biber/LaTeX/Recode.pm (from biber package)
--- /usr/share/perl5/Biber/LaTeX/Recode.pm.old	2014-10-09 13:19:09.157612660 +0200
+++ /usr/share/perl5/Biber/LaTeX/Recode.pm	2014-10-09 13:18:08.225310513 +0200
@@ -392,7 +392,7 @@
     my $re = $remap_e->{accents}{re};
 
     if ( $b =~ /$re/) {
-        return ($a eq 'i') or ($a eq 'j') ? "{\\$a}" : $a;
+        return (($a eq 'i') or ($a eq 'j') ? "{\\$a}" : $a);
     }
     else {
         return "{$a}"

Reply to: