diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2005-06-18 11:21:12 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2005-06-18 11:21:12 +0200 |
commit | 7e81649d683cd203b6dbb64a28b7a68489a9c0d2 (patch) | |
tree | d13521389378d3cbf60e662f0551937723a459d0 /vdr.c | |
parent | 806aeb3c07dafdc92a2028d3600d2a0f2a298ef0 (diff) | |
download | vdr-7e81649d683cd203b6dbb64a28b7a68489a9c0d2.tar.gz vdr-7e81649d683cd203b6dbb64a28b7a68489a9c0d2.tar.bz2 |
Removed the NPTL check at startup
Diffstat (limited to 'vdr.c')
-rw-r--r-- | vdr.c | 13 |
1 files changed, 1 insertions, 12 deletions
@@ -22,7 +22,7 @@ * * The project's page is at http://www.cadsoft.de/vdr * - * $Id: vdr.c 1.207 2005/05/26 10:45:29 kls Exp $ + * $Id: vdr.c 1.208 2005/06/18 11:19:07 kls Exp $ */ #include <getopt.h> @@ -302,17 +302,6 @@ int main(int argc, char *argv[]) return 0; } -#ifdef _CS_GNU_LIBPTHREAD_VERSION - // Check for NPTL and exit if present - VDR apparently doesn't run well with NPTL: - char LibPthreadVersion[128]; - if (confstr(_CS_GNU_LIBPTHREAD_VERSION, LibPthreadVersion, sizeof(LibPthreadVersion)) > 0) { - if (strstr(LibPthreadVersion, "NPTL")) { - fprintf(stderr, "vdr: please turn off NPTL by setting 'export LD_ASSUME_KERNEL=2.4.1' before starting VDR\n"); - return 2; - } - } -#endif - // 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") || |