Ben Gertzfield <[EMAIL PROTECTED]> writes:

> >>>>> "Daniel" == Daniel Martin at cush <[EMAIL PROTECTED]> writes:
> 
>     Daniel> It's a perl thing.  I can almost guarantee it.  The
>     Daniel> problem is perl's shadow password support and it's getpw*
>     Daniel> functions.  Whenever these functions are called (and
>     Daniel> assigned to a variable; if you just call them and discard
>     Daniel> the value immediately this doesn't happen), perl attempts
>     Daniel> to look up the shadow password entry associated with the
>     Daniel> given struct passwd *, and this takes a while - especially
>     Daniel> since the /etc/shadow file is closed immediately after
>     Daniel> each fetch. 
> 
> This is probably because the patch that allows Debian's Perl to
> use getspnam() and friends is pretty new and untested.
> 
> Is there any way you can look at
> http://www.rosat.mpe-garching.mpg.de/mailing-lists/perl-porters/1998-03/msg01574.html
> and see if the patch there can be made better?
> 
> Let's try to fix this problem.

My... it's been a while since I was investigating perl internals
(writing C code that was callable from perl) - at least two years,
which somehow seems much longer.

Well, I'll have my machine download the perl source tonight and see
what I can see...


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to