[tex-live] [tlmgr,patch] patch to get rid of annoying warning

Vladimir Lomov lomov.vl at gmail.com
Thu Jun 18 08:43:02 CEST 2015


Hello,

perl 5.22 shows warning (when script run with '-w' or 'use warning') on
very simple line:

printf('%*2$s',"a",6);

This of course concerns sprintf as well, so on my system (Archlinux
x86_64, testing) with perl 5.22 I see the following:

-------------------------------------- 8< --------------------------------------
tlmgr: saving backups to /usr/local/opt/texlive/2015/tlpkg/backups
Redundant argument in sprintf at /usr/local/opt/texlive/2015/bin/x86_64-linux/tlmgr line 3109.
[ 1/19, ??:??/??:??] update: cntperchap [269k] (37338 -> 37572) ... done
Redundant argument in sprintf at /usr/local/opt/texlive/2015/bin/x86_64-linux/tlmgr line 3109.
[ 2/19, 00:02/02:37] update: colorspace [112k] (37329 -> 37573) ... done
Redundant argument in sprintf at /usr/local/opt/texlive/2015/bin/x86_64-linux/tlmgr line 3109.
[ 3/19, 00:03/02:47] update: ctanify [38k] (35888 -> 37571) ... done
Redundant argument in sprintf at /usr/local/opt/texlive/2015/bin/x86_64-linux/tlmgr line 3109.
[ 4/19, 00:13/10:58] update: fira [11977k] (37336 -> 37565) ... done
Redundant argument in sprintf at /usr/local/opt/texlive/2015/bin/x86_64-linux/tlmgr line 3109.
[ 5/19, 00:16/00:27] update: forest [958k] (37186 -> 37575) ... done
Redundant argument in sprintf at /usr/local/opt/texlive/2015/bin/x86_64-linux/tlmgr line 3109.
[ 6/19, 00:19/00:30] update: l3experimental [3786k] (35669 -> 37574) ... done
Redundant argument in sprintf at /usr/local/opt/texlive/2015/bin/x86_64-linux/tlmgr line 3109.
[ 7/19, 00:22/00:27] update: musixtex [1957k] (37025 -> 37576) ... done
Redundant argument in sprintf at /usr/local/opt/texlive/2015/bin/x86_64-linux/tlmgr line 3109.
[ 8/19, 00:24/00:26] update: pdfpages [346k] (37333 -> 37567) ... done
Redundant argument in sprintf at /usr/local/opt/texlive/2015/bin/x86_64-linux/tlmgr line 3109.
[ 9/19, 00:25/00:27] update: ptex2pdf [12k] (37120 -> 37566) ... done
Redundant argument in sprintf at /usr/local/opt/texlive/2015/bin/x86_64-linux/tlmgr line 3109.
[10/19, 00:26/00:28] update: resumecls [151k] (29417 -> 37570) ... done
Redundant argument in sprintf at /usr/local/opt/texlive/2015/bin/x86_64-linux/tlmgr line 3109.
[11/19, 00:27/00:29] update: tetex [393k] (37541 -> 37563) ... done
Redundant argument in sprintf at /usr/local/opt/texlive/2015/bin/x86_64-linux/tlmgr line 3109.
[12/19, 00:29/00:30] update: texlive-docindex [212k] (37543 -> 37558) ... done
Redundant argument in sprintf at /usr/local/opt/texlive/2015/bin/x86_64-linux/tlmgr line 3109.
[13/19, 00:30/00:31] update: xetexko [259k] (36638 -> 37569) ... done
Redundant argument in sprintf at /usr/local/opt/texlive/2015/bin/x86_64-linux/tlmgr line 3267.
[14/19, 00:31/00:32] auto-install: academicons (37577) [84k] ... done
Redundant argument in sprintf at /usr/local/opt/texlive/2015/bin/x86_64-linux/tlmgr line 3267.
[15/19, 00:31/00:31] auto-install: mnras (37579) [259k] ... done
Redundant argument in sprintf at /usr/local/opt/texlive/2015/bin/x86_64-linux/tlmgr line 3267.
[16/19, 00:32/00:32] auto-install: semproc (37568) [366k] ... done
Redundant argument in sprintf at /usr/local/opt/texlive/2015/bin/x86_64-linux/tlmgr line 3109.
[17/19, 00:32/00:32] update: collection-fontsextra [2k] (37396 -> 37577) ... done
Redundant argument in sprintf at /usr/local/opt/texlive/2015/bin/x86_64-linux/tlmgr line 3109.
[18/19, 00:33/00:33] update: collection-latexextra [5k] (37398 -> 37568) ... done
Redundant argument in sprintf at /usr/local/opt/texlive/2015/bin/x86_64-linux/tlmgr line 3109.
[19/19, 00:33/00:33] update: collection-publishers [1k] (37300 -> 37579) ... done
tlmgr: package log updated: /usr/local/opt/texlive/2015/texmf-var/web2c/tlmgr.log
-------------------------------------- 8< --------------------------------------

I propose patch to overcome these warnings.

---
WBR, Vladimir Lomov

-- 
I do not find in orthodox Christianity one redeeming feature.
- Thomas Jefferson
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tlmgr-printf-annoying-warning.patch
Type: text/x-diff
Size: 1933 bytes
Desc: not available
URL: <http://tug.org/pipermail/tex-live/attachments/20150618/2409ec75/attachment.bin>


More information about the tex-live mailing list