Date: Tue, 19 Aug 1997 09:32:49 -0400 (EDT) From: Bill Paul <wpaul@skynet.ctr.columbia.edu> To: asami@cs.berkeley.edu (Satoshi Asami) Cc: andreas@klemm.gtn.com, current@freebsd.org Subject: Re: another make world problem Message-ID: <199708191332.JAA21017@skynet.ctr.columbia.edu> In-Reply-To: <199708190145.SAA12016@vader.cs.berkeley.edu> from "Satoshi Asami" at Aug 18, 97 06:45:03 pm
next in thread | previous in thread | raw e-mail | index | archive | help
Of all the gin joints in all the towns in all the world, Satoshi Asami had to walk into mine and say: > * cc -pipe -O -DYP -c /usr/src/usr.bin/chkey/../newkey/update.c > > Is this command really from "make world"? If so, there is something > clearly missing here. > > Satoshi No. The chkey and newkey commands use the same update.c module since they both submit changes to the publickey database the same way (via yp_update() using Secure RPC). Both programs need the same code, but having two copies of update.c is wasteful, so chkey grabs newkey's copy with PATH:. There isn't enough of this common code to justify making a library out of it, and it doesn't belong src/libc/rpc, so this was the best way I could think of to do it. -Bill -- ============================================================================= -Bill Paul (212) 854-6020 | System Manager, Master of Unix-Fu Work: wpaul@ctr.columbia.edu | Center for Telecommunications Research Home: wpaul@skynet.ctr.columbia.edu | Columbia University, New York City ============================================================================= "It is not I who am crazy; it is I who am mad!" - Ren Hoek, "Space Madness" =============================================================================
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199708191332.JAA21017>