Your message dated Sun, 29 Jan 2012 21:58:19 -0500
with message-id 
<CANTw=MN_e_f=iof+xdnm-x2wax+kqvpd7awzzjutoh5teqq...@mail.gmail.com>
and subject line Re: Bug#652102: xpdf wrapper incorrectly quotes arguments for 
-z, -g, -remote, etc.
has caused the Debian Bug report #652102,
regarding xpdf wrapper incorrectly quotes arguments for -z, -g, -remote, etc.
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 [email protected]
immediately.)


-- 
652102: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=652102
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: xpdf
Version: 3.02-21
Severity: normal


Just got a new xpdf from testing repo.
It turns out that xpdf is now a shell script, but the logic to quote the
argument of -g, -z, etc is not correct. Example:

    /tmp $ /usr/bin/xpdf -g 1024x768 sample.pdf
    Warning: Shell widget "xpdf.real" has an invalid geometry specification: 
"'1024x768'"
    Warning: Shell widget "win" has an invalid geometry specification: 
"'1024x768'"

The culprit is here (snippet from /usr/bin/xpdf):

    while [ "$#" -gt "0" ]; do
        case "$1" in
        
-z|-g|-geometry|-remote|-rgb|-papercolor|-eucjp|-t1lib|-ps|-paperw|-paperh|-upw)
            cmd="$cmd $1 '$2'" && shift ;;

In the last line, the single quotes are added, but later it gets digested
as literal single quote characters.
I don't have an idea right now on how to fix this, but just pass this on
to you all.

Thanks,
Wirawan

-- System Information:
Debian Release: 6.0.3
  APT prefers stable
  APT policy: (990, 'stable'), (500, 'stable-updates'), (50, 'testing')
Architecture: amd64 (x86_64)

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

Versions of packages xpdf depends on:
ii  lesstif2                     1:0.95.2-1  OSF/Motif 2.1 implementation relea
ii  libc6                        2.11.2-10   Embedded GNU C Library: Shared lib
ii  libgcc1                      1:4.4.5-8   GCC support library
ii  libpoppler13                 0.16.7-2+b1 PDF rendering library
ii  libstdc++6                   4.6.2-4     GNU Standard C++ Library v3
ii  libx11-6                     2:1.3.3-4   X11 client-side library
ii  libxt6                       1:1.0.7-1   X11 toolkit intrinsics library

Versions of packages xpdf recommends:
pn  gsfonts-x11                   <none>     (no description available)
pn  poppler-data                  <none>     (no description available)
ii  poppler-utils                 0.12.4-1.2 PDF utilitites (based on libpopple

xpdf suggests no packages.

-- no debconf information



--- End Message ---
--- Begin Message ---
version: 3.03-3

Fixed using double quotes a few releases back.


--- End Message ---

Reply via email to