Control: tags -1 patch On 2020-05-26 15:31:21 +0200, Vincent Lefevre wrote: > When I run xpdf, I get the following warning: > > WARNING: tempfile is deprecated; consider using mktemp instead. > > because /usr/bin/xpdf contains > > tmp=$(tempfile -s .pdf)
It suffices to replace tmp=$(tempfile -s .pdf) by tmp=$(mktemp --suffix=.pdf) -- Vincent Lefèvre <vinc...@vinc17.net> - Web: <https://www.vinc17.net/> 100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/> Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)
diff -Naurd xpdf-3.04-old/debian/scripts/xpdf xpdf-3.04/debian/scripts/xpdf --- xpdf-3.04-old/debian/scripts/xpdf 2018-12-05 22:49:42.000000000 +0100 +++ xpdf-3.04/debian/scripts/xpdf 2020-05-26 15:50:17.050437781 +0200 @@ -59,7 +59,7 @@ test ! -f "$file" || $cmd "$file" & done else - tmp=$(tempfile -s .pdf) + tmp=$(mktemp --suffix=.pdf) case "$file" in *.gz|*.Z|*.xz|*.bz2) test "$title" != "" || title="Xpdf: $file";; esac