From d1aa8c01ffdb2b614a6546fc179e37befb4a562f Mon Sep 17 00:00:00 2001 From: Sander Vesik Date: Fri, 22 Jun 2001 11:36:23 +0000 Subject: [PATCH] Apply a patch with a workaround for IRIX. Contributed by: The SGI Openoffice.org porting team --- soltools/checkdll/checkdll.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/soltools/checkdll/checkdll.c b/soltools/checkdll/checkdll.c index 646786607aab..f864a25d3d90 100644 --- a/soltools/checkdll/checkdll.c +++ b/soltools/checkdll/checkdll.c @@ -2,9 +2,9 @@ * * $RCSfile: checkdll.c,v $ * - * $Revision: 1.1 $ + * $Revision: 1.2 $ * - * last change: $Author: nf $ $Date: 2001-04-18 09:50:15 $ + * last change: $Author: svesik $ $Date: 2001-06-22 12:36:23 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -158,7 +158,7 @@ int main(int argc, char *argv[]) if ( (phandle = dlopen(argv[1], RTLD_NOW)) != NULL ) { if ( (pfun = (char *(*)(void))dlsym(phandle, psymbol)) != NULL ) { printf(": ok\n"); -#ifdef GCC +#if !defined(IRIX) && defined(GCC) _exit(0); #else dlclose(phandle);