Subject: Re: Fwd: libc without YP
To: Jun-ichiro itojun Hagino <itojun@itojun.org>
From: Srinivasa Kanduru <ksraghavan@yahoo.com>
List: tech-toolchain
Date: 11/24/2003 12:55:28
--0-922342843-1069707328=:78738
Content-Type: text/plain; charset=us-ascii
Content-Id:
Content-Disposition: inline
How about this ?
w/o YP ..
rpc/Makefile.inc may not required to be included
__ypmaptype() might returns YPMAP_NONE
and ypmatch() might be in #ifdef YP
[The header files param.h and stdio.h should be outside YP.]
and even rcmd.c which has dependencies on rpc header files may be included only
with YP.
Thanks,
Srini.
--- Jun-ichiro itojun Hagino <itojun@itojun.org> wrote:
> > The code snippet (gen/getpwent.c) ..
> > The definition of the function __pwparse() is not in #ifdef YP
>
> would you suggest a diff?
>
> itojun
__________________________________
Do you Yahoo!?
Free Pop-Up Blocker - Get it now
http://companion.yahoo.com/
--0-922342843-1069707328=:78738
Content-Type: application/octet-stream; name=diffs
Content-Transfer-Encoding: base64
Content-Description: diffs
Content-Disposition: attachment; filename=diffs
LS0tIGxpYmMvTWFrZWZpbGUJTW9uIE5vdiAyNCAxMjo1MDowNCAyMDAzCisr
KyBsaWJjLm9yaWcvTWFrZWZpbGUJTW9uIE5vdiAyNCAxMjo0OToxMSAyMDAz
CkBAIC04NCw5ICs4NCw3IEBACiAuaW5jbHVkZSAiJHsuQ1VSRElSfS9xdWFk
L01ha2VmaWxlLmluYyIKIC5lbmRpZgogLmluY2x1ZGUgIiR7LkNVUkRJUn0v
cmVnZXgvTWFrZWZpbGUuaW5jIgotLmlmICgke01LWVA6VW5vfSAhPSAibm8i
KQogLmluY2x1ZGUgIiR7LkNVUkRJUn0vcnBjL01ha2VmaWxlLmluYyIKLS5l
bmRpZgogLmluY2x1ZGUgIiR7LkNVUkRJUn0vc3RkaW8vTWFrZWZpbGUuaW5j
IgogLmluY2x1ZGUgIiR7LkNVUkRJUn0vc3RkbGliL01ha2VmaWxlLmluYyIK
IC5pbmNsdWRlICIkey5DVVJESVJ9L3N0cmluZy9NY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