Thread View: news.software.nntp
2 messages
2 total messages
Started by Mason Leung
Mon, 28 Jun 2004 16:35
perl_call_argv
Author: Mason Leung
Date: Mon, 28 Jun 2004 16:35
Date: Mon, 28 Jun 2004 16:35
9 lines
1608 bytes
1608 bytes
INN (2.4.1) consistenly failed when it calls my authentication script. After running
gdb with nnrpd, I found out that it failed at perl_call_argv("_load_", 0, argv").
This line is in perl.c, line 189.
At that time, argv[0] has the location of my authenticaiton script. After googling
on perl_call_argv, it is calling the sub _load_ in a PERL script with the argument
argv, can someone tell me what script contains _load_? Also, what library (if any) are
involved when perl_call_argv is called? Thanks
Mason
Re: perl_call_argv
Author: Russ Allbery
Date: Mon, 28 Jun 2004 19:53
Date: Mon, 28 Jun 2004 19:53
19 lines
1995 bytes
1995 bytes
Mason Leung <mleung@pc4.cs.ucdavis.edu> writes:
> At that time, argv[0] has the location of my authenticaiton script.
> After googling on perl_call_argv, it is calling the sub _load_ in a PERL
> script with the argument argv, can someone tell me what script contains
> _load_? Also, what library (if any) are involved when perl_call_argv is
> called? Thanks
load is a bit of Perl defined earlier by the Perl hooks that basically
calls the Perl "do" function. (There are better ways to do this that I'll
switch to when I get a chance to rewrite the embedding hooks.)
This is a call into a Perl function, so it involves the libperl library.
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads