Subject: Re: Cannot build - openpam error
To: NetBSD current <current-users@netbsd.org>
From: Michal 'hramrach' Suchanek <hramrach@centrum.cz>
List: current-users
Date: 06/15/2005 12:38:58
On Tue, Jun 14, 2005 at 09:58:07AM +0200, Juergen Hannken-Illjes wrote:
> On Tue, Jun 14, 2005 at 09:30:16AM +0200, Michal 'hramrach' Suchanek wrote:
> > Hello
> > 
> > I tried building NetBSD on Friday and yesterday.
> > It fails in pam somewhere:
> > 
> 
> Data error?  My revision 1.2 of dist/openpam/lib/openpam_get_option.c has
> no `crrent'.
> 
>     61          if (pamh == NULL || pamh->current == NULL || option == NULL)
>     62                  RETURNS(NULL);
>     63          cur = pamh->current;
>     64          len = strlen(option);
>     65          for (i = 0; i < cur->optc; ++i) {
>     66                  if (strncmp(cur->optv[i], option, len) == 0) {
> 

yes, and in more than one file. I wiped out everything and got a new src
tree.

Thanks

Michal Suchanek