Created
February 5, 2014 21:22
-
-
Save drscream/8833389 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$NetBSD$ | |
Remove old SOLARIS verify code that didn't work anymore in new versions | |
--- src/main.cc.orig 2010-03-25 15:47:02.000000000 +0000 | |
+++ src/main.cc | |
@@ -141,21 +141,6 @@ int main(int argc, char **argv, char **e | |
Ref<Array<StringBase> > addFile(new Array<StringBase>()); | |
-#ifdef SOLARIS | |
- String ld_preload; | |
- char *preload = getenv("LD_PRELOAD"); | |
- if (preload != NULL) | |
- ld_preload = String(preload); | |
- | |
- if ((preload == NULL) || (ld_preload.find("0@0") == -1)) | |
- { | |
- printf("MediaTomb: Solaris check failed!\n"); | |
- printf("Please set the environment to match glibc behaviour!\n"); | |
- printf("LD_PRELOAD=/usr/lib/[email protected]\n"); | |
- exit(EXIT_FAILURE); | |
- } | |
-#endif | |
- | |
#ifdef HAVE_GETOPT_LONG | |
while (1) | |
{ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment