Skip to main content.
home | support | download

Back to List Archive

Re: illegal seek?

From: Bill Moseley <moseley(at)not-real.hank.org>
Date: Tue Oct 22 2002 - 19:00:58 GMT
At 11:43 AM 10/22/02 -0700, David VanHook wrote:
>============
>Indexing Data Source: "External-Program"
>Indexing "stdin"
>
>Warning: Failed to properly close external program: Illegal seek
>============

Ah, just a guess, but maybe it is because it's trying to close stdin.

I suppose you could try in extprog.c to replace the pclose() with:

    if ( fp != stdin )
        if ( pclose(fp) == -1 ) 
            progwarnno("Failed to properly close external program: ");


-- 
Bill Moseley
mailto:moseley@hank.org
Received on Tue Oct 22 19:05:07 2002