Subject: Re: Fwd: libc without YP
To: Srinivasa Kanduru <ksraghavan@yahoo.com>
From: Luke Mewburn <lukem@NetBSD.org>
List: tech-toolchain
Date: 11/26/2003 11:50:24
On Tue, Nov 25, 2003 at 02:14:44PM +1100, Luke Mewburn wrote:
  | On Mon, Nov 24, 2003 at 10:50:03AM -0800, Srinivasa Kanduru wrote:
  |   | The code snippet  (gen/getpwent.c) ..
  |   | 
  |   | The definition of the function __pwparse() is not in #ifdef YP
  | 
  | __pwparse() is provided #ifdef _PASSWD_COMPAT, not #ifdef YP.
  | _PASSWD_COMPAT is defined if either of YP or HESIOD is #define-d.
  | 
  | so, it appears that you're trying to build with -UYP -DHESIOD.
  | is that correct?
  | if so, we need to improve the namespace protection in that case.

I've fixed gen/getpwent.c when compiling with -UYP -DHESIOD
(AKA 'make MKYP=no MKHESIOD=yes')


Cheers,
Luke.