Could the list maintainer please unsubscribe this guy, I don't speak Portuguese but I reckon he's got an out of office program that makes no effort to remember who it's already mailed, not very list friendly, Fergal
Estou em f�rias do dia 30/11/2000 at� o dia 11/12/2000 e por isso n�o poderei responder o seu e-mail. Caso seja algum problema emergencial, pe�o que contacte o Diogo ou o Flavio no telefone 3736-3700 ou no seguinte e-mail: [EMAIL PROTECTED] Grato, Rodrigo -----------------Mensagem enviada--------------------------- >From [EMAIL PROTECTED] Tue Dec 5 13:52:35 2000 >Received: from turing.pensive.org (turing.pensive.org [204.210.11.246]) > by voyager.bestway.com.br (8.10.2/8.10.2) with ESMTP id eB5FqWd02297 > for <[EMAIL PROTECTED]>; Tue, 5 Dec 2000 13:52:32 -0200 >Received: from fargo.iolfree.ie (194.145.128.32) by turing.pensive.org with > ESMTP (Eudora Internet Mail Server 3.0.2) for <[EMAIL PROTECTED]>; > Tue, 5 Dec 2000 07:47:48 -0800 >Received: (from fergal@localhost) > by fargo.iolfree.ie (8.9.3/8.9.3) id PAA09388 > for [EMAIL PROTECTED]; Tue, 5 Dec 2000 15:47:48 GMT >Date: Tue, 5 Dec 2000 15:47:48 +0000 >Errors-To: List Administrator <[EMAIL PROTECTED]> >Precedence: bulk >List-Subscribe: <mailto:[EMAIL PROTECTED]?body=subscribe> >List-Unsubscribe: <mailto:[EMAIL PROTECTED]?body=unsubscribe> >List-Archive: <mailto:[EMAIL PROTECTED]?body=index%20QPopper> >List-Post: <mailto:[EMAIL PROTECTED]> >List-Owner: Pensive Mailing List Admin <[EMAIL PROTECTED]> >List-Help: http://www.pensive.org/Mailing_Lists/ >List-Id: <QPopper.lists.pensive.org> >List-Software: AutoShare 4.2.1b4 by Mikael Hansen >To: Subscribers of Qpopper <[EMAIL PROTECTED]> >Subject: getpwnam inefficiency in genpath >Mime-Version: 1.0 >Content-Type: text/plain; charset=us-ascii >Content-Disposition: inline >User-Agent: Mutt/1.2.5i >Message-Id: <[EMAIL PROTECTED]> > >Hi all, > I'm using the homedir mail and I was doing some messing about with >eliminating /etc/passwd when I discovered that every time I log in, genpath >gets called 4 times, which means that getpwnam is called 4 times, which will >cause a big hit with a large passwd file (or if you use a DB). There are also >several other places in the code that do passwd file lookups. > >It would be nice if qpopper did a single getpwnam call and then cached the >results somewhere (maybe in the in POP structure). I know genpath doesn't >have access to this structure (and it shouldn't either) but I think there >should be a way of passing an already retrieved passwd structure into >genpath. > >A single passwd lookup opens the door for very easy addition of weird and >wacky custom passwd lookup methods. By the way, you still need to worry >about passwd lookups even if you're using PAM, Kerberos or APOP as these are >simply authentication methods and do not handle UID, GID or homedir lookup. > >There's a bit of work involved in making this happen and I'm willing to do >it but only if the maintainers are open to accepting this sort of change. >So, maintainers, are you? > >Fergal
