Subject: Re: reducing library searches in ld.elf_so
To: Charles Hannum <abuse@spamalicious.com>
From: Bang Jun-Young <junyoung@mogua.com>
List: current-users
Date: 09/28/2002 12:46:42
On Sat, Sep 28, 2002 at 12:29:46PM +0900, Bang Jun-Young wrote:
> On Sat, Sep 28, 2002 at 12:16:18PM +0900, Bang Jun-Young wrote:
> > +		if (!strncmp(name, sp->sp_path + sp->sp_pathlen - namelen,
> > +		    namelen) && !strncmp(dir, sp->sp_path, sp->sp_pathlen -
> 
> Euch. This is the correct one:

Oops. The last argument of the second strncmp should sp->sp_pathlen - 
namelen - 1. Sorry.

Jun-Young

-- 
Bang Jun-Young <junyoung@mogua.com>