Package: speech-tools
Version: 1:1.2.96~beta-2
Severity: normal
The package doesn't honor the value of TMPDIR environment variable
despite it is intended to do it. You can check it e.g. in Festival by
calling
% export TMPDIR=/home/pdm/tmp
% festival
Festival Speech Synthesis System 1.96:beta July 2004
Copyright (C) University of Edinburgh, 1996-2004. All rights reserved.
For details type `(festival_warranty)'
festival> (make_tmp_filename)
"/tmp/est_13453_00000"
The following patch fixes it. Then the above call produces the correct
result
festival> (make_tmp_filename)
"/home/pdm/tmp/est_13653_00000"
diff -ru speech-tools-1.2.96~beta.orig/utils/EST_cutils.c
speech-tools-1.2.96~beta/utils/EST_cutils.c
--- speech-tools-1.2.96~beta.orig/utils/EST_cutils.c 2004-06-21
15:40:39.000000000 +0200
+++ speech-tools-1.2.96~beta/utils/EST_cutils.c 2008-07-10 10:14:04.000000000
+0200
@@ -71,8 +71,8 @@
char *t1;
int i,j;
- if (((tdir=getenv("TMPDIR")) == NULL) ||
- ((tdir=getenv("TEMP")) == NULL) ||
+ if (((tdir=getenv("TMPDIR")) == NULL) &&
+ ((tdir=getenv("TEMP")) == NULL) &&
((tdir=getenv("TMP")) == NULL))
tdir = "/tmp";
-- System Information:
Debian Release: lenny/sid
APT prefers testing
APT policy: (900, 'testing'), (90, 'unstable'), (80, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.22-4-vserver-amd64 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=cs_CZ.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages speech-tools depends on:
ii libaudiofile0 0.2.6-7 Open-source version of SGI's audio
ii libc6 2.7-10 GNU C Library: Shared libraries
ii libesd0 0.2.36-3 Enlightened Sound Daemon - Shared
ii libestools1.2 1:1.2.96~beta-2 Edinburgh Speech Tools Library
ii libgcc1 1:4.3.1-2 GCC support library
ii libncurses5 5.6+20080308-1 Shared libraries for terminal hand
ii libstdc++6 4.3.1-2 The GNU Standard C++ Library v3
speech-tools recommends no packages.
-- no debconf information
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]