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

Bug#908922: xpp: deprecated cupsTempFile is used: printing stdin fails



Package: xpp
Version: 1.5-cvs20081009-4
Severity: important


When using xpp to print from stdin, e.g. via xpdf or simply using:
$ cat my.pdf | xpp

xpp fails with "Unable to create temporary file." when pressing the
Print button.

>From line 698 in
https://sources.debian.org/src/xpp/1.5-cvs20081009-4/xpp.cxx/
it seems that cupsTempFile is used, which is deprecated and
now always returns NULL. According to cups api doc, cupsTempFile2 or
similar should be used.



-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (x86_64)

Kernel: Linux 4.18.0 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages xpp depends on:
ii  libc6       2.27-2
ii  libcups2    2.2.6-4
ii  libfltk1.1  1.1.10-25
ii  libgcc1     1:8-20180312-2
ii  libstdc++6  6.1.1-9

xpp recommends no packages.

xpp suggests no packages.

-- no debconf information


Reply to: