Hmmm, what's that doing there?

Paul Tomblin ptomblin at xcski.com
Tue Oct 26 11:46:21 UTC 1999


Quoting Olaf Titz (olaf at bigred.inka.de):
> > news.software.nntp.  And while I was grovelling through the source code, I
> > noticed that in innshellvars.pl, it's set to $pathlib.  So I started
> > grovelling for $pathlib, and for the life of me I can't find that being set
> > anywhere.  Have a look:
> 
> It is emitted (and therefore set in innshellvars.pl) by "innconfval -p".

No it's not.  Look again:

    [news at piper news]$ innconfval -p | grep -i lib 
    $mta = '/usr/lib/sendmail -oi %s';
    $innwatchlibspace = 25000;

Now run this little perl script:

    [news at piper news]$ cat foo.pl
    #!/usr/bin/perl
    require "/home/news/lib/innshellvars.pl";

    print "newslib = $inn::newslib\n";
    print "pathlib = $inn::pathlib\n";
    print "version = $inn::version\n";
    [news at piper news]$ ./foo.pl
    newslib = 
    pathlib = 
    version = INN 2.2.1 25-Aug-1999
    [news at piper news]$ 

-- 
Paul Tomblin, not speaking for anybody.
SETI at Home:  Finally a *good* way to impress Jodie Foster
http://www.setiathome.ssl.berkeley.edu/


More information about the inn-workers mailing list