From: sewardj Date: Fri, 22 Oct 1999 10:00:19 +0000 (+0000) Subject: [project @ 1999-10-22 10:00:19 by sewardj] X-Git-Tag: Approximately_9120_patches~5673 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=c5ea45c3f9e6008ba98f08693c468944b50102b6;p=ghc-hetmet.git [project @ 1999-10-22 10:00:19 by sewardj] wibble --- diff --git a/ghc/interpreter/dynamic.c b/ghc/interpreter/dynamic.c index 58e085e..23d939e 100644 --- a/ghc/interpreter/dynamic.c +++ b/ghc/interpreter/dynamic.c @@ -9,8 +9,8 @@ * included in the distribution. * * $RCSfile: dynamic.c,v $ - * $Revision: 1.8 $ - * $Date: 1999/10/20 02:15:59 $ + * $Revision: 1.9 $ + * $Date: 1999/10/22 10:00:19 $ * ------------------------------------------------------------------------*/ #include "prelude.h" @@ -84,7 +84,7 @@ String symbol; { ERRMSG(0) "Error while importing DLL \"%s\":\n%s\n", dll, dlerror() EEND; } - if (sym = dlsym(instance,symbol)) + if ((sym = dlsym(instance,symbol))) return sym; ERRMSG(0) "Error loading sym:\n%s\n", dlerror()