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

Bug#622938: marked as done (tex-common: printf: missing unicode digit for \u)



Your message dated Sun, 26 Jun 2011 10:53:30 +0000
with message-id <E1Qamy2-0006q8-MC@franck.debian.org>
and subject line Bug#622938: fixed in tex-common 2.10
has caused the Debian Bug report #622938,
regarding tex-common: printf: missing unicode digit for \u
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
622938: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=622938
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: tex-common
Version: 2.09
Tags: patch

Maintainer scripts that interface with update-language-def yield a large
number of warnings in an upgrade log:

  /usr/sbin/update-language-def: line 779: printf: missing unicode digit for \u

This is because update-language-def calls printf like so:

    printf "
${PCC}${PCC}${PCC} No changes may be made beyond this point.

\uselanguage {USenglish}             ${PCC}${PCC}${PCC} This MUST be the
last li
ne of the file.
" >> "$tempfile"

and bash's printf interprets "\u" as an escape for a unicode codepoint.

To avoid this, it appears the backslash needs to be double-escaped, i.e.,

\\\\uselanguage

I've tested that this is safe on dash as well, though it doesn't matter
since update-language-def is declared as a bash script.

Please consider fixing this, making upgrade logs less noisy.

Thanks,
-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                    http://www.debian.org/
slangasek@ubuntu.com                                     vorlon@debian.org

Attachment: signature.asc
Description: Digital signature


--- End Message ---
--- Begin Message ---
Source: tex-common
Source-Version: 2.10

We believe that the bug you reported is fixed in the latest version of
tex-common, which is due to be installed in the Debian FTP archive:

tex-common_2.10.dsc
  to main/t/tex-common/tex-common_2.10.dsc
tex-common_2.10.tar.gz
  to main/t/tex-common/tex-common_2.10.tar.gz
tex-common_2.10_all.deb
  to main/t/tex-common/tex-common_2.10_all.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 622938@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Norbert Preining <preining@debian.org> (supplier of updated tex-common package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Sun, 26 Jun 2011 09:00:08 +0900
Source: tex-common
Binary: tex-common
Architecture: source all
Version: 2.10
Distribution: unstable
Urgency: low
Maintainer: Debian TeX maintainers <debian-tex-maint@lists.debian.org>
Changed-By: Norbert Preining <preining@debian.org>
Description: 
 tex-common - common infrastructure for building and installing TeX
Closes: 619358 622938
Changes: 
 tex-common (2.10) unstable; urgency=low
 .
   [ Norbert Preining ]
   * generated postrm code does not remove metapost format since the engine
     was not rewritten, fix that with a special case in dh_installtex
     (needs rebuild of texlive-metapost, context) (Closes: #619358)
   * bump standards version to 3.9.2, no changes needed
 .
   [ Frank Küster ]
   * double-escape backslash in a printf string, thanks to Steve Langasek
     <vorlon@debian.org> (closes: #622938)
Checksums-Sha1: 
 e8baf2d99987f91b704420dd74de6d3cec10457f 1130 tex-common_2.10.dsc
 2a7e4c0fbbe0e2f9f11daf1ff1e142e9c9922b82 804237 tex-common_2.10.tar.gz
 85438836fe7544755b277f02ac2cf2b00ce205d1 724924 tex-common_2.10_all.deb
Checksums-Sha256: 
 62b74e5df99ea6e63337789050b62171f77ad69009fc0e895f430584a0d36cd2 1130 tex-common_2.10.dsc
 18043d04587f7fcfa634944781f23239d406ef86b71a3ac1ae2022a7454df649 804237 tex-common_2.10.tar.gz
 2e84683d34488c6b858669a9ee47ed679b033a0580d7e25ae116b1618ef232ef 724924 tex-common_2.10_all.deb
Files: 
 9743b1dc4c6d598494d5348785ae9050 1130 tex optional tex-common_2.10.dsc
 57ed9f5ab7e0405c0030f8aab37b6efd 804237 tex optional tex-common_2.10.tar.gz
 6c73e6cfdfab979e45831d5f45a00d3a 724924 tex optional tex-common_2.10_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iD8DBQFOBne/0r9KownFsJQRAmv/AKCGtpg1qcvXDV0cnDqydcWXghXupgCfYgo1
HhDf6SV4fN/1y6iZJmKXVFE=
=IZyv
-----END PGP SIGNATURE-----



--- End Message ---

Reply to: