summaryrefslogtreecommitdiff
path: root/vdr.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <kls (at) cadsoft (dot) de>2006-09-03 18:00:00 +0200
committerKlaus Schmidinger <kls (at) cadsoft (dot) de>2006-09-03 18:00:00 +0200
commitc49ca5abb73cbc11447da5d961e106025dc927d0 (patch)
tree4faaa7168a60d1b4d4b468691bd7836263604248 /vdr.c
parent6d6df2fddd6da0ccc9fe9a9aa5526306e9db73d7 (diff)
downloadvdr-patch-lnbsharing-c49ca5abb73cbc11447da5d961e106025dc927d0.tar.gz
vdr-patch-lnbsharing-c49ca5abb73cbc11447da5d961e106025dc927d0.tar.bz2
Version 1.4.2-1vdr-1.4.2-1
- Added LC_ALL to the checks for UTF-8 at startup (suggested by Matthias Schwarzott). - Fixed the cTimer::operator=() so that it won't mess up the cListObject's pointers (reported by Alexander Rieger). - Fixed a memory leak in the cTimer::operator=() when using the 'aux' string (reported by Alexander Rieger). - Fixed processing the PDCDescriptor in 'libsi' on big endian systems (thanks to Martin Ostermann). - Fixed handling relative volume settings that unmute the audio in the call to cStatus::MsgSetVolume() (reported by Oliver Endriss).
Diffstat (limited to 'vdr.c')
-rw-r--r--vdr.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/vdr.c b/vdr.c
index 436bfad..46d65c8 100644
--- a/vdr.c
+++ b/vdr.c
@@ -22,7 +22,7 @@
*
* The project's page is at http://www.cadsoft.de/vdr
*
- * $Id: vdr.c 1.278 2006/08/05 10:46:38 kls Exp $
+ * $Id: vdr.c 1.279 2006/09/01 12:57:44 kls Exp $
*/
#include <getopt.h>
@@ -450,6 +450,7 @@ int main(int argc, char *argv[])
// Check for UTF-8 and exit if present - asprintf() will fail if it encounters 8 bit ASCII codes
char *LangEnv;
if ((LangEnv = getenv("LANG")) != NULL && strcasestr(LangEnv, "utf") ||
+ (LangEnv = getenv("LC_ALL")) != NULL && strcasestr(LangEnv, "utf") ||
(LangEnv = getenv("LC_CTYPE")) != NULL && strcasestr(LangEnv, "utf")) {
fprintf(stderr, "vdr: please turn off UTF-8 before starting VDR\n");
return 2;