Package: hylafax-server
Version: 2:4.3.1-7
Severity: normal
Tags: patch
ConvertFile() does not return the filename of the PDF fax document if the file
does not need
conversion.
Please find my micro-tiny patch.
Ciao.
Giovanni.
-- System Information:
Debian Release: 4.0
APT prefers stable
APT policy: (500, 'stable')
Architecture: i386 (x86_64)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-6-xen-amd64
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Versions of packages hylafax-server depends on:
ii adduser 3.102 Add and remove users and groups
ii debconf [debconf 1.5.11 Debian configuration management sy
ii gs-esp [gs] 8.15.3.dfsg.1-1 The Ghostscript PostScript interpr
ii hylafax-client 2:4.3.1-7 Flexible client/server fax softwar
ii libc6 2.3.6.ds1-13etch2 GNU C Library: Shared libraries
ii libgcc1 1:4.1.1-21 GCC support library
ii libpam0g 0.79-4 Pluggable Authentication Modules l
ii libstdc++6 4.1.1-21 The GNU Standard C++ Library v3
ii libtiff-tools 3.8.2-7 TIFF manipulation and conversion t
ii libtiff4 3.8.2-7 Tag Image File Format (TIFF) libra
ii lsb-base 3.1-23.1 Linux Standard Base 3.1 init scrip
ii mailx 1:8.1.2-0.20050715cvs-1 A simple mail user agent
ii metamail 2.7-52 implementation of MIME
ii psmisc 22.3-1 Utilities that use the proc filesy
ii sed 4.1.5-1 The GNU sed stream editor
ii sharutils 1:4.2.1-15 shar, unshar, uuencode, uudecode
ii zlib1g 1:1.2.3-13 compression library - runtime
Versions of packages hylafax-server recommends:
ii metamail 2.7-52 implementation of MIME
-- debconf information excluded
--- common-functions.orig 2008-06-23 15:56:13.000000000 +0000
+++ common-functions 2008-06-23 15:56:56.000000000 +0000
@@ -381,7 +381,8 @@
echo "$TMPDIR/$name.pdf"
;;
PDF|pdf)
- TraceLog "Nothing necessary"
+ TraceLog "No conversion"
+ echo $1
;;
TIFF|tiff|TIF|tif)
TraceLog "Using tiff2pdf"