Subject: Re: Fwd: libc without YP
To: Srinivasa Kanduru <ksraghavan@yahoo.com>
From: Greywolf <greywolf@starwolf.com>
List: tech-toolchain
Date: 11/24/2003 14:09:17
Thus spake Srinivasa Kanduru ("SK> ") sometime Today...

SK>
SK> w/o YP ..
SK> rpc/Makefile.inc may not required to be included
SK> __ypmaptype() might returns YPMAP_NONE
SK> and ypmatch() might be in #ifdef YP
SK> [The header files param.h and stdio.h should be outside YP.]

Just for the record, there are a sprinkling of #ifdef SOMEFEATURE/#endif
conditionals in various spots around the tree which are incomplete,
the one most immediately springing to mind being #ifndef SMALL
in sbin/fsck_ffs/inode.c.  They comment out the inclusions for
getpwent and errx, but they do not comment out the references in the
code to errx(...) and getpwent(...); as such, inode.c won't compile
if SMALL is defined.

Assuming that cvs has not clobbered my local file on its last update,
I might even be able to cobble together a diff for that one, but
I think these inconsistencies should be addressed.  But that's just me.

SK> and even rcmd.c which has dependencies on rpc header files may be included only
SK> with YP.
SK>
SK> Thanks,
SK> Srini.


				--*greywolf;
--
Contrary to popular belief, Unix is user friendly.
It just happens to be selective about who it makes friends with.
	-Kyle Hearn  <kyle@intex.net>